← thecodex.expert
Thermodynamics & Statistical Mechanics Hub Physicist Biographies
Definition Curious Exploring Deep Dive Sources
Thermodynamic Potentials · Concept

Maxwell Relations

Reading time: 9 minConfidence: HighLast verified: October 2026

The Maxwell relations are four identities between partial derivatives of the thermodynamic variables S, T, p and V, obtained from the equality of mixed second derivatives of the potentials U, H, F and G. For example, from dF = −S dT − p dV follows (∂S/∂V)T = (∂p/∂T)V. They allow entropy and energy changes, which cannot be measured directly, to be computed from measurable equation-of-state data.

Curious

One sentence that captures itThe Maxwell relations are mathematical shortcuts that let you work out hard-to-measure quantities, like how entropy changes, from easy ones, like how pressure changes with temperature.

Entropy cannot be read off a meter. But the Maxwell relations, discovered by James Clerk Maxwell in his 1871 textbook Theory of Heat, show that certain changes in entropy are exactly equal to changes in pressure, volume or temperature, which can be measured (see James Clerk Maxwell).

They follow from a simple mathematical fact: for any smooth function of two variables, the order of differentiation does not matter. Applied to the four free energies and related potentials, this gives four useful identities.

Exploring

Worked example — Cp − Cv for waterMaxwell relations give Cp − Cv = TVmα²/κT. For liquid water at 25 °C (Vm = 18.07 cm³/mol, α = 2.57×10−4 K−1, κT = 4.52×10−10 Pa−1), this is 298.15 × 18.07×10−6 × (2.57×10−4)² / 4.52×10−10 ≈ 0.79 J mol−1 K−1, only about 1% of Cp = 75.3, which is why the two heat capacities of liquids are often treated as equal. For an ideal gas the same formula gives exactly R (see Specific Heat Capacity). (Computed in Python.)
PotentialDifferentialMaxwell relation
U(S,V)dU = T dS − p dV(∂T/∂V)S = −(∂p/∂S)V
H(S,p)dH = T dS + V dp(∂T/∂p)S = (∂V/∂S)p
F(T,V)dF = −S dT − p dV(∂S/∂V)T = (∂p/∂T)V
G(T,p)dG = −S dT + V dp(∂S/∂p)T = −(∂V/∂T)p
Common mistake — Commonly ConfusedThe Maxwell relations are not physical laws in addition to the laws of thermodynamics; they are mathematical consequences of the existence of state functions. They are also unrelated to Maxwell's equations of electromagnetism, apart from sharing an author (see Maxwell's Equations).

Deep Dive

Primary sourceMaxwell, J.C. (1871). Theory of Heat. London: Longmans, Green.

Uses. From (∂S/∂V)T = (∂p/∂T)V follows the “energy equation” (∂U/∂V)T = T(∂p/∂T)V − p, which is zero for an ideal gas (proving its internal energy depends on T only; see Internal Energy) and equals a/Vm² for a van der Waals gas (see Van der Waals Equation). From the G relation, (∂S/∂p)T = −Vα, so compressing a substance that expands on heating lowers its entropy. The Joule–Thomson coefficient and the Clausius–Clapeyron equation are derived in the same way.

Mnemonics and structure. The thermodynamic square (Born square) is a common device for recalling the relations. Geometrically, they reflect the fact that the potentials are Legendre transforms of one another and that the equilibrium states form a surface on which the potentials are smooth functions. Extensions include magnetic systems, with (∂S/∂B)T = (∂M/∂T)B, which underlies magnetic refrigeration (adiabatic demagnetisation) used to reach millikelvin temperatures.

Limits. The relations hold for equilibrium states and require the potentials to be differentiable; at first-order phase transitions some derivatives are discontinuous, and the relations must be applied within each phase.

Sources

  • Maxwell, J.C. (1871). Theory of Heat. London: Longmans, Green.
  • Callen, H.B. (1985). Thermodynamics and an Introduction to Thermostatistics (2nd ed.). Wiley.
  • Wagner, W., Pruß, A. (2002). “The IAPWS Formulation 1995 for the Thermodynamic Properties of Ordinary Water Substance.” Journal of Physical and Chemical Reference Data, 31, 387–535.
Last verified: October 2026 · Source: Maxwell (1871); Callen (1985); IAPWS-95 · Confidence: high