Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

6.1. Phase Diagrams

Course-wide Conventions & Notation

Overview and Learning Objectives

In Section 5.1 we introduced the Gibbs free energy GG and showed that at constant TT and PP, a closed system moves spontaneously in the direction of decreasing GG and reaches equilibrium when GG is minimized. Section 5.3 closed by pointing out that this minimization principle also governs phase equilibria — the conditions under which a substance exists as solid, liquid, or gas, and the (T,P)(T,P) curves along which two phases coexist. That is the application we develop in this chapter.

A one-component substance at fixed (T,P)(T,P) can in principle exist in any of several phases, but only one is thermodynamically stable except on special curves in the (T,P)(T,P) plane where two (or at isolated points, three) phases coexist. These curves generate the familiar phase diagram. Our task in this section is to:

  1. introduce the chemical potential μ\mu as the open-system generalization of the Gibbs differential,

  2. derive the phase-equilibrium condition μα=μβ\mu_\alpha = \mu_\beta from the requirement that GG be minimized at fixed TT and PP, and

  3. interpret that condition graphically on plots of gˉ\bar g versus TT at fixed PP (and gˉ\bar g versus PP at fixed TT), and use it to identify the latent heat and entropy jump at a first-order phase transition.

The quantitative consequence of the equilibrium condition — the slope dP/dTdP/dT of a coexistence curve and its relation to the latent heat — is the Clapeyron equation, which we derive in Section 6.2.

Learning objectives:

Core Ideas and Derivations

6.1.1 A quick tour of a one-component PP–TT phase diagram

A schematic PP–TT phase diagram for a single component contains regions where one phase is stable (solid, liquid, gas) separated by coexistence curves on which two phases are simultaneously in equilibrium.

Two special points deserve named attention:

The critical point exists because liquid and gas differ only quantitatively — they are both disordered, fluid phases whose molar volumes can be made arbitrarily close to one another by heating the liquid and compressing the gas. Solid and liquid, by contrast, differ qualitatively (long-range translational order is either present or absent), so the solid–liquid line generally continues indefinitely as pressure increases rather than ending at a critical point.

Moving across a coexistence curve at fixed PP (or fixed TT) changes which phase is thermodynamically stable — the defining feature of a phase transition. Our goal for the rest of this section is to characterize these transitions in terms of GG, and in particular to identify the condition that picks out the coexistence curves in the (T,P)(T,P) plane.

6.1.2 Open systems and the chemical potential

For a closed system at fixed composition, we derived in Section 5.1 the Gibbs differential

dG=−S dT+V dP.dG = -S\,dT + V\,dP.

A closed system cannot, however, describe two coexisting phases on its own, because at a phase transition matter is transferred from one phase to the other. To handle this, we regard each phase as a subsystem whose amount of matter can change. Each phase is then an open system — one that can exchange energy and matter with its surroundings (in this case, the other phase).

For an open, multicomponent system, the Gibbs differential generalizes to

dG=−S dT+V dP+∑iμi dni,dG = -S\,dT + V\,dP + \sum_i \mu_i\,dn_i,

where the sum runs over the chemical components ii and the chemical potential μi\mu_i is defined by the partial derivative

μi≡(∂G∂ni)T,P, nj≠i.\mu_i \equiv \left(\frac{\partial G}{\partial n_i}\right)_{T,P,\,n_{j\neq i}}.

In words: μi\mu_i is how much the Gibbs free energy changes when one mole of component ii is added while holding TT, PP, and the amounts of all other components fixed. A “component” here means the minimum number of independent chemical species required to specify the composition of every phase in the system; for a pure substance the component count is one and there is a single chemical potential μ\mu.

Why μ\mu, rather than GG itself, is the natural variable for phase equilibrium. The Gibbs free energy GG is extensive — it scales with the total amount of matter. The chemical potential is intensive: it depends on TT and PP but not on how much substance is present. This is precisely the property we need when asking “which of two phases is stable?” — a question whose answer should not depend on the size of the sample.

6.1.3 Phase equilibrium as “no driving force for matter transfer”

Consider a closed overall system containing two phases of the same pure substance, labeled α\alpha and β\beta, separated by a boundary across which matter can flow. Let the two phases hold nαn_\alpha and nβn_\beta moles respectively, with nα+nβ=ntotn_\alpha + n_\beta = n_{\text{tot}} held fixed by overall matter conservation. Imagine transferring an infinitesimal amount dnαdn_\alpha from α\alpha to β\beta at fixed TT and PP; then

dnβ=−dnα.dn_\beta = -dn_\alpha.

