The Microcanonical Ensemble and the Postulate of Equal a Priori Probabilities

Imagine an isolated box of gas — sealed, insulated, exchanging nothing with the outside world. Its total energy EE, volume VV, and particle number NN are fixed forever. At the microscopic level the molecules are hurtling around in one of an unimaginable number of configurations consistent with those constraints; a moment later they are in another. Statistical mechanics has to begin somewhere, and the microcanonical ensemble is the simplest possible starting point: it asks how probability is distributed among all those microscopic configurations, and answers with the boldest possible guess — they are all equally likely. That guess is the postulate of equal a priori probabilities, and it is the true axiom of statistical mechanics. It cannot be derived from classical mechanics alone; it is the bridge from deterministic dynamics to probabilistic description. Its payoff is enormous: it converts the impossibly hard dynamical problem of following 102310^{23} trajectories into a merely hard combinatorial problem of counting states. The central object becomes Ω(E,V,N)\Omega(E,V,N), the number of microstates accessible at the given energy, and — through Boltzmann's monumental relation S=kBln⁡ΩS = k_B\ln\Omega — the entire thermodynamics of the system flows from that single count. The microcanonical picture makes the second law almost visible. Release an internal constraint — pull out a partition, unlock a piston — and the system can now explore a larger set of microstates, so Ω\Omega can only grow, and with it the entropy. Equilibrium is simply the macrostate with overwhelmingly the most microstates. And "overwhelmingly" is not hyperbole: because Ω\Omega grows like ecNe^{cN} with 102310^{23} particles, the equilibrium macrostate outnumbers every alternative by factors like 10(1020)10^{(10^{20})}. Fluctuations away from it are so rare that they never happen on any human timescale. What makes this concrete and powerful is that you can count. For an ideal gas the number of accessible microstates is a computable geometric object — the volume of a thin shell in a 6N6N-dimensional phase space — and differentiating its logarithm regenerates temperature, pressure, and the whole equation of state. From the single postulate that all accessible microstates are equally likely, equipartition, the ideal-gas law, and the sharpness of thermodynamic equilibrium all emerge.

Key takeaways
  • The microcanonical ensemble describes an isolated system at fixed energy EE, volume VV, particle number NN — exchanging nothing with its surroundings.
  • Its foundational axiom is the postulate of equal a priori probabilities: all accessible microstates are equally likely.
  • This converts dynamics into counting: the key object is Ω(E,V,N)\Omega(E,V,N), the number of accessible microstates, and S=kBln⁡ΩS = k_B\ln\Omega (Boltzmann) gives the entropy.
  • Equilibrium is the macrostate of maximal Ω\Omega; releasing a constraint can only increase Ω\Omega, making the second law a counting statement.
  • Because Ω∼ecN\Omega \sim e^{cN} grows astronomically, the equilibrium is overwhelmingly probable and fluctuations vanish as 1/N1/\sqrt{N}.
  • Key idea: the single postulate that all accessible microstates are equally likely, combined with S=kBln⁡ΩS = k_B\ln\Omega, generates all of equilibrium thermodynamics — including equipartition E=32NkBTE = \tfrac32 Nk_BT from pure counting.
The core insight

The microcanonical ensemble treats an isolated system (fixed E,V,NE, V, N) using the postulate of equal a priori probabilities — all accessible microstates equally likely. The entropy is S=kBln⁡Ω(E,V,N)S = k_B\ln\Omega(E,V,N), equilibrium is the macrostate of maximal Ω\Omega, and differentiating the ideal-gas count Ω∼VNE3N/2\Omega \sim V^N E^{3N/2} regenerates the equation of state and equipartition E=32NkBTE = \tfrac32 Nk_BT.

Where this lives today

