Choose one or two components. Drag the locator to select a state, or click the diagram and move the locator with the arrow keys (hold Shift to move faster). The box above the diagram lists the phases present, their compositions and amounts, and the number of degrees of freedom F = C − P + 2, the number of intensive variables (temperature, pressure, compositions) that can be changed independently without changing the number of phases. When “snap to lines and points” is checked, the locator jumps onto a line or special point when it gets close, which makes two- and three-phase states easy to reach.
One component: the diagram is pressure versus temperature. Select a generic substance, water (the melting curve slopes backward), or CO₂ (the triple point is above 1 atm, so solid CO₂ sublimes at 1 atm). The dashed lines from the critical point bound the supercritical region.
Two components: the diagram is temperature versus overall mole fraction of B at the pressure set by the slider; pressure is a third variable that is not plotted. Four types of diagrams are available:
In two-phase regions, the horizontal tie line connects the compositions of the coexisting phases, and the lever rule gives their amounts. Press “cool from locator” to remove heat at a constant rate from a mixture at the locator position; the resulting cooling curve (temperature versus time) is plotted to the right, and dots mark where a new phase appears.
All diagrams are schematic and the values are in arbitrary units. Omitted are such phenomena as multiple crystal structures and the pressure dependence of melting.
Consider a system of C components distributed among P phases. At equilibrium the temperature, the pressure \(p\) and the chemical potential of each component are the same in every phase (pressure is written \(p\) here to distinguish it from the number of phases P):
The intensive state of the whole system is therefore described by C + 2 variables: \(T\), \(p\) and \(\mu_1, \ldots, \mu_C\). They are not independent, because each phase must satisfy its own Gibbs–Duhem equation,
which gives P relations among them. The number of intensive variables that can be changed independently is the Gibbs phase rule:
Extra constraints. Some special states obey additional conditions. If there are \(r\) of them,
At the critical point of a pure substance, liquid and gas become identical (one phase), and two extra conditions hold (\(r = 2\)), so \(F = 1 - 1 + 2 - 2 = 0\). At an azeotrope, liquid and vapor have the same composition (\(r = 1\)), so \(F = 2 - 2 + 2 - 1 = 1\). At the upper critical solution temperature (UCST) of a binary, two liquid phases become identical (\(r = 2\)), so \(F = 2 - 1 + 2 - 2 = 1\).
Fixed pressure. The two-component diagrams are drawn at constant pressure, which uses up one degree of freedom: \(F' = C - P + 1 - r\). A state with \(F' = 0\), such as a eutectic or an azeotrope, is invariant at that pressure.
Lever rule. In a two-phase region the tie line joins the compositions \(x_B^{(\alpha)}\) and \(x_B^{(\beta)}\) of the coexisting phases. For an overall composition \(z_B\), the fraction of the material in phase \(\beta\) is
Cooling curves. The cooling curve assumes that heat is removed at a constant rate, with a constant heat capacity and constant heats of fusion and vaporization. The curve becomes less steep when a phase that releases latent heat starts to form (vapor condensing or crystals forming), and the temperature stays constant while \(F' = 0\) (eutectic or azeotrope). Splitting one liquid into two releases very little heat, so it causes no visible break.
Pressure. Raising the pressure raises boiling temperatures substantially, whereas melting temperatures change very little. In this simulation the solid–liquid curves and the liquid–liquid curve do not change with pressure.
Gibbs' phase rule is formally analogous to Euler's formula, which relates the numbers of vertices, edges and faces of a convex polyhedron. Written as \(P - C + F = 2\), the phase rule has the same form:
Symbols
This simulation was created in the Department of Chemical and Biological Engineering at University of Colorado Boulder for LearnChemE.com by John L. Falconer using Claude AI. It is a JavaScript/HTML5 implementation of a Mathematica simulation by S. M. Blinder. It was prepared with financial support from the National Science Foundation (DUE 2336987 and 2336988). Address any questions or comments to LearnChemE@gmail.com.