Applying the open-system Gibbs differential (2) to each phase and summing, and recognizing that at fixed TT and PP only the composition terms contribute,

dG=μα dnα+μβ dnβ=(μα−μβ) dnα.dG = \mu_\alpha\,dn_\alpha + \mu_\beta\,dn_\beta = (\mu_\alpha - \mu_\beta)\,dn_\alpha.

At fixed TT and PP, the equilibrium condition is that GG be a minimum with respect to every internal variable, including the amount transferred. Requiring dG=0dG = 0 for arbitrary small transfers dnαdn_\alpha gives

μα(T,P)=μβ(T,P).\boxed{\mu_\alpha(T,P) = \mu_\beta(T,P)}.

This is the central result of Section 6.1: two phases of the same pure substance are in equilibrium at a given (T,P)(T,P) if and only if they have the same chemical potential.

The physical reading is that μ\mu is the “price per mole” of adding substance to a phase. Matter spontaneously flows from higher μ\mu to lower μ\mu — from “expensive” to “cheap” — and stops flowing exactly when the two prices are equal. Away from equilibrium, the sign of (μα−μβ)(\mu_\alpha - \mu_\beta) tells us which direction the transition runs:

Because μ\mu depends on TT and PP, the equation μα(T,P)=μβ(T,P)\mu_\alpha(T,P) = \mu_\beta(T,P) is a single scalar constraint on two variables and therefore picks out a curve in the (T,P)(T,P) plane — precisely the coexistence curve we saw in the phase diagram in Section 6.1.1.

6.1.4 Competing phases on gˉ\bar g-vs-TT and gˉ\bar g-vs-PP plots

The condition μα=μβ\mu_\alpha = \mu_\beta becomes much more intuitive when we draw it graphically. For a pure substance, μ=gˉ\mu = \bar g, so a phase transition is the intersection of gˉ\bar g-versus-TT (or gˉ\bar g-versus-PP) curves for the competing phases. The slopes of those curves encode entropy and volume via the Gibbs differential (1).

(A) gˉ\bar g versus TT at fixed pressure

At constant pressure, Eq. (1) gives

(∂gˉ∂T)P=−sˉ.\left(\frac{\partial \bar g}{\partial T}\right)_P = -\bar s.

On a gˉ\bar g-vs-TT plot at fixed PP:

Because typically sˉg>sˉl>sˉs\bar s_g > \bar s_l > \bar s_s, the gas line is steepest, then liquid, then solid. Starting at low TT the solid curve is the lowest (most stable); as TT increases, the liquid curve eventually crosses the solid curve, and then the gas curve crosses the liquid. Each crossing marks a first-order phase transition at which the lowest-gˉ\bar g phase — the stable one — changes.

(B) gˉ\bar g versus PP at fixed temperature

At constant temperature, Eq. (1) gives

(∂gˉ∂P)T=vˉ.\left(\frac{\partial \bar g}{\partial P}\right)_T = \bar v.

On a gˉ\bar g-vs-PP plot at fixed TT:

Because typically vˉg≫vˉl≳vˉs\bar v_g \gg \bar v_l \gtrsim \bar v_s, the gas line rises most steeply with pressure. Compressing the system therefore favors the phases with smaller molar volume (liquid or solid over gas) — the graphical statement of Le Châtelier’s principle for phase transitions. Water is the familiar counter-example on the solid–liquid side: because vˉs>vˉl\bar v_s > \bar v_l for water (ice is less dense than liquid water), the ice curve on a gˉ\bar g-vs-PP plot rises faster than the liquid curve, so at fixed TT just below the normal freezing point, increasing PP can push the liquid below the solid and melt the ice.

In both views, the stable phase at each point is the one with the lowest gˉ\bar g, and a phase transition occurs at each intersection. The graphical picture is particularly useful for understanding why the coexistence curves have the shapes they do — why increasing pressure generally raises melting and boiling points of normal substances, and why water’s ice–water line bends the “wrong” way.

6.1.5 Latent heat and entropy jump at a first-order transition

At most phase transitions (fusion, vaporization, sublimation, solid–solid polymorphic transitions) the first derivatives of GG — namely SS and VV — are discontinuous across the coexistence curve. Transitions of this kind are called first-order. The macroscopic consequences are two quantities that every student of thermodynamics encounters: a latent heat and an entropy jump.

For a transition α→β\alpha \to \beta occurring at (Ttr,Ptr)(T_{tr},P_{tr}), define the molar changes

