Boltzmann Entropy from Microstate Counting
Statement
For an isolated system in equilibrium, whose accessible microstates are all equally probable and number \(\Omega\), the thermodynamic entropy is \(S = k_B \ln \Omega\), where \(k_B\) is Boltzmann's constant. This is fixed uniquely (up to the choice of \(k_B\)) by demanding that entropy be additive over statistically independent subsystems whose microstate counts multiply.
Why it matters
This single relation is the bridge from mechanics to thermodynamics: it defines entropy microscopically in terms of counting, turning the abstract second-law quantity into something one can in principle compute from a Hamiltonian. Every equilibrium result of statistical mechanics — the Sackur–Tetrode equation, the canonical ensemble, the equation of state of an ideal gas — descends from it.
It also explains why entropy is extensive and why it increases: extensivity is the logarithm converting products of independent counts into sums, and increase is the overwhelming statistical weight of high-\(\Omega\) macrostates. The derivation matters because it shows \(S = k_B \ln \Omega\) is not a definition plucked from air but the only function consistent with additivity.
Assumptions
Derivation
Result
Reading. Entropy is the logarithm of the number of equally likely microscopic configurations consistent with the macrostate, scaled by Boltzmann's constant. The logarithm is not decorative: it is the unique map that turns the multiplicative combinatorics of independent systems into the additive bookkeeping thermodynamics demands. Doubling the system size squares \(\Omega\) but only doubles \(S\).
Units check. \(\Omega\) is a pure count, so \(\ln\Omega\) is dimensionless; \(k_B\) carries \(\mathrm{J\,K^{-1}}\). Hence \(S\) has units \(\mathrm{J\,K^{-1}}\), matching the classical thermodynamic entropy defined through \(dS = \delta Q_{\text{rev}}/T\).
Limiting cases
- \(\Omega = 1\): a unique microstate (perfect order) gives \(S = 0\) — the Nernst / third-law ground state.
- \(\Omega_1\Omega_2\) for independent halves: \(S = k_B\ln\Omega_1 + k_B\ln\Omega_2\), recovering extensivity \(S \propto N\).
- Uniform distribution limit of Gibbs: \(p_i = 1/\Omega\) turns \(-k_B\sum_i p_i\ln p_i\) into \(k_B\ln\Omega\), so Boltzmann is the microcanonical special case of Gibbs.
- Large \(N\): \(\ln\Omega \sim N\ln(\cdots)\) so relative fluctuations \(\sim N^{-1/2}\to 0\) and the macrostate is sharp.
Breaks when
- Long-range or strongly coupled systems. Gravitating systems, unscreened Coulomb systems, and small clusters have interaction energy comparable to subsystem energy, so \(\Omega \ne \Omega_1\Omega_2\). Additivity fails, entropy is non-extensive, and \(S=k_B\ln\Omega\) no longer combines correctly — Tsallis-type or explicitly non-additive treatments are needed.
- Non-uniform microstate probabilities. Away from equilibrium, or for a system in contact with a reservoir, the microstates are not equiprobable; \(k_B\ln\Omega\) overcounts and one must use the Gibbs/Shannon form \(-k_B\sum_i p_i\ln p_i\).
- Ill-defined counts (classical continuum without \(h\)). In a classical phase space \(\Omega\) is a volume with dimensions, so \(\ln\Omega\) is dimensionally inconsistent and shifts under coordinate rescaling. A phase-space cell \(h^{3N}\) (and Gibbs' \(1/N!\)) is required to make \(\Omega\) a dimensionless, permutation-correct count; omitting \(N!\) reproduces the Gibbs mixing paradox.
Failure modes
- Adding counts instead of multiplying. Writing \(\Omega = \Omega_1 + \Omega_2\) for a composite system — this contradicts the counting principle and would make entropy non-additive.
- Forgetting Gibbs' \(1/N!\). Treating identical particles as distinguishable inflates \(\Omega\) by \(N!\), giving a non-extensive entropy and the spurious entropy of mixing of a gas with itself.
- Using \(\log_{10}\) or dropping \(k_B\). The base is absorbed into \(k_B\); mixing bases or omitting \(k_B\) yields wrong numerical entropies and broken units.
- Applying \(k_B\ln\Omega\) out of equilibrium. Using the microcanonical formula when microstates are not equiprobable — the correct object is the Gibbs entropy.
- Confusing \(\Omega\) (shell count) with the total phase-space volume \(\Phi(E)\). For large \(N\) they give the same entropy to \(O(\ln N)\), but conflating them without that justification is an error.
Discussion
The derivation's power is that it fixes the form of \(S\) from a symmetry-like requirement rather than from any specific microscopic model. Additivity of an extensive quantity plus multiplicativity of independent counts is a Cauchy functional equation, and — under mild regularity — the logarithm is its only continuous solution. Everything model-specific (the ideal gas, a spin lattice, a black-body cavity) enters only through how one computes \(\Omega\); the map from \(\Omega\) to \(S\) is universal.
Physically, \(k_B\ln\Omega\) explains the arrow of time as a statement about phase-space volumes. A macrostate is overwhelmingly likely to evolve toward one of larger \(\Omega\) simply because such macrostates occupy exponentially more of phase space; the "increase of entropy" is the logarithm of that ratio. The constant \(k_B\) is a units conversion between the natural information measure \(\ln\Omega\) (nats) and joules per kelvin — a historical accident of defining temperature before microstates were understood.
The relation connects thermodynamics to information theory: \(\ln\Omega\) is, up to \(k_B\), the Shannon entropy of a uniform distribution over \(\Omega\) outcomes. This is why entropy, Landauer's principle, and the thermodynamic cost of erasing information are all governed by the same constant. It also situates the third law: as \(T\to 0\) a system settles into its (possibly degenerate) ground manifold, \(\Omega\to g_0\), and \(S\to k_B\ln g_0\), zero for a non-degenerate ground state.
At a deeper level, the choice \(S=f(\Omega)\) with \(f\) a function of the count alone is itself an assumption that additivity partly enforces: if one instead demands only that \(S\) be an additive extensive function and that thermodynamic equilibrium maximize it under exchange of energy, one recovers the same logarithm because \(1/T=\partial S/\partial E\) must be intensive and equal across subsystems in contact. The Boltzmann form and the equilibrium condition \(T_1=T_2\) are two faces of the same additivity requirement — the maximization of \(S_1(E_1)+S_2(E-E_1)\) over \(E_1\) yields \(f'\!\) matching, which is exactly the shared-temperature statement.
Common misconceptions. "Entropy is disorder" is a heuristic, not a definition — \(\Omega\) counts accessible microstates, and some "ordered-looking" states (e.g. a crystal at low \(T\)) can have large \(\Omega\) through phonon modes. Also, \(S=k_B\ln\Omega\) is not more fundamental than the Gibbs entropy; it is the equiprobable special case of it.
Worked examples
Reading. A mole of free two-state spins at infinite temperature (both orientations equally likely) carries \(S = R\ln 2 \approx 5.76\ \mathrm{J\,K^{-1}}\); \(R=N_Ak_B\) is the gas constant.
Units check. \(k_B\) in \(\mathrm{J\,K^{-1}}\) times two dimensionless factors gives \(\mathrm{J\,K^{-1}}\).
Reading. A tiny equilibrium vacancy concentration already contributes measurable configurational entropy; this term drives the thermodynamic stability of point defects at finite \(T\).
Units check. \(R = N_A k_B\) in \(\mathrm{J\,K^{-1}}\) multiplied by a dimensionless bracket gives \(\mathrm{J\,K^{-1}}\).
Problems
- A system has \(\Omega = 4\) accessible microstates. Compute \(S\) in \(\mathrm{J\,K^{-1}}\).
Solution
\(S = k_B\ln 4 = (1.381\times10^{-23})(1.386) = 1.91\times10^{-23}\ \mathrm{J\,K^{-1}}\). - Two independent subsystems have \(\Omega_1 = 8\) and \(\Omega_2 = 16\). Find the total entropy and verify additivity.
Solution
\(\Omega = 8\times16 = 128 = 2^7\). \(S = k_B\ln 128 = 7k_B\ln 2 = 6.70\times10^{-23}\ \mathrm{J\,K^{-1}}\). Check: \(S_1 = 3k_B\ln 2\), \(S_2 = 4k_B\ln 2\), sum \(=7k_B\ln 2\). Additive. ✓ - By how much does the entropy of a mole of two-state spins change when \(\Omega\) goes from \(2^{N_A}\) (fully random) to \(1\) (fully aligned)?
Solution
\(\Delta S = k_B\ln 1 - k_B\ln 2^{N_A} = -N_A k_B\ln 2 = -R\ln 2 = -5.76\ \mathrm{J\,K^{-1}}\). Entropy decreases by \(R\ln 2\). - An Einstein solid of \(N=3\) oscillators holds \(q=3\) quanta of energy. Using \(\Omega = \binom{q+N-1}{q}\), find \(S\).
Solution
\(\Omega = \binom{3+3-1}{3} = \binom{5}{3} = 10\). \(S = k_B\ln 10 = (1.381\times10^{-23})(2.303) = 3.18\times10^{-23}\ \mathrm{J\,K^{-1}}\). - Estimate the configurational entropy per mole of a binary alloy \(A_{0.5}B_{0.5}\) (random mixing) and compare to \(R\ln 2\).
Solution
\(\Omega = \binom{N}{N/2}\); Stirling gives \(S = -R[\,0.5\ln0.5 + 0.5\ln0.5\,] = R\ln 2 = 5.76\ \mathrm{J\,K^{-1}\,mol^{-1}}\). The equimolar mixing entropy is exactly \(R\ln 2\), identical to the fully random two-state spin case — both realize maximum entropy over two equally weighted alternatives per particle.