Home / Learn / Exam prep / IIT JAM Physics / Lesson 5.4
All lessons

Module 5: Kinetic theory and thermodynamics · Lesson 5.4 · about 45 min

Thermodynamic potentials and Maxwell relations

The four energies U, H, F and G, their natural variables, how to write all four Maxwell relations in seconds, and how to use them for Cp − Cv, the energy equation, Joule and Joule–Thomson expansions, equilibrium, chemical potential and magnetic cooling.

Key points, meanings and formulas on one page: choose "Save as PDF" in the print box.

Module 5 · about 45 minutes. By the end you will be able to write dU, dH, dF and dG from memory, read off temperature, pressure, entropy and volume as derivatives, produce all four Maxwell relations with the right signs, and use them to answer the standard JAM questions on CP−CV, free and throttled expansions, equilibrium and magnetic cooling.

One energy, four ways of keeping its books. Pick the potential whose natural variables are the ones you control, and thermodynamics turns into ordinary calculus.

1. Start from the fundamental relation

Combine the first law dQ=dU+PdV with the second dQrev=TdS:

dU=TdS−PdV

This holds between any two nearby equilibrium states, reversible path or not, because every term is a state function. It says U is naturally a function of S and V, and that

(∂U∂S)V=T,(∂U∂V)S=−P

But nobody controls entropy in the lab. We control T and P. So we change the bookkeeping by subtracting products of conjugate pairs (T with S, P with V). This is a Legendre transform.

2. The four potentials

Potential Definition Differential Natural variables Minimum at equilibrium when fixed
internal energy U TdS−PdV S,V S,V
enthalpy H U+PV TdS+VdP S,P S,P
Helmholtz F U−TS −SdT−PdV T,V T,V
Gibbs G H−TS −SdT+VdP T,P T,P
H
heat taken in at constant pressure: dH = dQ when dP = 0
F
the most work a system can do at constant temperature: W ≤ −ΔF
G
the most useful (non-PV) work at constant T and P, e.g. from a battery or a cell: Wother ≤ −ΔG
Physical meaning
Each potential is the energy that is "free" to use under its own conditions; the TS term is the part locked up as disorder.

From the differentials you can read off derivatives directly: (∂F/∂V)T=−P, (∂G/∂T)P=−S, (∂G/∂P)T=V, and so on. The last gives, for an ideal gas at constant T, ΔG=nRTln⁡(P2/P1), even though ΔU=ΔH=0 there.

Gibbs–Helmholtz. Since S=−(∂G/∂T)P, H=G+TS=G−T(∂G/∂T)P. For a reaction with ΔH=−50 kJ and ΔS=−100 J/K, ΔG=ΔH−TΔS<0 only below T=500 K.

3. Maxwell relations in thirty seconds

For a smooth function, the order of mixed partial derivatives does not matter. Apply that to each potential:

Pick a potential. For example dF = −S dT − P dV, so (∂F/∂T)V = −S and (∂F/∂V)T = −P.

Cross-differentiate. ∂/∂V of the first equals ∂/∂T of the second: −(∂S/∂V)T = −(∂P/∂T)V.

Tidy the signs. The two minus signs cancel: (∂S/∂V)T = (∂P/∂T)V.

Sign rule. Count the minus signs in the differential. An even number (F: two, H: none) gives a plus sign in the relation; an odd number (U, G: one each) gives a minus.

(∂T∂V)S=−(∂P∂S)V(∂T∂P)S=(∂V∂S)P(∂S∂V)T=(∂P∂T)V(∂S∂P)T=−(∂V∂T)P

Why bother? The right-hand sides are things you can measure (how pressure or volume change with temperature). The left-hand sides involve entropy, which you cannot measure directly. Maxwell relations trade the second for the first.

Two calculus tools you will need. The cyclic rule (∂x/∂y)z(∂y/∂z)x(∂z/∂x)y=−1, and the response functions α=1V(∂V/∂T)P (expansion) and κT=−1V(∂V/∂P)T (compressibility). Together: (∂P/∂T)V=α/κT. That is why a liquid sealed in a rigid vessel builds up enormous pressure when warmed: about 9 MPa for 2 K if α=1.8×10−4 K⁻¹ and κT=4×10−11 Pa⁻¹.

4. What they buy you

The energy equation. From dU=TdS−PdV and the F relation:

(∂U∂V)T=T(∂P∂T)V−P

For an ideal gas this is T(nR/V)−P=0: U depends only on T, proved rather than assumed. For a van der Waals gas it is an2/V2, the “internal pressure” of the attractions.

CP−CV for anything.

CP−CV=T(∂P∂T)V(∂V∂T)P=TVα2κT

For an ideal gas it gives nR. For a liquid at 300 K with V=1.8×10−5 m³/mol, α=2.1×10−4 K⁻¹, κT=4.5×10−10 Pa⁻¹, it is only 0.53 J mol⁻¹ K⁻¹, which is why tables of solids and liquids rarely bother to distinguish CP from CV. Since α is squared, CP≥CV always. A companion result: κT/κS=CP/CV=γ.

