Statistical vs Thermodynamic Entropy
Melt an ice cube and its entropy rises. Thermodynamics tells you how much, from heat and temperature. It never tells you why the liquid is more disordered at the molecular level. Ludwig Boltzmann answered that question. He connected the macroscopic entropy of classical thermodynamics to the number of microscopic arrangements consistent with a given macroscopic state. This bridge, carved on his tombstone in Vienna as , is one of the most consequential equations in science. This article builds the Boltzmann relation from the ground up. You will see what actually counts. Then you will connect it to the Clausius definition of entropy. Finally you will apply it to real numbers, including residual entropy in crystals, and see where the analogy to "disorder" breaks down.
- Boltzmann entropy: , where is the number of microstates consistent with a given macrostate.
- Thermodynamic (Clausius) entropy is defined from heat and temperature: .
- The two definitions agree numerically and conceptually; statistical mechanics explains why the thermodynamic laws hold.
- Larger means more ways to arrange energy and particles, so entropy measures multiplicity, not literal "messiness."
- Boltzmann's constant converts a dimensionless count into joules per kelvin.
- Key idea: entropy is a measure of the number of equivalent microscopic ways a system can realize one observable macroscopic state.
Entropy is not a substance or a measure of chaos; it is , a precise count (via Boltzmann's constant) of how many indistinguishable microscopic configurations produce the same macroscopic description, so that systems evolve toward the macrostate that can be realized in overwhelmingly more ways.
The physical picture
Consider a macroscopic sample: a mole of gas, a crystal, a beaker of solution. Thermodynamics describes it with a handful of variables — , , , — the macrostate. But at any instant the system also has a precise microscopic configuration: which atom has which position and momentum, which spin points which way. This is the microstate. Enormously many microstates correspond to the same macrostate, because swapping the labels on two identical, indistinguishable gas molecules with the same speeds changes nothing observable. Boltzmann's insight was that the macroscopic property we call entropy is proportional to the logarithm of , the number of microstates compatible with a given macrostate. A gas confined to half a box has far fewer accessible microstates than the same gas free to roam the whole box — after all, every molecule's position is restricted. When the partition is removed, the number of accessible microstates increases enormously, so increases, and so does . Nothing has to be "pushed" toward disorder; the system simply spends essentially all its time in whichever macrostate has overwhelmingly the largest , because that macrostate is so much more probable. The word "disorder" is only a loose metaphor. What is really being counted is multiplicity: the number of distinguishable ways of distributing energy quanta, positions, or orientations among the particles while keeping the total energy, volume, and particle number fixed. A perfect crystal at absolute zero, with every atom in one unique ground-state arrangement, has and therefore — this is the microscopic content of the Third Law, developed fully in the next article.
The core relations
where is Boltzmann's constant (1.381 × 10⁻²³ J K⁻¹) and is the number of microstates for the given macrostate.
where is heat absorbed reversibly at temperature ; this is the Clausius (thermodynamic) definition.
where are mole fractions of ideal gases mixed at constant ; this is the entropy of mixing recovered from statistical counting.
where is the number of energetically equivalent ground-state arrangements per mole, giving residual entropy when .
Goal. Show that the statistical definition reproduces the known thermodynamic result for mixing two ideal gases, confirming the two definitions describe the same physical quantity.
Step 1. Set up the counting problem. Take molecules of gas A and molecules of gas B, each initially confined to its own container of volume , then combined into a shared volume at the same temperature and pressure. Before mixing, each gas occupies its own volume; after mixing, both gases share the full volume .
Step 2. Relate volume accessible to number of microstates. For an ideal gas, the number of positional microstates available to molecules in volume scales as (each molecule's position can be assigned independently across the volume, to good approximation at low density). Expanding one component's accessible volume from to therefore multiplies its by .
Step 3. Write the entropy change for each component. Using ,
and similarly for gas B expanding into the shared volume.
Step 4. Generalize to arbitrary mole fractions. If instead of a 1:1 split the final mixture has mole fraction and with , each gas expands from its own partial volume into the full , giving a factor rather than :
Step 5. Sum over components and convert to molar quantities. Summing over all species and using (since per mole, with Avogadro's number):
This is exactly the thermodynamic entropy of mixing derived earlier from the ideal-gas free energy — obtained here purely by counting microscopic spatial arrangements.
Worked examples
Example 1 — Counting microstates for a tiny spin system. Consider 4 non-interacting magnetic dipoles, each either "up" or "down," with no external field (all arrangements have equal energy, so all are equally probable microstates of one macrostate: total system, unconstrained). Total number of microstates:
Boltzmann entropy of this macrostate:
Now restrict to the macrostate "exactly 2 up, 2 down." The number of ways to choose which 2 of the 4 spins are up is
Sanity check: , so , as expected — restricting to a specific balanced macrostate excludes some microstates (like all-up or all-down) and lowers the count, even though "2 up, 2 down" is actually the single most probable outcome among all possible up/down counts for 4 spins. This distinction — most probable individual outcome versus total count over all outcomes — is exactly why real systems (with spins) show such sharply peaked, reproducible macroscopic behavior: the most probable distribution utterly dominates the sum over all distributions.
Example 2 — Residual entropy of carbon monoxide, comparing statistical and calorimetric values. Solid CO has a small third-law "residual entropy" because the nearly symmetric CO molecule can sit in a crystal site as CO or OC with almost equal energy, so the crystal freezes in with essentially random orientation rather than achieving a unique order at absolute zero.
Statistical prediction. If each of the molecules in one mole has 2 equally likely orientations, independent of its neighbors,
Experimental comparison. The calorimetric (third-law) entropy of CO obtained by integrating from near 0 K up to the gas phase, and comparing with the entropy computed independently from spectroscopic/statistical thermodynamic data (which assumes perfect order at ), shows a discrepancy of about
Sanity check: the observed residual entropy (≈4.6 J K⁻¹ mol⁻¹) is smaller than the naive J K⁻¹ mol⁻¹ predicted for fully random, independent orientation, because real CO crystals have some residual short-range correlation between neighboring dipoles that slightly reduces the true count of accessible microstates below . The order of magnitude and the very existence of a nonzero residual entropy, however, is exactly what the simple two-orientation counting model predicts — a clean, checkable link between and calorimetry.
Limiting cases & common traps
| Situation | What happens | Why |
|---|---|---|
| Perfect crystal at K | , so | Only one unique ground-state arrangement is accessible |
| Gas expanding into vacuum | increases sharply | Vastly more positional microstates become available |
| Frozen-in molecular disorder (CO, ice) | Orientational choices get "locked in" before equilibrating, so | |
| Very large | Most probable macrostate totally dominates | Multiplicities peak so sharply that fluctuations are unobservable |
| Comparing for two states | Only matters | Absolute is uncomputable for macroscopic systems; ratios are what count |
The chemist behind it
Ludwig Boltzmann spent much of his career defending the atomic hypothesis against skeptical contemporaries (notably Ernst Mach and the energeticists) who doubted that atoms were real, physical entities rather than convenient bookkeeping devices. His statistical interpretation of entropy, developed through the 1870s–1890s, required accepting that gases really are collections of discrete, countable particles whose arrangements could, in principle, be enumerated. The formula (the constant was named in his honor by Max Planck, who first wrote the relation in this precise form) turned the abstract, purely macroscopic entropy of Clausius into something with a concrete, calculable microscopic meaning. Boltzmann did not live to see atomic theory fully vindicated by Einstein's and Perrin's work on Brownian motion; he died in 1906, and the equation is engraved on his gravestone in Vienna's Zentralfriedhof.
Origins · 1 minLudwig Boltzmann and how this was discovered
Ask the tutor: How does the Third Law reconcile perfect crystals with real substances that keep a nonzero residual entropy down to absolute zero?
Is W literally a number you can compute for a real sample of gas
In principle yes, in practice no. for a mole of gas is astronomically large — of order or larger — far beyond any numerical computation or even meaningful comparison to familiar numbers. What matters physically is never the absolute value of , but the ratio between two states, since is what's measurable and what appears in every thermodynamic calculation. Statistical mechanics gives formulas (partition functions) for computing these ratios without ever evaluating itself.
Does S = k ln W apply only to isolated systems
The simplest form, with counted at fixed total energy, applies to an isolated system (the microcanonical ensemble). For systems in thermal contact with a bath at temperature (the canonical ensemble), entropy is instead computed from the partition function , via for a single particle or the corresponding molar expression. These are equivalent, consistent formulations; the microcanonical picture is simply the most transparent way to first introduce the logic of .
How does this connect to the Third Law of Thermodynamics
The Third Law states that the entropy of a perfect crystal approaches zero as K. Statistically this is because a perfect, defect-free crystal in its unique lowest-energy configuration has exactly one accessible microstate, so and . Real crystals sometimes retain small residual entropies (like CO or ice) because some disorder gets kinetically trapped before the system can fully order — this is explored in depth in the dedicated Third Law article.
Why is entropy of mixing always positive for distinguishable gases
Because combining two initially separated gases strictly increases the number of accessible positional microstates: molecules of each species now have access to the entire combined volume rather than just their original share. Since for any mole fraction , every term is positive, so for any nontrivial mixture. This holds regardless of whether the gases interact, as long as they are genuinely distinguishable species.