2.4.3Thermodynamics & Statistical Mechanics (Advanced)

Maxwell relations — derivation from each potential

2,000 words9 min readdifficulty · medium5 backlinks

WHY do Maxwell relations exist?

WHAT we exploit: Thermodynamic potentials (U,H,F,GU, H, F, G) are state functions. So their differentials are exact, and the equality of mixed partials applies.

HOW we use it: Read off MM and NN from each potential's natural differential, cross-differentiate, set equal. Done.


The four potentials and their natural variables

Potential Definition Differential Natural vars
Internal energy UU dU=TdSPdVdU = T\,dS - P\,dV (S,V)(S,V)
Enthalpy HH H=U+PVH = U + PV dH=TdS+VdPdH = T\,dS + V\,dP (S,P)(S,P)
Helmholtz FF F=UTSF = U - TS dF=SdTPdVdF = -S\,dT - P\,dV (T,V)(T,V)
Gibbs GG G=UTS+PVG = U - TS + PV dG=SdT+VdPdG = -S\,dT + V\,dP (T,P)(T,P)

Why the Legendre transform? To change which variable is "independent." Example: H=U+PVH=U+PV gives dH=dU+PdV+VdP=(TdSPdV)+PdV+VdP=TdS+VdP.dH = dU + P\,dV + V\,dP = (T\,dS - P\,dV) + P\,dV + V\,dP = T\,dS + V\,dP. The PdV-P\,dV cancels, leaving dPdP as the natural variable instead of VV. Why this step? Adding PVPV injects a +PdV+VdP+P\,dV+V\,dP, and the PdVP\,dV terms annihilate — that's the whole point of the transform.


Deriving all four Maxwell relations

Each differential has the form dz=Mdx+Ndydz = M\,dx + N\,dy. Apply (M/y)x=(N/x)y(\partial M/\partial y)_x=(\partial N/\partial x)_y.

Figure — Maxwell relations — derivation from each potential

The 4 relations together (summary card)

Sign pattern (WHY): A minus sign appears exactly when the differential contains a PdV-P\,dV pair (i.e. for potentials with VV natural: UU and FF... but careful — it's about which conjugate has the minus). Practical rule: the relations from UU and HH (entropy is independent variable) put TT on the left; relations from FF and GG (temperature independent) put SS on the left and are the measurable ones.


Worked application: prove (U/V)T=T(P/T)VP\left(\partial U/\partial V\right)_T = T\left(\partial P/\partial T\right)_V - P


Common mistakes


Recall Feynman: explain to a 12-year-old

Imagine a smooth hill. To get from the bottom to the top, it doesn't matter if you go east-then-north or north-then-east — you climb the same total height. The "height function" doesn't care about the order. Thermodynamic potentials are like that hill: their energy is a smooth function, so when you measure how steeply it changes in two different directions, the answers must match up in a special crossed way. That matching gives us free facts — like figuring out something hard to measure (how messy/disordered a gas gets when squeezed) by measuring something easy (how much it expands when warmed). Same hill, two paths, equal climb.


Connections

  • Thermodynamic potentials & Legendre transforms — where the four potentials come from
  • First and Second Laws of Thermodynamics — source of dU=TdSPdVdU=TdS-PdV
  • Equality of mixed partial derivatives (Schwarz theorem) — the calculus engine
  • Joule expansion and internal energy — application via the energy equation
  • Heat capacities $C_P - C_V$ — derived using Maxwell relations
  • Thermal expansion coefficient and isothermal compressibility — appear on the RHS

Flashcards

What single calculus fact underlies every Maxwell relation?
Equality of mixed second partial derivatives of a state function (exact differential): 2z/xy=2z/yx\partial^2 z/\partial x\partial y = \partial^2 z/\partial y\partial x.
Natural variables of UU?
(S,V)(S,V), since dU=TdSPdVdU=T\,dS-P\,dV.
Natural variables of GG and its differential?
(T,P)(T,P); dG=SdT+VdPdG=-S\,dT+V\,dP.
Maxwell relation from Helmholtz free energy FF?
(S/V)T=(P/T)V(\partial S/\partial V)_T=(\partial P/\partial T)_V.
Maxwell relation from Gibbs free energy GG?
(S/P)T=(V/T)P(\partial S/\partial P)_T=-(\partial V/\partial T)_P.
Maxwell relation from UU?
(T/V)S=(P/S)V(\partial T/\partial V)_S=-(\partial P/\partial S)_V.
Maxwell relation from HH?
(T/P)S=(V/S)P(\partial T/\partial P)_S=(\partial V/\partial S)_P.
How do you get HH from UU?
Legendre transform H=U+PVH=U+PV, giving dH=TdS+VdPdH=T\,dS+V\,dP.
Why must a potential be in its natural variables for the Maxwell relation?
Only then do the differential's coefficients equal clean quantities (T,P,...T,-P,...) whose cross-derivatives give the relation.
State the energy equation and what it proves for an ideal gas.
(U/V)T=T(P/T)VP(\partial U/\partial V)_T=T(\partial P/\partial T)_V-P; for ideal gas it equals 00, so UU is volume-independent.
Where does the minus sign in a Maxwell relation come from?
Directly from the sign of the term in the differential (e.g. PdVN=P-P\,dV \Rightarrow N=-P).

Concept Map

imply exact

gives

H eq U plus PV

swaps conjugate pair

F eq U minus TS

G eq U minus TS plus PV

applied to U

applied to H

applied to F

applied to G

master differential

Exact differential dz eq M dx plus N dy

Equality of mixed partials

Potentials are state functions

Internal energy U vars S V

Legendre transform

Enthalpy H vars S P

Helmholtz F vars T V

Gibbs G vars T P

dT/dV eq minus dP/dS

dT/dP eq dV/dS

dS/dV eq dP/dT

dS/dP eq minus dV/dT

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, Maxwell relations koi naya physics law nahi hai — ye sirf calculus ka ek simple fact hai jo thermodynamics pe apply hota hai. Fact ye hai: agar koi function smooth hai (jaise hamare potentials U,H,F,GU, H, F, G), to uske mixed second partial derivatives order pe depend nahi karte. Matlab pehle xx se differentiate karo phir yy se, ya ulta karo — answer same aayega. Isi ko hum "exact differential" condition bolte hain.

Ab har potential ka ek natural differential hota hai. Jaise dU=TdSPdVdU=TdS-PdV. Ismein TT aur P-P coefficients hain. Inko cross-differentiate karke barabar kar do, to ek relation nikal aata hai: (T/V)S=(P/S)V(\partial T/\partial V)_S=-(\partial P/\partial S)_V. Yahi cheez H,F,GH, F, G ke saath karo — total chaar relations mil jaate hain. Yaad rakhna: minus sign seedha differential ke sign se aata hai, isliye ratta mat maaro, derive karo.

Ye relations kyun important hain? Kyunki kuch quantities measure karna mushkil hai — jaise entropy ka pressure ke saath kaise change hota hai (S/P)T(\partial S/\partial P)_T. Lekin Gibbs wala relation kehta hai ye barabar hai (V/T)P-(\partial V/\partial T)_P ke, jo thermal expansion se easily measure ho jata hai! To Maxwell relation ne ek "mushkil" cheez ko "aasaan" cheez se jod diya. Best example: ideal gas ka (U/V)T=0(\partial U/\partial V)_T=0 — ye humne thermodynamics se prove kiya, assume nahi kiya. Bas yaad rakho: ek smooth hill, do raste, same height — wahi pura concept hai.

Go deeper — visual, from zero

Test yourself — Thermodynamics & Statistical Mechanics (Advanced)

Connections