Free (Joule) expansion. U is constant. For one mole of a van der Waals gas U=CVT−a/V (integrate the energy equation), so the gas cools: ΔT=aCV(1V2−1V1)<0. One mole with a=0.14 Pa m⁶ mol⁻², CV=52R, doubling from 1 L to 2 L, cools by about 3.4 K.

Throttling (Joule–Thomson). Gas forced steadily through a porous plug keeps its enthalpy constant. Its temperature change per unit pressure drop is

μJT=(∂T∂P)H=VCP(Tα−1)≈1CP(2aRT−b) (dilute van der Waals)

μJT=0 for an ideal gas (α=1/T). For a real gas it is positive (cooling on expansion) below the inversion temperature Ti≈2a/Rb and negative above it. Nitrogen inverts far above room temperature, so it cools when throttled; hydrogen and helium invert below room temperature and must be pre-cooled. This is how gases are liquefied.

“A gas always cools when it expands.” It depends on the process. An ideal gas in a free expansion keeps its temperature; a real gas in a free expansion cools a little; a real gas throttled above its inversion temperature warms; and any gas cools in a reversible adiabatic expansion because it does work. Ask first: which quantity is constant, U, H or S?

5. Equilibrium, chemical potential and magnets

Stability. At equilibrium the right potential is a minimum. That forces CV>0 and κT>0, and hence CP≥CV. But α may be negative (water between 0 and 4 °C).

Chemical potential. With particle number allowed to change, dG=−SdT+VdP+μdN. Since G is extensive in N only, G=μN: the chemical potential is the Gibbs energy per particle. Differentiating gives the Gibbs–Duhem relation SdT−VdP+Ndμ=0. For an ideal gas, μ=μ0(T)+kTln⁡(P/P0). Two phases coexist when their μ are equal, which is the starting point of lesson 5.5.

Magnetic systems. For a paramagnet, replace −PdV by BdM. The Maxwell relation from G(T,B) is (∂S/∂B)T=(∂M/∂T)B. For Curie’s law M=CB/T this is negative: magnetising at constant T orders the spins and releases heat. Then removing the field adiabatically keeps S, hence B/T, fixed: from 1 K at 2 T down to 0.05 T gives 0.025 K. This is adiabatic demagnetisation.

Worked example (a fundamental relation). If U=AS3/(NV), then T=(∂U/∂S)V=3U/S and P=−(∂U/∂V)S=U/V. One potential in its natural variables contains every equation of state. Check numbers for real systems with fibub’s partition function explorer and the real gas calculator.

  • dU=TdS−PdV, dH=TdS+VdP, dF=−SdT−PdV, dG=−SdT+VdP.
  • At equilibrium: F minimum at fixed T,V; G minimum at fixed T,P. −ΔG is the maximum useful work.
  • Maxwell relations: cross-differentiate; an odd number of minus signs in the differential gives a minus sign.
  • (∂U/∂V)T=T(∂P/∂T)V−P; CP−CV=TVα2/κT; κT/κS=γ.
  • Joule expansion: U constant. Joule–Thomson: H constant, μJT=VCP(Tα−1), inversion near 2a/Rb.
  • μ=G/N; Gibbs–Duhem SdT−VdP+Ndμ=0. Paramagnets: S=f(B/T), so adiabatic demagnetisation cools in proportion to B.

Practise: exam questions on this lesson

They start easy and climb to top-rank level. Check each answer, then read the full solution. More on the thermodynamic potentials practice page.

Before this: lesson 5.3, the second law and entropy. Next: lesson 5.5, phase changes and the Clausius–Clapeyron equation, which follows from equal chemical potentials. Going on to GATE? Partition functions and free energy computes F=−kTln⁡Z directly from the energy levels.

Check yourself

1Which potential is a minimum at equilibrium for a system held at fixed temperature and volume?
2Which Maxwell relation follows from dF = −S dT − P dV?
3Throttling (Joule–Thomson expansion): which quantity stays the same?

Sources

  • H. B. Callen, Thermodynamics and an Introduction to Thermostatistics, 2nd ed. (Wiley, 1985), chapters 5 to 7
  • M. W. Zemansky and R. H. Dittman, Heat and Thermodynamics, 7th ed. (McGraw-Hill, 1997), chapters 9 and 10
  • S. J. Blundell and K. M. Blundell, Concepts in Thermal Physics, 2nd ed. (Oxford, 2010), chapters 16 and 17
  • IIT JAM Physics syllabus (Kinetic theory and thermodynamics section), published by the organising IIT each year

Your ticks stay in this browser. Save them as a file on the course home.

Updated 2026-11-22. Not affiliated with IIT or the JAM organising institute. Exam pattern as published for recent years: always check the official JAM website before the exam. All questions are original.