Lesson 11 of 15

Thermodynamic Relations

Equations of state beyond the ideal gas, the calculus that links every property to every other — exact differentials and Maxwell relations — and three of their payoffs: Maxwell's equal areas, the Clapeyron equation and the Joule–Thomson coefficient.

6 min3 live simulations
you are here
The question

Nobody has ever built an entropy meter or an enthalpy gauge. Steam tables list both to five significant figures for thousands of states. They come from measurements of just a few things — pressure, volume, temperature and some heat capacities — plus mathematics. Why do a handful of measurements determine everything else?

Equations of state

The ideal-gas law, pv=RTpv = RT, fails near condensation (Lesson 3). In 1873 Johannes van der Waals proposed the first equation of state that captured both gas and liquid:

p=RTv−b−av2.p = \frac{RT}{v - b} - \frac{a}{v^2}.

The constant bb is the volume the molecules themselves occupy; the a/v2a/v^2 term is the pull of their mutual attraction, which reduces the pressure on the walls. Both constants can be found from the critical point, and in reduced form — pressure, temperature and volume divided by their critical values — the equation is the same for every fluid. That is the origin of the principle of corresponding states and the generalised compressibility chart.

Modern cubic equations, like the Peng–Robinson equation behind this course's refrigerant and real-gas calculations, refine the attraction term but keep the structure. Below the critical temperature, all of them produce a strange wiggle:

ExploreEqual areas
0.512510-0.500.511.52reduced volume v / v_c (log)reduced pressure p / p_cliquidvapour
0.900
Vapour pressure0.647 p_c
Liquid / vapour volumes0.60 / 2.35 v_cdensity ratio 3.9
Challenges0/2
  • Find the temperature at which liquid and vapour stop being different.
  • Find an isotherm whose loop dips below zero pressure (a liquid under tension).
Isotherms of the van der Waals equation in reduced form, p_R = 8T_R/(3v_R − 1) − 3/v_R², on a log volume axis. Below the critical temperature, Maxwell’s equal-area rule replaces the unphysical loop with a horizontal tie line at the vapour pressure: the purple and pink areas between the curve and the line are equal.

On part of the wiggle, squeezing the fluid would lower its pressure — mechanically unstable. Real fluids don't follow it; they split into liquid and vapour at a constant pressure. Maxwell showed where that pressure must be: where the two areas between the curve and the horizontal line are equal. The equal-area rule comes from requiring the Gibbs function, g=h−Tsg = h - Ts, to be the same in both phases — a condition we will meet again for chemical equilibrium in Lesson 14.

The web of properties

For a simple compressible substance, two properties fix the state, so every property is a function of two others. Partial derivatives then connect them, and the first and second laws provide four fundamental relations — the T ds equations of Lesson 6 and two more:

du=T ds−p dv,dh=T ds+v dp,dψ=−p dv−s dT,dg=v dp−s dT,du = T\,ds - p\,dv, \quad dh = T\,ds + v\,dp, \quad d\psi = -p\,dv - s\,dT, \quad dg = v\,dp - s\,dT,

with the Helmholtz function ψ=u−Ts\psi = u - Ts and the Gibbs function GG = H − TS. At fixed temperature and pressure, a system reaches equilibrium where G is a minimum. g=h−Tsg = h - Ts. Each is an exact differential, so its mixed second derivatives must be equal. That gives the four Maxwell relationsEqualities between partial derivatives — such as (∂s/∂p)_T = −(∂v/∂T)_p — that let unmeasurable properties be computed from measurable ones., for example

(∂s∂p)T=−(∂v∂T)p.\left(\frac{\partial s}{\partial p}\right)_T = -\left(\frac{\partial v}{\partial T}\right)_p.

The left side involves entropy, which can't be measured. The right side is just how much a substance expands when heated — measurable with a ruler and a thermometer. Maxwell relations let us compute the unmeasurable from the measurable. Combined with heat-capacity data, they generate entire property tables from an equation of state.

Payoff 1: the Clapeyron equation

Apply the Maxwell relation (∂p/∂T)v=(∂s/∂v)T(\partial p/\partial T)_v = (\partial s/\partial v)_T across a phase change, where pressure depends only on temperature, and you get the Clapeyron equationdp_sat/dT = h_fg/(T v_fg): the slope of the saturation curve is set by the latent heat.:

(dpdT)sat=hfgT vfg.\left(\frac{dp}{dT}\right)_\text{sat} = \frac{h_{fg}}{T\,v_{fg}}.

The slope of the vapour-pressure curve gives the latent heat, with no calorimeter. Treat the vapour as an ideal gas and neglect the liquid's volume, and it becomes the Clausius–Clapeyron equation, dln⁡p/d(1/T)=−hfg/Rd\ln p/d(1/T) = -h_{fg}/R: a straight line on a plot of ln⁡p\ln p against 1/T1/T.

