Equivalence of Ensembles
There are three ways to describe a system in equilibrium, and they look completely different. The microcanonical ensemble fixes the energy exactly and counts microstates on an energy shell. The canonical ensemble lets energy flow to a heat bath and weights each microstate by . The grand canonical ensemble opens the walls to particles too and weights by . One holds rigid; another lets it fluctuate; the third lets both and fluctuate. Yet — and this is one of the quiet miracles of statistical mechanics — for a macroscopic system they all predict the same thermodynamics: the same equation of state, the same entropy, the same heat capacity. Why should fixing the energy and merely fixing its average give identical answers? The resolution is the sharpness of large systems. In the canonical ensemble the energy is not truly free to roam: its probability distribution is a razor-thin spike around the mean, with a relative width that shrinks as . To exponential accuracy the canonical system is at its mean energy, which is exactly the microcanonical energy. The integral is dominated by a single sharp maximum — a saddle point — and evaluating it recovers the microcanonical entropy. Mathematically the connection is a Legendre transform, the same operation that links internal energy to free energy in thermodynamics. The canonical free energy is the Legendre transform of the microcanonical entropy, with the saddle-point (Laplace) approximation providing the bridge. Ensemble equivalence is therefore not a coincidence but a theorem — one that holds whenever the entropy is a strictly concave function of energy, and that fails, instructively, when it is not.
- The microcanonical, canonical, and grand canonical ensembles fix / / and respectively, yet give identical thermodynamics for macroscopic systems.
- The reason: the canonical energy distribution is a sharp Gaussian of relative width , so the system sits essentially at its mean energy — the microcanonical value.
- Formally is evaluated by a saddle point at where ; this recovers .
- That relation is a Legendre transform: the canonical free energy is the Legendre transform of the microcanonical entropy.
- Equivalence holds when is strictly concave; it can break near first-order transitions or for long-range forces.
- Key idea: fixing the average energy is as good as fixing the energy itself, because for large the energy fluctuations are negligibly small and the partition-function integral is dominated by one sharp saddle at the microcanonical energy.
Different ensembles constrain different variables — exact energy versus mean energy versus mean energy and particle number — but they agree on all thermodynamics for macroscopic systems, because the fluctuating quantities have relative widths and the partition function is dominated by a single saddle point at the microcanonical energy. The canonical free energy is the Legendre transform of the microcanonical entropy.
Where this lives today
Ensemble equivalence is the daily working assumption behind almost every equilibrium simulation: molecular dynamics naturally samples (nearly) microcanonical or canonical distributions, Monte Carlo samples canonical or grand canonical, and results are compared freely because equivalence guarantees the bulk thermodynamics matches. The systematic study of inequivalence has become a field of its own — long-range-interacting systems (self-gravitating stars, two-dimensional turbulence, plasmas, some spin models) show microcanonical negative heat capacity and ensemble-dependent phase diagrams, which is why astrophysics and plasma physics take the ensemble choice seriously. Large-deviation theory now provides the rigorous language: the microcanonical entropy is a rate function, the canonical free energy its Legendre transform, and equivalence is exactly the condition that this transform be invertible.
The physical picture
Imagine three laboratories studying the same block of copper. Lab A seals it in a perfect thermos and measures its fixed energy (microcanonical). Lab B clamps it to a temperature-controlled bath and lets heat flow (canonical). Lab C additionally connects it to a particle reservoir (grand canonical). Each lab writes down a different probability rule for the microstates. But when they compare the pressure, the entropy per atom, the heat capacity — every extensive quantity per particle, every intensive quantity — the three notebooks agree to many decimals. The differences live only in the fluctuations, which are invisible at macroscopic scale. The mechanism is concentration. In Lab B the energy is allowed to fluctuate, but the number of microstates rises so steeply with while falls so steeply that their product is a needle-sharp peak. The width of that peak, relative to its position, is . For that is : the energy is fixed to a part in a trillion even though nothing forces it to be.
The second figure is the punchline: the relative energy width plotted against system size. It slides down a line, so that by laboratory scales the three ensembles are indistinguishable — the width has fallen below any measurable resolution.
The core equations
The bridge between the microcanonical entropy and the canonical partition function is a single integral over energy, weighting each shell of microstates by its Boltzmann factor. Writing the density of states as turns the integrand into a competition between two exponentials.
where: — the microcanonical entropy; . The exponent is extensive (), so the integral is completely dominated by the energy that maximizes it — the saddle point. Maximizing the exponent sets its derivative to zero, which is precisely the thermodynamic definition of temperature. The saddle energy is where the microcanonical temperature equals the bath temperature.
where: — the most probable (and, to , the mean) energy. Reading it physically: the canonical system settles at the energy whose microcanonical temperature matches the reservoir. Evaluating the integral at the saddle gives the free energy as a Legendre transform of the entropy. The Gaussian fluctuations around the saddle contribute only a correction, negligible beside the extensive leading term.
where: the leading term is the Legendre transform; the term is the saddle-width correction, . This is the exact statement of equivalence: canonical free energy = Legendre transform of microcanonical entropy. The width of the saddle is set by the second derivative of the entropy, which is why concavity matters and why the relative fluctuation shrinks with size.
where: ; and are both extensive, so their combination scales as . Vanishing relative width is the engine of equivalence.
The goal is to show that the canonical partition function, an integral over all energies, is dominated by a single sharp peak, and that evaluating it there reproduces the microcanonical entropy — proving the two ensembles agree to leading order in . The strategy is Laplace's method: when an integrand is the exponential of an extensive function, the integral equals its maximum value times a small Gaussian correction, and the maximum condition is exactly the equality of temperatures.
Step 1. Write so that with . Since and , is extensive.
Step 2. Expand about its maximum : , with giving (equation 2) and for a genuine maximum (concave ).
Step 3. The Gaussian integral gives . Taking the logarithm, , i.e. — equation (3). Why the correction is negligible. The leading term is ; the Gaussian correction is . Their ratio , so the free energy per particle is identical in the two ensembles.
Step 4. Test on the ideal gas, so . The saddle condition gives — the equipartition energy, and exactly the canonical mean . Verified: symbolic saddle of gives , equal to for ; the correction/main ratio as (numeric ) — verify_aq-sm-equivalence-of-ensembles.py.
Go deeper · Derivation B · 1 minEquivalence as a Legendre transform of the entropy
The goal is to recast the saddle-point result as a clean thermodynamic statement: the canonical free energy is the Legendre transform of the microcanonical entropy, the same operation that generates all thermodynamic potentials. This reframing shows that ensemble equivalence is the statistical-mechanical shadow of the Legendre duality between energy and temperature representations, and it makes the concavity requirement transparent.
Step 1. From equation (3), . The maximization over at fixed is exactly the Legendre transform of the concave function with conjugate variable .
Step 2. The transform pairs the extensive energy with the intensive inverse temperature . Its stationarity condition is equation (2); the transformed function is .
Step 3. Because a Legendre transform of a strictly concave function is single-valued and invertible, the map is one-to-one, and the inverse transform recovers exactly. No thermodynamic information is lost passing between ensembles. Why concavity is the hinge. Legendre duality is an involution () only on convex/concave functions. If has a non-concave dip, the forward transform loses that region (it returns the concave hull), and the inverse cannot rebuild it — this is precisely where ensembles become inequivalent.
Step 4. Consistency: differentiating with respect to returns , the conjugate variable, confirming the transform is set up correctly and that . Verified: the ideal-gas has and (strictly concave); the Legendre value equals and — verify_aq-sm-equivalence-of-ensembles.py.
Limiting cases
Equivalence is generic but not universal; the same saddle-point analysis tells you exactly when it holds and when it fails.
| Case | Result | Meaning |
|---|---|---|
| Large , short-range forces | ensembles agree to | The standard case; relative fluctuations . |
| Ideal gas, any | exactly | Saddle sits at the equipartition energy; strictly concave. |
| Finite | corrections | Small-system thermodynamics differs slightly between ensembles. |
| First-order transition | canonical jumps; MC interpolates | has a linear (non-strictly-concave) segment; ensembles differ in the coexistence gap. |
| Long-range forces (gravity) | inequivalent | non-concave; microcanonical negative has no canonical counterpart. |
Worked examples
Example 1 — The saddle energy of an ideal gas (enumerate, apply, boundary number). Take argon atoms with density of states in contact with a bath at temperature .
Step 1. The exponent to maximize is . Set .
Step 2. Solve: . This is the microcanonical energy at temperature .
Step 3. Compare to canonical: with , — identical to . The two ensembles agree on the internal energy exactly.
Step 4. Boundary number: the saddle width is . For , — the energy is pinned to a part in , so fixing is as good as fixing .
Example 2 — When does the small-system correction matter? Estimate the fractional difference between the canonical and microcanonical free energy per particle for a nanocluster of atoms.
Step 1. The relative width of the canonical energy is , i.e. about .
Step 2. The free-energy-per-particle discrepancy is set by the saddle correction relative to the extensive term, — a few percent.
Step 3. Interpret: for a 100-atom cluster the ensemble choice shifts intensive quantities at the percent level, so simulations of small systems must report which ensemble they used. For the same estimate is — utterly negligible, and equivalence is exact for all practical purposes.
Origins · 1 minequivalence of ensembles and how this was discovered
The equivalence of ensembles is the principle that the microcanonical, canonical, and grand canonical descriptions yield the same thermodynamics in the thermodynamic limit. Gibbs asserted it heuristically in his 1902 Elementary Principles in Statistical Mechanics; making it a theorem took the rigorous statistical mechanics of the 1960s–70s (Ruelle, Lanford, Fisher), who proved that for systems with short-range interactions the free-energy densities of the three ensembles coincide and are convex functions of their intensive parameters. The modern, sharp form is a statement about Legendre-transform duality and large-deviation rate functions: equivalence holds exactly when the microcanonical entropy density is concave, and its failure — for long-range or first-order-transition systems — is now a well-mapped part of the theory.
Going further
References. Pathria & Beale, Statistical Mechanics, 4th ed., Ch. 3–4 (the ensembles and their equivalence) · Reif, Fundamentals of Statistical and Thermal Physics, §6.1–6.10 · Kardar, Statistical Physics of Particles, Ch. 4 · Ruelle, Statistical Mechanics: Rigorous Results (1969) · Touchette, "The large deviation approach to statistical mechanics," Phys. Rep. 478 (2009).
Provenance. The saddle-point relation and the fluctuation argument are standard (Pathria Ch. 3–4, Reif §6.5). A verifier should confirm: (i) the saddle of is , equal to for ; (ii) at the saddle (genuine maximum), width ; (iii) the ratio of the correction to the extensive term as ; (iv) is strictly concave (). All in verify_aq-sm-equivalence-of-ensembles.py.
Builds on: Canonical Ensemble · Derivation of the Canonical Distribution from the Microcanonical Ensemble · Grand Canonical Ensemble · Canonical Partition Function · Energy Fluctuations in the Canonical Ensemble Leads to: Helmholtz Free Energy from the Partition Function · Thermodynamic Quantities from the Partition Function · Heat Capacity and Fluctuation-Response Relation · Grand Partition Function
If the ensembles are equivalent, why do we need three of them?
Because they are matched to different physical situations and different calculations. The microcanonical ensemble is the fundamental one (equal a priori probabilities on an energy shell) but is awkward to compute with. The canonical ensemble, fixing temperature, is by far the easiest — the Boltzmann factor factorizes over independent degrees of freedom. The grand canonical ensemble, fixing chemical potential, is essential for quantum gases and for any open or reacting system. Equivalence is what lets you pick the convenient ensemble and trust that the bulk thermodynamics is the same as the correct one.
Does equivalence mean the energy in the canonical ensemble is really constant?
No — the energy genuinely fluctuates in the canonical ensemble, with variance . What is true is that the relative fluctuation is astronomically small for macroscopic . So the energy is not fixed, but it is pinned so tightly around its mean that the system behaves, thermodynamically, as if it were at the microcanonical energy. The fluctuations are real and physically important (they carry the heat capacity), just negligible on the scale of .
What is the saddle point, physically?
It is the single most probable energy at which the product is maximal. The rising density of states favors high energy; the Boltzmann factor favors low energy; their competition selects an intermediate where . Because the exponent is extensive, this maximum is overwhelmingly sharp — the integral is dominated by an infinitesimal neighborhood of . "Saddle point" is the name from complex analysis (steepest descent); here it is simply the peak of a sharply-peaked integrand.
How is this connected to Legendre transforms in thermodynamics?
Directly. In thermodynamics the Helmholtz free energy is the Legendre transform of the internal energy with respect to entropy, . In statistical mechanics the same duality appears as : the canonical free energy is the Legendre transform of the microcanonical entropy. Ensemble equivalence is the statement that this transform is invertible — that you can go from to and back without losing information. Both statements require the relevant function to be convex/concave.
Why does concavity of the entropy matter so much?
Because a Legendre transform is a faithful, invertible operation only on a convex (or concave) function. If is strictly concave, the map between energy and temperature is one-to-one and the ensembles are equivalent. If has a non-concave "dip" — as it does across a first-order phase transition or for long-range forces — the forward Legendre transform silently replaces the dip by its straight-line concave hull, losing the information in that energy window. The canonical ensemble then cannot see the coexistence region that the microcanonical ensemble resolves, and the two disagree.
Do quantum systems obey ensemble equivalence too?
Yes, with the same logic. For quantum gases the grand canonical ensemble is the natural one, and it is equivalent to the canonical and microcanonical descriptions in the thermodynamic limit for short-range systems. The one famous subtlety is Bose–Einstein condensation: the fluctuations of the ground-state occupation are anomalously large in the grand canonical ensemble, so that particular observable is ensemble-dependent even though the thermodynamics (energy, pressure, condensate fraction) is not. It is a reminder that equivalence is a statement about bulk thermodynamics, not about every fluctuation.