BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Maxwell relations and thermodynamic potentials

Entropy is a state function, so its mixed second derivatives are equal. For a gas this gives (∂U/∂V)_T = T(∂P/∂T)_V − P, a relation without S, from which follow C_P − C_V = TVα²/κ_T, an ideal-gas energy that depends on T alone, and the ideal gas's entropy S(T, V). The same trick applied to the energy and the three other thermodynamic potentials, F = E − TS, H = E + PV and G = E + PV − TS, gives the Maxwell relations, which a square diagram helps to remember.

You need this first

Full reading path (9 pages)
  1. Probability: one random variable (8.044)
  2. Probability: two or more random variables (8.044)
  3. Probability: functions of a random variable (8.044)
  4. Probability: sums of random variables and the central limit theorem (8.044)
  5. Thermodynamic variables, temperature and work (8.044)
  6. The first law of thermodynamics and paths (8.044)
  7. Statistical mechanics and the microcanonical ensemble (8.044)
  8. Entropy, temperature and the second law (8.044)
  9. Entropy as a thermodynamic variable (8.044)
On this page · 5 sections
  1. Entropy as a state function
  2. A relation without entropy
  3. Consequences
  4. Maxwell relations
  5. Summary

The second law made entropy a state function. This lecture puts that to work: because SS (and, below, the energy and its relatives) has a well-defined value in every equilibrium state, its mixed second derivatives are equal, and that single fact generates relations between measurable quantities that do not mention SS at all (slides 1–15; notes pp. 1–5). (MIT's material for this lecture is Greytak's slides and his note "Maxwell Relations: A Wealth of Partial Derivatives"; this page follows them in its own words, with its own worked example.)

Entropy as a state function#

The second law (slide 1): ΔS≥0\Delta S \ge 0 for an isolated system, and dS1≥δQ1/TbathdS_1 \ge \delta Q_1/T_{\text{bath}} for a system exchanging heat with a bath. For a quasi-static change dS=δQ/TdS = \delta Q/T, so a quasi-static adiabatic change (δQ=0\delta Q = 0) keeps SS constant (slide 2). That is why the adiabatic compressibility carries the subscript SS:

Isothermal and adiabatic compressibilities
κT≡−1V(∂V∂P)T,κS≡−1V(∂V∂P)S\kappa_T \equiv -\frac1V\left(\frac{\partial V}{\partial P}\right)_T, \qquad \kappa_S \equiv -\frac1V\left(\frac{\partial V}{\partial P}\right)_S
In words

kappa sub T is defined as minus 1 over V, times ( partial V over partial P ) sub T, kappa sub S is defined as minus 1 over V, times ( partial V over partial P ) sub S

A relation without entropy#

Take a hydrostatic system (a gas or liquid whose only work is −P dV-P\,dV), with TT and VV as the independent variables (slides 3–4). From dU=T dS−P dVdU = T\,dS - P\,dV,

dS in terms of T and V
dS=1T dU+PT dV=1T(∂U∂T)VdT+1T[(∂U∂V)T+P]dVdS = \frac1T\,dU + \frac PT\,dV = \frac1T\left(\frac{\partial U}{\partial T}\right)_V dT + \frac1T\left[\left(\frac{\partial U}{\partial V}\right)_T + P\right]dV
In words

d S equals 1 over T, times d U plus P over T, times d V equals 1 over T, times ( partial U over partial T ) sub V d T plus 1 over T, times the quantity ( partial U over partial V ) sub T plus P, d V

The coefficients are (∂S/∂T)V(\partial S/\partial T)_V and (∂S/∂V)T(\partial S/\partial V)_T, and since SS is a state function the derivative of the first with respect to VV equals the derivative of the second with respect to TT. The terms with ∂2U/∂T ∂V\partial^2U/\partial T\,\partial V cancel, leaving

Energy equation
(∂U∂V)T=T(∂P∂T)V−P\left(\frac{\partial U}{\partial V}\right)_T = T\left(\frac{\partial P}{\partial T}\right)_V - P
In words

( partial U over partial V ) sub T equals T ( partial P over partial T ) sub V minus P

