Equivalence of Ensembles in the Thermodynamic Limit: Legendre Structure and Equivalence Conditions
Anchor (Master): Ruelle, Statistical Mechanics: Rigorous Results (1969); Lanford, Entropy and Equilibrium States, LNP 20 (1973); Ellis, Entropy, Large Deviations, and Statistical Mechanics (1985)
Intuition Beginner
Consider a box of gas. You can describe it in three ways:
Fixed energy (microcanonical). The box is perfectly isolated. The total energy is locked in, the particle number is fixed, and the volume is fixed. You count every microscopic arrangement consistent with those constraints and define the entropy from the count. The temperature is a derived quantity: it measures how fast changes when you add a little energy.
Fixed temperature (canonical). The box sits in a heat bath. The temperature is held constant by exchanging energy with the bath, but and are still fixed. You weight each microscopic state by and normalise. The key quantity is the Helmholtz free energy , which acts as an "effective energy" at fixed temperature.
Fixed temperature and chemical potential (grand canonical). The box is connected to a reservoir that can exchange both energy and particles. The temperature and chemical potential are fixed by the reservoir. You weight each state by . The grand potential is the governing quantity.
Three different descriptions. Three different probability distributions. Three different thermodynamic potentials (, , ).
The central claim: for a macroscopic system — one with a large number of particles — all three descriptions give the same answers for observable quantities. The pressure, the compressibility, the heat capacity, the equation of state — all agree. The three ensembles are equivalent in the thermodynamic limit.
Why? Because the probability distributions are incredibly sharp. In the canonical ensemble, the energy fluctuates — but the fluctuation grows only as while the mean energy grows as . So , which is one part in for a mole of gas. The canonical energy is "almost fixed" — almost microcanonical. The same argument applies to particle-number fluctuations in the grand canonical ensemble: .
The three potentials are related by Legendre transforms — mathematical operations that swap one variable for its conjugate. The entropy is a function of energy; its Legendre transform in gives as a function of . The free energy as a function of has its Legendre transform in giving as a function of . These transforms are exact in the thermodynamic limit; for finite systems there are correction terms that vanish as grows.
Visual Beginner
Imagine three rooms, each containing the same gas, but set up differently:
Room A has perfectly insulated walls. No heat in, no heat out. The energy is fixed. A dial on the wall shows the temperature — but it fluctuates slightly because the gas molecules redistribute their kinetic energy among themselves.
Room B has walls that conduct heat to a vast thermal reservoir outside. The temperature is rock-steady. But a sensitive energy meter shows tiny fluctuations — the room gains and loses small amounts of energy from the reservoir.
Room C has both a thermal connection and a small pipe to the reservoir, so molecules can drift in and out. Both temperature and chemical potential are steady, but both the energy and the particle number fluctuate.
Now make the rooms enormous — a swimming pool of gas, then a lake, then an ocean. In each room, the fluctuations become proportionally tinier. The energy dial in Room A steadies. The energy meter in Room B and the particle counter in Room C both show that and are heading toward zero. All three rooms converge to the same behaviour.
Worked example Beginner
Take an ideal gas with particles in volume at temperature . Compare the energy predictions from the three ensembles.
Microcanonical. The energy is exactly . No fluctuations.
Canonical. The mean energy is — the same. The fluctuation is . So the relative fluctuation is
For (a mole), this is about — utterly negligible. For (a tiny cluster), it is about (26 percent) — enormous.
Grand canonical. The mean energy is again , and both and fluctuate. But the relative fluctuations in both quantities scale as and vanish for large .
The message: for macroscopic systems, the choice of ensemble is a matter of convenience, not physics. You pick the one that makes your calculation easiest.
Check your understanding Beginner
Formal definition Intermediate+
The thermodynamic limit
The thermodynamic limit is the mathematical procedure of taking the particle number and the volume to infinity while holding the density fixed:
In this limit, the following intensive quantities have well-defined finite limits:
- Entropy density:
- Free energy per particle:
- Grand potential density:
The existence of these limits is a foundational result in mathematical statistical mechanics, established rigorously by Van Hove, Ruelle, and others for systems with short-range interactions.
Legendre transform structure
The three thermodynamic potentials are connected by Legendre transforms 11.01.02. Recall that the Legendre transform of a function is , where is the variable conjugate to .
Microcanonical to canonical. The entropy as a function of energy has the canonical free energy as its Legendre transform:
If is concave, the supremum is achieved at the energy satisfying , and the transform is invertible.
Canonical to grand canonical. The Helmholtz free energy as a function of particle number has the grand potential as its Legendre transform:
The supremum is achieved at satisfying .
The chain of Legendre transforms is:
Each transform swaps one extensive variable for its intensive conjugate: , .
Convexity and concavity
A fundamental result:
The entropy density is a concave function of the energy density : . Concavity follows from thermodynamic stability: the heat capacity is non-negative, which translates to where is the specific heat per particle.
The Helmholtz free energy per particle is a concave function of : . This follows because the specific heat satisfies .
The grand potential density is concave in both and : (stability: the compressibility is non-negative).
Concavity is the mathematical signature of thermodynamic stability. A system that violated concavity would be unstable: it would phase-separate or develop runaway fluctuations.
Laplace's method and the saddle-point approximation
The connection between ensembles is made precise by Laplace's method. The canonical partition function is related to the microcanonical density of states by
Writing :
Define . In the thermodynamic limit, both and are extensive (proportional to ), so where is an intensive function. The integral is dominated by the maximum of , because deviations from the maximum are exponentially suppressed as .
The maximum occurs at where , that is, , which gives . Expanding to second order around :
The Gaussian integral yields
Taking logarithms:
The first term, , is extensive (proportional to ). The logarithmic correction terms are of order . In the thermodynamic limit, the correction terms vanish relative to the leading term:
Dividing by and taking :
This is the Legendre transform relation between the free energy density and the entropy density , now derived from Laplace's method. The derivation shows that the Legendre transform is exact in the thermodynamic limit, with corrections that vanish as .
Relative fluctuations
The width of the Gaussian in Laplace's method gives the energy fluctuation:
Since and :
The same argument applies to particle-number fluctuations in the grand canonical ensemble, giving .
Equivalence theorem (informal). In the thermodynamic limit, the microcanonical, canonical, and grand canonical ensembles yield identical values for all thermodynamic quantities (pressure, compressibility, heat capacity, and so on) for any system with short-range interactions and a concave entropy function.
Key derivation: Equivalence from Laplace's method Intermediate+
Proposition. For a system with concave entropy density , the canonical free energy per particle is the Legendre transform of :
The infimum is achieved at where , and the mapping is the inverse of .
Proof. The canonical partition function is
where is the microcanonical entropy at particle number . Introduce the energy per particle and the entropy per particle :
As , the integrand is dominated by the maximum of (where ). By concavity of , has a unique maximum at satisfying
Applying Laplace's method:
Since :
and therefore , the Legendre transform. The condition ensures that and are conjugate variables.
Bridge. The Legendre transform connection between and is the mathematical backbone of thermodynamics 11.01.02. Every thermodynamic potential is a Legendre transform of every other, and the choice of potential corresponds to the choice of which variables are held fixed. The equivalence of ensembles is the statistical-mechanical manifestation of this thermodynamic structure: the three ensembles are three different ways of accessing the same Legendre structure, and they converge in the thermodynamic limit because the Legendre transform is exact for concave functions.
Exercises Intermediate+
Lean formalization Intermediate+
The equivalence of ensembles has no Mathlib formalization. The key objects that would need to be constructed are: (1) the thermodynamic limit of the entropy density as a concave upper-semicontinuous function on ; (2) the Laplace transform and its logarithmic asymptotics; (3) the Legendre duality between and ; (4) the large-deviation principle for the energy density in the canonical ensemble. Mathlib has convex analysis and Legendre transform infrastructure but lacks the measure-theoretic framework for partition functions and the thermodynamic limit. This unit ships without a Lean module.
Advanced results Master
Large deviation principle
The deepest formulation of ensemble equivalence is through the large deviation principle (LDP) 37.07.02. Let be the random energy in the canonical ensemble at inverse temperature with particles. The energy density satisfies a large deviation principle with rate function
This means as . The rate function with equality at , so the probability of observing any energy density other than is exponentially suppressed. This is the rigorous content of the saddle-point argument: the canonical ensemble concentrates on a single energy density, and that energy density is the one that maximises the microcanonical entropy subject to the temperature constraint.
The LDP formulation reveals that ensemble equivalence is a variational principle: the canonical ensemble maximises entropy subject to fixed expected energy (with as the Lagrange multiplier), and the microcanonical ensemble maximises entropy subject to fixed exact energy. In the thermodynamic limit, the constraint "fixed expected energy" and "fixed exact energy" become equivalent because the distribution concentrates.
For the grand canonical ensemble, a joint LDP holds for the pair with rate function
where is the entropy density as a function of energy density and number density.
Yang-Lee zeros and analyticity
The grand partition function is a polynomial in the fugacity for a finite system. The Yang-Lee zeros are the roots of this polynomial. For a ferromagnetic system, all roots lie on the unit circle in the complex -plane (Lee-Yang circle theorem, 1952).
The thermodynamic limit produces a dense set of zeros. If the zeros stay away from the positive real axis, then is an analytic function of real positive , and the system has no phase transition. If the zeros accumulate and approach a point on the real axis, then develops a singularity at — this is a phase transition.
The connection to ensemble equivalence is direct: non-analyticity of at means the grand potential density has a singularity, which in turn means the Legendre transform from to or may fail to be invertible at that point. At a first-order phase transition, the microcanonical entropy develops a linear segment (a "convex intruder"), and the canonical free energy has a kink. The three ensembles remain equivalent in the sense that all three potentials describe the same phase diagram, but the relationship between them involves Maxwell-construction tie lines rather than point-to-point Legendre duality.
Non-equivalence for long-range interactions
Ensemble equivalence can fail for systems with long-range interactions — those where the interaction potential decays slower than in dimension . Examples include:
Self-gravitating systems. The gravitational potential is long-range in three dimensions. A self-gravitating gas can have negative specific heat in the microcanonical ensemble (adding energy decreases the temperature), which is impossible in the canonical ensemble. The two ensembles give inequivalent predictions for the temperature-energy relation.
Mean-field models. The Curie-Weiss model (infinite-range Ising model with ) is a mean-field approximation that retains ensemble equivalence because the scaling ensures thermodynamic stability. But if the coupling is stronger than , equivalence can fail.
Two-dimensional vortices. Point vortices in two dimensions interact via a logarithmic potential, which is long-range. The microcanonical and canonical descriptions can diverge, predicting different phase structures.
The mathematical criterion, due to Ruelle and Griffiths, is: ensemble equivalence holds if and only if the microcanonical entropy density is concave. For short-range systems, concavity follows from subadditivity of the entropy (the entropy of a composite system is at least the sum of the entropies of the parts, minus a surface correction that vanishes in the thermodynamic limit). For long-range systems, subadditivity can fail, can become non-concave, and the ensembles diverge.
When is non-concave, the canonical free energy is still the Legendre transform of , but the transform is no longer invertible — different energy densities map to the same temperature. The microcanonical ensemble is the "fundamental" description in this case, and the canonical ensemble provides a "coarse-grained" version that smooths out the non-concave features of via the Legendre transform's convex hull operation.
Griffiths-Ruelle lemma
The Griffiths-Ruelle lemma provides a sufficient condition for the thermodynamic limit to exist. For a system of particles in a domain with a stable and tempered pair potential, the partition function satisfies a submultiplicativity property
(up to surface terms), which by Fekete's lemma guarantees that exists. This is the foundation for the existence of the thermodynamic limit and, by extension, for ensemble equivalence. The conditions are:
- Stability: The potential energy of any configuration of particles is bounded below by for some constant independent of .
- Tempering: The interaction potential sufficiently fast as (specifically, for some in dimension ).
Systems that violate stability (e.g., the bare Lennard-Jones potential at short range, which diverges as ) can be stabilised by a hard-core repulsion. Systems that violate tempering (e.g., gravity, in ) are precisely those for which ensemble equivalence can fail.
The proof of submultiplicability uses the fact that for short-range interactions, the energy of the combined system is at most the sum of the energies of and plus an interfacial correction proportional to the surface area between them. In the thermodynamic limit, the surface-to-volume ratio vanishes, and the correction disappears.
Full proof set Master
Proposition (Equivalence of microcanonical and canonical ensembles). Let be the thermodynamic-limit entropy density, assumed concave and differentiable. Let and define by . Then:
- (Legendre transform).
- In the canonical ensemble at inverse temperature , the energy density converges in probability to as .
- The canonical variance , where is the specific heat per particle.
Proof. (1) is the Laplace-method result proved in the Key derivation above. For (2), consider the probability density of the energy density in the canonical ensemble:
Define . Since is concave and differentiable, has a unique maximum at with for . By Laplace's method, as (in the sense of weak convergence of measures). This establishes (2).
For (3), the second-order expansion with gives a Gaussian approximation with variance . Using where is the specific heat per particle: . Since is intensive, as .
Proposition (Grand canonical-canonical equivalence). Under the same hypotheses, with the additional assumption that is concave in the number density , the grand canonical particle-number distribution concentrates at satisfying , and the grand potential density satisfies
(Legendre transform in ).
Proof. The grand partition function is where . Writing and using the thermodynamic limit of :
The supremum is achieved at where , which follows from the concavity of in . This gives , the Legendre transform. The variance satisfies , vanishing in the thermodynamic limit.
Connections Master
11.01.02Thermodynamic potentials and Legendre transforms provide the thermodynamic framework that ensemble equivalence makes rigorous: each ensemble corresponds to a different Legendre representation of the same convex/concave thermodynamic potential.11.03.01The microcanonical ensemble defines the entropy from which the canonical and grand canonical potentials are derived by Legendre transform.11.03.02The grand canonical ensemble's equivalence to the canonical ensemble is established by the particle-number concentration argument, with fluctuations .11.04.01The canonical ensemble's partition function is the Laplace transform of the microcanonical density of states, and Laplace's method establishes equivalence.11.06.01Phase transitions correspond to singularities in the free energy ; at the critical point the concavity structure of changes, and the Yang-Lee zeros approach the real axis.11.07.01The renormalisation group studies how the free energy behaves under coarse-graining; ensemble equivalence ensures the RG flow is independent of the ensemble choice.37.07.02The large deviation principle provides the rigorous mathematical framework for ensemble equivalence, with the microcanonical entropy deficit as the rate function.
Historical and philosophical context Master
The equivalence of ensembles has its roots in Gibbs's 1902 Elementary Principles, where he introduced the canonical and grand canonical distributions as computational tools and noted that they should agree with the microcanonical distribution for macroscopic systems. Gibbs did not provide a rigorous proof; his argument was based on the sharpness of the energy distribution, which he demonstrated for specific examples. The key conceptual insight — that three different probability measures on phase space produce the same macroscopic thermodynamics — was present in embryonic form but lacked mathematical precision.
Einstein (1902--1904) independently developed statistical mechanics from the microcanonical perspective, computing fluctuations and noting the connection between entropy and probability. His 1910 paper on critical opalescence was an early application of fluctuation theory, showing that the fluctuation-dissipation relation connects ensemble fluctuations to thermodynamic response functions. Einstein's approach emphasised the probabilistic interpretation of entropy, which would later become central to the large-deviation formulation.
The rigorous mathematical treatment began with Van Hove (1949), who proved the existence of the thermodynamic limit for systems with short-range interactions. Van Hove's insight was that the free energy per particle has a well-defined limit as the system size goes to infinity, because surface effects (which depend on the boundary) become negligible compared to bulk effects (which scale with the volume).
Ruelle's Statistical Mechanics: Rigorous Results (1969) established the modern framework. Ruelle proved that the thermodynamic limit of the entropy density exists and is concave for stable, tempered potentials, and that the Legendre transform connects the ensembles. His proof uses subadditivity: the entropy of a composite system is at least the sum of the entropies of its parts (minus an interfacial correction), and Fekete's lemma then guarantees the existence of the limit.
Lanford's 1973 lectures on entropy and equilibrium states deepened the connection to the variational principles of thermodynamics. Lanford showed that the canonical ensemble can be characterised as the unique probability measure that maximises entropy subject to a constraint on the expected energy — a variational characterisation that generalises to infinite-dimensional systems (Gibbs measures on lattices and Gibbsian random fields).
The large deviation perspective was developed by Varadhan (1966, 1984) and applied to statistical mechanics by Lanford, Ruelle, and Ellis. The key insight is that the microcanonical entropy is the large deviation rate function for the energy density, and the canonical ensemble is the exponential tilting that makes the most likely energy density coincide with the saddle point. Ellis's Entropy, Large Deviations, and Statistical Mechanics (1985) is the standard reference.
The breakdown of equivalence for long-range systems was studied by Thirring (1970), who showed that self-gravitating systems can have negative specific heat in the microcanonical ensemble but not in the canonical ensemble — the two ensembles give qualitatively different predictions. The mathematical conditions for equivalence versus non-equivalence were crystallised by Ellis, Haven, and Turkington (2000), who proved that equivalence holds if and only if the microcanonical entropy is concave, and that non-concave entropy leads to inequivalent ensembles with distinct phase structures.
Bibliography Master
@book{gibbs1902,
author = {Gibbs, J. Willard},
title = {Elementary Principles in Statistical Mechanics},
publisher = {Yale University Press},
year = {1902}
}
@book{reif1965,
author = {Reif, Frederick},
title = {Fundamentals of Statistical and Thermal Physics},
publisher = {McGraw-Hill},
year = {1965}
}
@book{pathria-beale2011,
author = {Pathria, R. K. and Beale, Paul D.},
title = {Statistical Mechanics},
edition = {3rd},
publisher = {Academic Press},
year = {2011}
}
@book{kardar2007,
author = {Kardar, Mehran},
title = {Statistical Physics of Particles},
publisher = {Cambridge University Press},
year = {2007}
}
@book{ruelle1969,
author = {Ruelle, David},
title = {Statistical Mechanics: Rigorous Results},
publisher = {W. A. Benjamin},
year = {1969}
}
@incollection{lanford1973,
author = {Lanford, Oscar E.},
title = {Entropy and Equilibrium States},
booktitle = {Lecture Notes in Physics},
volume = {20},
publisher = {Springer},
year = {1973}
}
@book{ellis1985,
author = {Ellis, Richard S.},
title = {Entropy, Large Deviations, and Statistical Mechanics},
publisher = {Springer-Verlag},
year = {1985}
}
@article{yang1952,
author = {Yang, C. N. and Lee, T. D.},
title = {Statistical Theory of Equations of State and Phase Transitions. {I}. Theory of Condensation},
journal = {Physical Review},
volume = {87},
pages = {404--409},
year = {1952}
}
@article{lee1952,
author = {Lee, T. D. and Yang, C. N.},
title = {Statistical Theory of Equations of State and Phase Transitions. {II}. Lattice Gas and Ising Model},
journal = {Physical Review},
volume = {87},
pages = {410--419},
year = {1952}
}
@article{thirring1970,
author = {Thirring, Walter},
title = {Systems with Negative Specific Heat},
journal = {Zeitschrift f\"ur Physik},
volume = {235},
pages = {339--352},
year = {1970}
}
@article{ellis-haven-turkington2000,
author = {Ellis, Richard S. and Haven, Kyle and Turkington, Bruce},
title = {Large Deviation Principles and Complete Equivalence and Nonequivalence Results for Pure and Mixed Ensembles},
journal = {Journal of Statistical Physics},
volume = {101},
pages = {999--1064},
year = {2000}
}
@book{schroeder2000,
author = {Schroeder, Daniel V.},
title = {An Introduction to Thermal Physics},
publisher = {Addison-Wesley},
year = {2000}
}