Thermodynamic Potentials and Phase Equilibrium
Thermodynamic potentials are Legendre transforms of the internal energy. Statistical mechanics supplies them from partition functions, but their power is broader: they encode natural variables, stability, response functions, and phase coexistence. Schwabl uses this machinery to connect ensembles with the laws of equilibrium thermodynamics.
Phase equilibrium is where the formalism becomes geometric. A stable phase minimizes the appropriate potential under the imposed constraints; coexistence means two phases have equal chemical potential or equal Gibbs free energy per particle. Slopes of coexistence curves follow from derivative identities rather than from microscopic details.
Definitions
The fundamental thermodynamic differential for a simple single-component system is
Legendre transforms define
Here denotes enthalpy, avoiding conflict with the Hamiltonian. Their differentials are
For a homogeneous one-component system,
The Gibbs-Duhem relation is
Key results
Maxwell relations follow from equality of mixed partial derivatives. From at fixed ,
From ,
Stability requires appropriate convexity or concavity. For example,
and the isothermal compressibility
must be nonnegative for mechanical stability.
For two phases and of one component in coexistence,
Differentiating along the coexistence curve gives the Clausius-Clapeyron equation:
where and are entropy and volume per particle and is latent heat per particle.
For multicomponent systems, Gibbs' phase rule is
where is the number of components, the number of phases, and the number of intensive degrees of freedom.
Legendre transforms should be read as changes of experimental control. If the walls are fixed and the system is held at a fixed temperature, is the potential that decreases toward equilibrium. If pressure and temperature are imposed by reservoirs, is the useful potential. In the grand ensemble, are fixed and the grand potential is minimized. Using the wrong potential is a common source of sign errors and incorrect stability conditions.
Phase coexistence has a simple free-energy geometry. At fixed , a stable single phase has a convex Helmholtz free energy as a function of volume or density. A concave segment would imply negative compressibility and instability. The physical free energy is the convex envelope, which represents a mixture of two phases. The Maxwell construction in the van der Waals model is the equation-of-state version of this convexification.
The chemical potential is the slope of free energy with respect to particle number. In a one-component system at fixed and , equality of between phases is equivalent to equality of molar Gibbs free energies. For a multicomponent system, every independently transferable component must have equal chemical potential across coexisting phases. This condition is what drives distillation, osmosis, alloy phase separation, and chemical partitioning.
Response functions are second derivatives of potentials, so their signs express stability. For example, follows from energy fluctuations in the canonical ensemble, and follows from volume stability at fixed temperature. Near criticality these second derivatives can become large, signaling that the free-energy surface is becoming flat in an order-parameter direction.
Thermodynamic identities are most reliable when derived from differentials rather than memorized. For instance, if a derivative contains variables that are not natural for the chosen potential, Jacobian manipulations or Maxwell relations are needed. Schwabl emphasizes these derivative methods because statistical mechanics constantly moves between ensembles. A fluctuation formula may naturally give a derivative at fixed , while an experiment may report a derivative at fixed .
The Gibbs-Duhem relation also prevents intensive variables from varying independently in a single homogeneous phase. For one component,
This compact formula underlies coexistence slopes, chemical-potential matching, and the response of open systems to reservoir changes.
Jacobians are often the safest way to transform derivatives. If an equation of state is known in variables but an experiment fixes , direct substitution can silently hold the wrong variable constant. Writing derivatives as Jacobian ratios keeps the constraints explicit and prevents common sign mistakes in heat-capacity and compressibility identities.
Phase diagrams are maps of which potential minimum is global under each set of intensive variables. Metastable extensions may be drawn, but equilibrium curves are determined by equality of the appropriate potentials. This is why the same microscopic model can show smooth behavior in one path through parameter space and a discontinuity along another.
In multicomponent systems, the same logic operates in a higher-dimensional composition space. Tie lines, coexistence surfaces, and reaction constraints are geometric expressions of minimizing free energy under conservation laws. Gibbs' phase rule is a dimension count of this constrained minimization problem, not a separate empirical rule.
The statistical-mechanical role of these potentials is to summarize many microscopic states into a surface whose derivatives are observable quantities. Once , , or is known, equations of state, stability tests, and coexistence conditions are obtained by calculus. That is why partition functions are so central.
This calculus-first discipline is what keeps signs, constraints, and physical interpretations aligned.
Visual
p
^
| solid
| /
| / liquid
| triple *-------- critical *
| / \ /
| / \ /
| / vapor
+----------------------------------> T
| Potential | Natural variables | Equilibrium principle |
|---|---|---|
| minimized at fixed | ||
| minimized at fixed | ||
| minimized at fixed | ||
| minimized at fixed | ||
| minimized at fixed |
Worked example 1: A Maxwell relation from the Helmholtz free energy
Problem: Derive
from .
Method:
- Start with
- Identify first derivatives:
- Differentiate with respect to :
- Differentiate with respect to :
- Equality of mixed partial derivatives gives the result.
Checked answer: the signs match because both and enter with minus signs.
Worked example 2: Slope of a vapor-pressure curve
Problem: Estimate for a liquid-vapor transition at with molar latent heat and vapor molar volume . Neglect the liquid molar volume.
Method:
- Use the molar Clausius-Clapeyron formula:
- Neglect :
- Insert values:
- Compute the slope:
Checked answer: near the normal boiling point, vapor pressure changes by several kilopascals per kelvin, consistent with the steep liquid-vapor curve.
Code
def clapeyron_slope(T, latent_heat_molar, v_gas_molar, v_liquid_molar=0.0):
return latent_heat_molar / (T * (v_gas_molar - v_liquid_molar))
def gibbs_phase_rule(components, phases):
return components - phases + 2
print(clapeyron_slope(373.0, 40.7e3, 3.06e-2), "Pa/K")
for C, P in [(1, 1), (1, 2), (1, 3), (2, 2)]:
print(C, P, gibbs_phase_rule(C, P))
Common pitfalls
- Mixing natural variables when differentiating a potential. Each potential has its own correct independent variables.
- Forgetting that phase coexistence for one component means equal chemical potentials, not merely equal pressures.
- Applying the Clausius-Clapeyron equation with total latent heat and per-particle volume changes; units must match.
- Treating the critical point as a triple point. At a critical point two phases become indistinguishable; at a triple point three coexist.
- Ignoring stability conditions when an equation of state gives negative compressibility.