New information that does not contain SS: how the energy changes with volume follows from the equation of state alone.

Consequences#

(a) The difference of the heat capacities (slides 5–6). With δQ=dU+P dV\delta Q = dU + P\,dV expanded in TT and VV, holding PP fixed gives CP=CV+[(∂U/∂V)T+P](∂V/∂T)PC_P = C_V + [(\partial U/\partial V)_T + P](\partial V/\partial T)_P, and the energy equation replaces the bracket by T(∂P/∂T)VT(\partial P/\partial T)_V. Writing α≡1V(∂V/∂T)P\alpha \equiv \frac1V(\partial V/\partial T)_P for the expansion coefficient, and using (∂P/∂T)V=α/κT(\partial P/\partial T)_V = \alpha/\kappa_T (a chain-rule identity),

Difference of the heat capacities
CP−CV=TVα2κTC_P - C_V = \frac{TV\alpha^2}{\kappa_T}
In words

C sub P minus C sub V equals T V alpha squared over kappa sub T

which is never negative, since κT>0\kappa_T > 0 for any stable system. Dividing by CVC_V gives the ratio of the heat capacities, γ≡CP/CV\gamma \equiv C_P/C_V:

Ratio of the heat capacities
γ−1=TVα2κTCV\gamma - 1 = \frac{TV\alpha^2}{\kappa_TC_V}
In words

gamma minus 1 equals T V alpha squared over the quantity kappa sub T C sub V

For an ideal gas α=1/T\alpha = 1/T and κT=1/P\kappa_T = 1/P, so CP−CV=PV/T=NkC_P - C_V = PV/T = Nk, for polyatomic as well as monatomic gases (slide 6).

(b) The ideal gas's energy (slide 7). With P=NkT/VP = NkT/V, T(∂P/∂T)V−P=P−P=0T(\partial P/\partial T)_V - P = P - P = 0: the energy of an ideal gas does not depend on its volume. So dU=CV dTdU = C_V\,dT, CVC_V can depend only on TT, and

