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.
The second law made entropy a state function. This lecture puts that to work: because S (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 S 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.)
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
Take a hydrostatic system (a gas or liquid whose only work is −PdV), with T and V as the independent variables (slides 3–4). From dU=TdS−PdV,
dS in terms of T and V
dS=T1dU+TPdV=T1(∂T∂U)VdT+T1[(∂V∂U)T+P]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
(a) The difference of the heat capacities (slides 5–6). With δQ=dU+PdV expanded in T and V, holding P fixed gives CP=CV+[(∂U/∂V)T+P](∂V/∂T)P, and the energy equation replaces the bracket by T(∂P/∂T)V. Writing α≡V1(∂V/∂T)P for the expansion coefficient, and using (∂P/∂T)V=α/κT (a chain-rule identity),
Difference of the heat capacities
CP−CV=κTTVα2
In words
C sub P minus C sub V equals T V alpha squared over kappa sub T
For an ideal gas α=1/T and κT=1/P, so CP−CV=PV/T=Nk, for polyatomic as well as monatomic gases (slide 6).
(b) The ideal gas's energy (slide 7). With P=NkT/V, T(∂P/∂T)V−P=P−P=0: the energy of an ideal gas does not depend on its volume. So dU=CVdT, CV can depend only on T, and
Energy of an ideal gas
U=∫0TCV(T′)dT′+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 and (∂S/∂V)T=T1[(∂U/∂V)T+P]=Nk/V, so dS=TCV(T)dT+VNkdV and
Entropy of an ideal gas
S(T,V)=∫T0TT′CV(T′)dT′+NklnV0V+S(T0,V0)
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=23Nk, and S(T,V)−S(T0,V0)=Nkln[(V/V0)(T/T0)3/2]: the same as the microcanonical result, now built from measured quantities. Isentropic (adiabatic) changes keep VT3/2, and so V5/3P, constant (slide 10).
The same works for other systems (slide 12): a wire, with dE=TdS+FdL, gives (∂T/∂L)S=(∂F/∂S)L; a magnet, with dE=TdS+HdM, gives (∂T/∂M)S=(∂H/∂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)=TdS+SdT and d(PV)=PdV+VdP to swap a variable for its conjugate gives three more, each with units of energy:
Helmholtz free energy
F≡E−TS,dF=−SdT−PdV,(∂V∂S)T=(∂T∂P)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
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
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:
E
−V
F
S
−T
H
P
G
Read off any corner: E lies between S and −V, so dE=TdS−PdV, each variable paired with its conjugate from the opposite side. Conjugate variables (S and T, V and P) 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 S, P, −T, −V; turning back adds −T and P. The first three fill (∂S/∂P)T with a sign −1 from −T, the last three fill (∂V/∂T)P with signs from −V and −T, giving slide 15's example, (−1)(∂S/∂P)T=(−1)(−1)(∂V/∂T)P, which is the Gibbs relation above. For a general work term Xdx the same square applies with x on the top side in place of V (and −X on the bottom side in place of P).
Worked example
Using the relations
(a) One mole of a van der Waals gas obeys P=RT/(V−b)−a/V2, with a=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 K⁻¹, κT≈4.59×10−10 Pa⁻¹ and molar volume 1.805×10−5 m³. Find CP−CV per mole. (c) One mole of a monatomic ideal gas is heated from 300 K to 600 K while its volume doubles (R=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/V2, so (∂U/∂V)T=a/V2 and ΔU=a(1/V1−1/V2)=0.137×(44.64−22.32)≈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.494 J/K per mole, under 1% of water's CP of about 75 J/K per mole: for liquids and solids the two heat capacities are nearly equal.
Equal mixed derivatives of S(T,V) give (∂U/∂V)T=T(∂P/∂T)V−P, without S; henceCP−CV=TVα2/κT (Nk for an ideal gas), an ideal-gas energy depending on T alone, and the ideal gas's S(T,V).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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?.
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.
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).