Worked examples — Thermodynamic potentials — U, H, F, G (preview)
This page is the "drill ground" for the potentials note. We will not re-derive the four differentials — we assume you have seen Our goal here is different: hit every kind of situation these equations can be dropped into, including the weird corners (a sign flip, a zero, an ideal gas, a phase change, an exam trap). Each example tells you which cell of the matrix it fills.
The scenario matrix
Every cell below is covered by at least one worked example (its label is in brackets). The map figure below shows how the potentials and their slopes hang together — refer back to it as you work.

| Case class | Specific scenario | Example |
|---|---|---|
| Read a slope | positive slope (get or ) | Ex 1 |
| Sign trap | negative slope (get , ) | Ex 2 |
| Hold-fixed + integrate | : enthalpy = heat | Ex 3 |
| Second derivative | Maxwell relation, both signs | Ex 4 |
| Real-world number | ideal-gas heating | Ex 5 |
| Zero / degenerate input | so | Ex 6 |
| Limiting behaviour | : free energy internal energy | Ex 7 |
| Spontaneity call | sign of , all three sign cases | Ex 8 |
| Exam-style twist | which potential? wrong-constraint trap | Ex 9 |
Ex 1 — Read a positive slope (cell: read a slope)
Forecast: guess before reading — is the -slope or the -slope of , and can it be negative?
- Match coefficients. Write the chain rule next to . Why this step? Two expressions for the same must have equal coefficients in front of and — that is the whole engine of the topic.
- Pick off the coefficient: . Why this step? The coefficient of on the physics side is exactly .
- Sign meaning: is absolute temperature, so always. Hence internal energy always rises as you add entropy at fixed volume — the -vs- curve has a strictly positive slope. Why this step? A sign check catches nonsense: a negative here would be unphysical.
Verify: For an ideal monatomic gas and (up to constants) , so at fixed , — always positive, slope always up. ✓
Ex 2 — The negative-slope trap (cell: sign trap)
Forecast: does the entropy come out with a plus or a minus in front?
- Match the coefficient: on the physics side it is , so . Why this step? Same coefficient-matching, but now the coefficient itself carries a minus sign.
- Solve for : . The student dropped the minus. Why this step? must be positive (third law), while decreases with rising , so ; the extra minus turns it positive. Sign and physics agree only with the minus.
- Same for pressure: , so . Why this step? Squeezing the box () raises , so , and the minus makes . ✓
Verify: Take the standard ideal-gas Helmholtz energy , where is the volume-independent piece (it collects all the purely temperature-dependent terms — the thermal/kinetic and constant parts — which do not matter for the -derivative). Then , the ideal-gas law — positive, as required. ✓
Ex 3 — Hold pressure fixed, integrate (cell: hold-fixed + integrate)
Forecast: will depend on how the volume changed, or only on the endpoints?
- Start from . Set : . Why this step? "Constant pressure" is literally the instruction , which deletes the second term.
- Recognise the heat. For a reversible path , so . Why this step? This is the definition of entropy tying to reversible heat (see First Law of Thermodynamics).
- Bring in . By definition , so at constant , . Why this step? We want an answer in measurable temperatures, and is exactly the -slope of (see Heat Capacities Cp and Cv).
- Integrate: for constant . Why this step? Constant pulls out of the integral, leaving a plain difference.
Verify (numbers): (diatomic gas), heating mol from K to K: Units: . ✓ Depends only on endpoints — good, is a state function.
Ex 4 — Both signs of a Maxwell relation (cell: second derivative)
Forecast: will the two mixed partials come out with the same sign or opposite signs?
The figure below is the Maxwell square for : the two arrows are the two routes to the same mixed second derivative , and following them forces the relation at the bottom.