The microcanonical ensemble is the conceptual foundation of the entire subject, but it is also a live computational tool. Molecular-dynamics simulations, which integrate Newton's equations for thousands to millions of particles, run in the microcanonical (NVE) ensemble by construction — energy is conserved, so the trajectory samples a constant-energy shell, and thermodynamic properties are extracted exactly as this article describes, by counting or time-averaging over accessible states. The NVE ensemble is the baseline against which thermostatted (canonical) simulations are validated. The postulate of equal a priori probabilities also underlies modern discussions of thermalization and the foundations of statistical mechanics. The eigenstate thermalization hypothesis, a central idea in quantum many-body physics, is essentially a quantum statement of why an isolated system reaches microcanonical equilibrium — why a single quantum state can look thermal. Experiments with isolated ultracold-atom systems now test these foundations directly, watching whether and how an isolated quantum gas equilibrates to the microcanonical prediction, and probing exotic cases (many-body localization) where it fails to. And the sharpness result — that equilibrium fluctuations vanish as 1/N1/\sqrt{N} — is why thermodynamics, a theory of a handful of macroscopic variables, is so astonishingly accurate for macroscopic matter: the microcanonical count concentrates overwhelmingly on the equilibrium macrostate.

The physical picture

Start with the hardest possible problem: an isolated gas of 102310^{23} molecules, its microstate a single point wandering forever on a 6N6N-dimensional constant-energy surface, following Newton's (or Schrödinger's) equations exactly. Predicting that trajectory is hopeless. The microcanonical ensemble sidesteps it entirely with one assumption: over long times the system visits all accessible microstates with equal frequency, so we may replace the time-average of any quantity with a simple average over all accessible microstates, weighted equally. Dynamics is traded for democracy. Why "equal"? Because there is no reason to prefer any accessible microstate over any other — they all have the same energy, and the underlying dynamics (Liouville's theorem) preserves phase-space volume, so a uniform distribution stays uniform. This is the postulate of equal a priori probabilities. It is an assumption, tested by the spectacular success of everything built on it, and it turns statistical mechanics into an exercise in counting.

Figure
The microcanonical setup: an isolated system on a thin energy shell, all microstates equal
Isolated system: fixed E, V, N — a thin energy shell accessible shell E ≤ H ≤ E+δE every microstate on the shell: equal probability 1/Ω Ω(E,V,N) = number of accessible states S = k_B ln Ω

Once you accept the postulate, the entropy is simply S=kBln⁡ΩS = k_B\ln\Omega: the logarithm of how many microstates the macrostate contains. The logarithm is what makes entropy additive (two independent systems have Ω12=Ω1Ω2\Omega_{12} = \Omega_1\Omega_2, so S12=S1+S2S_{12} = S_1 + S_2), and kBk_B sets the units. Now the second law becomes a triviality: release a constraint, and the number of accessible states can only grow, so SS can only increase. Equilibrium is the macrostate with the most microstates. The final, staggering fact is how dominant that equilibrium macrostate is. Split an isolated system in two and ask how energy divides between the halves. The number of microstates is peaked at the equal-temperature split, and the peak is fantastically sharp — its relative width shrinks as 1/N1/\sqrt{N}. The plot below shows this for increasing NN: with N=1023N = 10^{23} the distribution of the energy split is a spike of relative width ∼10−12\sim 10^{-12}, which is why an isolated system in equilibrium never spontaneously develops a hot half and a cold half.

Figure
The equilibrium peak sharpens as 1/√N: at N ~ 10²³ it is a spike of width ~ 10⁻¹²
Number of microstates vs. energy split E₁/E Ω_tot E₁/E → small N: broad larger N: narrower N ~ 10²³: a spike, width ~ 10⁻¹² peak at equal temperature; relative width ~ 1/√N

The core equations

The postulate of equal a priori probabilities assigns each accessible microstate the same probability:

pi=1Ω(E,V,N)for each accessible microstate i(1)p_i = \frac{1}{\Omega(E,V,N)}\quad\text{for each accessible microstate } i \qquad (1)

where: Ω(E,V,N)\Omega(E,V,N) — the number of microstates with energy in [E,E+δE][E, E+\delta E], volume VV, particle number NN; all others have pi=0p_i = 0. This uniform distribution is the microcanonical ensemble. The entropy is the Boltzmann relation — the logarithm of the count:

S=kBln⁡Ω(E,V,N)(2)S = k_B\ln\Omega(E,V,N) \qquad (2)

where: kB=1.381×10−23 J/Kk_B = 1.381\times10^{-23}\ \mathrm{J/K} — Boltzmann's constant. The logarithm makes SS extensive; equivalently S=−kB∑ipiln⁡piS = -k_B\sum_i p_i\ln p_i (Gibbs entropy) evaluated on the uniform distribution gives exactly kBln⁡Ωk_B\ln\Omega. For a classical ideal gas the count is a geometric object — a thin shell in 6N6N-dimensional phase space:

Ω(E,V,N)∝VNN! h3N E3N/2,g(E)=dΦdE∝E3N/2−1(3)\Omega(E,V,N) \propto \frac{V^N}{N!\,h^{3N}}\,E^{3N/2}, \qquad g(E) = \frac{\mathrm{d}\Phi}{\mathrm{d}E} \propto E^{3N/2 - 1} \qquad (3)

where: the VNV^N counts spatial configurations, the E3N/2E^{3N/2} is the volume of a 3N3N-dimensional momentum ball of radius 2mE\sqrt{2mE}, N!N! is the Gibbs indistinguishability correction, and h3Nh^{3N} makes the count dimensionless. g(E)g(E) is the density of states. Differentiating the entropy with respect to energy gives the temperature, and the ideal-gas count regenerates equipartition and the equation of state:

1T=(∂S∂E)V,N=3N2kBE  ⇒  E=32NkBT(4)\frac{1}{T} = \left(\frac{\partial S}{\partial E}\right)_{V,N} = \frac{3N}{2}\frac{k_B}{E} \;\Rightarrow\; E = \frac{3}{2}Nk_BT \qquad (4)

where: the energy slope of ln⁡Ω∼3N2ln⁡E\ln\Omega \sim \tfrac{3N}{2}\ln E gives 1/T1/T, and inverting yields equipartition — 12kBT\tfrac12 k_BT per quadratic degree of freedom — derived from counting alone, with no dynamics. The sharpness of equilibrium is captured by the relative width of the energy-sharing distribution:

σE1⟨E1⟩∼1N(5)\frac{\sigma_{E_1}}{\langle E_1\rangle} \sim \frac{1}{\sqrt{N}} \qquad (5)

where: for two subsystems sharing energy, the most probable split is at equal temperature, and fluctuations around it scale as 1/N1/\sqrt{N} — utterly negligible for macroscopic NN.

Derivation AEquipartition and the equation of state from counting microstates

The goal is to derive the ideal-gas equation of state and equipartition theorem E=32NkBTE = \tfrac32 Nk_BT using only the microcanonical postulate and the counting of microstates — no equations of motion, no Boltzmann factor, just geometry in phase space and the definition S=kBln⁡ΩS = k_B\ln\Omega. This is the article's owned result: it shows that a purely combinatorial construction, the volume of a high-dimensional shell, contains the entire thermodynamics of the ideal gas, and it is the cleanest demonstration of the microcanonical method's power.

Step 1. Count the microstates. A classical ideal gas of NN particles with total energy ≤E\le E occupies a phase-space volume Φ(E)=VNN! h3N×(volume of a 3N-ball of radius 2mE)\Phi(E) = \dfrac{V^N}{N!\,h^{3N}}\times(\text{volume of a } 3N\text{-ball of radius }\sqrt{2mE}). The ball volume is ∝(2mE)3N/2\propto (2mE)^{3N/2}, so Φ(E)∝VNE3N/2\Phi(E) \propto V^N E^{3N/2}. Why: positions give VNV^N; the kinetic-energy constraint ∑pi2/2m≤E\sum p_i^2/2m \le E is a 3N3N-sphere in momentum space whose volume scales as E3N/2E^{3N/2}.

Step 2. Form the entropy: S=kBln⁡Ω=kB[Nln⁡V+3N2ln⁡E+(const)]S = k_B\ln\Omega = k_B\big[N\ln V + \tfrac{3N}{2}\ln E + \text{(const)}\big] (using either the shell g(E)δEg(E)\delta E or the volume Φ(E)\Phi(E) — they agree to leading order in NN). Why: the logarithm of the count is the entropy; the VV and EE dependence is all that matters for the equation of state.

Step 3. Temperature from the energy slope: 1T=∂S∂E=kB3N2E\dfrac1T = \dfrac{\partial S}{\partial E} = k_B\dfrac{3N}{2E}, so E=32NkBTE = \dfrac32 Nk_BT — the equipartition theorem, 12kBT\tfrac12 k_BT per momentum degree of freedom, derived from counting alone. Why: the 3N2ln⁡E\tfrac{3N}{2}\ln E term is the entire source of the caloric equation of state; differentiating it gives the temperature.

Step 4. Pressure from the volume slope: PT=∂S∂V=kBNV\dfrac PT = \dfrac{\partial S}{\partial V} = k_B\dfrac{N}{V}, so PV=NkBTPV = Nk_BT — the ideal-gas law. Both equations of state came from the same count Ω∼VNE3N/2\Omega \sim V^N E^{3N/2}. Why: the Nln⁡VN\ln V term gives the mechanical equation of state; together with Step 3 the microcanonical count reproduces the full ideal-gas thermodynamics. *Verified: Φ(E)∝E3N/2\Phi(E) \propto E^{3N/2}, g(E)∝E3N/2−1g(E) \propto E^{3N/2-1}, and the two equations of state E=32NkBTE = \tfrac32 Nk_BT, PV=NkBTPV = Nk_BT from differentiating S=kBln⁡ΩS = k_B\ln\Omega are all checked symbolically in verify_aq-sm-microcanonical-ensemble-equal-probabilities.py.*

Go deeper · Derivation B · 1 minWhy equilibrium is overwhelmingly sharp: the 1/√N law
Derivation BWhy equilibrium is overwhelmingly sharp: the 1/√N law

The goal is to prove that the equilibrium macrostate is not merely the most probable but overwhelmingly so — that the relative fluctuations about it vanish as 1/N1/\sqrt{N}, which is why an isolated macroscopic system in equilibrium never spontaneously un-mixes or develops temperature differences. We do this by computing the distribution of the energy split between two subsystems and Gaussian-approximating its peak.

Step 1. Two subsystems (energies E1,E2E_1, E_2, particle numbers N1,N2N_1, N_2) share a fixed total energy E1+E2=EE_1 + E_2 = E. The number of joint microstates is Ωtot(E1)=Ω1(E1)Ω2(E−E1)∝E13N1/2(E−E1)3N2/2\Omega_{\text{tot}}(E_1) = \Omega_1(E_1)\Omega_2(E - E_1) \propto E_1^{3N_1/2}(E - E_1)^{3N_2/2}. Why: independent subsystems multiply their state counts, and each ideal-gas factor scales as its energy to the 3N2\tfrac{3N}{2} power.

Step 2. Maximize ln⁡Ωtot\ln\Omega_{\text{tot}}: dln⁡ΩtotdE1=3N12E1−3N22E2=0\dfrac{\mathrm{d}\ln\Omega_{\text{tot}}}{\mathrm{d}E_1} = \dfrac{3N_1}{2E_1} - \dfrac{3N_2}{2E_2} = 0 gives E1N1=E2N2\dfrac{E_1}{N_1} = \dfrac{E_2}{N_2} — equal energy per particle, i.e. equal temperature. This is the most probable split. Why: the peak of the joint count is where the two subsystems have equal ∂S/∂E\partial S/\partial E, exactly thermal equilibrium.

Step 3. Expand about the peak: the second derivative d2ln⁡ΩtotdE12=−3N12E12−3N22E22<0\dfrac{\mathrm{d}^2\ln\Omega_{\text{tot}}}{\mathrm{d}E_1^2} = -\dfrac{3N_1}{2E_1^2} - \dfrac{3N_2}{2E_2^2} < 0 gives a Gaussian of variance σ2=−1/(d2ln⁡Ω/dE12)\sigma^2 = -1/(\mathrm{d}^2\ln\Omega/\mathrm{d}E_1^2). For equal halves (N1=N2=N/2N_1 = N_2 = N/2, E1=E/2E_1 = E/2), the relative width is σ/E1=2/(3N1)∼1/N\sigma/E_1 = \sqrt{2/(3N_1)} \sim 1/\sqrt{N}. Why: the curvature of the log-count sets the fluctuation scale, and it grows with NN, so the peak narrows.

Step 4. Evaluate the number: for N=1024N = 10^{24}, the relative width is 2/(3⋅5×1023)≈1.2×10−12\sqrt{2/(3\cdot 5\times10^{23})} \approx 1.2\times10^{-12}. The energy split is pinned to twelve significant figures. Any macrostate more than a hair from equilibrium has a vanishing fraction of the microstates, so the system sits at equilibrium essentially forever. Why: this astronomical sharpness is why thermodynamics — a theory of a few macroscopic variables — works at all, and why the second law is effectively absolute for macroscopic bodies. *Verified: the most-probable split E1/N1=E2/N2E_1/N_1 = E_2/N_2, the negative second derivative, the 1/N1/\sqrt{N} scaling of the relative width, and the numerical value 1.2×10−121.2\times10^{-12} at N=1024N = 10^{24} are all checked in the verify script.*

Limiting cases

How the microcanonical ensemble behaves:

CaseResultMeaning
Ideal gasΩ∝VNE3N/2\Omega \propto V^N E^{3N/2}Count is a phase-space shell; regenerates PV=NkBTPV = Nk_BT, E=32NkBTE = \tfrac32 Nk_BT.
Release a constraintΩ\Omega increases, ΔS≥0\Delta S \ge 0The second law as a counting statement.
Two subsystemspeak at E1/N1=E2/N2E_1/N_1 = E_2/N_2Equal temperature; equilibrium is the most probable split.
Large NNσE1/E1∼1/N→0\sigma_{E_1}/E_1 \sim 1/\sqrt{N} \to 0Fluctuations vanish; equilibrium is overwhelmingly sharp.
Small NN (few particles)broad distributionFluctuations matter; thermodynamics is only approximate.
Thermodynamic limitensembles agreeMicrocanonical, canonical, grand canonical give identical thermodynamics.

Worked examples

1 · Counting microstates of a small system, then taking N large (confidence builder)

Consider NN non-interacting spin-12\tfrac12 particles in a magnetic field, each with energy 00 (down) or ϵ\epsilon (up), total energy E=nϵE = n\epsilon with nn spins up. Count the microstates, find the entropy, and compute the temperature — then check the equal-a-priori peak for N=100N = 100.

Step 1. Count: the number of ways to choose nn up-spins from NN is Ω(n)=(Nn)=N!n!(N−n)!\Omega(n) = \dbinom{N}{n} = \dfrac{N!}{n!(N-n)!}. This is the microcanonical count at energy E=nϵE = n\epsilon — a direct enumeration, no dynamics.

Step 2. Entropy (Stirling for large NN): S/kB=ln⁡Ω=Nln⁡N−nln⁡n−(N−n)ln⁡(N−n)S/k_B = \ln\Omega = N\ln N - n\ln n - (N-n)\ln(N-n). For N=100N = 100, n=50n = 50: Ω=(10050)≈1.01×1029\Omega = \binom{100}{50} \approx 1.01\times10^{29}, so S/kB=ln⁡(1.01×1029)=66.8S/k_B = \ln(1.01\times10^{29}) = \mathbf{66.8}.

Step 3. Temperature: 1T=∂S∂E=1ϵ∂S∂n=kBϵln⁡N−nn\dfrac1T = \dfrac{\partial S}{\partial E} = \dfrac{1}{\epsilon}\dfrac{\partial S}{\partial n} = \dfrac{k_B}{\epsilon}\ln\dfrac{N-n}{n}. At half-filling (n=N/2n = N/2) this vanishes, giving T→∞T \to \infty — the maximum-entropy, hottest state; beyond it TT goes negative (population inversion), a signature of the bounded spectrum.

Step 4. Sharpness: the peak of (Nn)\binom{N}{n} is at n=N/2n = N/2 with width σn=12N=5\sigma_n = \tfrac12\sqrt{N} = 5 for N=100N = 100. The relative width σn/(N/2)=N/N=1/N=0.1\sigma_n/(N/2) = \sqrt{N}/N = 1/\sqrt{N} = \mathbf{0.1} — already narrow, and it would be 10−1110^{-11} for a mole. The equilibrium (equal up/down) is the most probable macrostate, exactly as the postulate predicts.

2 · Equipartition and the temperature of a gas from counting (exam level)

For 1 mol1\ \mathrm{mol} of monatomic ideal gas with total energy E=3740 JE = 3740\ \mathrm{J}, use the microcanonical count Ω∝VNE3N/2\Omega \propto V^N E^{3N/2} to find the temperature, and verify the average energy per particle.

Step 1. Entropy energy-dependence: S=kB[3N2ln⁡E+…]S = k_B\big[\tfrac{3N}{2}\ln E + \dots\big], so 1T=∂S∂E=kB3N2E\dfrac1T = \dfrac{\partial S}{\partial E} = k_B\dfrac{3N}{2E}. With N=NAN = N_A and E=3740 JE = 3740\ \mathrm{J}: 1T=3(8.314)2(3740)=24.947480=3.335×10−3 K−1\dfrac1T = \dfrac{3(8.314)}{2(3740)} = \dfrac{24.94}{7480} = 3.335\times10^{-3}\ \mathrm{K^{-1}}.

Step 2. Temperature: T=1/(3.335×10−3)=300 KT = 1/(3.335\times10^{-3}) = \mathbf{300\ K}. Purely from counting states — no thermometer, no assumption about kinetic energy, just the geometry of the phase-space shell.

Step 3. Equipartition: rearranging, E=32NkBT=32RTE = \tfrac32 Nk_BT = \tfrac32 RT per mole. Energy per particle: E/N=32kBT=32(1.381×10−23)(300)=6.21×10−21 JE/N = \tfrac32 k_BT = \tfrac32(1.381\times10^{-23})(300) = \mathbf{6.21\times10^{-21}\ J}, i.e. 12kBT\tfrac12 k_BT for each of the three momentum components.

Step 4. Consistency: the average kinetic energy per particle is 32kBT=6.21×10−21 J\tfrac32 k_BT = 6.21\times10^{-21}\ \mathrm{J}, matching the direct kinetic-theory result 12m⟨v2⟩\tfrac12 m\langle v^2\rangle. The microcanonical count, through S=kBln⁡ΩS = k_B\ln\Omega, reproduces both the temperature and the energy per degree of freedom — equipartition emerges from counting, and the ideal-gas thermodynamics is complete.

Origins · 1 minmicrocanonical ensemble and how this was discovered
ME
microcanonical ensemble
concept · isolated system at fixed E, V, N

The microcanonical ensemble and its foundational postulate were developed by Ludwig Boltzmann in the 1870s and given their definitive ensemble formulation by Josiah Willard Gibbs in his 1902 Elementary Principles in Statistical Mechanics, where the three ensembles (microcanonical, canonical, grand canonical) first appeared as a unified framework. Boltzmann's central insight — that entropy is the logarithm of the number of microscopic arrangements, S=kBln⁡ΩS = k_B\ln\Omega — is engraved on his tombstone in Vienna (in the form S=klog⁡WS = k\log W, with the constant kk and this notation actually due to Planck's 1900 work; Boltzmann wrote it differently). The microcanonical ensemble is the conceptual bedrock: it is where the postulate of equal a priori probabilities is stated, where entropy is defined microscopically, and from which the canonical and grand canonical ensembles are derived by coupling a small system to a large microcanonical reservoir. Every course in statistical mechanics begins here, because this is where the bridge from mechanics to thermodynamics is built.

