Fiveable

🎲Statistical Mechanics Unit 2 Review

QR code for Statistical Mechanics practice questions

2.7 Thermodynamic potentials

2.7 Thermodynamic potentials

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
🎲Statistical Mechanics
Unit & Topic Study Guides

Thermodynamic potentials are functions that encode all the thermodynamic information about a system in a compact form. By choosing the right potential for your constraints (constant temperature? constant pressure?), you can directly read off equilibrium conditions, predict spontaneous processes, and connect microscopic statistical mechanics to macroscopic measurements.

The four main potentials are internal energy (UU), enthalpy (HH), Helmholtz free energy (AA), and Gibbs free energy (GG). Each one is most naturally expressed in terms of specific variables, and the mathematical machinery of Legendre transforms and Maxwell relations lets you move between them systematically.

Fundamental thermodynamic potentials

Each potential is tailored to a particular set of experimental constraints. The "natural variables" of a potential are the independent variables in terms of which the potential's total differential takes its simplest form. When you hold those natural variables fixed, the corresponding potential is minimized at equilibrium.

Internal energy

UU represents the total energy contained within a thermodynamic system, including kinetic and potential energies of all particles. It's the most fundamental potential because the First Law directly governs it:

dU=TdSPdV+μdNdU = TdS - PdV + \mu dN

The natural variables are SS, VV, and NN. This means UU is most useful when you control entropy and volume, which isn't always experimentally convenient. That's exactly why we introduce the other potentials.

Enthalpy

H=U+PVH = U + PV

Enthalpy is what you want for constant-pressure processes (which is most bench-top chemistry and many engineering applications). Its differential is:

dH=TdS+VdP+μdNdH = TdS + VdP + \mu dN

Natural variables: SS and PP. Changes in enthalpy ΔH\Delta H directly give the heat absorbed or released at constant pressure, which is why calorimetry data are usually reported as enthalpy changes.

Helmholtz free energy

A=UTSA = U - TS

This potential tells you the maximum useful work extractable from a closed system at constant temperature. Its differential is:

dA=SdTPdV+μdNdA = -SdT - PdV + \mu dN

Natural variables: TT and VV. At constant TT and VV, equilibrium corresponds to the minimum of AA. This is the potential that connects most directly to the canonical partition function (more on that below).

Gibbs free energy

G=U+PVTS=HTSG = U + PV - TS = H - TS

This is the workhorse potential for constant temperature and pressure, which covers most laboratory and biological conditions. Its differential is:

dG=SdT+VdP+μdNdG = -SdT + VdP + \mu dN

Natural variables: TT and PP. At constant TT and PP, equilibrium minimizes GG. Phase coexistence, chemical equilibrium, and reaction spontaneity are all most naturally described through GG.

Mathematical formulations

Legendre transformations

Legendre transforms are the systematic way to switch between potentials. The idea: you trade an extensive natural variable for its conjugate intensive variable while preserving all thermodynamic information.

The recipe is straightforward. To replace a natural variable xx with its conjugate p=f/xp = \partial f / \partial x, you form the new potential:

g=fpxg = f - px

For example, going from U(S,V)U(S,V) to A(T,V)A(T,V): the conjugate of SS is T=(U/S)VT = (\partial U / \partial S)_V, so A=UTSA = U - TS. Each of the four potentials is related to the others by one or two Legendre transforms, forming a square (sometimes called the "thermodynamic square") that's worth memorizing.

Partial derivative relationships

From the differential dU=TdSPdV+μdNdU = TdS - PdV + \mu dN, you can read off:

  • (US)V,N=T\left(\frac{\partial U}{\partial S}\right)_{V,N} = T
  • (UV)S,N=P\left(\frac{\partial U}{\partial V}\right)_{S,N} = -P
  • (UN)S,V=μ\left(\frac{\partial U}{\partial N}\right)_{S,V} = \mu

Analogous relations hold for every potential from its own differential. These are not just formal identities; they're how you extract measurable quantities from a known potential. If someone hands you G(T,P)G(T,P) for a substance, you get entropy from S=(G/T)PS = -(\partial G/\partial T)_P and volume from V=(G/P)TV = (\partial G/\partial P)_T.

