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 , volume , and particle number 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 trajectories into a merely hard combinatorial problem of counting states. The central object becomes , the number of microstates accessible at the given energy, and — through Boltzmann's monumental relation — 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 can only grow, and with it the entropy. Equilibrium is simply the macrostate with overwhelmingly the most microstates. And "overwhelmingly" is not hyperbole: because grows like with particles, the equilibrium macrostate outnumbers every alternative by factors like . 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 -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.
- The microcanonical ensemble describes an isolated system at fixed energy , volume , particle number — 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 , the number of accessible microstates, and (Boltzmann) gives the entropy.
- Equilibrium is the macrostate of maximal ; releasing a constraint can only increase , making the second law a counting statement.
- Because grows astronomically, the equilibrium is overwhelmingly probable and fluctuations vanish as .
- Key idea: the single postulate that all accessible microstates are equally likely, combined with , generates all of equilibrium thermodynamics — including equipartition from pure counting.
The microcanonical ensemble treats an isolated system (fixed ) using the postulate of equal a priori probabilities — all accessible microstates equally likely. The entropy is , equilibrium is the macrostate of maximal , and differentiating the ideal-gas count regenerates the equation of state and equipartition .
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 — 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 molecules, its microstate a single point wandering forever on a -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.
Once you accept the postulate, the entropy is simply : the logarithm of how many microstates the macrostate contains. The logarithm is what makes entropy additive (two independent systems have , so ), and sets the units. Now the second law becomes a triviality: release a constraint, and the number of accessible states can only grow, so 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 . The plot below shows this for increasing : with the distribution of the energy split is a spike of relative width , which is why an isolated system in equilibrium never spontaneously develops a hot half and a cold half.
The core equations
The postulate of equal a priori probabilities assigns each accessible microstate the same probability:
where: — the number of microstates with energy in , volume , particle number ; all others have . This uniform distribution is the microcanonical ensemble. The entropy is the Boltzmann relation — the logarithm of the count:
where: — Boltzmann's constant. The logarithm makes extensive; equivalently (Gibbs entropy) evaluated on the uniform distribution gives exactly . For a classical ideal gas the count is a geometric object — a thin shell in -dimensional phase space:
where: the counts spatial configurations, the is the volume of a -dimensional momentum ball of radius , is the Gibbs indistinguishability correction, and makes the count dimensionless. 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:
where: the energy slope of gives , and inverting yields equipartition — 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:
where: for two subsystems sharing energy, the most probable split is at equal temperature, and fluctuations around it scale as — utterly negligible for macroscopic .
The goal is to derive the ideal-gas equation of state and equipartition theorem 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 . 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 particles with total energy occupies a phase-space volume . The ball volume is , so . Why: positions give ; the kinetic-energy constraint is a -sphere in momentum space whose volume scales as .
Step 2. Form the entropy: (using either the shell or the volume — they agree to leading order in ). Why: the logarithm of the count is the entropy; the and dependence is all that matters for the equation of state.
Step 3. Temperature from the energy slope: , so — the equipartition theorem, per momentum degree of freedom, derived from counting alone. Why: the term is the entire source of the caloric equation of state; differentiating it gives the temperature.
Step 4. Pressure from the volume slope: , so — the ideal-gas law. Both equations of state came from the same count . Why: the term gives the mechanical equation of state; together with Step 3 the microcanonical count reproduces the full ideal-gas thermodynamics. *Verified: , , and the two equations of state , from differentiating 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
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 , 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 , particle numbers ) share a fixed total energy . The number of joint microstates is . Why: independent subsystems multiply their state counts, and each ideal-gas factor scales as its energy to the power.
Step 2. Maximize : gives — 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 , exactly thermal equilibrium.
Step 3. Expand about the peak: the second derivative gives a Gaussian of variance . For equal halves (, ), the relative width is . Why: the curvature of the log-count sets the fluctuation scale, and it grows with , so the peak narrows.
Step 4. Evaluate the number: for , the relative width is . 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 , the negative second derivative, the scaling of the relative width, and the numerical value at are all checked in the verify script.*
Limiting cases
How the microcanonical ensemble behaves:
| Case | Result | Meaning |
|---|---|---|
| Ideal gas | Count is a phase-space shell; regenerates , . | |
| Release a constraint | increases, | The second law as a counting statement. |
| Two subsystems | peak at | Equal temperature; equilibrium is the most probable split. |
| Large | Fluctuations vanish; equilibrium is overwhelmingly sharp. | |
| Small (few particles) | broad distribution | Fluctuations matter; thermodynamics is only approximate. |
| Thermodynamic limit | ensembles agree | Microcanonical, canonical, grand canonical give identical thermodynamics. |
Worked examples
1 · Counting microstates of a small system, then taking N large (confidence builder)
Consider non-interacting spin- particles in a magnetic field, each with energy (down) or (up), total energy with spins up. Count the microstates, find the entropy, and compute the temperature — then check the equal-a-priori peak for .
Step 1. Count: the number of ways to choose up-spins from is . This is the microcanonical count at energy — a direct enumeration, no dynamics.
Step 2. Entropy (Stirling for large ): . For , : , so .
Step 3. Temperature: . At half-filling () this vanishes, giving — the maximum-entropy, hottest state; beyond it goes negative (population inversion), a signature of the bounded spectrum.
Step 4. Sharpness: the peak of is at with width for . The relative width — already narrow, and it would be 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 of monatomic ideal gas with total energy , use the microcanonical count to find the temperature, and verify the average energy per particle.
Step 1. Entropy energy-dependence: , so . With and : .
Step 2. Temperature: . Purely from counting states — no thermometer, no assumption about kinetic energy, just the geometry of the phase-space shell.
Step 3. Equipartition: rearranging, per mole. Energy per particle: , i.e. for each of the three momentum components.
Step 4. Consistency: the average kinetic energy per particle is , matching the direct kinetic-theory result . The microcanonical count, through , 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
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, — is engraved on his tombstone in Vienna (in the form , with the constant 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.
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, , and the ideal-gas count are standard (Pathria & Beale ch. 1–2; Reif ch. 2). A verifier should reproduce , the equations of state and by differentiating , and the energy-split width (numerically at ). Numerical instances: spin system , ; ideal-gas at , energy per particle . All in verify_aq-sm-microcanonical-ensemble-equal-probabilities.py. .
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 does formally depend on the shell thickness , but the entropy depends on it only through the additive term . For a macroscopic system is astronomically large (), while is at most of order — utterly negligible by comparison. So changing by any reasonable factor shifts the entropy by an unmeasurably tiny amount, and all the derivatives (, , ) are completely independent of it. This robustness is why you can equivalently count the shell , the surface density of states, or the enclosed phase volume — they all give the same thermodynamics to leading order in , 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 (each configuration of system 1 can pair with each of system 2). But entropy should add: . The only function that turns products into sums is the logarithm: . So is the unique choice (up to the constant ) that makes entropy extensive and consistent with the thermodynamic entropy. The constant 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 : it is proportional to the number of reservoir microstates at energy , i.e. . Expanding to first order in (using ) gives — 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 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 . 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: , so 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 ).