Energy of an ideal gas
U=∫0TCV(T′) dT′+constantU = \int_0^T C_V(T')\,dT' + \text{constant}
In words

U equals the integral from 0 to T of C sub V ( T prime ) d T prime plus constant

(c) The ideal gas's entropy (slides 8–10). Now (∂S/∂T)V=CV/T(\partial S/\partial T)_V = C_V/T and (∂S/∂V)T=1T[(∂U/∂V)T+P]=Nk/V(\partial S/\partial V)_T = \frac1T[(\partial U/\partial V)_T + P] = Nk/V, so dS=CV(T)TdT+NkVdVdS = \frac{C_V(T)}{T}dT + \frac{Nk}{V}dV and

Entropy of an ideal gas
S(T,V)=∫T0TCV(T′)T′ dT′+Nkln⁡VV0+S(T0,V0)S(T, V) = \int_{T_0}^T\frac{C_V(T')}{T'}\,dT' + Nk\ln\frac{V}{V_0} + S(T_0, V_0)
In words

S(T, V) equals the integral from T nought to T of C sub V ( T prime ) over T prime, times d T prime plus N k log V over V nought plus S( T nought, V nought )

For a monatomic gas, CV=32NkC_V = \frac32Nk, and S(T,V)−S(T0,V0)=Nkln⁡[(V/V0)(T/T0)3/2]S(T, V) - S(T_0, V_0) = Nk\ln[(V/V_0)(T/T_0)^{3/2}]: the same as the microcanonical result, now built from measured quantities. Isentropic (adiabatic) changes keep VT3/2VT^{3/2}, and so V5/3PV^{5/3}P, constant (slide 10).

Maxwell relations#

From the energy (slide 11; notes p. 1). Regard EE (the internal energy; the notes use EE here, as Reif does) as a function of its natural variables SS and VV. Its differential, dE=T dS−P dVdE = T\,dS - P\,dV, has the conjugate variables as coefficients: (∂E/∂S)V=T(\partial E/\partial S)_V = T and (∂E/∂V)S=−P(\partial E/\partial V)_S = -P. Equal cross derivatives give

Maxwell relation from E(S, V)
(∂T∂V)S=−(∂P∂S)V\left(\frac{\partial T}{\partial V}\right)_S = -\left(\frac{\partial P}{\partial S}\right)_V
In words

( partial T over partial V ) sub S equals minus ( partial P over partial S ) sub V

The same works for other systems (slide 12): a wire, with dE=T dS+F dLdE = T\,dS + F\,dL, gives (∂T/∂L)S=(∂F/∂S)L(\partial T/\partial L)_S = (\partial F/\partial S)_L; a magnet, with dE=T dS+H dMdE = T\,dS + H\,dM, gives (∂T/∂M)S=(∂H/∂S)M(\partial T/\partial M)_S = (\partial H/\partial S)_M.

Other potentials (slides 12–14; notes pp. 2–3). The trick needs a state function whose differential has thermodynamic variables as coefficients. Using d(TS)=T dS+S dTd(TS) = T\,dS + S\,dT and d(PV)=P dV+V dPd(PV) = P\,dV + V\,dP to swap a variable for its conjugate gives three more, each with units of energy:

Helmholtz free energy
F≡E−TS,dF=−S dT−P dV,(∂S∂V)T=(∂P∂T)VF \equiv E - TS, \qquad dF = -S\,dT - P\,dV, \qquad \left(\frac{\partial S}{\partial V}\right)_T = \left(\frac{\partial P}{\partial T}\right)_V
In words

F is defined as E minus T S, d F equals minus S d T minus P d V, ( partial S over partial V ) sub T equals ( partial P over partial T ) sub V

Enthalpy
H≡E+PV,dH=T dS+V dP,(∂T∂P)S=(∂V∂S)PH \equiv E + PV, \qquad dH = T\,dS + V\,dP, \qquad \left(\frac{\partial T}{\partial P}\right)_S = \left(\frac{\partial V}{\partial S}\right)_P
In words

H is defined as E plus P V, d H equals T d S plus V d P, ( partial T over partial P ) sub S equals ( partial V over partial S ) sub P

Gibbs free energy
G≡E+PV−TS,dG=−S dT+V dP,(∂S∂P)T=−(∂V∂T)PG \equiv E + PV - TS, \qquad dG = -S\,dT + V\,dP, \qquad \left(\frac{\partial S}{\partial P}\right)_T = -\left(\frac{\partial V}{\partial T}\right)_P
In words

G is defined as E plus P V minus T S, d G equals minus S d T plus V d P, ( partial S over partial P ) sub T equals minus ( partial V over partial T ) sub P

EE, FF, HH and GG are the thermodynamic potentials; their natural variables are (S,V)(S, V), (T,V)(T, V), (S,P)(S, P) and (T,P)(T, P). Their physical meaning comes later; for now they are machines for derivative relations. (Here FF and HH are the free energy and enthalpy, not the wire's tension or the magnetic field of slide 12.)

The magic square (slide 15; notes pp. 4–5). A diagram holds all of this. The four potentials go at the corners, in alphabetical order going clockwise from the top left. Each side carries the natural variable that its two corners share, with a minus sign where that variable's term in their differentials is negative:

EE−V-VFF
SS−T-T
HHPPGG

Read off any corner: EE lies between SS and −V-V, so dE=T dS−P dVdE = T\,dS - P\,dV, each variable paired with its conjugate from the opposite side. Conjugate variables (SS and TT, VV and PP) face each other with opposite signs.

To get a Maxwell relation, walk round all four sides in order (either direction), then turn back along two of them. The six variables you pass fill the six places in the two derivatives, and the signs you pass go with them. Starting on the left side and going down and round, the sides passed are SS, PP, −T-T, −V-V; turning back adds −T-T and PP. The first three fill (∂S/∂P)T(\partial S/\partial P)_T with a sign −1-1 from −T-T, the last three fill (∂V/∂T)P(\partial V/\partial T)_P with signs from −V-V and −T-T, giving slide 15's example, (−1)(∂S/∂P)T=(−1)(−1)(∂V/∂T)P(-1)(\partial S/\partial P)_T = (-1)(-1)(\partial V/\partial T)_P, which is the Gibbs relation above. For a general work term X dxX\,dx the same square applies with xx on the top side in place of VV (and −X-X on the bottom side in place of PP).

Worked example

Using the relations

(a) One mole of a van der Waals gas obeys P=RT/(V−b)−a/V2P = RT/(V - b) - a/V^2, with a=0.137a = 0.137 Pa m⁶ per mole squared for nitrogen. How much does its energy change if it expands at constant temperature from 0.0224 m³ to 0.0448 m³? (b) Water at 293 K has α≈2.07×10−4\alpha \approx 2.07 \times 10^{-4} K⁻¹, κT≈4.59×10−10\kappa_T \approx 4.59 \times 10^{-10} Pa⁻¹ and molar volume 1.805×10−51.805 \times 10^{-5} m³. Find CP−CVC_P - C_V per mole. (c) One mole of a monatomic ideal gas is heated from 300 K to 600 K while its volume doubles (R=8.314R = 8.314 J/K per mole). Find its entropy change.

(a) Energy of a non-ideal gas

T(∂P/∂T)V−P=RT/(V−b)−P=a/V2T(\partial P/\partial T)_V - P = RT/(V - b) - P = a/V^2, so (∂U/∂V)T=a/V2(\partial U/\partial V)_T = a/V^2 and ΔU=a(1/V1−1/V2)=0.137×(44.64−22.32)≈3.06\Delta U = a(1/V_1 - 1/V_2) = 0.137 \times (44.64 - 22.32) \approx 3.06 J. Attractions between molecules store energy that changes with spacing; an ideal gas would give zero.

(b) Water

TVα2/κT=293×1.805×10−5×(2.07×10−4)2/(4.59×10−10)≈0.494TV\alpha^2/\kappa_T = 293 \times 1.805 \times 10^{-5} \times (2.07 \times 10^{-4})^2/(4.59 \times 10^{-10}) \approx 0.494 J/K per mole, under 1% of water's CPC_P of about 75 J/K per mole: for liquids and solids the two heat capacities are nearly equal.

(c) Entropy change

ΔS=32Rln⁡2+Rln⁡2=52Rln⁡2≈14.41\Delta S = \frac32R\ln 2 + R\ln 2 = \frac52R\ln 2 \approx 14.41 J/K.

Summary#

  • Entropy is a state function; quasi-static adiabatic changes keep it constant.
  • Equal mixed derivatives of S(T,V)S(T, V) give (∂U/∂V)T=T(∂P/∂T)V−P(\partial U/\partial V)_T = T(\partial P/\partial T)_V - P, without SS; hence CP−CV=TVα2/κTC_P - C_V = TV\alpha^2/\kappa_T (NkNk for an ideal gas), an ideal-gas energy depending on TT alone, and the ideal gas's S(T,V)S(T, V).
  • Thermodynamic potentials E(S,V)E(S, V), F=E−TSF = E - TS (T,V)(T, V), H=E+PVH = E + PV (S,P)(S, P) and G=E+PV−TSG = E + PV - TS (T,P)(T, P); equal cross derivatives give the four Maxwell relations, remembered with the square diagram.

Symbols on this page

Show the 44 symbols used here
α\alpha alpha.
The expansion coefficient (1/V)(∂V/∂T) at constant P. Unit: 1/K. Say it: “alpha”.
γ\gamma gamma.
The ratio of the heat capacities, C_P/C_V. Say it: “gamma”.
δ\delta delta.
A small amount of heat that is not the change of a state function (δQ). Say it: “delta”.
Δ\Delta capital delta.
A change or difference in a quantity, e.g. Δx = x₂ − x₁. Say it: “capital delta”.
κ\kappa kappa.
A compressibility: κ_T at constant temperature, κ_S at constant entropy. Say it: “kappa”.
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
≡\equiv identical to.
Is defined as (or is identically equal to). Say it: “is defined as”.
≥\ge greater than or equal.
Is greater than or equal to. Say it: “is greater than or equal to”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
∂\partial partial.
Partial derivative: the rate of change with one variable, holding the others fixed. Say it: “partial”.
∫\int integral.
Integral: the sum of infinitely many small pieces, such as the area under a curve. Say it: “the integral of”.
ln⁡\ln natural logarithm.
Natural logarithm (base e ≈ 2.718). Say it: “log”.
aa a.
The van der Waals attraction constant per mole squared. Unit: Pa m⁶/mol². Say it: “a”.
HH H.
The enthalpy E + PV; on slide 12 (H dM), the magnetic field. Say it: “H”.
GG G.
The Gibbs free energy E + PV − TS. Unit: J. Say it: “G”.
kk k.
Boltzmann's constant. Unit: eV/K. Say it: “k”.
TT T.
The temperature. Unit: K. Say it: “T”.
T0T_{0} temperature today.
A reference temperature. Unit: K. Say it: “T nought”.
xx x.
A generalized external parameter, conjugate to X. Say it: “x”.
dd d.
The d of a differential, derivative or integral. Say it: “d”.
FF F.
The Helmholtz free energy E − TS; on slide 12 (F dL), the tension of a wire. Unit: J. Say it: “F”.
PP P.
The pressure. Unit: Pa. Say it: “P”.
QQ Q.
Heat added; δQ is a small amount of it. Unit: J. Say it: “Q”.
bb b.
The van der Waals volume per mole. Unit: m³/mol. Say it: “b”.
LL L.
The length of a wire. Unit: m. Say it: “L”.
NN N.
The number of particles. Say it: “N”.
MM M.
The magnetization (total magnetic moment). Say it: “M”.
RR R.
The gas constant. Unit: J/(mol K). Say it: “R”.
SS S.
The entropy. Unit: J/K. Say it: “S”.
S1S_{1} S one.
The entropy of system 1. Unit: J/K. Say it: “S one”.
EE E.
The internal energy (as in the notes and Reif). Unit: J. Say it: “E”.
UU U.
The internal energy. Unit: J. Say it: “U”.
VV V.
The volume. Unit: m³. Say it: “V”.
V1V_{1} V one.
The initial volume. Unit: m³. Say it: “V one”.
V2V_{2} V two.
The final volume. Unit: m³. Say it: “V two”.
XX X.
A generalized force, conjugate to x. Say it: “capital X”.
T′T' T prime.
The integration variable, a temperature. Unit: K. Say it: “T prime”.
Q1Q_{1} Q 1.
Heat added to system 1. Unit: J. Say it: “Q one”.
V0V_{0} V nought.
A reference volume. Unit: m³. Say it: “V nought”.
κT\kappa_{T} kappa T.
The isothermal compressibility, −(1/V)(∂V/∂P) at constant T. Unit: 1/Pa. Say it: “kappa sub T”.
κS\kappa_{S} kappa S.
The adiabatic compressibility, −(1/V)(∂V/∂P) at constant S. Unit: 1/Pa. Say it: “kappa sub S”.
CVC_{V} C V.
The heat capacity at constant volume. Unit: J/K. Say it: “C sub V”.
CPC_{P} C P.
The heat capacity at constant pressure. Unit: J/K. Say it: “C sub P”.
TbathT_{\text{bath}} T bath.
The temperature of the heat bath. Unit: K. Say it: “T sub bath”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 34 words used here

New here

Maxwell relations.
Identities between rates of change of thermodynamic quantities, such as how entropy changes with volume and how pressure changes with temperature.
natural variables.
The pair of variables in terms of which a thermodynamic potential holds all the information about a system.
thermodynamic potential.
One of the energy-like functions (energy, Helmholtz and Gibbs free energies, enthalpy, grand potential) that hold all of a system's thermodynamics.
enthalpy.
The energy plus pressure times volume, H = U + PV; its change equals the heat taken in during a process at constant pressure.

Also used

second law of thermodynamics.
The law that the entropy of an isolated system never decreases, so heat flows by itself only from hot to cold. Explained in Entropy, temperature and the second law.
entropy.
A measure of how many microscopic arrangements of a system match its large-scale state; it never decreases in an isolated system. Explained in Entropy and the second law.
state function.
A quantity fixed by the present state of a system alone, not by how it got there, such as energy, entropy or pressure. Explained in Entropy, temperature and the second law.
energy.
A quantity, measured in joules, that a body or field has because of its motion, position or state; a closed system keeps its total. Explained in Conservation of energy.
equilibrium.
The settled state a system reaches when left alone: its large-scale properties stop changing, although its atoms keep moving. Explained in Thermodynamic variables, temperature and work.
second derivative.
The derivative of a derivative: how fast a rate of change itself is changing. Explained in Acceleration in one dimension.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
partial derivative.
The rate of change of a function of several variables with respect to one of them, while all the others are held fixed. Explained in Functions of two variables and partial derivatives.
isolated system.
A system cut off from outside influence: no outside force acts on it, and no energy or matter goes in or out. Explained in Conservation of momentum.
heat.
Energy that passes between bodies because their temperatures differ, rather than by one doing mechanical work on the other. Explained in Temperature and thermal energy.
heat bath.
A body so large that it can give or take any amount of heat without changing temperature, used to hold a system at fixed temperature. Explained in Entropy, temperature and the second law.
quasi-static.
Of a process: carried out so slowly that the system stays as close as we like to equilibrium at every step. Explained in Thermodynamic variables, temperature and work.
adiabatic.
Happening without any heat flowing in or out. Explained in The first law of thermodynamics.
compressibility.
How easily a material's volume shrinks under extra pressure: the fractional change in volume per unit change in pressure. Explained in Fluctuations in the number of particles and the compressibility.
derivative.
The rate at which a function changes as its input changes: the slope of its graph at a point. Explained in Position and velocity in one dimension.
with respect to.
Taking that variable as the one that changes: a derivative with respect to t measures change as t changes, others held fixed. Explained in Average value, weighted averages and probability.
equation of state.
A relation between a substance's pressure, volume (or density) and temperature, such as the ideal gas law PV = NkT. Explained in Thermodynamic variables, temperature and work.
heat capacity.
The heat needed to raise a body's temperature by one degree, measured with some quantity, such as volume or pressure, held fixed. Explained in Heat and specific heat.
stable.
Of a state or motion: a small disturbance stays small or dies away, so the system remains close to it. Explained in Torque and balance.
microcanonical ensemble.
The description of an isolated system whose energy and particle number are fixed, in which every allowed microscopic state is equally likely. Explained in Statistical mechanics and the microcanonical ensemble.
internal energy.
The total energy held inside a system, in the motion and interactions of its particles, not counting the motion of the system as a whole. Explained in Temperature and thermal energy.
differential.
A tiny change in a variable, such as dx, or the matching change in a function along its tangent line, dy = f′(x) dx. Explained in Differentials and antiderivatives.
conjugate pair.
Two thermodynamic quantities, such as pressure and volume, each of which is the derivative of a potential with respect to the other. Explained in Fluctuations of volume and energy, and fluctuation versus response.
free energy.
Energy minus temperature times entropy; a system kept at a fixed temperature settles in the state where this quantity is lowest. Explained in The canonical ensemble and the free energy.
tension.
The pulling force carried along a stretched rope, string or cable, felt at each point as the pull between its two sides. Explained in What is a force?.
magnetic field.
The field made by magnets and moving charges, which pushes sideways on other moving charges and turns compass needles. Explained in Magnetic fields and magnetic force.
van der Waals equation.
A simple equation of state for a real gas, correcting the ideal-gas law for the size of the molecules and their attraction. Explained in The interacting classical gas and the van der Waals equation.

Academic

well-defined.
Given a single clear meaning or value, without ambiguity or contradiction.
read off.
To take a value directly from a graph, table or formula, without further calculation.
hence.
For this reason; as a result of what was just said.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

Pages that build on this

Practise

Check your understanding

  1. Equal mixed derivatives of S(T, V) give which relation for a hydrostatic system?
  2. For an ideal gas, what is CP−CV=TVα2/κTC_P - C_V = TV\alpha^2/\kappa_T?
  3. What are the natural variables of the Helmholtz free energy F = E − TS?
  4. Which Maxwell relation comes from the Gibbs free energy G(T, P)?
0 of 4 answered

Flashcards

1 / 3