History
1868
— Boltzmann introduces the distribution and the idea of counting states.
1877
— Boltzmann relates entropy to the number of microstates, S ∝ ln W.
1900
— Planck writes S = k log W with the constant k (later called Boltzmann's), the tombstone form.
1902
— Gibbs, Elementary Principles in Statistical Mechanics, formalizes the microcanonical (and other) ensembles.
1911
— Sackur and Tetrode compute the absolute entropy of the ideal gas from state counting.
1951
— Purcell and Pound realize negative temperature in a nuclear-spin system, dramatizing S = k ln Ω.

Going further

References. Pathria & Beale, Statistical Mechanics, 3rd ed., ch. 1–2 (the microcanonical ensemble) · Reif, Fundamentals of Statistical and Thermal Physics, ch. 2–3 · Kardar, Statistical Physics of Particles, ch. 4 · Sethna, Statistical Mechanics: Entropy, Order Parameters, and Complexity, ch. 3 · Callen, Thermodynamics, ch. 15 · Gibbs, Elementary Principles in Statistical Mechanics (1902).

Provenance. The postulate of equal a priori probabilities, S=kBln⁡ΩS = k_B\ln\Omega, and the ideal-gas count Ω∝VNE3N/2\Omega \propto V^N E^{3N/2} are standard (Pathria & Beale ch. 1–2; Reif ch. 2). A verifier should reproduce Φ(E)∝E3N/2\Phi(E) \propto E^{3N/2}, the equations of state E=32NkBTE = \tfrac32 Nk_BT and PV=NkBTPV = Nk_BT by differentiating ln⁡Ω\ln\Omega, and the 1/N1/\sqrt{N} energy-split width (numerically 1.2×10−121.2\times10^{-12} at N=1024N = 10^{24}). Numerical instances: spin system (10050)≈1.01×1029\binom{100}{50} \approx 1.01\times10^{29}, S/kB=66.8S/k_B = 66.8; ideal-gas T=2E/3R=300 KT = 2E/3R = 300\ \mathrm{K} at E=3740 JE = 3740\ \mathrm{J}, energy per particle 32kBT=6.21×10−21 J\tfrac32 k_BT = 6.21\times10^{-21}\ \mathrm{J}. All in verify_aq-sm-microcanonical-ensemble-equal-probabilities.py. kB=1.381×10−23 J/Kk_B = 1.381\times10^{-23}\ \mathrm{J/K}.

Builds on: First Law of Thermodynamics and Internal Energy · Second Law of Thermodynamics and Entropy · Zeroth Law of Thermodynamics and Empirical Temperature · Temperature, Pressure, and Chemical Potential as Entropy Derivatives. Leads to: Boltzmann Entropy and the Density of States · Phase-Space Volume and the Liouville Measure · Equilibrium Conditions Between Subsystems · Canonical Ensemble.

Why can't the equal-a-priori postulate be derived — isn't it obvious that all states should be equally likely?

It feels obvious, but making it rigorous is genuinely hard. The honest situation is that it is a postulate justified by success, not a theorem. To derive it you would need to show that a single microscopic trajectory, evolving under the actual dynamics, visits all accessible microstates with equal long-time frequency — the ergodic hypothesis. Rigorous ergodicity has been proven only for special idealized systems (like hard-sphere gases, under strong assumptions) and is known to fail for others (integrable systems, many-body-localized systems). What we do have is weaker but suggestive: Liouville's theorem guarantees the uniform distribution is stationary (once uniform, always uniform), and the overwhelming empirical success of everything built on the postulate. So the postulate is on the same footing as an axiom in mechanics — assumed, not proven — and understanding when it holds (thermalization, the eigenstate thermalization hypothesis) is an active research area.

What is the role of the δE thickness of the energy shell — doesn't the answer depend on it?

Remarkably, no — not for the thermodynamics. The microcanonical count Ω=g(E) δE\Omega = g(E)\,\delta E does formally depend on the shell thickness δE\delta E, but the entropy S=kBln⁡[g(E) δE]=kBln⁡g(E)+kBln⁡δES = k_B\ln[g(E)\,\delta E] = k_B\ln g(E) + k_B\ln\delta E depends on it only through the additive term kBln⁡δEk_B\ln\delta E. For a macroscopic system ln⁡g(E)∼N\ln g(E) \sim N is astronomically large (∼1023\sim 10^{23}), while ln⁡δE\ln\delta E is at most of order ln⁡E\ln E — utterly negligible by comparison. So changing δE\delta E by any reasonable factor shifts the entropy by an unmeasurably tiny amount, and all the derivatives (TT, PP, μ\mu) are completely independent of it. This robustness is why you can equivalently count the shell g(E)δEg(E)\delta E, the surface density of states, or the enclosed phase volume Φ(E)\Phi(E) — they all give the same thermodynamics to leading order in NN, a fact explored in the companion article on Boltzmann entropy and the density of states.

Why the logarithm in S = k_B ln Ω — why not S = Ω or something else?

The logarithm is forced by the requirement that entropy be additive (extensive). Consider two independent systems: the number of microstates of the combined system is the product Ω12=Ω1×Ω2\Omega_{12} = \Omega_1\times\Omega_2 (each configuration of system 1 can pair with each of system 2). But entropy should add: S12=S1+S2S_{12} = S_1 + S_2. The only function that turns products into sums is the logarithm: ln⁡(Ω1Ω2)=ln⁡Ω1+ln⁡Ω2\ln(\Omega_1\Omega_2) = \ln\Omega_1 + \ln\Omega_2. So S=kBln⁡ΩS = k_B\ln\Omega is the unique choice (up to the constant kBk_B) that makes entropy extensive and consistent with the thermodynamic entropy. The constant kBk_B just fixes the units to joules per kelvin. This is not a convention — it is a mathematical necessity given that microstate counts multiply while entropies add.

How does the microcanonical ensemble connect to the canonical ensemble I'll use more often?

The canonical ensemble is derived from the microcanonical one. Take a small system in thermal contact with a very large reservoir, and treat the combined "system + reservoir" as an isolated microcanonical whole with fixed total energy. Apply equal a priori probabilities to the combined system, then ask for the probability that the small system is in a particular microstate of energy EsE_s: it is proportional to the number of reservoir microstates at energy Etot−EsE_{\text{tot}} - E_s, i.e. Ωres(Etot−Es)\Omega_{\text{res}}(E_{\text{tot}} - E_s). Expanding ln⁡Ωres\ln\Omega_{\text{res}} to first order in EsE_s (using ∂ln⁡Ωres/∂E=1/kBT\partial\ln\Omega_{\text{res}}/\partial E = 1/k_BT) gives p(Es)∝e−Es/kBTp(E_s) \propto e^{-E_s/k_BT} — the Boltzmann factor and the canonical ensemble. So the canonical ensemble, with all its convenience, rests entirely on the microcanonical postulate applied to system-plus-reservoir. The microcanonical ensemble is the foundation; the canonical is the practical everyday tool built on it.

Does the postulate really assign zero probability to states off the energy shell — even slightly off?

In the idealized microcanonical ensemble, yes: only microstates with energy in the narrow window [E,E+δE][E, E+\delta E] get nonzero (and equal) probability; everything else is exactly zero. This is because the system is perfectly isolated, so energy is strictly conserved and the trajectory literally cannot reach states of different energy. In reality no system is perfectly isolated — there is always some tiny energy exchange with the environment — so the true distribution is slightly smeared in energy. But for a macroscopic system the density of states is so steep that this smearing is thermodynamically irrelevant, and the microcanonical (sharp shell) and canonical (smeared, in contact with a bath) descriptions give identical results in the thermodynamic limit. The zero-probability-off-shell statement is an idealization that is essentially exact for the thermodynamics of large systems.

Why does entropy increase when you release a constraint — where do the "extra" microstates come from?

Releasing a constraint enlarges the set of accessible microstates, and entropy is the logarithm of that set's size. Concretely: before you remove a partition, the gas is confined to half the box, so its microstates all have every molecule on the left — a certain count Ωbefore\Omega_{\text{before}}. Remove the partition and the molecules can now be anywhere, so the accessible set includes all the old configurations plus an enormous number of new ones (molecules on the right, spread out, etc.). The count can only grow: Ωafter≥Ωbefore\Omega_{\text{after}} \ge \Omega_{\text{before}}, so S=kBln⁡ΩS = k_B\ln\Omega can only increase. The "extra" microstates were always physically possible; they just were not accessible while the constraint held. This is the microcanonical statement of the second law, and it makes the irreversibility intuitive: the system spreads into the larger set of states simply because there are overwhelmingly more of them, and it would take an absurd coincidence for all molecules to wander back to one half at once (probability ∼2−N\sim 2^{-N}).

Before this

Where this leads