Thermodynamic Potentials
Choose the potential for the constraints
A thermodynamic potential expresses the energy balance in variables that match the constraints on a system. For a simple closed compressible system with fixed particle number and only pressure-volume work, the starting relation is dU=TdS−pdV.
Transforming the energy
Internal energy U has S and V as its natural variables. A Legendre transform exchanges one natural variable for its conjugate: subtract TS to replace entropy by temperature, or add pV to replace volume by pressure.
Helmholtz free energy is F=U−TS, with dF=−SdT−pdV. Enthalpy is H=U+pV, with dH=TdS+Vdp; applying both transforms gives Gibbs free energy G=U+pV−TS, with dG=−SdT+Vdp. If composition varies, the relevant differential also contains ∑iμidNi.
Constraints and derivatives
For allowed changes of a closed system in contact with suitable reservoirs, the equilibrium criterion uses a local minimum of F at fixed temperature and volume, or of G at fixed temperature and pressure.
The controlled variables and permitted changes are part of that statement; a potential chosen for one set of constraints is not automatically a minimum under another set. Reading a differential also gives state properties as slopes, such as S=−(∂G/∂T)p and V=(∂G/∂p)T.
A Maxwell relation follows when the potential has continuous second derivatives. For example, dF=−SdT−pdV implies S=−(∂F/∂T)V and p=−(∂F/∂V)T. Taking the two cross derivatives cancels both minus signs, giving (∂S/∂V)T=(∂p/∂T)V.
Worked example
Compare two states at 280 K and the same volume, with ΔU=+400J and ΔS=+2J/K. At that fixed temperature, ΔF=ΔU−TΔS=400J−(280K)(2J/K)=−160J. The entropy term contributes 560 J, while the internal-energy term contributes 400 J; both are needed to determine the change in F.
For a fixed-composition simple compressible system, dG = −S dT + V dp. Which pair are natural independent variables of G?
Given dF = −S dT − p dV, which Maxwell relation follows if F has continuous second derivatives?