Maxwell relations

Because mixed partial derivatives commute (2f/xy=2f/yx\partial^2 f / \partial x \partial y = \partial^2 f / \partial y \partial x), each potential generates an equality between seemingly unrelated derivatives. The four fundamental Maxwell relations are:

  • From UU: (TV)S=(PS)V\left(\frac{\partial T}{\partial V}\right)_S = -\left(\frac{\partial P}{\partial S}\right)_V
  • From HH: (TP)S=(VS)P\left(\frac{\partial T}{\partial P}\right)_S = \left(\frac{\partial V}{\partial S}\right)_P
  • From AA: (SV)T=(PT)V\left(\frac{\partial S}{\partial V}\right)_T = \left(\frac{\partial P}{\partial T}\right)_V
  • From GG: (SP)T=(VT)P\left(\frac{\partial S}{\partial P}\right)_T = -\left(\frac{\partial V}{\partial T}\right)_P

The practical payoff: Maxwell relations let you replace hard-to-measure derivatives (like how entropy changes with volume) with easy-to-measure ones (like how pressure changes with temperature). The third relation above, for instance, is what you'd use to compute the entropy change of a gas during isothermal expansion from an equation of state alone.

Properties and applications

Internal energy, The First Law of Thermodynamics | Boundless Physics

Equilibrium conditions

Thermodynamic equilibrium means the system's macroscopic properties are stationary. The appropriate potential reaches an extremum (minimum for free energies, maximum for entropy in isolated systems) under the given constraints:

  • Thermal equilibrium: uniform TT throughout the system
  • Mechanical equilibrium: uniform PP throughout the system
  • Chemical equilibrium: uniform μ\mu for each species; no net reactions or mass transfer

Which potential you minimize depends on what's held fixed. Constant SS and VV? Minimize UU. Constant TT and PP? Minimize GG. Picking the wrong potential for your constraints makes the analysis much harder than it needs to be.

Spontaneity criteria

The Second Law, expressed through the potentials, gives clean criteria for whether a process will proceed spontaneously:

  • Isolated system (constant UU, VV, NN): dS>0dS > 0
  • Constant TT and VV: dA<0dA < 0
  • Constant TT and PP: dG<0dG < 0

Equality holds for reversible processes. A system at equilibrium satisfies dG=0dG = 0 (at constant TT, PP), which is the starting point for deriving the equilibrium constant expression in chemical thermodynamics.

Phase transitions

Phase transitions are classified by the behavior of the potential's derivatives:

  • First-order: first derivatives of GG (like SS and VV) are discontinuous. You see latent heat and a volume change (e.g., boiling water).
  • Second-order (continuous): first derivatives are continuous, but second derivatives (like heat capacity and compressibility) diverge or jump. Examples include the superconducting transition and the ferromagnetic Curie point.

The Gibbs phase rule determines how many intensive variables you can independently vary while maintaining phase coexistence:

F=CP+2F = C - P + 2

where CC is the number of components and PP is the number of coexisting phases. For a single-component system at a triple point (P=3P = 3), F=0F = 0: the temperature and pressure are completely fixed.

Thermodynamic potential diagrams

Energy surfaces

You can visualize any potential as a surface over its natural variables. For example, U(S,V)U(S,V) is a surface in three dimensions. The slope in the SS-direction gives TT, and the slope in the VV-direction gives P-P.

These surfaces are useful because their curvature encodes stability information, and phase transitions show up as regions where the surface develops flat portions or kinks.

Stability conditions

A stable equilibrium corresponds to a local minimum of the appropriate potential. This requires the second derivatives to be positive:

  • Thermal stability: (2US2)V>0\left(\frac{\partial^2 U}{\partial S^2}\right)_V > 0, which is equivalent to CV>0C_V > 0 (heat capacity must be positive)
  • Mechanical stability: (2UV2)S>0\left(\frac{\partial^2 U}{\partial V^2}\right)_S > 0, which means κS>0\kappa_S > 0 (compressibility must be positive)