Δhˉtr≡hˉβ(Ttr)−hˉα(Ttr),Δsˉtr≡sˉβ(Ttr)−sˉα(Ttr).\Delta \bar h_{tr} \equiv \bar h_\beta(T_{tr}) - \bar h_\alpha(T_{tr}), \qquad \Delta \bar s_{tr} \equiv \bar s_\beta(T_{tr}) - \bar s_\alpha(T_{tr}).

At the coexistence curve, μα=μβ\mu_\alpha = \mu_\beta implies gˉα=gˉβ\bar g_\alpha = \bar g_\beta and therefore Δgˉtr=0\Delta \bar g_{tr} = 0. Combined with Δgˉ=Δhˉ−T Δsˉ\Delta \bar g = \Delta \bar h - T\,\Delta \bar s, this gives the key identity

Δhˉtr=Ttr Δsˉtr.\boxed{\Delta \bar h_{tr} = T_{tr}\,\Delta \bar s_{tr}}.

Equation (12) connects a quantity one can measure calorimetrically — the latent heat Δhˉtr\Delta \bar h_{tr}, released or absorbed when matter crosses the boundary at constant pressure — to a quantity that usually appears only in tables, the entropy jump Δsˉtr\Delta \bar s_{tr}. It is the reason Δsˉvap\Delta \bar s_{vap} is rarely tabulated separately from Δhˉvap\Delta \bar h_{vap}: given one, the other follows by division.

Common special cases. At the melting temperature TfusT_{fus} (at the chosen pressure),

Δhˉfus=hˉl(Tfus)−hˉs(Tfus),Δsˉfus=sˉl(Tfus)−sˉs(Tfus),\Delta \bar h_{fus} = \bar h_l(T_{fus}) - \bar h_s(T_{fus}), \qquad \Delta \bar s_{fus} = \bar s_l(T_{fus}) - \bar s_s(T_{fus}),

and at the boiling temperature TvapT_{vap},

Δhˉvap=hˉg(Tvap)−hˉl(Tvap),Δsˉvap=sˉg(Tvap)−sˉl(Tvap).\Delta \bar h_{vap} = \bar h_g(T_{vap}) - \bar h_l(T_{vap}), \qquad \Delta \bar s_{vap} = \bar s_g(T_{vap}) - \bar s_l(T_{vap}).

Both are positive at ordinary first-order transitions: the higher-temperature phase is the one with greater molar enthalpy and greater molar entropy.

6.1.6 Trouton’s rule and water as an exception

Frederick Trouton (1884) noticed that for many ordinary liquids at their normal boiling point,

Δsˉvap≈85.9 J mol−1 K−1≈10.3 R.\Delta \bar s_{vap} \approx 85.9\ \mathrm{J\,mol^{-1}\,K^{-1}} \approx 10.3\,R.

The rough constancy of Δsˉvap\Delta \bar s_{vap} across chemically unrelated liquids suggests that the entropy cost of liberating one mole of molecules from a liquid into an ideal gas is governed mostly by the phase change itself — the volume increase, the loss of short-range order — rather than by the chemical identity of the liquid.

Real substances deviate from Trouton’s rule when the liquid is unusually ordered (hydrogen-bonded liquids such as water and the lower alcohols, metals with strong cohesion, liquid helium near its λ\lambda-line). In these cases Δsˉvap\Delta \bar s_{vap} is larger than the Trouton value because the liquid is more ordered than an “average” liquid and correspondingly more entropy is gained on vaporization. Water is the familiar example: Δsˉvap(H2O)≈109 J mol−1 K−1\Delta \bar s_{vap}(\mathrm{H_2O}) \approx 109\ \mathrm{J\,mol^{-1}\,K^{-1}}, roughly 25 % above Trouton’s value, which is the macroscopic signature of hydrogen-bonding structure in liquid water. We will revisit the molecular interpretation of Δhˉvap\Delta \bar h_{vap} for water in Section 6.2 after introducing the Clausius–Clapeyron equation as a tool for extracting enthalpies of vaporization from vapor-pressure data.

Worked Example: Heating water from 298.15 K to 800 K at 1 bar

Goal. Estimate Δsˉ\Delta \bar s and Δhˉ\Delta \bar h when one mole of water is heated reversibly at constant pressure P=1P = 1 bar from 298.15 K (liquid) to 800 K (superheated steam), crossing the liquid–vapor coexistence curve. This example combines the single-phase heating integrals developed in Chapters 3–4 with the first-order transition relation (12), and illustrates how strongly the overall entropy change is dominated by the phase transition itself.

Within a single phase at constant pressure,

