Maxwell relations
You cannot put a probe into a beaker and read off its entropy. There is no "entropy-meter" the way there is a thermometer or a pressure gauge. Yet chemists routinely quote for a compression, a reaction, or a phase change. How? Because thermodynamic potentials such as are state functions with exact differentials, and exactness forces a hidden symmetry between their mixed partial derivatives. That symmetry — the Maxwell relations — is a translation dictionary: it converts an unmeasurable entropy derivative like into an ordinary, measurable –– derivative like , obtainable from an equation of state or a simple experiment. This article derives all four Maxwell relations from a single mathematical fact, shows how to generate any of them on demand rather than memorising a table, and uses them to derive the general thermodynamic equation of state and to compute a real for an isothermal gas compression — setting up the real-gas (van der Waals) treatment that follows.
Exactness of the differentials of forces equalities between mixed partial derivatives, and these four Maxwell relations let you replace an unmeasurable entropy derivative with a measurable –– derivative.
The core idea
Exactness is the engine. If is a state function with , path-independence of requires the mixed second partials to match:
where and are the coefficients of and in the exact differential. Apply this once to each of the four thermodynamic potentials, in their own natural variables, and you get four relations for free.
The four relations. From , , , :
where = entropy, = volume, = pressure, = temperature. These are the complete set; no fifth independent relation exists among built this way.
Generate, don't memorise. CY11001 expects you to reconstruct any relation from scratch: write the potential's differential in its natural variables, read off and as the coefficients of the two differentials, and equate the cross partials. This is faster and safer than recalling a table under exam pressure, and it is the only reliable way to avoid sign errors.
Why they matter. The left-hand sides above involve entropy, which has no direct instrument. The right-hand sides are ordinary –– derivatives — the thermal expansion coefficient or its pressure analogue — read straight off an equation of state or a simple dilatometry/manometry experiment. Maxwell relations are the bridge that lets , and through it , , , be computed for real, non-ideal systems purely from measurable mechanical data.
Derive the Maxwell relation hidden in from the exactness condition alone, then combine it with the fundamental relation to obtain the general thermodynamic equation of state , and finally show that this expression collapses to exactly zero for an ideal gas, recovering Joule's law as a derived result rather than an assumed postulate.
Step 1. Write the Helmholtz differential as , so and , with as the natural variable pair.
Step 2. Apply exactness, :
This is Maxwell relation 3, obtained purely from the exact-differential structure of , with no physical assumption about the substance.
Step 3. Take and divide through by at constant to isolate the "internal pressure":
Step 4. Substitute the Maxwell relation from Step 2 for :
This is the general thermodynamic equation of state, valid for any substance, ideal or real.
Step 5. For an ideal gas, . Substituting into Step 4:
So an ideal gas's internal energy depends on only, never on — Joule's law, here derived rather than postulated. For a real gas (treated in the next article via the van der Waals equation) this quantity is generally nonzero, reflecting intermolecular attraction or repulsion.
Worked example
Use Maxwell relation 4, , to find when 1 mol of an ideal gas is compressed isothermally from 1 bar to 5 bar at 298 K.
Step 1. For an ideal gas, , so . By Maxwell relation 4:
Step 2. Integrate at constant K from bar to bar, with mol:
Step 3. Evaluate: , so
This matches the direct Clausius-integral formula exactly, as it must — both routes describe the same state function. The negative sign is physically expected: isothermal compression to higher pressure and lower volume reduces the number of accessible microstates.
Competitive stretch
If instead the gas expanded isothermally from 5 bar to 1 bar, the same formula gives — the identical magnitude with the sign flipped, since expansion increases accessible microstates. Recognising this symmetry avoids re-deriving the integral for the reverse process.
Common traps
- Mixing up which relation carries a minus sign — relations 1 and 4 do, relations 2 and 3 do not; re-deriving from the potential's own differential (rather than recalling a table) avoids this.
- Pulling a derivative from the wrong potential's natural variables — e.g. trying to get from (natural variables ) instead of the correct source (natural variables ).
- Forgetting that Maxwell relations are exact identities for any substance; the ideal-gas equation of state is plugged in only at the last step to evaluate the measurable right-hand side, not baked into the relation itself.
- Treating as a universal law rather than an ideal-gas-specific consequence of the thermodynamic equation of state — real gases give a nonzero value here.
Ask the tutor: If the four relations keep blurring together, ask the AI tutor to quiz you by naming a random potential and having you derive its Maxwell relation from scratch until it becomes automatic.
Why can't we just measure entropy directly with an instrument
Entropy is not a mechanical quantity like pressure or volume that a gauge can sense; it is a statistical measure of accessible microstates, defined through heat exchanged reversibly divided by temperature. There is no "entropy probe." Maxwell relations sidestep this by rewriting any entropy derivative as an equivalent –– derivative, which an equation of state or a simple experiment can supply directly.
Do I need to memorise all four Maxwell relations for exams
No — CY11001 rewards the ability to regenerate any relation on demand rather than recall. Write the differential of the relevant potential in its natural variables, label the coefficients and , and apply the exactness condition. This method is more exam-safe than memorising a table, since a single misremembered sign in a memorised relation is a common, hard-to-catch error.
Why does the same Maxwell relation appear in both the derivation and the worked example
It does not — the derivation block uses relation 3 (from ) to build the general thermodynamic equation of state, while the worked example uses relation 4 (from ) to compute an entropy change with pressure as the swept variable. Seeing both in one article shows how the same exactness idea produces different, complementary tools depending on which variable you need to eliminate.