- Read both first slopes. From : and . Why this step? follows (minus), follows (plus) — exactly the signs in ; these are the two labels on the top of the square.
- Cross-differentiate. Because is a state function, its mixed second derivative is path-independent: Why this step? Equality of mixed partials (an exact differential) is the mathematical fact that manufactures every Maxwell relation; in the figure it is the statement that both arrows reach the same corner value.
- Substitute the slopes from step 1: left side is ; right side is . Why this step? Look at the amber arrow in the figure: differentiating the label by must equal differentiating the label by .
- Result: . The minus survives here (contrast the -relation which had no leftover minus). Why this step? The lone minus came from the but not from the — asymmetric signs give an asymmetric result.
Verify: Ideal gas . Then , so the relation predicts . From , where is the volume-independent (purely temperature-dependent) part of the entropy that drops out under , we indeed get . ✓
Ex 5 — A real-world number: heating a gas (cell: real-world number)
Forecast: which is bigger, and by how much — the gap should equal .
- Pick capacities. Monatomic ideal gas: , per mole, with . Why this step? uses , uses ; the whole point of vs is this pair.
- Compute : . Why this step? Ex 3 gave ; constant makes it .
- Compute : . Why this step? 's natural heat measure at fixed volume is ; for an ideal gas depends only on .
- Check the gap: , which should equal . Why this step? , so ; matching confirms no arithmetic slip.
Verify: and . Units all joules. ✓ because expanding gas does work on the atmosphere. ✓
Ex 6 — A degenerate case: (cell: zero / degenerate input)
Forecast: if returns to its old value, does the enthalpy "extra term" vanish?
- Write the definition change. . Why this step? Enthalpy is defined as , so its change splits cleanly.
- Insert the degenerate condition. by hypothesis. Why this step? The "zero input" here is ; this is the corner case where the added term contributes nothing.
- Conclude: . Why this step? With the correction term gone, the two potentials track each other exactly.
Verify (numbers): ideal gas isothermal at K, : J at both endpoints, so and (ideal gas, constant ) — hence too. ✓ Consistent.
Ex 7 — Limiting behaviour as (cell: limiting behaviour)
Forecast: what happens to the "tax" term when hits zero?
- Take the definition to the limit. . As , the entropy of a perfect crystal tends to zero (third law), and even for a general system stays bounded, so the product . Hence . Why this step? The entropic tax scales with ; with and finite (indeed for a perfect crystal), the tax is squeezed to nothing.
- Compare differentials. . Consider a change made at (or infinitesimally near) , where : the term vanishes because its coefficient goes to zero, leaving . Why this step? We want to see which term of survives at absolute zero; since kills the coefficient of , only the mechanical term remains — this is what makes behave like there.
- Recover 's slope. At fixed , too, so the mechanical part is shared: in this limit. Why this step? Both potentials reduce to pure mechanical work when the thermal terms die.
Verify: For a perfect crystal as (third law), so with finite, at : . Numerically, take J and residual J/K: J . ✓ (Even a hypothetical finite still gives , so the conclusion is robust.) See Entropy and the Second Law for the third-law statement .
Ex 8 — Spontaneity: all three signs of (cell: spontaneity call)
Forecast: guess the sign of for each before computing.
- Use the right potential. At constant the boss is Gibbs: , and means spontaneous. Why this step? The matching-constraint rule: fixed ⇒ minimise (see Gibbs Free Energy and Chemical Equilibrium).
- Case (a): . Spontaneous (both terms help). Why this step? Exothermic and entropy-increasing — the easy always-go case.
- Case (b): . Not spontaneous (both terms oppose). Why this step? Endothermic and entropy-decreasing — the always-stuck case.
- Case (c): at 298 K — not yet spontaneous, but becomes spontaneous above . Why this step? When and , the entropy term wins only once is large enough — a temperature-triggered case.
Verify: (a) J, (b) J, (c) J, crossover K. ✓ Signs: (a) −, (b) +, (c) + below 500 K. ✓
Ex 9 — Exam twist: the wrong-constraint trap (cell: exam-style twist)
Forecast: is even the right potential to judge this?
- Identify the constraints. The lab holds and fixed (open flask + thermostat). Why this step? The very first move in any potential problem: what is held constant decides the boss.
- Pick the matching potential. Constant ⇒ spontaneity is governed by , not . is minimised only at constant . Why this step? Using here is the classic wrong-constraint error; need not decrease when is free to change.
- Show they can disagree. , so . If the volume shrinks so that kJ, then — spontaneous despite . Why this step? A concrete number proves the student's logic is unsound: the wrong potential gave the wrong verdict.
Verify: kJ . ✓ Correct verdict: it can proceed, because at constant only the sign of matters.
Recall Quick self-test
A gas heats at constant ; is or ? ::: (constant pressure, Ex 3) Sign of from ? ::: , the minus is essential (Ex 2) When does ? ::: When (Ex 6) Reaction with turns spontaneous above which ? ::: (Ex 8c, 500 K) Which potential judges constant- spontaneity? ::: Gibbs , not (Ex 9)
Related builders: Legendre Transform (how the potentials are made), Maxwell Relations (Ex 4), Heat Capacities Cp and Cv (Ex 3, 5).