When these conditions are violated, the system is unstable and will spontaneously evolve toward a new state, often through a phase transition. The boundary where stability is marginally lost defines the spinodal curve.

Critical points

At a critical point, the distinction between two phases vanishes (e.g., liquid and gas become indistinguishable above the critical temperature). Mathematically, both the first and second derivatives of the chemical potential with respect to density vanish:

(PV)T=0,(2PV2)T=0\left(\frac{\partial P}{\partial V}\right)_T = 0, \quad \left(\frac{\partial^2 P}{\partial V^2}\right)_T = 0

Near critical points, fluctuations grow to macroscopic scales, susceptibilities diverge, and the system exhibits universal behavior characterized by critical exponents that depend only on dimensionality and symmetry, not on microscopic details. The liquid-gas critical point of water (Tc=647T_c = 647 K, Pc=22.1P_c = 22.1 MPa) and the Curie point of iron (Tc=1043T_c = 1043 K) are classic examples.

Connections to statistical mechanics

Partition function relationships

This is where thermodynamic potentials meet microscopic physics. The canonical partition function ZZ encodes all equilibrium thermodynamics of a system at fixed TT, VV, NN:

  • Helmholtz free energy: A=kBTlnZA = -k_BT \ln Z
  • Internal energy: U=kBT2(lnZT)VU = k_BT^2 \left(\frac{\partial \ln Z}{\partial T}\right)_V
  • Entropy: S=kBlnZ+kBT(lnZT)VS = k_B \ln Z + k_BT \left(\frac{\partial \ln Z}{\partial T}\right)_V

Once you have ZZ, every thermodynamic quantity follows by differentiation. This is why computing partition functions is the central task of statistical mechanics.

Internal energy, The First Law of Thermodynamics and Some Simple Processes · Physics

Ensemble averages

Different statistical ensembles correspond to different sets of fixed variables, and each connects naturally to a specific potential:

  • Microcanonical ensemble (fixed NN, VV, EE) → entropy S=kBlnΩS = k_B \ln \Omega
  • Canonical ensemble (fixed NN, VV, TT) → Helmholtz free energy A=kBTlnZA = -k_BT \ln Z
  • Grand canonical ensemble (fixed μ\mu, VV, TT) → grand potential Ω=kBTlnZ\Omega = -k_BT \ln \mathcal{Z}

The ergodic hypothesis justifies equating time averages (what you measure in an experiment) with ensemble averages (what you calculate in stat mech). In the thermodynamic limit (NN \to \infty), all ensembles give equivalent results for bulk properties.

Fluctuations and response functions

Statistical mechanics naturally predicts fluctuations around equilibrium, and these fluctuations are directly tied to thermodynamic response functions:

  • Energy fluctuations in the canonical ensemble: (ΔE)2=kBT2CV\langle (\Delta E)^2 \rangle = k_BT^2 C_V
  • Particle number fluctuations in the grand canonical ensemble: (ΔN)2=kBT(Nμ)T\langle (\Delta N)^2 \rangle = k_BT \left(\frac{\partial \langle N \rangle}{\partial \mu}\right)_T

Key response functions include:

  • Heat capacity: CV=T(ST)VC_V = T\left(\frac{\partial S}{\partial T}\right)_V
  • Isothermal compressibility: κT=1V(VP)T\kappa_T = -\frac{1}{V}\left(\frac{\partial V}{\partial P}\right)_T

The fluctuation-dissipation theorem formalizes this connection: equilibrium fluctuations determine how the system responds to small perturbations. Near critical points, fluctuations diverge, which is why response functions like CVC_V and κT\kappa_T blow up there.

Experimental relevance

Measurable quantities

Thermodynamic potentials themselves aren't directly measurable. What you measure in the lab are quantities like TT, PP, VV, heat capacity CC, and compressibility κ\kappa. From these, you reconstruct the potentials through integration.

