Materials naturally phase-separate at equilibrium to minimize Gibbs free energy (G = H - TS). A phase is a distinct region with uniform composition and structure; multiple phases can coexist in a material. Phase equilibrium is defined by equal chemical potentials across phases and is the basis for understanding alloys, solid solutions, and microstructural design through controlled heating and cooling.
You already know from entropy and Gibbs free energy that a system at constant temperature and pressure reaches equilibrium by minimizing G = H − TS. In materials science, this principle governs which physical states — distinct crystal structures, liquid, gas, or different compositions — coexist within a sample. A phase is any region of a material that is uniform in composition and crystal structure throughout, with a sharp boundary (interface) separating it from neighboring phases. Ice and water coexisting in a glass are two phases of H₂O. Steel with ferrite and cementite grains contains two distinct solid phases, each with its own composition, structure, and properties.
The condition for equilibrium between phases is equality of chemical potentials. For a component i distributed between phases α and β, equilibrium requires μᵢ^α = μᵢ^β, where μᵢ is the partial molar Gibbs free energy — the energy cost or benefit of adding one mole of component i to that phase. If the chemical potentials are unequal, atoms spontaneously migrate from the high-μ phase to the low-μ phase, lowering total G. This migration continues until potentials equalize and the driving force disappears. Chemical potential equality is therefore the precise thermodynamic statement underlying all phase transformations: solidification, melting, precipitation, dissolution, and solid-state phase transitions all proceed until this condition is satisfied.
Temperature is the most powerful lever for manipulating phase equilibria, through the TS term in G. At low temperature, the enthalpy H term dominates: materials favor ordered, low-energy, low-entropy crystal structures. At high temperature, the entropy TS term dominates: materials favor disordered, high-entropy states — liquids, solid solutions, or high-symmetry crystal phases. This temperature dependence is why most materials melt at high temperature and why solid solubility typically increases with temperature. In alloys, a composition that exists as two phases at room temperature may become a single-phase solid solution when heated above a solvus temperature — the boundary on a phase diagram where the second phase dissolves completely.
For materials engineering, the power of this framework is that it predicts achievable microstructures and dictates processing requirements. If you want a single-phase solid solution (for corrosion resistance, ductility, or specific electrical properties), you choose a composition and temperature where only that phase minimizes G. If you want a two-phase microstructure — precipitates in a matrix for precipitation strengthening — you choose a composition and aging temperature where the second phase is thermodynamically stable. Heat treatment of steels (quench-and-temper, annealing), precipitation hardening of aluminum alloys (solution treat, quench, age), and ceramic sintering all exploit this framework. Critically, thermodynamics tells you *what* microstructure equilibrium favors; kinetics tells you *how fast* the system can reach it. Understanding both is required to control real processing — which is why phase equilibrium here builds directly toward binary phase diagrams and microstructure development.