Thermodynamic Potentials and the Fundamental Relation
Give a chemist the ideal-gas law and ask them for the entropy of the gas, or how much it warms when compressed adiabatically, and they cannot answer — the information simply is not in that equation. Give them instead a single function, the entropy , and every equilibrium property falls out by differentiation: temperature, pressure, chemical potential, all the heat capacities, every response coefficient, the location of phase transitions. This astonishing economy is the central promise of thermodynamics, and it rests on one object: the fundamental relation. The fundamental relation exists in two equivalent forms — the energy representation and the entropy representation — related exactly as relates to . Picture as a smooth surface floating in the space of extensive coordinates. Every thermodynamic question is a question about the local geometry of that surface: its slopes are the intensive variables (, , ), and its curvatures are the response functions and stability conditions. The first law guarantees is a state function; the second law guarantees is a state function maximized at equilibrium; the fundamental relation fuses both laws into one differentiable object. There is a hidden engine behind all this: extensivity. Doubling a system doubles , , , together, so the fundamental relation is a first-order homogeneous function. That single fact — not decoration — forces the Euler relation , forces the Gibbs–Duhem constraint that the intensive variables are not independent, and forces the relation to be phrased among extensive quantities. An equation of state involving only intensive variables is merely a shadow of the full surface and throws information away. Finally, because the differential of a state function is exact, the second derivatives commute — instantly producing the Maxwell relations and the convexity conditions that govern stability. The fundamental relation is therefore not a formula to memorize but the organizing principle from which the entire structure of equilibrium thermodynamics unfolds.
- A single function — the fundamental relation or equivalently — contains all equilibrium thermodynamics of a simple system; differentiating it yields , , and .
- Its differential packages the first and second laws into one exact differential.
- Because is first-order homogeneous in its extensive arguments, the relation forces the Euler relation and the Gibbs–Duhem constraint among intensive variables.
- A single equation of state (like ) is only a projection of the fundamental relation and is thermodynamically incomplete.
- Exactness of the differential makes mixed partials commute, giving the Maxwell relations; curvature gives stability.
- Key idea: the fundamental relation is a first-order homogeneous surface whose first derivatives are the intensive variables, whose Legendre transforms are the other potentials, and whose second-derivative structure is all response and stability information.
A single first-order homogeneous function — the fundamental relation or — encodes all equilibrium thermodynamics: its first derivatives give the intensive variables , , ; homogeneity forces the Euler relation and Gibbs–Duhem constraint; and its second-derivative structure gives the Maxwell relations, response functions, and stability conditions.
Where this lives today
The fundamental-relation viewpoint is the working language of modern equilibrium physics, not a historical curiosity. In computational materials science and chemistry, databases such as CALPHAD store the Gibbs free energy — a fundamental relation in its natural variables — for thousands of phases; phase diagrams, solubility limits, and reaction equilibria are then computed by minimizing over competing phases, exactly the extremum principle Gibbs and Callen formalized. The same structure powers equation-of-state engines in process simulators and in planetary-interior models, where a single Helmholtz free energy (as in the widely used IAPWS-95 formulation for water) reproduces every measured property of the substance by differentiation. Conceptually, the fundamental relation is also where thermodynamics hands off to statistical mechanics. The temperature defined by the surface's slope is provably the same that appears in from Boltzmann's and in the Boltzmann factor . Statistical mechanics computes the fundamental relation from a microscopic Hamiltonian; thermodynamics then reads off everything else. That two-level structure — micro-model produces the surface, macro-geometry produces the observables — is the organizing idea of the entire field.
The physical picture
Think of every equilibrium state of a simple system as a single point on a smooth surface suspended in the space of its extensive coordinates. To ask "what is the temperature here?" is to ask for a slope of that surface; to ask "is this phase stable?" is to ask about its curvature. This is the whole geometric content of equilibrium thermodynamics: slopes are intensive variables, curvatures are stability. The two representations are the same surface viewed two ways. In the energy representation you fix and read off (the energy-minimum principle is transparent); in the entropy representation you fix and read off (the entropy-maximum principle is transparent). They carry identical information because is strictly increasing in , so the map is invertible.
Homogeneity is the hidden engine. Because scaling all extensive variables by scales by , the intensive variables can depend only on ratios — densities. This one geometric fact forces the Euler relation and the Gibbs–Duhem constraint, and it explains a common frustration: why a single equation of state is never enough. The plot below drives the punchline home — one intensive-variable equation of state pins only a single family of slopes; you need a second independent equation of state to reconstruct the full surface, and even then one integration constant (the absolute entropy) stays free until quantum mechanics fixes it.
Legendre transforms are the last piece: they are a change of contact coordinates. Instead of labeling a point by where it sits (), you label it by the slope there (). No information is lost because a convex surface is fully reconstructible from its family of tangent planes — which is exactly why the Helmholtz, enthalpy, and Gibbs potentials are as complete as itself.
The core equations
The fundamental relation in the energy representation is the single exact differential that carries both laws. Read it as: the energy of the surface changes by a thermal piece, a mechanical piece, and a chemical piece as you move.
where: — internal energy (extensive); — entropy, volume, particle number (all extensive); — absolute temperature; — pressure; — chemical potential. The three intensive variables are literally the three slopes of the surface. (Track convention: writing the first law as with the work done on the system, the reversible pieces are and .) Solving (1) for gives the equivalent entropy representation, the natural home of the entropy-maximum principle:
where: , , and are the three entropy slopes. This is the form in which statistical mechanics defines temperature, via . Extensivity is the statement that the fundamental relation is a first-order homogeneous function of its extensive arguments:
where: — an arbitrary scaling factor. Doubling the system doubles the energy: no surface tension, no long-range gravity, no boundary effects that would break additivity. Differentiating (3) with respect to at (Euler's homogeneous-function theorem) collapses the whole surface into one algebraic identity:
where: — thermal, — mechanical, — chemical contributions. This Euler relation is a finite (not differential) statement — a remarkable consequence of extensivity alone. Taking the differential of the Euler relation (4) and subtracting the fundamental relation (1) yields a constraint linking the changes of the three intensive variables:
where: the three intensive differentials are not independent. This Gibbs–Duhem equation is why a one-component system has only two independent intensive variables, not three. Because is exact, mixed second derivatives commute, giving relations like
where: this is the Maxwell relation belonging to ; the other potentials give three more. Curvature gives stability: (thermal) and (mechanical).
The goal here is to prove the two structural facts that make the fundamental relation special, using nothing but homogeneity and differentiation. First: extensivity (first-order homogeneity) forces the Euler relation — a finite algebraic identity, not a differential one — via Euler's theorem on homogeneous functions. Second: a genuine fundamental relation like the Sackur–Tetrode entropy regenerates both equations of state ( and ) by differentiation, whereas either equation of state alone cannot recover the entropy. We do both explicitly and check them symbolically.
Step 1. Differentiate the homogeneity identity with respect to and set . The left side, by the chain rule, is ; the right side is . Why: this is Euler's theorem — the scaling derivative of a degree-1 function equals the function itself.
Step 2. Insert the definitions , , to obtain , the Euler relation (4). Why: the slopes of the surface are exactly the intensive variables, so the abstract theorem becomes physics.
Step 3. Now take a concrete fundamental relation, the Sackur–Tetrode entropy ( lumps the constants ). Compute , which is , giving immediately — the caloric equation of state. Why: the energy slope of the entropy surface is the inverse temperature, so one differentiation delivers the internal energy.
Step 4. Compute , which is ; multiplying by gives , the mechanical equation of state. Thus the single function regenerates both equations of state simultaneously — the hallmark of a fundamental relation, which a lone equation of state can never do. Why: the volume slope is , so the same surface that gave also gives ; only a complete relation carries both. *Verified: homogeneity of the Sackur–Tetrode , the Euler identity , and the two equations of state (, ) recovered by differentiation are all checked symbolically in verify_aq-sm-thermodynamic-potentials-fundamental-relation.py.*
Go deeper · Derivation B · 1 minMaxwell relation and internal pressure from exactness of dU
The goal is to show that the Maxwell relations and the "energy equation" are automatic consequences of being exact — no new physics, just the commutativity of mixed partial derivatives of a state function. We derive one Maxwell relation from directly and then use the entropy representation to extract the internal pressure, the quantity that distinguishes a real gas from an ideal one.
Step 1. From (fixed ), read off and . Because , . Why: mixed partials of a smooth state function are equal (Clairaut/Schwarz).
Step 2. Differentiate the two first derivatives crosswise: , Equation (6). Why: applying to and to gives the same mixed partial, so the two are equal.
Step 3. For the internal pressure, start from and use the Helmholtz Maxwell relation . Then . Why: entropy is unmeasurable directly, but is an ordinary equation-of-state derivative, so exactness converts one into the other.
Step 4. For an ideal gas gives , so — energy depends only on . For a van der Waals gas gives : attractive interactions store energy in volume. Why: this single Maxwell-relation consequence is the operational difference between an ideal and a real gas, and it follows purely from exactness. *Verified: the mixed-partial Maxwell identity and the van der Waals internal pressure are checked symbolically in the verify script; the ideal-gas internal pressure is zero as required.*
Limiting cases
How the fundamental relation specializes in important regimes:
| Case | Result | Meaning |
|---|---|---|
| Ideal monatomic gas (Sackur–Tetrode) | A genuine fundamental relation: differentiating gives both and . | |
| Single equation of state | alone | A projection: cannot recover , , or without a second equation of state. |
| Two-phase coexistence | (Clausius–Clapeyron) | Gibbs–Duhem per phase + ; the two fundamental surfaces intersect. |
| Third-law boundary | (independent of ) | The surface flattens in entropy as ; heat capacities and expansivities vanish. |
| Broken extensivity (gravity) | Long-range forces violate homogeneity; Euler and Gibbs–Duhem fail (self-gravitating systems). |
Worked examples
1 · Regenerating both equations of state from one entropy surface (confidence builder)
Take the Sackur–Tetrode entropy . Show by differentiation that it contains both the mechanical and caloric equations of state, then evaluate the temperature and pressure for of argon with and .
Step 1. Energy slope: . Rearranged, — the caloric equation of state, obtained by one differentiation.
Step 2. Volume slope: . Multiplying by : — the mechanical equation of state, from the same surface. A single equation of state could never yield both.
Step 3. Temperature for argon: . (Here for one mole, so .)
Step 4. Pressure: ≈ 1 atm — exactly the standard-conditions consistency check. The one entropy surface delivered a self-consistent .
2 · Internal pressure: ideal gas versus van der Waals (exam level)
Using the Maxwell relation , compute the internal pressure for (a) an ideal gas and (b) a van der Waals gas . Then estimate the energy stored per mole of CO () when compressed from to .
Step 1. Ideal gas: , so . Internal energy depends only on temperature — the classic ideal-gas result, here derived from exactness.
Step 2. Van der Waals: , so . Attractive interactions store energy as the gas expands.
Step 3. Energy to pull the molecules apart (per mole, so in molar units with molar ): . For CO at : .
Step 4. Sanity: is about at room temperature — a modest but real correction, exactly the scale of intermolecular attraction that makes CO cool on throttled expansion (the Joule–Thomson effect). Every number here came from one Maxwell relation, itself a consequence of being exact.
Origins · 1 minthermodynamic potential and how this was discovered
The idea that a whole science can be compressed into a single function of the right variables is due above all to J. Willard Gibbs, whose 1873–78 memoirs On the Equilibrium of Heterogeneous Substances introduced the fundamental relation, the potentials, and the geometric picture of thermodynamic surfaces. A thermodynamic potential is any of the family (plus the grand potential and Massieu functions) obtained from the fundamental relation by Legendre transformation; each is a complete encoding of the equilibrium thermodynamics, minimized under the constraints matching its natural variables. Callen's twentieth-century axiomatic reformulation made the "fundamental relation + extremum principle" structure the modern backbone of the subject, elevating the potential from a computational convenience to the logical starting point of thermodynamics itself.
Going further
References. Callen, Thermodynamics and an Introduction to Thermostatistics, 2nd ed., chs. 1–5 · Pathria & Beale, Statistical Mechanics, 3rd ed., ch. 1 · Kardar, Statistical Physics of Particles, ch. 1 · Reif, Fundamentals of Statistical and Thermal Physics, ch. 5 · Landau & Lifshitz, Statistical Physics Part 1, ch. 2 · Sethna, Statistical Mechanics: Entropy, Order Parameters, and Complexity, chs. 3 & 6.
Provenance. All equations are standard textbook thermodynamics. A verifier should: (1) confirm and its entropy-representation rearrangement (Callen chs. 2–3); (2) check the Euler relation via Euler's homogeneous-function theorem and Gibbs–Duhem as its differential (Callen ch. 3); (3) verify the Maxwell relation from and the internal-pressure formula (Reif §5.6); (4) reproduce both ideal-gas equations of state by differentiating the Sackur–Tetrode entropy (Pathria & Beale ch. 1). Numerical instances — argon , ; van der Waals internal pressure ; CO () — are recomputed in verify_aq-sm-thermodynamic-potentials-fundamental-relation.py. (CODATA).
Builds on: First Law of Thermodynamics and Internal Energy · Second Law of Thermodynamics and Entropy · Work, Heat, and Inexact Differentials · Temperature, Pressure, and Chemical Potential as Entropy Derivatives. Leads to: Legendre Transforms · Helmholtz Free Energy, Enthalpy, and Gibbs Free Energy · Maxwell Relations · Euler Relation and Gibbs–Duhem Equation.
What exactly is the difference between a "fundamental relation" and an "equation of state"?
A fundamental relation is a single function among extensive variables — or — that contains all equilibrium information: differentiate it and every equation of state, every response function, and every stability condition falls out. An equation of state is a relation among some of the variables — usually intensive ones, like or — that captures only one facet of the surface. You need at least two independent equations of state (plus an integration constant) to reconstruct the fundamental relation. The slogan: the fundamental relation is the whole surface; an equation of state is a single family of slopes.
Why must the fundamental relation be written among extensive variables and not intensive ones?
Because of extensivity and its consequence, the Gibbs–Duhem equation. The intensive variables are not independent — Gibbs–Duhem ties them together, so you cannot specify all three freely. A "fundamental relation" phrased purely in intensive variables would therefore be over-determined and could not encode the system's size or absolute scale. The extensive variables can all be specified independently, so a function of them is a complete, non-redundant encoding. This is why the natural variables of every thermodynamic potential always include the right mix of extensive quantities.
Where does the Euler relation U = TS − PV + μN actually come from? It looks like it should need a derivation.
It comes from extensivity alone, via Euler's theorem on homogeneous functions. Extensivity says — the function is first-order homogeneous. Euler's theorem states that for such a function, . Since , , , this is exactly . No thermodynamic law beyond additivity is needed — which is why the relation fails for self-gravitating systems, where energy is not extensive. It is a purely mathematical consequence of the surface being homogeneous of degree one.
If the entropy and energy representations are equivalent, why bother with both?
Because different equilibrium principles are transparent in different representations. In the energy representation , equilibrium at fixed is the minimum of energy — natural for mechanically isolated systems. In the entropy representation , equilibrium at fixed is the maximum of entropy — natural for thermally isolated systems and the starting point of statistical mechanics. They contain identical information (each is the inverse function of the other), but choosing the representation whose constraints match your physical setup saves enormous effort. The same reason motivates the Legendre transforms to , , : pick the potential whose natural variables you actually control.
Why do the second derivatives of the fundamental relation control stability?
Because equilibrium is not just an extremum but a stable one. Entropy is maximized at equilibrium, so must be concave — its second derivatives must have the right sign, or a fluctuation could raise the entropy and the state would spontaneously fall apart. Concavity of translates to convexity of : forces the heat capacity positive, and forces the compressibility positive. Where these curvature conditions fail — for instance inside the spinodal of a van der Waals fluid — the homogeneous phase is unstable and the system phase-separates. So the first derivatives give you the intensive variables; the second derivatives tell you whether the state can actually exist.
How is the temperature defined here the same as the one in the Boltzmann factor?
The fundamental relation defines geometrically: , the energy slope of the entropy surface. Statistical mechanics computes that surface from a microscopic model: . Differentiating gives , and the canonical ensemble derived from it produces the Boltzmann factor with this same . So the temperature an engineer reads from the slope of a fundamental relation and the temperature a physicist writes in a partition function are provably the same object — a consistency that ties thermodynamics and statistical mechanics into one theory.
Does the fundamental relation still work when interactions are long-range, like gravity?
No — and this is one of its most instructive failure modes. The entire structure rests on extensivity: . Long-range forces such as gravity break this, because the potential energy of a self-gravitating system scales roughly as , not . When homogeneity fails, so do all its consequences: the Euler relation, the Gibbs–Duhem equation, and even the equivalence of ensembles. Self-gravitating systems can have negative heat capacity and are not described by a convex fundamental relation. This is why star clusters and black holes require a more careful, non-extensive thermodynamics — a reminder that the beautiful economy of the fundamental relation is bought with the assumption of short-range interactions.