1.7.26 · D2Thermodynamics

Visual walkthrough — Thermodynamic potentials — U, H, F, G (preview)

1,995 words9 min readBack to topic

Prerequisite ideas we lean on: First Law of Thermodynamics, Entropy and the Second Law, the Legendre Transform, and later Maxwell Relations. This is the visual companion to the parent topic.


Step 1 — The one thing we start with: a tiny energy budget

WHAT. A system (say a gas in a cylinder) holds some hidden energy we call ==internal energy == — the sum of all the jiggling and bonding energy of its molecules. We never track its total; we track how it changes when we nudge the system a little. A tiny change is written ("a small change in "). The little just means "an infinitesimal step," like moving one pixel.

WHY. Every potential we build is plus or minus something. If we understand how changes, we understand all of them. So we need the rule for .

The First Law of Thermodynamics says: energy change = heat you put in, minus work the system does.

  • — a small blob of heat flowing into the gas.
  • — a small blob of work the gas does on the outside (pushing the piston).

PICTURE. The gas is a bucket. Heat pours in from the top (), work spills out the side (). Whatever is left changes the level .

Figure — Thermodynamic potentials — U, H, F, G (preview)

Step 2 — Naming the two blobs: and

WHAT. We now say what those two blobs are made of, for a gentle (reversible) process.

  • Heat blob: .
    • — the temperature (how hot, in kelvin).
    • — a tiny change in ==entropy ==, a number measuring how "spread out" or disordered the energy is. Adding heat spreads energy out, so heat and travel together; is the exchange rate.
  • Work blob: .
    • — the pressure the gas pushes with.
    • — a tiny change in ==volume ==. If the gas expands () it pushes the piston out and does work.

WHY these tools? We use and not just "" because alone is not a property of the state — it depends on the path taken. But and are honest state properties. Rewriting heat as turns a path-dependent blob into state variables, which is exactly what lets us build clean potentials later. (This is the payoff of Entropy and the Second Law.)

Substituting both blobs:

This is the mother equation. Notice its shape: (something)·(change in something) + (something)·(change in something).

PICTURE. Two labelled arrows feeding the bucket: a red arrow in, a blue arrow out, with the resulting shown as the net change.

Figure — Thermodynamic potentials — U, H, F, G (preview)

Step 3 — Reading slopes off the equation

WHAT. Any smooth function of two variables obeys the chain rule: a small step is (slope in + (slope in :

  • — how fast climbs if you nudge while holding fixed (that little subscript means "keep frozen").

WHY. We have written two ways: once physically (), once mathematically (chain rule). If two expressions equal each other for every choice of , their matching coefficients must be equal. Match term by term:

The slope of energy versus entropy is temperature. The slope versus volume is minus the pressure. Symbols we introduced abstractly now have physical meaning.

PICTURE. The surface as a hill; walking east (increasing ) the steepness reads off as ; walking north (increasing ) the downhill steepness reads off as .

Figure — Thermodynamic potentials — U, H, F, G (preview)

Step 4 — The problem: we can't grab in the lab

WHAT. wants us to control entropy and volume . Volume is fine (move a piston). But there is no "entropy knob" — you cannot dial disorder directly. What you can set is temperature (a thermostat) and pressure (an open beaker feels the atmosphere).

WHY a new tool. We need to swap the awkward variable for its friendly partner , and for , without losing information. The tool that does exactly this trade is the Legendre Transform. It answers the precise question: "How do I rewrite an energy so that a slope becomes the variable, and the old variable disappears?"

The recipe: subtract the product of the two partners you want to swap.

  • To trade (partners, since ): subtract .
  • To trade (partners, since ): add .

PICTURE. A knob panel: the "" knob is crossed out (no such knob exists), the "" and "" knobs glow — these are what a real lab can turn.

Figure — Thermodynamic potentials — U, H, F, G (preview)

Step 5 — First swap: add to get enthalpy

WHAT. Define enthalpy . Take its small change with the product rule :

Now plug in :

  • The from the seed and the from are equal and opposite → they cancel.
  • What survives: (untouched) and a brand-new .

WHY. The cancellation is the whole point: we traded the term for a term, so pressure is now a natural variable. Watch the sign flip became . This is the classic mistake trap; the plus sign is forced by the cancellation, it is not optional.

PICTURE. Two stacked bars: 's block and 's block annihilate; the leftover block slides in.

Figure — Thermodynamic potentials — U, H, F, G (preview)

Step 6 — Second swap: subtract to get Helmholtz

WHAT. Define Helmholtz free energy . Its change uses the product rule :

Plug in the seed:

  • The from the seed and the from cancel.
  • Survivors: (untouched) and a new .

WHY. Killing promotes to a natural variable — perfect for a thermostat + rigid box. Note the sign pattern: rides with as . (Compare Step 5 where rode with as .)

PICTURE. Mirror of Step 5, but now the blocks annihilate and is left.

Figure — Thermodynamic potentials — U, H, F, G (preview)

Step 7 — Both swaps at once: Gibbs

WHAT. Do both tricks: add and subtract . Define Gibbs free energy . Then

Both the pair and the pair cancel. Survivors:

WHY. 's natural variables are and — the two things a chemist working in an open flask on a bench actually controls. That is why rules chemistry (see Gibbs Free Energy and Chemical Equilibrium).

PICTURE. Four blocks feeding in; both cancelling pairs vanish, leaving .

Figure — Thermodynamic potentials — U, H, F, G (preview)

Step 8 — The degenerate cases: what if a step is zero?

WHAT. The differentials must still make sense when a nudge is switched off. Check each edge:

  • Constant pressure (): . Enthalpy change is the heat absorbed — the reason is "heat content" for open-flask chemistry, and why (see Heat Capacities Cp and Cv).
  • Constant volume (): , so .
  • Constant temperature (): . The change in Helmholtz energy equals minus the work — that leftover is the useful work you can extract at fixed ; hence "free" energy.
  • Constant and (): . At equilibrium under bench conditions stops changing — it sits at its minimum.
  • Fully isolated & rigid ( set by system, , no heat): is the boss; nothing external does anything.

WHY. These aren't new physics — they're the same four boxed equations with one term deleted. A reader who meets any real experiment can look up which term dies and read the meaning straight off.

PICTURE. A 2×2 grid of the four differentials; in each cell one term is greyed out to show which constraint kills it.

Figure — Thermodynamic potentials — U, H, F, G (preview)

The one-picture summary

Everything lives on a square. The four potentials sit at the corners; the moves between them are the Legendre trades ( across, down). Each potential's two natural variables hang off its corner, and its differential is read directly.

Figure — Thermodynamic potentials — U, H, F, G (preview)

Once these are visual, the Maxwell Relations fall out for free by equating mixed second derivatives of each corner.

Recall Feynman: tell the whole story in plain words

We started with one honest sentence: energy change = heat in minus work out. We renamed heat as "temperature times a change in disorder" and work as "pressure times a change in size," giving one seed equation, . Trouble: it asks us to control disorder, which no lab can. So we play a trick — to swap an awkward variable for the friendly slope it hides, we subtract (or add) the product of the two. Add : the volume term cancels and enthalpy appears, ruled by heat and pressure. Subtract : the disorder term cancels and Helmholtz appears, ruled by temperature and volume. Do both: Gibbs appears, ruled by temperature and pressure — the chemist's world. Delete any single term and you read off a real experiment: constant pressure gives heat as , constant temperature gives extractable work as , and at fixed the system slides to the bottom of . Four wallets, one seed, and a square that remembers them all.