ExploreReading latent heat off a curve
1.622.42.83.23.61 kPa10 kPa1 bar10 bar100 bar1000 / T (1/K)vapour pressure (log)100 °C · 1.01 bar
100 °C
Steam-table h_fg2257 kJ/kg
Clapeyron, from the slope2257 kJ/kgexact
Clausius–Clapeyron2293 kJ/kgideal vapour, v_f ≈ 0 · 2% off
Challenges0/2
  • Find where the simple Clausius–Clapeyron estimate is more than 20% off.
  • Find a blade so sharp it lowers the melting point by a full kelvin.
The Clapeyron equation, dp/dT = h_fg / (T v_fg), links the slope of a phase-change line to the latent heat — derived from a Maxwell relation, with no calorimeter in sight. Left mode: water’s vapour-pressure curve, plotted as ln p against 1/T so that it is nearly straight. Right mode: the melting line of ice, which slopes backwards because ice is less dense than water.

The same equation applied to melting explains one of water's oddities. Ice is less dense than liquid water, so vfgv_{fg} for melting is negative, and the melting line slopes backwards: squeezing ice lowers its melting point, by about 1 K per 135 bar.

Payoff 2: the Joule–Thomson coefficient

Lesson 4 said an ideal gas doesn't change temperature in a throttle. A real one does. The Joule–Thomson coefficient measures how much:

μJ=(∂T∂p)h=1cp[T(∂v∂T)p−v].\mu_J = \left(\frac{\partial T}{\partial p}\right)_h = \frac{1}{c_p}\left[T\left(\frac{\partial v}{\partial T}\right)_p - v\right].

The expression on the right — another product of the Maxwell relations — needs only the equation of state and cpc_p. For an ideal gas T(∂v/∂T)p=vT(\partial v/\partial T)_p = v and the coefficient is zero. For real gases it can have either sign:

ExploreCool or heat on throttling?
012024036048060020240460680900pressure (bar)temperature (K)room temperature
310 K
181 bar
Joule–Thomson coefficient0.101 K/barcools on throttling
Throttling 10 bar-1.01 Kapproximate temperature change
Challenges0/3
  • Find conditions where hydrogen cools when throttled.
  • Find conditions where helium cools when throttled. How cold must it be?
  • Find a state where nitrogen warms on throttling.
The Joule–Thomson coefficient μ = (∂T/∂p)_h tells you whether a real gas cools (blue, μ > 0) or warms (red, μ < 0) when it is throttled — computed from the Peng–Robinson equation as [T(∂v/∂T)_p − v]/c_p. (For the quantum gases hydrogen and helium, effective acentric factors are tuned so the model reproduces their measured inversion temperatures.) The boundary between the regions is the inversion curve. Region below the critical temperature is left blank.

At moderate temperatures, molecular attraction dominates: as the gas expands, its molecules pull against each other, and it cools. At high temperatures, molecular size dominates and it warms. The boundary is the inversion curve. Nitrogen inverts at about 620 K, so it cools in any throttle at room temperature. Hydrogen's maximum inversion temperature is about 200 K, so hydrogen escaping through a leak at room temperature warms; helium must be below about 45 K before it will cool.

Estimate first
Air is throttled from 200 bar to 1 bar at room temperature (μ ≈ 0.2 K/bar on average). How much does it cool, in kelvin?
1101001,000
Drag along the line to place your guess — each tick is ten times the last.
Check your intuition
Which measurement would let you calculate (∂s/∂p)_T for a liquid?
Going deeper
Going deeper: building a property table

To construct steam tables, IAPWS fits a single function — the Helmholtz free energy ψ(ρ,T)\psi(\rho, T) — to thousands of precise measurements of pp–vv–TT, speed of sound, heat capacity and saturation data. Every other property follows by differentiation: p=ρ2(∂ψ/∂ρ)Tp = \rho^2(\partial\psi/\partial\rho)_T, s=−(∂ψ/∂T)ρs = -(\partial\psi/\partial T)_\rho, u=ψ+Tsu = \psi + Ts, and so on. Because all the properties come from one function, they are automatically thermodynamically consistent. The approximations in this course do something similar on a small scale: a cubic equation of state supplies departure functions from the ideal-gas properties, and exact saturation curves pin them down.

Recap
What to carry forward
  • Equations of state like van der Waals' capture both gas and liquid; in reduced form they are nearly universal.
  • Below the critical temperature, Maxwell's equal-area rule turns the unstable loop into a vapour-pressure line.
  • Maxwell relations, from exact differentials of uu, hh, ψ\psi and gg, express unmeasurable derivatives (entropy) through measurable ones (pp–vv–TT).
  • Clapeyron: dp/dT=hfg/(Tvfg)dp/dT = h_{fg}/(T v_{fg}) — latent heats from the slopes of phase boundaries. Ice's melting line slopes backwards.
  • Joule–Thomson coefficient: real gases cool on throttling below their inversion temperature — the basis of gas liquefaction.

Next: back to the plant, and the plume over its cooling tower. Why does a glass of cold water sweat?

Finished this lesson?Mark it complete to track your progress through the course (saved in this browser).
Up next · Lesson 12PsychrometricsWhy does a glass of cold water sweat?Keep going →