Δsˉ=∫T1T2cˉP(T)T dT,Δhˉ=∫T1T2cˉP(T) dT,\Delta \bar s = \int_{T_1}^{T_2} \frac{\bar c_P(T)}{T}\,dT, \qquad \Delta \bar h = \int_{T_1}^{T_2} \bar c_P(T)\,dT,

and at the coexistence temperature TtrT_{tr} the entropy has a finite jump

Δsˉvap(Ttr)=Δhˉvap(Ttr)Ttr.\Delta \bar s_{vap}(T_{tr}) = \frac{\Delta \bar h_{vap}(T_{tr})}{T_{tr}}.

We use a coarse set of cˉP ∘(T)\bar c_P^{\,\circ}(T) values from the NIST–JANAF thermochemical tables for H2O(l)\mathrm{H_2O(l)} and H2O(g)\mathrm{H_2O(g)} at P∘=0.1 MPa=1 barP^\circ = 0.1\ \mathrm{MPa} = 1\ \mathrm{bar}. In that dataset, the liquid–vapor transition occurs at

Ttr=372.780 K(very close to 373.15 K at 1 atm).T_{tr} = 372.780\ \mathrm{K}\quad\text{(very close to 373.15 K at 1 atm).}

Data used (excerpt)

PhaseTT (K)cˉP ∘\bar c_P^{\,\circ} (J mol−1^{-1} K−1^{-1})
H2O(l)\mathrm{H_2O(l)}298.1575.351
30075.349
32075.344
34075.388
36075.679
372.78075.962
H2O(g)\mathrm{H_2O(g)}30033.596
40034.262
50035.226
60036.325
70037.495
80038.721

The gas-phase heat capacity at TtrT_{tr} is obtained by linear interpolation of the 300–400 K JANAF entries. The latent heat at TtrT_{tr} is obtained from the tabulated standard enthalpies of formation:

Δhˉvap(Ttr)≈ΔfHg∘(Ttr)−ΔfHl∘(Ttr).\Delta \bar h_{vap}(T_{tr}) \approx \Delta_f H^\circ_g(T_{tr}) - \Delta_f H^\circ_l(T_{tr}).
import numpy as np

# ---- Cp(T) data (J/mol/K) ----
T_tr = 372.780  # K (liquid <-> vapor at 1 bar in the JANAF tables)

T_liq = np.array([298.15, 300, 320, 340, 360, T_tr])
Cp_liq = np.array([75.351, 75.349, 75.344, 75.388, 75.679, 75.962])

T_gas_tab = np.array([300, 400, 500, 600, 700, 800])
Cp_gas_tab = np.array([33.596, 34.262, 35.226, 36.325, 37.495, 38.721])

# Interpolate Cp_gas at T_tr (between 300 and 400 K)
Cp_gas_tr = Cp_gas_tab[0] + (T_tr - T_gas_tab[0])/(T_gas_tab[1] - T_gas_tab[0])*(Cp_gas_tab[1] - Cp_gas_tab[0])

T_gas = np.concatenate([[T_tr], T_gas_tab[1:]])
Cp_gas = np.concatenate([[Cp_gas_tr], Cp_gas_tab[1:]])

# ---- Heating contributions (trapezoid rule) ----
dS_liq = np.trapezoid(Cp_liq/T_liq, T_liq)          # J/mol/K
dH_liq = np.trapezoid(Cp_liq, T_liq)/1000           # kJ/mol

dS_gas = np.trapezoid(Cp_gas/T_gas, T_gas)          # J/mol/K
dH_gas = np.trapezoid(Cp_gas, T_gas)/1000           # kJ/mol

# ---- Vaporization jump from JANAF delta_f H° (linear interpolation to T_tr) ----
# liquid delta_f H° at 360 and 400 K (kJ/mol)
Hf_liq_360, Hf_liq_400 = -283.874, -282.591
Hf_liq_tr = Hf_liq_360 + (T_tr-360)/(400-360)*(Hf_liq_400 - Hf_liq_360)

# gas delta_f H° at 300 and 400 K (kJ/mol)
Hf_gas_300, Hf_gas_400 = -241.844, -242.846
Hf_gas_tr = Hf_gas_300 + (T_tr-300)/(400-300)*(Hf_gas_400 - Hf_gas_300)

dH_vap = Hf_gas_tr - Hf_liq_tr                 # kJ/mol
dS_vap = dH_vap*1000/T_tr                      # J/mol/K

