Equilibrium as Free-Energy Minimization
Statement
For a system exchanging heat with a reservoir at fixed temperature T0 and doing work only against a fixed external pressure p0, the Clausius inequality forces the availability A = U − T0S + p0V to decrease in every spontaneous process, dA ≤ 0, so that at equilibrium the thermodynamic potential appropriate to the imposed constraints is stationary and minimal: entropy S is maximised at fixed (U,V,N); internal energy U at fixed (S,V,N); Helmholtz F = U − TS at fixed (T,V,N); and Gibbs G = U − TS + pV at fixed (T,p,N).
Why it matters
The second law in the form dSuniv ≥ 0 governs the isolated whole. But experiments are almost never run on isolated systems — they are run in thermostats and at atmospheric pressure. This derivation converts the global entropy criterion into a variational principle expressed entirely in the system's own variables, so that "which way does it go, and where does it stop?" becomes "minimise the right potential."
Every quantitative equilibrium condition in chemistry, materials science, and soft matter — phase coexistence, the law of mass action, equality of chemical potentials, the common-tangent construction — is a corollary of one of these minimisations. It is also the bridge to statistical mechanics, where the same F emerges as −kBT ln Z.
Assumptions
Derivation
Result
Reading. The one master inequality dA ≤ 0 contains every equilibrium rule. Whichever pair of variables the environment clamps, the availability collapses onto the matching potential — S (max), U, F, H, or G — and that potential is driven to a minimum (or S to a maximum). Equilibrium is not a special force balance; it is the exhaustion of the system's capacity to lower its free energy.
Units check. Each of U, T0S, and p0V is an energy: [T][S] = K · J K−1 = J, and [p][V] = Pa · m3 = (N m−2)(m3) = J. So A, F, G are all in joules and dA ≤ 0 compares like with like.
Limiting cases
- Isolated system (đQ=0, dV=0): step 4 gives −T0 dS ≤ 0, i.e. dS ≥ 0. Entropy maximisation is recovered as the special case.
- Fixed S,V: dS=0, dV=0 ⇒ dU ≤ 0. Internal energy is minimised — the mechanical intuition "systems seek lowest energy" holds only at fixed entropy.
- Fixed S,p: dS=0 ⇒ dU+p0dV = dH ≤ 0. Enthalpy is minimised (the natural potential for insulated, pressure-controlled flow).
- Reversible limit: the Clausius equality holds, dA=0 exactly; the potential is constant along the path — the system is at every instant infinitesimally close to equilibrium.
- High-temperature limit of F=U−TS: the −TS term dominates, so minimising F becomes maximising S; at low T it becomes minimising U. Free energy interpolates the energy–entropy competition.
Breaks when
- The reservoir is finite. If the surroundings are comparable in heat capacity to the system, T0 and p0 change during equilibration; A is no longer a state function of the system and one must return to maximising the total entropy Ssys+Sres.
- The system is far from equilibrium with no well-defined temperature. A strongly driven or steeply non-uniform body has no single T, so F and G are undefined and the Clausius bound in step 1 loses its reservoir reference.
- Driven, open, or dissipative steady states. A system fed by external fluxes (a laser above threshold, a Bénard cell, living matter) settles into a steady state that does not minimise any equilibrium free energy; minimum-entropy-production or other criteria govern it instead.
- Mesoscopic systems. When thermal fluctuations are comparable to the potential's curvature (ΔΦ ∼ kBT), the minimum is only a most-probable value; the state fluctuates and fluctuation theorems, not a sharp minimum, describe it.
- Long-range or non-additive interactions. Gravitating systems or unscreened Coulomb systems have non-extensive energy; ensembles become inequivalent, F need not be convex, and the canonical minimisation can disagree with the microcanonical result.
Failure modes
- Wrong temperature in Clausius. Using the instantaneous (possibly ill-defined) system temperature instead of the reservoir T0 in step 1, then wondering why the bound seems to be violated.
- Potential/constraint mismatch. Claiming G is minimised at fixed T,V, or F at fixed T,p. Each potential is minimal only when its own natural variables are the ones held constant.
- Sign inversion. Writing dF ≥ 0 or "free energy increases toward equilibrium," usually from mishandling the sign flip in step 4.
- đQ as an exact differential. Treating heat as dQ with a state function Q; only đQ/T0 is bounded by the exact dS.
- Keeping the pV term when volume is fixed. Carrying G into a rigid-container problem where F is the correct potential, so the constant p0V is mistaken for physics.
- Confusing entropy max with free-energy min. Believing the two criteria conflict; they are the same second law seen through different constraints.
Discussion
The deep content is that a single global principle — total entropy never decreases — wears different clothes depending on what the laboratory holds fixed. The availability A = U − T0S + p0V is really the negative of the total entropy change of system+reservoir multiplied by T0: dA = −T0 dSuniv. So "minimise A" and "maximise Suniv" are literally the same statement, re-expressed in variables the experimenter can read off a gauge. The Legendre transforms that build F, H, G from U are exactly the bookkeeping that trades a controlled extensive variable for its conjugate intensive one.
The structure F = U − TS makes the physics vivid: equilibrium is a treaty between energy, which wants to be low, and entropy, which wants to be high, brokered at a rate set by temperature. Ice melts not because water is lower in energy — it is higher — but because above 273 K the entropic gain TΔS outweighs the enthalpic cost. Every phase diagram is a map of which competitor wins where.
Setting the first variation to zero yields the working equilibrium conditions. For a Gibbs system open to particle exchange, ∂G/∂Ni = μi = 0 at fixed constraints reproduces equality of chemical potentials across phases and the law of mass action; the common-tangent construction is d2G ≥ 0 (convexity) made geometric. The second-variation condition d2Φ > 0 is the origin of the stability criteria CV > 0 and κT > 0.
The identification dA = −T0 dSuniv also exposes the availability (exergy) as the maximum useful work extractable before the system equilibrates with its environment: Wuseful,max = −ΔA. In statistical mechanics the same F reappears non-phenomenologically as F = −kBT ln Z, and its minimisation is the large-deviation statement that the equilibrium macrostate is the one of overwhelmingly greatest microstate weight; the Bogoliubov–Gibbs inequality F ≤ F0 + 〈H−H0〉0 is the variational form used throughout mean-field theory.
Common misconceptions. (i) "Systems always seek minimum energy" — true only at fixed entropy; at fixed T they seek minimum free energy, which can mean higher U. (ii) "Free energy minimisation contradicts the second law's entropy increase" — it is the second law, for a subsystem in contact with a reservoir. (iii) "ΔG < 0 means the reaction is fast" — it fixes direction and extent, never rate; kinetics is a separate question governed by barriers.
Worked examples
Reading. Minimising the Helmholtz free energy of a single two-level particle reproduces the Boltzmann distribution from pure thermodynamics; about 28% upper-state occupation at room temperature for a 25-meV gap. Units check. The exponent ε/kBT = eV/eV is dimensionless, as it must be; p is a pure number.
Reading. The system always slides to the phase of lower Gibbs energy; the sign of ΔG flips through zero exactly at Tm = 273.15 K, which is the coexistence line. Units check. TΔS = K · (J mol−1 K−1) = J mol−1, matching ΔH; ΔG is a molar energy.
Problems
- (A) Fixed S,V potential. Starting from the master inequality dU + p0dV − T0dS ≤ 0, show which potential is minimised when entropy and volume are held fixed.
Solution
Set dS = 0 and dV = 0. The inequality collapses to dU ≤ 0. So the internal energy itself is the relevant potential and it is minimised at equilibrium. This is the mechanical-energy intuition, valid only under the adiabatic (fixed S), rigid (fixed V) constraints. - (B) Gibbs from availability. Show explicitly that for a diathermal, pressure-transmitting boundary (fixed T,p) the availability equals the Gibbs energy up to a constant, and hence dG ≤ 0.
Solution
With the system equilibrated to the reservoir, T = T0 and p = p0. Then A = U − T0S + p0V = U − TS + pV = G. Differentiating with T,p constant, dA = dU − TdS + pdV = dG. Since dA ≤ 0 (step 5), dG ≤ 0, minimised at equilibrium. - (B) Two-level occupation at higher temperature. For the two-level system of Worked Example 1 (ε = 0.025 eV), find the upper-state probability at T = 600 K, and comment on the trend.
Solution
kBT = (8.617×10−5)(600) = 0.0517 eV, so ε/kBT = 0.025/0.0517 = 0.484. Ratio p/(1−p) = e−0.484 = 0.616, giving p = 0.616/1.616 = 0.381 ≈ 0.38. Doubling T raises occupation from 0.28 toward the infinite-temperature limit p = 0.5, because the entropic (−TS) term in F increasingly favours the disordered equal-population state. - (B) Reaction direction and equilibrium constant. A reaction A ⇄ B has ΔG° = −5.0 kJ mol−1 at T = 298 K. Find the equilibrium constant K = exp(−ΔG°/RT) and the equilibrium ratio [B]/[A].
Solution
RT = (8.314)(298) = 2477 J mol−1 = 2.477 kJ mol−1. Exponent −ΔG°/RT = +5.0/2.477 = 2.018. K = e2.018 = 7.5. For the ideal A⇄B, [B]/[A] = K = 7.5, so about 88% B at equilibrium. The negative ΔG° drives the reaction toward B until the reaction Gibbs energy ∂G/∂ξ reaches zero. - (C) Exergy of a hot block. A block of heat capacity C = 500 J K−1 starts at T1 = 400 K in an environment at T0 = 300 K (constant pressure, negligible volume change). Using dA = −T0dSuniv, find the maximum useful work −ΔA extractable as it cools to T0.
Solution
The block's energy change: ΔU = C(T0 − T1) = 500(300−400) = −5.00×104 J. Its entropy change: ΔS = C ln(T0/T1) = 500 ln(300/400) = 500(−0.2877) = −143.8 J K−1. With negligible pΔV, ΔA = ΔU − T0ΔS = −5.00×104 − 300(−143.8) = −5.00×104 + 4.31×104 = −6.9×103 J. The maximum useful (reversible) work is −ΔA = 6.9 kJ. Note this is far less than the 50 kJ of heat released: the environment "taxes" the extraction through the T0ΔS term, which is the availability/exergy statement of the second law.