In practice, experiments focus on changes in potentials (ΔG\Delta G, ΔH\Delta H) rather than absolute values, since the absolute value depends on an arbitrary reference. The Third Law provides a natural reference point by setting S=0S = 0 at T=0T = 0 for perfect crystals.

Calorimetry techniques

Calorimetry measures heat transfer and energy changes directly. The main types:

  • Bomb calorimeter: measures heat of combustion at constant volume, giving ΔU\Delta U directly
  • Flow calorimeter: measures enthalpy changes in flowing systems at constant pressure
  • Differential scanning calorimeter (DSC): tracks heat capacity as a function of temperature, revealing phase transitions as peaks or discontinuities in Cp(T)C_p(T)

DSC is particularly powerful for mapping out phase diagrams and detecting subtle transitions that might not involve visible changes in the sample.

Equation of state derivations

An equation of state relates PP, VV, and TT for a substance. Combined with heat capacity data, it lets you compute all thermodynamic potentials.

  • Ideal gas: PV=nRTPV = nRT (no interactions, works well at low density)
  • Van der Waals: (P+an2V2)(Vnb)=nRT\left(P + \frac{an^2}{V^2}\right)(V - nb) = nRT (adds attractive interactions via aa and finite molecular volume via bb)

The van der Waals equation, despite its simplicity, qualitatively captures liquid-gas phase transitions and predicts a critical point at Tc=8a/(27bR)T_c = 8a/(27bR), Pc=a/(27b2)P_c = a/(27b^2). More sophisticated equations (Redlich-Kwong, Peng-Robinson) improve quantitative accuracy for real gases.

Advanced concepts

Massieu functions

Massieu functions are entropy-based alternatives to the usual energy-based potentials. They're defined by Legendre-transforming the entropy rather than the energy:

  • Massieu function: Φ=SU/T=A/T\Phi = S - U/T = -A/T
  • Planck potential: Ξ=S(U+PV)/T=G/T\Xi = S - (U + PV)/T = -G/T

These are particularly natural in statistical mechanics because the canonical partition function gives Φ\Phi directly: Φ=kBlnZ\Phi = k_B \ln Z. They also simplify expressions involving temperature derivatives, which is why the Gibbs-Helmholtz equation ((G/T)/T=H/T2\partial(G/T)/\partial T = -H/T^2) takes such a clean form.

Grand potential

For open systems where particles can enter and leave, the grand potential is the right choice:

Ω=UTSμN=AμN\Omega = U - TS - \mu N = A - \mu N

Natural variables: TT, VV, and μ\mu. Its differential is:

dΩ=SdTPdVNdμd\Omega = -SdT - PdV - Nd\mu

For a homogeneous system, Euler's theorem gives the simple result Ω=PV\Omega = -PV. The grand potential connects to the grand canonical partition function Z\mathcal{Z} via Ω=kBTlnZ\Omega = -k_BT \ln \mathcal{Z}, making it essential for quantum gases, adsorption problems, and any situation where particle number fluctuates.

Landau theory of phase transitions

Landau theory provides a phenomenological framework for continuous (second-order) phase transitions. The central idea: expand the free energy as a power series in an order parameter ϕ\phi (which is zero in the disordered phase and nonzero in the ordered phase):

F=F0+a(T)ϕ2+bϕ4+F = F_0 + a(T)\phi^2 + b\phi^4 + \cdots

The coefficient a(T)a(T) changes sign at the transition temperature TcT_c, typically as a(T)=a0(TTc)a(T) = a_0(T - T_c). Above TcT_c, the minimum is at ϕ=0\phi = 0. Below TcT_c, the minimum shifts to ϕ0\phi \neq 0, signaling the phase transition.

Landau theory predicts mean-field critical exponents (e.g., ϕ(TcT)1/2\phi \sim (T_c - T)^{1/2}) that are exact in high dimensions but only approximate in 2D and 3D, where fluctuations (ignored by Landau theory) become important. Despite this limitation, it provides the conceptual foundation for understanding symmetry breaking across physics, from ferromagnets to superconductors to the Higgs mechanism.