print(f"Heating (liquid, 298.15 -> {T_tr:.3f} K):  ΔH = {dH_liq:6.3f} kJ/mol,  ΔS = {dS_liq:6.2f} J/mol/K")
print(f"Vaporization at {T_tr:.3f} K (1 bar):        ΔH = {dH_vap:6.2f} kJ/mol,  ΔS = {dS_vap:6.2f} J/mol/K")
print(f"Heating (gas,    {T_tr:.3f} -> 800 K):       ΔH = {dH_gas:6.2f} kJ/mol,  ΔS = {dS_gas:6.2f} J/mol/K")

dH_total = dH_liq + dH_vap + dH_gas
dS_total = dS_liq + dS_vap + dS_gas
print(f"\nTOTAL (298.15 K liquid -> 800 K steam, 1 bar): ΔH ≈ {dH_total:6.2f} kJ/mol,  ΔS ≈ {dS_total:6.1f} J/mol/K")
Heating (liquid, 298.15 -> 372.780 K):  ΔH =  5.633 kJ/mol,  ΔS =  16.87 J/mol/K
Vaporization at 372.780 K (1 bar):        ΔH =  40.89 kJ/mol,  ΔS = 109.69 J/mol/K
Heating (gas,    372.780 -> 800 K):       ΔH =  15.48 kJ/mol,  ΔS =  27.57 J/mol/K

TOTAL (298.15 K liquid -> 800 K steam, 1 bar): ΔH ≈  62.01 kJ/mol,  ΔS ≈  154.1 J/mol/K

What to notice. The total entropy change along this path is dominated by the phase transition: Δsˉvap≈1.1×102 J mol−1 K−1\Delta \bar s_{vap} \approx 1.1\times 10^2\ \mathrm{J\,mol^{-1}\,K^{-1}}, which alone is several times the combined contribution of heating the liquid by ~75 K and the vapor by ~430 K. Water’s large Δsˉvap\Delta \bar s_{vap} relative to Trouton’s value (15) is the macroscopic signature of hydrogen-bonding structure in the liquid, consistent with the discussion in Section 6.1.6.

import matplotlib.pyplot as plt

# Cumulative entropy relative to 298.15 K along the path (trapezoid segments)
S_liq_cum = np.concatenate([[0.0], np.cumsum(0.5*(Cp_liq[1:]/T_liq[1:] + Cp_liq[:-1]/T_liq[:-1]) * np.diff(T_liq))])
S_gas_cum = np.concatenate([[0.0], np.cumsum(0.5*(Cp_gas[1:]/T_gas[1:] + Cp_gas[:-1]/T_gas[:-1]) * np.diff(T_gas))])

T_path = np.concatenate([T_liq, T_gas[1:]])
S_path = np.concatenate([S_liq_cum, S_liq_cum[-1] + dS_vap + S_gas_cum[1:]])

plt.figure()
plt.plot(T_path, S_path)
plt.axvline(T_tr, linestyle="--")
plt.xlabel("Temperature (K)")
plt.ylabel(r"$\Delta \bar s$ from 298.15 K (J mol$^{-1}$ K$^{-1}$)")
plt.title("Heating water at 1 bar: entropy rise + vaporization jump")
plt.show()
<Figure size 640x480 with 1 Axes>

The sharp vertical step at TtrT_{tr} is the graphical signature of a first-order transition: a finite entropy jump at a single temperature, sitting atop a smooth continuous rise from heat-capacity integration through each single-phase region.

Concept Checks

  1. Why is the chemical potential, rather than the Gibbs free energy itself, the natural variable for analyzing phase equilibria?

  2. On a gˉ\bar g-vs-TT plot at fixed pressure, what does the slope of each curve represent, and why do different phases have different slopes? Use your answer to predict the order of the solid, liquid, and gas slopes.

  3. Starting from μα=μβ\mu_\alpha = \mu_\beta at coexistence, argue in words why this condition defines a curve in the (T,P)(T,P) plane rather than an isolated point or a two-dimensional region. What happens when a third phase is added to the argument?

  4. Water has Δsˉvap≈109 J mol−1 K−1\Delta \bar s_{vap} \approx 109\ \mathrm{J\,mol^{-1}\,K^{-1}}, about 25 % higher than Trouton’s value. What does this tell you about the liquid relative to an “average” liquid? (Nothing yet about the gas.)

  5. Ice floats on water, so vˉs>vˉl\bar v_s > \bar v_l for water. On a gˉ\bar g-vs-PP plot at fixed TT just below the normal freezing point, sketch the ice and water curves and identify which has the steeper slope. What does your sketch predict for the effect of increasing PP on the stable phase at that temperature?

Key Takeaways