Why free energy is the right potential — total-entropy reasoning, Legendre transforms, nucleation, Clausius–Clapeyron, two-state gating.
The thermodynamics chapter gives the rules of bookkeeping — the first law, the equation of state, the adiabatic relation. This chapter gives the rules of prediction: free energy is the function whose minimum identifies the equilibrium state, whose curvature identifies stability, and whose finite-temperature shape governs the rates at which the system hops between competing wells.
Why a free energy is needed — the total-entropy argument
The second law says the entropy of an isolated system never decreases. But most of the systems we care about — a bubble in water, a gating channel in a hair cell, a slab of air in a sound wave — are not isolated; they exchange heat with their surroundings. The relevant criterion shifts.
Imagine the system in thermal contact with a much-larger reservoir at fixed temperature T. The combined “system + reservoir” is isolated, so its total entropy never decreases. The reservoir’s entropy change is fixed by the heat it absorbs: ΔSres=−Qsys/T=−ΔUsys/T at fixed volume (no work). The total entropy change is therefore
where F≡U−TS. The second law ΔStot≥0 is therefore equivalent to ΔF≤0. The Helmholtz free energy F is not a new physical quantity — it is the system-level bookkeeping that absorbs the reservoir contribution.
At fixed T and V, a process is spontaneous (allowed) iff the *total* entropy of system + reservoir increases. Because the reservoir's entropy change is exactly -ΔU/T, this condition is equivalent to ΔF = ΔU − T ΔSsys ≤ 0. The Helmholtz free energy F is not a new physical quantity — it is just the system-level bookkeeping that absorbs the reservoir contribution. *That* is why we minimise F at fixed T, V.
Slide ΔU and ΔSsys. The total-entropy verdict (“Allowed” / “Forbidden”) flips at exactly the ΔF=0 line — ΔF<0 is allowed, ΔF>0 forbidden. That is why we minimise F at fixed T and V.
For a system at fixed Tandp — the more common case for liquids and gases under atmospheric conditions — the analogous bookkeeping gives the Gibbs free energy
G≡U+pV−TS=F+pV,
with the criterion ΔG≤0. The right potential is dictated by which variables are clamped; each is a Legendre transform of U.
What a Legendre transform actually does
F=U−TS and G=U+pV−TS look algebraically arbitrary until you see what they are: each is the Legendre transform of U, swapping a “natural” variable for its conjugate. U(S,V,N) has natural variables S,V,N; differentiating gives T=∂U/∂S, p=−∂U/∂V, etc.
The Legendre transform F(T,V,N)=U−TS trades the natural variable S for its conjugate T. Geometrically: F(T) is the y-intercept of the tangent to U(S) with slope T.
T (slope)1.20
S* = T1.20
U(S*)1.720
F(T) = U(S*) − T·S*0.280
The Legendre transform F(T) is the y-intercept of the tangent to U(S) with slope T. As you slide T, the tangent point S* moves along the curve, and F(T) = U(S*) − T·S* traces out a new function — the same information as U(S), but indexed by T instead of S. This is why F depends on T but not on S: choosing T fixes S* automatically by dU/dS = T.
Slide T — the slope of the tangent line. The tangent point on U(S) moves, and the tangent’s y-intercept is F(T)=U(S∗)−TS∗. This is the same information as U(S), repackaged. The “obvious” reason we use F instead of U is that at fixed temperature, T is the natural control variable — exactly what the experimenter fixes — and the Legendre transform makes the math reflect that.
In differential form,
dF=−SdT−pdV,dG=−SdT+Vdp.
Reading off natural derivatives,
S=−(∂T∂F)V=−(∂T∂G)p,p=−(∂V∂F)T,V=(∂p∂G)T.
Equilibrium = minimum, stability = curvature
The equilibrium criterion dF≤0 (or dG≤0) means the system relaxes toward a minimum of the free energy, parametrised by whatever internal variable is free to adjust — a bubble radius, a magnetisation, a chemical concentration, an order parameter x. The position of the minimum identifies the equilibrium state. The curvature of the free energy at that point identifies its stability:
∂x2∂2Feq>0⟺stable.
When the curvature vanishes — the spinodal — small perturbations no longer have a restoring tendency, and the homogeneous state ceases to exist; the system spontaneously demixes or phase-separates.
Two competing wells: nucleation
When two phases — say liquid and vapour — coexist, the free energy has two minima, each describing one phase, separated by a barrier representing the high-energy intermediate state (a microscopic bubble, a microscopic crystal). The barrier height ΔG∗ controls the rate of spontaneous phase change: by the kinetic theory of activated processes, the rate is proportional to the Boltzmann factor e−ΔG∗/kBT.
For a spherical bubble of radius R nucleating inside a liquid under tension, two contributions to G compete:
ΔG(R)=−34πR3⋅Δp+4πR2σ.
The cubic term dominates at large R, the quadratic at small R, producing a barrier at the critical radius R∗=2σ/Δp with height
ΔG∗=3(Δp)216πσ3.
A vapour bubble of radius R in a liquid under tension Δp = p_v − p_∞ has Gibbs free energy ΔG(R) = −(4/3)πR³Δp + 4πR²σ. The first term (volume × pressure difference) drives growth; the second (surface area × surface tension) opposes it. ΔG peaks at the critical radius R* = 2σ/Δp with barrier height ΔG* = 16πσ³/(3Δp²). Above R* the bubble grows spontaneously; below R* it collapses. Thermal fluctuations cross the barrier at a rate J = J₀ exp(−ΔG*/kT) — exponentially sensitive to the barrier. For pure water at room temperature, the barrier is below 100 kT only when Δp exceeds ~1000 atm, recovering the homogeneous tensile-strength estimate of Lesson 1.2. The barrier is far too high at modest tensions to explain why real water tears at 0.1 atm — the resolution is heterogeneous nucleation, next lesson.
Slide σ and the driving tension; the volume curve (cubic, growing downward) and surface curve (quadratic, growing upward) sum to a barrier whose height ΔG∗ is read off directly. The Boltzmann factor e−ΔG∗/kBT at the bottom shows how astronomically suppressed homogeneous nucleation is: for pure water at room temperature the barrier is hundreds to thousands of kBT, putting the rate so far below any observable level that real cavitation has to nucleate at impurities (the Cavitation Ch 2.2 heterogeneous story).
A general landscape with a tunable driving force
The bubble-nucleation case is one instance of a universal structure. Any system with two competing states has a free-energy landscape
G(x)=Gwells(x)−Fx,
where Gwells has two minima at x=0 (phase A) and x=1 (phase B), and F is a driving “field” — a pressure difference, a voltage bias, a mechanical force — that tilts the landscape.
ΔG*A→B0.0625
ΔG*B→A0.0625
e−ΔG*/kBT (A→B)9.39e-1
e−ΔG*/kBT (B→A)9.39e-1
At F = 0 the wells are symmetric and the barrier is ΔG*0 = 1/16 ≈ 0.0625. Pushing F positive tilts the landscape, dropping the B-well, lowering the A→B barrier, and raising the B→A barrier. Beyond F ≈ 0.192 the barrier vanishes entirely — a *spinodal*. The thermal-activation rate goes as Arrhenius's exp(−ΔG*/kBT): doubling the barrier *squares* the rate.
Slide F from zero. The landscape tilts; the A→B barrier shrinks; the B→A barrier grows. Beyond a critical F the A-well disappears altogether — a spinodal. Slide T to see the Boltzmann rate factor e−ΔG∗/kBT change: at low T the barrier is essentially uncrossable; at high T the two wells equilibrate freely.
Phase equilibrium and the Clausius–Clapeyron equation
At coexistence between two phases — say liquid (l) and vapour (v) — the Gibbs free energies per unit mass are equal: gl(p,T)=gv(p,T). As you move along the coexistence curve in the p–T plane, the two free energies must change together:
▶Deriving the Clausius–Clapeyron equation
From dg=−sdT+vdp for each phase and equating along the coexistence line:
dTdp=vv−vlsv−sl=ΔvΔs.
The entropy change across the transition is the latent heat per mass divided by temperature, Δs=L/T. Substituting,
dTdp=TΔvL.
For a liquid–vapour transition where vv≫vl and the vapour can be treated as an ideal gas (vv=RT/Mp),
dTdp≈RT2LMp,
a separable ODE with solution lnp=−LM/(RT)+const. The vapour pressure rises exponentially with temperature.
L (latent heat)2.45 MJ/kg
L M / R5304 K
pv(20°C)2094 Pa
pv(100°C)101.3 kPa
The curve is exponential in 1/T; on log-y vs linear-T it looks like a steep S. The Clausius-Clapeyron form ln p = -LM/(RT) + const captures the bare exponential; the measured water data sit on it to high accuracy. Lowering L flattens the curve; the latent heat is what makes vapour pressure so sensitive to temperature.
The exponential dependence on 1/T is steep: water’s vapour pressure rises from 0.6 kPa at 0°C to 100 kPa at 100°C — a factor of 165 across a 100 K range. Slide the latent heat to see how the curvature depends on L.
The same formula governs the vapour pressure inside the bubble of Cavitation 3.2; the body-temperature value (37°C, 6.3 kPa) sets the operating point for cavitation in biological fluids.
Two-state free-energy gating
A clean instance of free-energy reasoning: a channel that switches between an open (O) and closed (C) state, with free-energy difference ΔG=GO−GC that depends linearly on some external bias F:
ΔG(F)=ΔG0−αF.
Treating the two states as Boltzmann-weighted, the open probability is
Popen(F)=1+e(ΔG0−αF)/kBT1.
This is the Fermi function in F — sigmoidal, centred at F=ΔG0/α, with width set by kBT/α.
F (bias)0.00
Popen(F)26.9%
F1/2 = ΔG₀/α0.50
width kBT/α0.50
The Fermi-function sigmoid is the equilibrium occupancy of a two-state system with energy gap ΔG(F) = ΔG₀ − αF. The midpoint sits at F1/2 = ΔG₀/α, and the width (in F) is set by kBT/α. Cool the bath (lower T) and the transition sharpens toward a step. This is the operative model for ion-channel gating, MET-channel mechanotransduction, and any other two-level system in thermal contact with a bath.
Slide the bias F: the channel opens as F crosses the midpoint. Lower T: the transition sharpens; in the T→0 limit it becomes a step. Raise α (stronger coupling): the transition steepens at fixed T. The dimensionless ratio (ΔG0−αF)/kBT — not any of those quantities alone — determines the open probability.
This is the operative model of mechanotransduction in the inner ear’s hair cells, of voltage-gated ion channels (where F is the membrane voltage), and of any thermodynamic two-state system with a linear external bias.
⏳The history— Helmholtz, Gibbs, and the invention of free energy
Hermann von Helmholtz coined freie Energie in 1882 in a paper on the thermodynamics of chemical processes; he showed that U−TS is the maximum work extractable from a system in contact with a heat bath at fixed temperature. Josiah Willard Gibbs, in his 1873–1878 monograph On the Equilibrium of Heterogeneous Substances, independently developed the same machinery for the constant-T,p case, introducing U+pV−TS that now bears his name.
Gibbs’s monograph — published in three instalments in the obscure Transactions of the Connecticut Academy of Arts and Sciences — laid out essentially the entire modern thermodynamics of phase equilibria, the chemical potential, the phase rule, and the analysis of multiphase systems. It was so far ahead of its time that it went largely unread for two decades, until Wilhelm Ostwald translated it into German in 1892. The Gibbs free energy and the Gibbs phase rule are direct descendants.
The Clausius–Clapeyron equation predates both: it was first written by Émile Clapeyron in 1834 and given a clean derivation by Clausius in 1850. It is the historical bridge between the empirical observations of latent heat and the modern thermodynamic potentials.
For the cross-book applications — Cavitation’s homogeneous and heterogeneous nucleation, the MET-channel Fermi function in the cochlea, vapour pressure inside an oscillating bubble — see the key examples sub-page.