Equivalence and Distinction of Boltzmann and Gibbs Entropies
Two men have their names on the entropy of statistical mechanics, and if you look closely they wrote down genuinely different formulas. Boltzmann's entropy is assigned to a single macrostate: it is the logarithm of the number of microstates compatible with that macrostate, . Gibbs entropy, by contrast, is assigned to a probability distribution over microstates, regardless of whether those microstates belong to one macrostate or many. One counts a set; the other averages over a cloud. They are not obviously the same object — so why does every textbook use "the entropy" as if there were only one? Because for a macroscopic system they agree to breathtaking accuracy. The number of microstates grows so violently with energy that the equilibrium macrostate crushes every competitor exponentially in ; the equilibrium ensemble is, for counting purposes, a single spike. When the probability distribution is overwhelmingly concentrated on the equilibrium macrostate, the Gibbs entropy reproduces the Boltzmann entropy up to a correction of order , negligible compared with the extensive entropy . This article proves that agreement, on a paramagnet you can hold in your hand, and shows the gap shrinking as . But an equivalence that holds to order is a warning as much as a reassurance: the two entropies come apart exactly where is small, where forces are long-ranged, or where you ask a dynamical question. The fine-grained Gibbs entropy never changes under Hamiltonian flow — Liouville forbids it — so it cannot be the entropy that rises in the second law. And the choice between counting a thin energy shell (Boltzmann) or the whole volume below (Gibbs's "volume entropy") decides whether negative absolute temperatures are real. Knowing when Boltzmann equals Gibbs, and precisely when it does not, is knowing where statistical mechanics is safe.
- Boltzmann entropy scores a single macrostate by its microstate count; Gibbs entropy scores a whole distribution over microstates.
- On the microcanonical distribution () they are exactly equal; that identity is owned by neighbouring articles and only recalled here.
- For a macroscopic system in equilibrium the two agree up to an absolute error of order , i.e. a relative error of order — the entropic face of ensemble equivalence.
- The gap is real and computable: on an -spin paramagnet the exact microcanonical and the canonical differ by , a correction demonstrated numerically here.
- They genuinely diverge for small , long-range forces, non-concave , and the fine-grained-vs-coarse-grained distinction that drives the second law.
- Key idea: Boltzmann and Gibbs entropies are two different functionals that coincide to order because the equilibrium macrostate dominates the count exponentially — so they agree for thermodynamics but part ways for small systems and for dynamics.
The Boltzmann entropy of the equilibrium macrostate and the Gibbs entropy of the equilibrium ensemble differ only by a term of order , negligible compared with the extensive entropy , because the equilibrium macrostate carries an overwhelmingly large fraction of the total probability. Where that peaking fails (small , long range, dynamics), the two entropies separate.
Where this lives today
The comparison is not a settled historical footnote — it is an active research front wherever systems are small or forces are long-ranged. Experiments on ultracold atoms in optical lattices have revived the debate over Boltzmann (surface) and Gibbs (volume) entropies for systems with bounded spectra. In such systems the two definitions can predict different signs for the absolute temperature, leading to an extended discussion about which entropy provides the thermodynamically consistent description. The stakes are practical: the two definitions predict different signs of heat flow for such systems. At the nanoscale finite-size entropy corrections of order can become experimentally relevant. Single-molecule and single-electron thermodynamics operate at of tens, where per-particle corrections of are measurable and where ensemble inequivalence — negative microcanonical specific heat in small clusters and in self-gravitating models — is observed rather than hypothesized. Recognizing that Boltzmann and Gibbs entropies differ only by subextensive corrections in macroscopic systems—but can differ measurably in finite systems—is essential for modern small-system thermodynamics.
The physical picture
Picture the whole ensemble as a cloud of probability draped over the accessible microstates. Gibbs entropy measures the uncertainty associated with the probability distribution over microstates, whereas Boltzmann entropy depends only on the number of microstates belonging to a given macrostate. At equilibrium the probability distribution is overwhelmingly concentrated on the equilibrium macrostate, so evaluating the Gibbs entropy and counting the equilibrium microstates produce the same thermodynamic entropy up to subextensive corrections. This is why the two names are often used interchangeably in equilibrium statistical mechanics. The reason the cloud is a spike is the violence of the counting. The density of microstates grows exponentially with system size, while the Boltzmann factor suppresses high energies. Their competition produces a sharply peaked probability distribution centred on the equilibrium energy. The figure shows this for a paramagnet: the microcanonical picture (a flat plateau of equally-weighted microstates) and the canonical picture (a Gaussian-sharp distribution over energy) return entropies that sit on top of each other.
Now the payoff — the actual size of the disagreement, plotted. On a two-level paramagnet the exact microcanonical entropy per spin and the canonical entropy per spin can both be computed in closed form, and their difference is a pure effect. Divide it by and watch it die:
The lesson of the second figure is the whole article in one curve: the two entropies never agree exactly for finite , but their per-particle difference falls like , so by the time is Avogadro-sized the distinction is and utterly unmeasurable. For a nanomagnet of ten spins, though, the per spin gap is real physics.
The core equations
Start from the two definitions, stated so their different natures are visible. The Boltzmann entropy assigns a number to a macrostate through the number of compatible microstates; it presupposes equal a priori weighting of the microstates it counts:
where: — Boltzmann (surface) entropy; — the number of microstates on the energy shell , owned and derived in Boltzmann Entropy; (exact, 2019 SI). This is a function of the macrostate alone — no probability distribution appears. The Gibbs entropy takes a distribution and returns a number; it is defined for any ensemble, in or out of equilibrium:
where: — Gibbs entropy; — probability of microstate ; the sum runs over all microstates, derived and owned in Gibbs Entropy. Read it as the probability-weighted average of the information content ; broad distributions score high, sharp ones score low. On the microcanonical distribution the two collapse into one. Setting on the accessible microstates and zero elsewhere:
where: the collapse is exact, not asymptotic — it is the identity that lets us speak of a single entropy for an isolated system. This equality is proved in Gibbs Entropy and Equal A Priori Probabilities; here it is the anchor from which the interesting inequivalence is measured. The substantive comparison is between the canonical Gibbs entropy and the microcanonical Boltzmann entropy — two different ensembles for the same physical system. The connection between the canonical and microcanonical descriptions follows from the thermodynamic relation obtained by evaluating the partition function in the thermodynamic limit:
where: — Helmholtz free energy; — canonical partition function; . The Laplace/saddle-point evaluation of is dominated by the energy where , tying the canonical entropy back to . Carrying the saddle-point Carrying the saddle-point expansion to the next order yields the leading finite-size correction, which determines both the magnitude and the sign of the difference between the two entropies:
where: is the constant-volume heat capacity. Since for an extensive system, the correction is of order , so while the relative difference scales as . Thus the two entropies become equivalent in the thermodynamic limit even though they differ by a finite-size correction. Finally the volume entropy, Gibbs's alternative to the surface entropy, counts everything below rather than a shell at :
where: — the phase-space volume enclosed by the energy surface; agrees with to for normal systems but differs in sign of for systems with a bounded spectrum — the root of the negative-temperature debate.
This is the article's owned structural result: for the two-level paramagnet, both entropies are known in closed form, and their difference is exactly a term — no hand-waving, no unspecified "corrections." We compute the microcanonical (Boltzmann) entropy from the exact binomial multiplicity, the canonical (Gibbs) entropy from the exact partition function, match them at equal mean energy, and read off the gap. The point is to turn "equivalence up to " from a slogan into a formula you can evaluate at and and watch converge.
Step 1. Count the macrostate. With non-interacting two-level spins ( or ), a macrostate of excited spins has multiplicity , so the Boltzmann entropy per spin is . Why: the macrostate fixes only the number excited; the microstates correspond to the different choices of which spins are excited, a binomial coefficient — this is the counting owned by Counting and Combinatorics of Microstates.
Step 2. Apply Stirling to leading order only, with . The bracket is the binary entropy ; the discarded piece is . Why: the extensive part is the physics; the remainder is precisely the term we are hunting — we keep track of it rather than dropping it (that tracking is owned by The Stirling Approximation).
Step 3. Now the canonical route. The single-spin partition function is , so and the Gibbs entropy is with the mean excitation fraction. Written in , exactly — the leading binary-entropy term, with no piece. Why: the canonical ensemble sums over all energies with smooth weights, so its entropy is a clean per-spin function; the factorial's finite-size tail simply never enters.
Step 4. Match at equal mean energy ( in both) and subtract. The difference is entirely the term Stirling left behind:
Why: the extensive pieces cancel identically, leaving a pure correction. Its relative size is : equivalence. Its absolute size is a fraction of per system — real for a nanomagnet, invisible for a mole. Note the sign: the surface (Boltzmann) entropy sits below the canonical Gibbs entropy by this half-log, because the shell is a slice of the fluctuating canonical distribution. *The exact vs comparison and the gap have been evaluated at ; the per-particle gap falls as in each case.*
Go deeper · Derivation B · 1 minWhy the fine-grained Gibbs entropy cannot be the second-law entropy
The most important distinction between the two entropies is dynamical, and it is a theorem, not a subtlety: under exact Hamiltonian evolution the Gibbs entropy of the full phase-space density is a constant of the motion. It literally cannot increase. Any entropy that rises toward equilibrium — the thermodynamic one — must therefore be a coarse-grained object, not the fine-grained Gibbs functional. This derivation establishes the constancy and names what has to give.
Step 1. Write the Gibbs entropy of a continuous density, , and evolve by the Liouville equation . Why: the ensemble is now a smooth density on phase space, transported by the exact flow — the setting owned by Liouville's Theorem and Liouville Equation.
Step 2. The flow is measure-preserving: because the Jacobian of Hamiltonian flow is (Liouville). Along a trajectory is constant, . Why: this is exactly the incompressibility proved in Liouville's Theorem; probability rides the flow like an incompressible fluid.
Step 3. Therefore is time-independent: change variables to the initial coordinates, unit Jacobian, and the integral is frozen. . Why: any functional of that integrates over phase space is conserved when is merely relabelled by a volume-preserving map — the values of are shuffled around, never changed.
Step 4. The entropy that increases in macroscopic thermodynamics is not the fine-grained Gibbs entropy , but a coarse-grained entropy obtained by replacing with a locally averaged density . Coarse-graining removes fine phase-space filaments generated by Hamiltonian evolution, and Jensen's inequality implies . Thus the apparent entropy increase reflects the loss of microscopic resolution rather than a change in the exact Gibbs entropy. The detailed connection to irreversibility is developed in the article on the statistical origin of the second law.
Limiting cases
| Case | Result | Meaning |
|---|---|---|
| Microcanonical distribution | exactly | on equal-weight microstates the Gibbs functional collapses to the Boltzmann count — no gap at all |
| Macroscopic equilibrium, | , relative | ensemble equivalence: the two entropies agree per particle in the thermodynamic limit |
| Small (nanomagnet, cluster) | gap per system, non-negligible | the correction is real physics; ensembles are measurably inequivalent |
| Bounded spectrum, non-monotone | (volume) and (surface) disagree on | the Boltzmann-vs-Gibbs temperature controversy: whether is admissible |
| Long-range forces / first-order transition | non-concave; ensembles inequivalent even as | negative microcanonical specific heat; canonical ensemble cannot see it |
Worked examples
1 · The actual size of the gap for a ten-spin nanomagnet (real number)
Take non-interacting spins at the maximum-entropy point . Compute the exact microcanonical Boltzmann entropy per spin from Eq. (1), the canonical Gibbs entropy per spin from the binary entropy, and compare the two. Then repeat at to see the collapse.
Step 1. Exact microcanonical count at : , so , i.e. and per spin.
Step 2. Canonical entropy per spin at is the binary entropy , so per spin.
Step 3. The gap per spin is . Compare this exact finite-size difference with the asymptotic prediction — agreement to a percent, the small residue being the Stirling tail. At ten spins the two entropies differ by about per spin — a fifth of .
Step 4. Now : the predicted per-spin gap is . The distinction that was a fifth of at ten spins is seven parts per million at a million — and at a mole. For macroscopic systems the remaining difference is utterly negligible, so the two entropies are thermodynamically equivalent.
2 · Surface versus volume entropy for an ideal gas (exam level)
For a monatomic ideal gas, (volume below ) and (surface). Show the surface entropy and the volume entropy differ only at order , and that both give the same temperature to leading order.
Step 1. Volume entropy: . Its temperature: , so — the equipartition result exactly.
Step 2. Surface entropy: . The two logs of differ by one unit of — i.e. by , an piece against the entropy.
Step 3. Difference: once is inserted (so ). The two definitions of "the entropy of the ideal gas" differ by a term — exactly the size found for the paramagnet, and negligible per particle.
Step 4. Temperatures: versus ; the fractional difference is . For a normal (monotone-) system the choice is immaterial. It becomes decisive only for a bounded spectrum, where turns over and can go negative while stays positive — the crux of the negative-temperature dispute.
Origins · 1 minEdwin Thompson Jaynes and how this was discovered
Jaynes reframed the whole Boltzmann–Gibbs question as one about information. In two 1957 papers he showed that the Gibbs entropy is not a physical assumption at all but the least-biased distribution consistent with known constraints — maximize it subject to fixed and out drops the canonical ensemble; fix nothing but normalization and you get the microcanonical uniform distribution, recovering Boltzmann. From this angle the equivalence of the two entropies is the statement that, for a macroscopic system, the constraints pin the distribution so tightly that "count the microstates" and "maximize the information entropy" give the same answer. Jaynes was equally sharp on the distinctions: he stressed that the fine-grained Gibbs entropy is conserved by Liouville flow and that the second law's increase is a coarse-graining effect — the stirred-ink picture made rigorous. His maximum-entropy principle is now a standard tool far beyond physics, in image reconstruction, spectral analysis, and machine learning.
Going further
Texts. Pathria & Beale, Statistical Mechanics, 3rd ed., §1.4, §3.7 (fluctuations and ensemble equivalence) · Kardar, Statistical Physics of Particles, §4.4–4.6 · Sethna, Statistical Mechanics: Entropy, Order Parameters, and Complexity, Ch. 3, 5 · Gibbs, Elementary Principles in Statistical Mechanics (1902), Ch. XI–XIV · Jaynes, "Information Theory and Statistical Mechanics" (Phys. Rev. 106, 620; 1957) and "Gibbs vs Boltzmann Entropies" (Am. J. Phys. 33, 391; 1965). Key results to keep in view: the exact identity ; the paramagnet gap , evaluated at ; the worked numbers (, , , gap vs prediction at ; at ); the ideal-gas scalings , , and the resulting surface–volume gap; and the Liouville-invariance of . The only fundamental constant entering is (exact, 2019 SI).
Prerequisites. Boltzmann Entropy · Gibbs Entropy · Statistical Ensembles · Microstates and Macrostates · Liouville's Theorem · Fundamental Postulate of Equal A Priori Probabilities. Leads to. Ergodic Theory and Mixing · Accessible Phase Space and Energy Shells · The Ergodic Hypothesis.
If they agree so well, why keep both entropies at all? Isn't one redundant?
Because they answer different questions and only one generalizes. The Boltzmann entropy is defined for a single macrostate of an isolated system; it says nothing about a system in a heat bath, out of equilibrium, or driven. The Gibbs entropy is defined for any probability distribution, so it is the one that survives into the canonical ensemble, non-equilibrium steady states, and information theory. For an isolated macroscopic system in equilibrium they coincide, so you use whichever is easier — usually Boltzmann's count. Everywhere else, Gibbs's functional is the general object and Boltzmann's is the special case.
The article says the gap is "order ln N." Where does the ln N actually come from?
From the finite-size tail of Stirling's approximation. The extensive part of is times the binary entropy — that piece agrees exactly with the canonical result. But Stirling has a next term, , coming from . That half-log is the whole gap. It reflects the difference between a thin energy shell (Boltzmann) and the full fluctuating distribution over energy (canonical Gibbs): the shell is one slice of a Gaussian of width , and slicing costs you a .
Is the sign of S_B − S_G physically meaningful, or just bookkeeping?
It is meaningful but tiny. The surface (Boltzmann) entropy sits below the canonical Gibbs entropy by , because the microcanonical shell corresponds to a single energy while the canonical ensemble spreads over a band of width — extra spread means extra entropy. For a macroscopic system this is a correction to an entropy and never affects thermodynamics. For a small system it shifts computed free energies and heat capacities at the percent level, which is exactly why nanoscale thermodynamics has to specify which ensemble it means.
How can two "entropies" give different temperatures? Isn't temperature unique?
For normal matter it is — the surface and volume entropies give temperatures differing only at . The definitions part company only for systems with a bounded energy spectrum (spins, some cold-atom lattices), where the density of states rises, peaks, and falls. Past the peak , so the surface (Boltzmann) temperature goes negative, while the volume entropy keeps rising and its temperature stays positive. Which is "the" temperature is genuinely debated; the practical test is which one makes the second law and heat flow consistent, and that argument is still live.
Does coarse-graining make the increase of entropy subjective — dependent on how I choose the cells?
The amount of increase depends mildly on the cell size, but the fact of increase does not, and this is not a defect. Any partition into finite cells small compared to macroscopic scales gives a coarse-grained entropy that starts at the fine-grained value and rises to as mixing threads below the cell resolution. The endpoint — the equilibrium Boltzmann entropy — is cell-independent; only the transient depends on resolution. Physically, "coarse-graining" is just the statement that real instruments have finite resolution, so the entropy that rises is the one an actual observer can access.
Why does ensemble inequivalence survive the thermodynamic limit for long-range systems but not short-range ones?
Equivalence rests on the entropy density being concave. For short-range forces energy is additive and is concave, so the microcanonical and canonical descriptions share the same thermodynamics as . Long-range forces (gravity, unscreened Coulomb, mean-field magnets) make energy non-additive; can develop a convex intruder, and there the microcanonical ensemble shows negative specific heat that the canonical ensemble — which only ever sees the concave hull — cannot reproduce. The two ensembles then disagree about the phase diagram itself, no matter how large is.
Where does the Shannon entropy fit — is it a third entropy?
No — it is the Gibbs entropy wearing an information-theory hat. Shannon's (up to the choice of versus and a unit) is identical to the Gibbs functional. That is why erasing information has a thermodynamic cost (Landauer's ) and why Jaynes could rebuild statistical mechanics as inference. So the landscape is really two entropies, not three: Boltzmann's count of a macrostate, and the Gibbs/Shannon functional of a distribution — the same object whether you call its argument a probability or an information weight.