Boltzmann Entropy
Carve a single equation onto a tombstone and you have chosen the one idea you want to outlast you. Ludwig Boltzmann's headstone in Vienna reads , and it is the most consequential three-symbol claim in physics: that the entropy of a chunk of matter is nothing but the logarithm of the number of ways its atoms can be arranged to look the same from the outside. Heat, the arrow of time, the impossibility of un-scrambling an egg — all of it reduces to counting. The number being counted is , the multiplicity: how many microscopic configurations (microstates) are compatible with the macroscopic facts you can measure — energy , volume , particle number . A gas in a box has an astronomically larger when spread uniformly than when crowded into one corner, and Boltzmann's relation says the uniform state therefore has more entropy. Equilibrium is simply the macrostate with the most microstates, and the second law is the statement that a system drifts toward it because there is overwhelmingly more room there. Why a logarithm? Because entropy must add when you place two systems side by side, while their microstate counts multiply — and the logarithm is the unique function that turns products into sums. That single requirement forces the form of the equation; we will prove it below as this article's owned result. The prefactor is pure units — it calibrates counting to the historical Kelvin scale so that reproduces Clausius. Master this one relation and all of equilibrium thermodynamics follows by differentiating .
- The Boltzmann entropy assigns to a macrostate the logarithm of its multiplicity: , converting a microstate count into a thermodynamic potential.
- counts the accessible microstates on the energy shell; for a classical continuum it is a phase-space volume divided by (to be dimensionless) and (for indistinguishability).
- The logarithm is forced, not chosen: independent systems have but entropy must be additive, and only turns products into sums.
- All of equilibrium thermodynamics comes from derivatives of : , , .
- Because , entropy is sharply maximized at equilibrium — this is the microscopic content of the second law.
- Key idea: entropy counts. It is times the log of how many microscopic ways a macrostate can be realized, and maximizing that count selects equilibrium and yields all of thermodynamics by differentiation.
Entropy counts. The Boltzmann relation says the entropy of a macrostate is times the natural logarithm of the number of microstates that realize it. Maximizing that count — equivalently maximizing — selects the equilibrium macrostate and delivers every thermodynamic relation as a derivative of .
Where this lives today
Boltzmann's relation is the load-bearing beam of modern computational science. A Monte Carlo simulation of a spin lattice or a protein does not compute by brute enumeration — that is hopeless — but algorithms such as Wang–Landau and nested sampling estimate the density of states directly, to many digits, for systems no one can solve by hand. Every reported entropy of a materials-science or biophysics simulation is, under the hood, a numerical evaluation of . The relation also anchors the physics of the very cold and the very informational. Adiabatic demagnetization cools paramagnetic salts to sub-kelvin temperatures by manipulating the spin entropy at constant total ; and Landauer's principle — that erasing one bit collapses two microstates into one and must dissipate at least — is Boltzmann's counting applied to information, now measured directly in single-electron and colloidal experiments. Wherever "number of ways" matters, is the accounting.
The physical picture
Toss coins and ask for the number of heads. The outcome "half heads" is realized by a colossal number of individual head/tail sequences, while "all heads" is realized by exactly one. The Boltzmann entropy measures the size of that realization set on a logarithmic scale: the macrostate with the most sequences is the one you almost always see. Nothing about any single sequence is preferred — the majority macrostate simply owns far more of them. The logarithm is the bookkeeping trick that makes this into thermodynamics. Two isolated boxes with and microstates form a joint system with microstates, because any configuration of one pairs with any of the other. We insist entropy add like energy, so we take the log, turning the product into a sum. The figure below shows why this taming matters: itself is unwriteable, but is a sane, extensive .
Because grows like for particles, is a mountain with exponentially steep slopes: a fractional shift of order in energy or density corresponds to a relative change in of order . That is why thermodynamics — the science of the single most probable macrostate — is reproducible to the last decimal. The next figure makes the sharpness visible for a two-box gas, where the equilibrium macrostate is a needle whose relative width collapses as .
The point the second figure makes is the whole of the subject in one image: the equilibrium macrostate is not a delicate balance but a summit, and its dominance over every competitor grows exponentially with . That is why the second law feels absolute even though the underlying dynamics is perfectly reversible.
The core equations
The central definition ties a thermodynamic quantity to a pure count. It is deceptively short, but every symbol carries weight, and the rest of statistical mechanics is its consequences.
where: — thermodynamic entropy of the macrostate; (exact, 2019 SI); — number of microstates (or dimensionless phase-space volume) compatible with the macrostate. Read it as a bridge: the left side is measured with a thermometer and a calorimeter, the right side is combinatorics. For a classical system, microstates form a continuum, so is a phase-space volume — but a raw volume has dimensions and overcounts identical particles. Two corrections fix this and turn the volume into a legitimate count.
where: — the Hamiltonian; — the volume of one quantum phase-space cell, making dimensionless; — the Gibbs factor for indistinguishable particles; — a thin shell width that affects only at . Omit the and entropy stops being extensive — that omission is the Gibbs paradox, so these factors are physics, not decoration. Every equilibrium thermodynamic relation is now a partial derivative of the single function . This is the payoff: no separate laws for temperature, pressure, and chemical potential — all three are slopes of the entropy surface.
where: — absolute temperature; — pressure; — chemical potential. Two systems in thermal contact reach equilibrium when these slopes match, which is exactly the condition . The reason the definition uses rather than is the additivity requirement, expressed as an equivalence. Independent subsystems multiply their counts; entropy must add.
where: — microstate counts of two statistically independent subsystems. The double arrow is the seed of the functional-equation derivation below: demanding the left side while the right side holds forces . Evaluating for the monatomic ideal gas and taking its log gives the first concrete, measurable entropy — the Sackur–Tetrode formula. It is the acid test that the counting recipe reproduces laboratory numbers.
where: — mass of one particle; — internal energy; — volume per particle. The appearance of rather than is the visible fingerprint of the factor: it is what makes scale linearly with system size. Finally, the reliability of thermodynamics: relative fluctuations of extensive quantities are tiny, so the most probable macrostate is the observed one.
where: — energy fluctuation about the mean. For a mole this is , far below any instrument — the entropy maximum is a needle.
This is the article's owned result. We prove that additivity alone — the single physical demand that the entropy of independent systems add while their multiplicities multiply — forces the entropy to be a constant times , with no freedom left except the units. The argument is Cauchy's functional equation: write , impose , and show the only continuous solution is . Nothing about temperature or energy is used; the logarithm is pure combinatorial necessity, which is why the same functional form appears in information theory.
Step 1. Suppose entropy is some function of the multiplicity, , the same function for every system. For two independent subsystems the joint multiplicity is , since each microstate of system 1 pairs with each of system 2. Why: independence means the configurations combine freely, so the counts multiply — this is the combinatorial input.
Step 2. Extensivity of thermodynamic entropy demands for all positive . Why: this is Cauchy's multiplicative-to-additive functional equation, the mathematical heart of the whole argument.
Step 3. Differentiate with respect to holding fixed: . Now set to get , a constant. Why: evaluating at collapses the two-variable relation into a first-order ODE for , and the constant becomes Boltzmann's constant.
Step 4. Solve by integration:
The boundary condition — a unique microstate carries zero entropy — fixes , giving uniquely. Why: the constant of integration is pinned by the physical fact that a system with only one accessible microstate is perfectly ordered, so no other form survives. *Verified: Cauchy's equation with continuity has the unique solution ; the ODE, the integration, and the boundary condition are checked symbolically in verify_aq-sm-boltzmann-entropy.py. Cf. Reif §3.3, Pathria §1.2.*
Go deeper · Derivation B · 1 minTemperature and the second law from entropy maximization
Here we show that Boltzmann's definition, applied to two systems free to exchange energy, produces the entire notion of thermal equilibrium: the most probable energy split maximizes total entropy, the sharing condition is , and identifying this common slope with makes "equal temperature" synonymous with "maximum entropy." Stability of the maximum then demands positive heat capacity. This is where counting becomes thermometry.
Step 1. Isolate a total system with fixed energy and total multiplicity , so . Why: energy conservation ties the two subsystem energies together, leaving as the single variable to optimize.
Step 2. The most probable partition maximizes because is overwhelmingly peaked. Setting gives . Why: the extremum condition equates the two entropy slopes — the flow of energy stops when neither side can raise the total count by taking more.
Step 3. Define . Then equilibrium reads
Why: this makes the abstract "equal slopes" concrete — it is the ordinary statement that heat flows until temperatures equalize, and it reproduces the Clausius scale.
Step 4. For a genuine maximum we need , which is exactly — thermodynamic stability. Why: a negative second derivative guarantees the peak is a true maximum, and translated into response functions it forbids negative heat capacity for stable matter. *Verified: reproduces the microcanonical derivation in Reif §3.3 and Kardar Ch. 4; the second-derivative stability condition is checked against the ideal-gas in the verify script.*
Limiting cases
| Case | Result | Meaning |
|---|---|---|
| Single microstate () | a perfectly ordered, unique ground state has zero entropy — the statistical content of the third law | |
| Thermodynamic limit () | entropy becomes exactly extensive; shell-width and surface-vs-volume ambiguities are subleading and drop per particle | |
| Equal probabilities | the Gibbs entropy collapses to the Boltzmann form when every accessible microstate is equally likely (the microcanonical case) | |
| Two-level system, | maximum entropy when both levels are equally populated; a bounded state space gives a finite, saturating entropy |
Worked examples
1 · Entropy of a small spin system, counted by hand (confidence builder)
A row of four independent spin-½ magnetic moments sits in a field. Enumerate the microstates, find the multiplicity of each macrostate (labelled by the number of up-spins ), and compute the Boltzmann entropy of the maximum-multiplicity macrostate.
Step 1. Each spin is independently up or down, so the total number of microstates is . A microstate is a full list like ; the macrostate records only , the number of ups.
Step 2. Multiplicities : . Check the total: ✓. The balanced macrostate owns of all microstates.
Step 3. Boltzmann entropy of the macrostate: . The fully aligned macrostate has .
Step 4. The message: entropy is literally a count. The balanced macrostate has the most microstates and hence the most entropy, and the aligned state has zero — no scaling, no calculus, just of a binomial coefficient. Everything larger is the same arithmetic with astronomically bigger numbers.
2 · Sackur–Tetrode entropy of argon at STP (exam level)
Compute the molar entropy of argon gas () at , , using Eq. (5), and confirm it is extensive and matches the tabulated value .
Step 1. Anchor the numbers: one mole is , occupying , with . The per-particle volume is .
Step 2. The thermal factor inside the log: . Raised to the : .
Step 3. The argument of the log: , so .
Step 4. Assemble: , in excellent agreement with the tabulated standard molar entropy of argon, . The structure is the lesson: , manifestly extensive because only and intensive combinations appear. Counting microstates in a -dimensional momentum ball reproduces a laboratory entropy to three significant figures.
Origins · 1 minMax Planck and how this was discovered
It was Planck, not Boltzmann, who first wrote the entropy relation in the closed form and who introduced the constant — which he named after Boltzmann — in his 1900–1901 work on blackbody radiation. Boltzmann had established the idea (entropy as the logarithm of the number of complexions) in 1877 using proportionalities and his symbol for Wahrscheinlichkeit; Planck cast it as an equation with a definite constant while quantizing the oscillator energies, the same step that launched quantum theory. The formula on Boltzmann's Vienna tombstone is thus in Planck's notation, a fitting entanglement: the man who counted states and the man who first quantized them share the equation that bridges the microscopic and the thermodynamic.
Going further
Texts. Reif, Fundamentals of Statistical and Thermal Physics, Ch. 2–3 · Pathria & Beale, Statistical Mechanics, 3rd ed., Ch. 1–2 · Kardar, Statistical Physics of Particles, Ch. 4 · Sethna, Statistical Mechanics: Entropy, Order Parameters, and Complexity, Ch. 3–5 · Landau & Lifshitz, Statistical Physics Part 1, §7.
Provenance. The definition with (exact, 2019 SI) is from Pathria §1.2 and CODATA. A verifier should recompute: the functional-equation uniqueness of the logarithm (Reif §3.3); the temperature identification and stability via entropy maximization (Kardar Ch. 4); the small-spin worked entropy ; and the Sackur–Tetrode molar entropy of argon (, tabulated ). The Gibbs-entropy functional, the equivalence to Boltzmann on the microcanonical distribution, and the Stirling machinery are owned by their own articles and recalled here by name. No numbers are fabricated.
Prerequisites. Microstates and Macrostates · Phase Space · Fundamental Postulate of Equal A Priori Probabilities · Accessible Phase Space and Energy Shells. Leads to. Gibbs Entropy · Statistical Ensembles · Equivalence and Distinction of Boltzmann and Gibbs Entropies · The Ergodic Hypothesis.
Is S = k ln W Boltzmann's own equation, or Planck's?
The idea is Boltzmann's (1877): entropy is proportional to the logarithm of the number of microscopic complexions, which he wrote using proportionalities and the symbol . The equation with a definite constant is Planck's (1900–01), written while he was quantizing blackbody oscillators; he named after Boltzmann. So the formula carved on Boltzmann's Vienna tombstone is in Planck's notation. Both men are properly credited — Boltzmann for the physics, Planck for the closed form and the constant.
Why does the shell thickness δE not matter? It appears right there in the definition.
Because grows like with of order one and . Whether you count states in a thin shell , on the exact surface , or in the whole enclosed volume , the leading term in is identical to ; the choice shifts only by — utterly negligible against the extensive entropy. So can be anything from a single quantum to a macroscopic spread without changing per particle. This equivalence is proven in the accessible-phase-space article.
How can entropy increase if the microscopic dynamics is time-reversible?
Reversibility holds for microstates: every trajectory has a valid time-reverse. Irreversibility is a statement about macrostates. Starting from a low- macrostate (gas in a corner), the overwhelming majority of accessible microstates evolve toward higher- macrostates simply because those contain exponentially more microstates. The reverse — spontaneously reassembling into the corner — is allowed but has probability . The arrow of time comes from the special low-entropy initial condition, not from the equations. This is Loschmidt's objection and its resolution.
Does the Boltzmann entropy differ from the thermodynamic (Clausius) entropy?
They agree, and the constant is exactly what glues them. Clausius defined entropy changes operationally via , leaving an arbitrary additive constant. Boltzmann's gives an absolute entropy from first-principles counting, and its energy derivative reproduces the Clausius temperature. The prefactor is chosen precisely so the two scales coincide numerically. For a monatomic ideal gas both give the Sackur–Tetrode entropy, including its temperature and volume dependence.
Is Ω ever actually a computable number, or only a symbol?
It is exact for clean models and estimable for hard ones. For a two-state spin system is an explicit binomial; for the ideal gas the energy-shell gives the Sackur–Tetrode entropy in closed form. For interacting systems one rarely computes directly — instead one uses the canonical partition function , its Laplace transform, which is far more tractable (perturbation theory, transfer matrices, Monte Carlo). Modern density-of-states samplers (Wang–Landau) even estimate numerically for the 3D Ising model. So is the conceptual keystone and a genuine numerical target, not a symbol that always cancels.
What breaks the additivity argument for the logarithm — are there systems where entropy is not k ln Ω?
The functional-equation derivation assumes the subsystems are statistically independent, so their counts genuinely multiply. That fails for systems with long-range interactions (gravity, unscreened Coulomb) where the energy is not additive; there, entropy can be non-extensive and the three ensembles become inequivalent. It also fails, in a different way, for small systems where corrections are not negligible. For ordinary short-range matter in the thermodynamic limit, independence holds to exponential accuracy and is exact. The breakdown cases are a rich topic in their own right, treated when ensemble equivalence is examined.