Microstates and Macrostates
Pull a single molecule out of the air in front of you and ask where it is and how fast it is moving. Now ask it of all molecules in this cubic metre at once. That complete list — every position, every velocity — is a microstate, and it is hopeless: it changes completely a trillion times before you finish writing the first number. Yet the air has a temperature, a pressure, a density that sit rock-steady while that microscopic storm rages underneath. How can something so stable ride on something so chaotic? The answer is the founding move of statistical mechanics: split the description in two. The microstate is the full microscopic list; the macrostate is the short one — energy, volume, particle number, maybe pressure and temperature — that you can actually measure. The crucial fact is that a single macrostate is compatible with an astronomical number of microstates. Count them, call the count , and you hold the keystone of the whole subject: its logarithm is the entropy, , and from there all of thermodynamics unfolds. Why does averaging over microstates give sharp, repeatable numbers instead of noise? Because the counts are so wildly unequal. One macrostate — the equilibrium one — is realized by so overwhelmingly many more microstates than any competitor that the system is found in it with effective certainty, and fluctuations away shrink as . Master this microstate–macrostate bookkeeping and you own the logic behind entropy, irreversibility, the Gibbs paradox, and every ensemble you will meet: they are all ways of counting microstates.
- A microstate is the complete instantaneous specification of every dynamical variable — for classical particles, the numbers , i.e. one point in phase space.
- A macrostate is fixed by only a handful of macroscopic observables (, or ) and is realized by an enormous number of microstates.
- The multiplicity is astronomically large; its logarithm is the Boltzmann entropy , the bridge from counting to thermodynamics.
- Statistical mechanics works because one macrostate dominates the count so completely that relative fluctuations scale as for a mole.
- Irreversibility is microstate counting in disguise: systems flow from macrostates of small to macrostates of overwhelmingly larger .
- Key idea: a macrostate is an equivalence class of microstates; statistical mechanics computes the size of that class, and turns the count into thermodynamics.
A macrostate is an equivalence class of microstates — many microscopic configurations that look identical through a few macroscopic observables. The number of microstates in that class is what statistical mechanics computes, and converts the count into thermodynamics.
Where this lives today
The microstate–macrostate split is not a historical relic; it is the operating principle of modern simulation and of the physics of information. A molecular-dynamics run tracks one microstate trajectory through -dimensional phase space and reports macrostate averages — temperature, pressure, diffusion constants — exactly as this article prescribes, and its correctness rests on the assumption that the sampled microstates fairly represent the macrostate's . The deepest modern echo is Landauer's principle. Erasing one bit of information forces two microstates into a single macrostate, and that irreversible loss of counting must dump at least of heat — a bound now measured directly in single-electron and colloidal experiments and taken seriously by the designers of low-power and reversible computers. The shared functional that appears in Gibbs's entropy and Shannon's information is no coincidence: both are counting the same thing.
The physical picture
Shuffle a deck of cards. A microstate is the exact order of all 52; a macrostate is a coarse property like "well shuffled." There is exactly one perfectly sorted order but astronomically many disordered ones, so shuffling reliably destroys order — not because any single ordering is favoured, but because the disordered macrostate simply owns far more microstates. Equilibrium is nothing more mysterious than the macrostate with the most microstates. The same accounting runs a gas. Divide a box into a left and a right half and ask how many molecules sit on the left. "All on the left" is one macrostate; "half on each side" is another. The uniform macrostate is realized by vastly more arrangements, so the gas fills the box. The figure below counts them for a small system where you can still see the spread, then shows what happens as grows: the distribution collapses onto a needle at the uniform value.
Read the figure as a competition for microstates. The uniform macrostate () wins by a landslide even at ; the extreme macrostates ("all on one side") are single arrangements, invisible on this scale. Now watch the punchline as the system grows — the spread narrows relentlessly, because the relative width of the peak scales as :
That collapse is the whole reason thermodynamics is sharp. The microscopic dynamics is reversible and deterministic — every trajectory has a valid time-reverse — yet the macroscopic arrow of time appears because systems drift from macrostates of few microstates to macrostates of many. The coarse-graining lives in our description, not in nature.
The core equations
A classical microstate is the full list of coordinates and momenta. For particles in three dimensions that is numbers, assembled into a single point in phase space. This one object carries everything the microscopic laws need:
where: — a single point in -dimensional phase space, i.e. one microstate; — a generalized coordinate; — its conjugate momentum; — particle number ( spatial degrees of freedom each). Nothing about the macroscopic world is missing from ; the problem is only that it has too many numbers to know. The microstate is not static — it moves. Hamilton's equations give its velocity in phase space, and because they are first-order in time, the present microstate fixes the entire past and future:
where: — the Hamiltonian, total energy as a function of the microstate. Determinism here has a sharp geometric consequence: two microstates can never share a future, so phase-space trajectories never cross. That single fact underlies Liouville's theorem and the incompressible flow of probability. A macrostate, by contrast, is a short list. For an isolated system it is just the conserved data:
where: — total energy; — volume; — particle number. These few labels are all you measure; every microstate consistent with them belongs to the same macrostate. The bridge between the two levels is the multiplicity — the number of microstates a macrostate contains. Classically it is a phase-space volume made dimensionless and de-permuted:
where: — count of accessible microstates; — the volume of one quantum phase-space cell, so is a pure number; — the Gibbs factor, because permuting identical particles is not a new microstate; — a thin shell width, . Drop the and entropy stops being extensive — the Gibbs paradox — so these factors are physics, not bookkeeping. For an isolated system the postulate of equal a priori probabilities assigns every accessible microstate the same weight:
where: — probability of microstate . Uniform weight is the least-biased choice consistent with what we know — and, as the second derivation shows, it is exactly the distribution that maximizes entropy. The multiplicity connects to thermodynamics through Boltzmann's relation, the equation on his tombstone:
where: — thermodynamic entropy; (exact, 2019 SI). The logarithm is what makes entropy additive: independent systems multiply their microstate counts, , and the log turns the product into a sum, . Finally, why the single equilibrium macrostate is seen with certainty: fluctuations of extensive quantities are tiny for large ,
where: — energy fluctuation about the mean. For a mole, : far below any macroscopic instrument, so the most probable macrostate is the observed one.
Here we prove the claim the figures made visually: for a system split into two halves, the number of microstates with a given occupation is a binomial coefficient, its maximum sits at exactly uniform density, and the relative width of the peak shrinks as . The strategy is to count microstates directly, find the peak by differentiating the logarithm, and expand around it with Stirling's approximation — turning "equilibrium is the most probable macrostate" into a sharp statement about a Gaussian whose width vanishes in the thermodynamic limit.
Step 1. Label the macrostate by , the number of particles in the left half. Each choice of which particles are on the left is a distinct microstate, so the multiplicity is . Why: the macrostate fixes only the count , not which particles; the number of ways to choose them is the binomial coefficient.
Step 2. The total over all macrostates is (each particle independently left or right), so equal a priori probabilities give . Why: every microstate carries equal weight , and collects the microstates sharing that .
Step 3. Locate the peak by setting . Using (Stirling), the derivative is , so . Why: the most probable macrostate is uniform density — the equilibrium state — and it falls straight out of maximizing the log-multiplicity.
Step 4. Expand to second order: , a Gaussian with variance . The relative width is
Why: the absolute spread grows only as while the range grows as , so the fraction on the left is pinned to ever more tightly — for the relative width is , and no measurement can resolve a departure from uniformity. *Verified: binomial concentration; peak, variance, and the law reproduced symbolically and numerically in verify_aq-sm-microstates-and-macrostates.py. Cf. Reif §1, Kardar Ch. 4.*
Go deeper · Derivation B · 1 minBoltzmann's entropy is Gibbs's, maximized
This is the article's owned structural result: the general Gibbs entropy functional, maximized over all probability distributions on the accessible microstates subject only to normalization, is stationary exactly at the uniform distribution — and there it equals . So the postulate of equal a priori probabilities is not an extra assumption bolted on; it is the least-biased (maximum-entropy) distribution, and Boltzmann's is the special case of Gibbs's on that distribution.
Step 1. Build the Lagrange functional , with enforcing . Why: we maximize the Gibbs entropy over the microstates with the single constraint that the probabilities sum to one — the only information an isolated system gives us.
Step 2. Stationarity gives , so — a constant independent of . Why: the derivative condition has the same value for every microstate, so the maximizing distribution must be flat.
Step 3. Normalization then forces , and substituting back,
Why: the uniform distribution IS the equal-a-priori-probabilities postulate, here derived rather than assumed; evaluating the Gibbs functional on it collapses the sum and reproduces the Boltzmann entropy exactly. Boltzmann and Gibbs agree for the isolated (microcanonical) macrostate. *Verified: stationarity gives (constant in ) and , both checked symbolically in the verify script. Cf. Reif Ch. 3, Sethna Ch. 5.*
Limiting cases
| Case | Result | Meaning |
|---|---|---|
| Classical continuum | microstates are phase-space points; the count is a volume divided by Planck cells and the Gibbs factor | |
| Quantum discrete | microstates are energy eigenstates; counting is genuinely discrete, indistinguishability built into the symmetrized Hilbert space | |
| Two-state spins | a microstate is the full list of spin orientations; the macrostate fixes only total magnetization | |
| Thermodynamic limit | per-particle entropy converges; one macrostate dominates and fluctuations of intensive variables vanish as |
Worked examples
1 · Counting a small system by hand, then trusting the formula (confidence builder)
Four labelled molecules occupy a box split into left and right halves. Enumerate the microstates, find the multiplicity of each macrostate (number on the left), and compute the probability that all four end up on the same side.
Step 1. Total microstates: each of 4 molecules is independently left or right, so microstates.
Step 2. Multiplicities by macrostate, : . They sum to ? Check: ✓ — the uniform macrostate owns of everything.
Step 3. Probability all four on one side: .
Step 4. Scale up. For the same "all on one side" probability is ; for it is — a number with more zeros than there are atoms in the observable universe. The gas fills the box not by force but by counting.
2 · The width of equilibrium for a real mole (exam level)
A mole of gas () sits in a box. Estimate the typical fractional fluctuation of the number of molecules in the left half, and the entropy scale of the uniform macrostate versus a "10% denser on the left" macrostate.
Step 1. Fractional fluctuation from Eq. (8): . Density differences between the halves are spontaneously present only at the part-per-trillion level.
Step 2. How suppressed is a 10% imbalance? Put into . Here , so the exponent is .
Step 3. With that is . The imbalanced macrostate is less probable by — utterly forbidden. In entropy units it lies below equilibrium.
Step 4. Conclude: equilibrium is not a delicate balance but a mountain peak whose slopes are exponentially steep in . This is why the second law feels absolute even though the microscopic laws are reversible — you would wait longer than the age of the universe to see a mole spontaneously crowd 10% into one half.
Origins · 1 minLudwig Boltzmann and how this was discovered
Boltzmann spent his career insisting that the laws of heat are laws of counting — that entropy measures the number of microscopic ways a macrostate can be realized. His relation (in his notation , Wahrscheinlichkeit, "probability" or number of ways) unified thermodynamics with the atomic hypothesis, and it is carved on his headstone in Vienna. He faced fierce opposition from anti-atomists and from the reversibility and recurrence paradoxes of Loschmidt and Zermelo, which he answered with exactly the argument in this article: irreversibility is statistical, a matter of overwhelming probability, not microscopic law. He did not live to see atoms confirmed; the constant that bears his name was first written down explicitly by Planck a few years later.
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 · Landau & Lifshitz, Statistical Physics Part 1, §1–7.
Provenance. All results are standard. A verifier should confirm: the binomial multiplicity , its peak at , and the variance giving relative width (verify script, symbolic + numeric); the equivalence under normalization; the worked numbers ( for four molecules on one side; fractional fluctuation for a mole; the suppression of a 10% imbalance; Sackur–Tetrode for argon at STP as an order-of-magnitude anchor). The only fundamental constant used is (exact, 2019 SI).
Prerequisites. Phase Space · Hamiltonian mechanics. Leads to. Statistical Ensembles · Fundamental Postulate of Equal A Priori Probabilities · Accessible Phase Space and Energy Shells · Boltzmann Entropy · Phase Space Density and the Distribution Function · The Ergodic Hypothesis.
Isn't a "macrostate" just a fuzzy microstate — the same thing seen blurrily?
No — they are different kinds of object, and the difference is the whole point. A microstate is a single exact point in phase space. A macrostate is a set of microstates: all the points sharing the same . Blurring one microstate would still leave you with one (imprecise) point; a macrostate is genuinely a huge collection. The map from microstate to macrostate is many-to-one, and the size of each preimage — the multiplicity — is exactly what entropy measures.
Why the logarithm in S = k ln Ω? Why not just use Ω itself as the entropy?
Because entropy has to add for independent systems and multiplies. Put two independent systems together and the joint microstate count is (any microstate of one with any of the other). We want their entropies to add, , matching thermodynamics where entropy is extensive. The only function turning products into sums is the logarithm, so is forced, not chosen. Boltzmann's constant just fixes the units (joules per kelvin).
If every microstate is equally likely, why is the gas almost never all on one side?
Every microstate is equally likely — but macrostates are not, because they contain wildly different numbers of microstates. "All on one side" is a single microstate (per side); "uniform" is realized by microstates, an astronomically larger number. The uniform macrostate is favoured not because any arrangement is special but because it has vastly more arrangements to be in. Fair microstates, unfair macrostates.
How can entropy increase if Hamilton's equations are perfectly reversible?
This is Loschmidt's objection, and the resolution is that irreversibility is a statement about macrostates, not microstates. Every microscopic trajectory does have a valid time-reverse. But if you start in a low- macrostate (gas in one corner), the overwhelming majority of accessible microstates lead to higher- macrostates simply because those are exponentially more numerous. The reverse — spontaneously assembling into the corner — is allowed but has probability . The arrow comes from the special, low-entropy initial condition, not from the equations.
What exactly does the h³ᴺ do? We're doing classical mechanics — where does Planck's constant come from?
It sets the size of a "state." Classically, phase-space volume is a continuous real number with dimensions of (action), so a raw volume can't be a count of states. Quantum mechanics tells us each independent state occupies a cell of volume (one factor of per conjugate pair, from the uncertainty principle). Dividing by turns the volume into a dimensionless integer that matches the quantum state count in the classical limit. It is the fingerprint of quantum mechanics surviving into the classical formulas.
Does the macrostate have to be (E, V, N)? What if I fix temperature instead?
You can fix any consistent set of macroscopic variables — that choice is exactly what defines an ensemble. Fixing for an isolated system gives the microcanonical ensemble, weighting microstates equally. Fixing (system in a heat bath) gives the canonical ensemble, weighting microstate by . Fixing gives the grand canonical ensemble. All are probability distributions over the same microstates; they differ only in which macroscopic constraints are held fixed. That is the subject of Statistical Ensembles.
Is Ω ever actually computable, or is it just a formal symbol?
For a few clean models it is exact — the two-state spin system () and the ideal gas (whose energy-shell gives the Sackur–Tetrode entropy, for argon at STP). For realistic interacting systems is not computed directly; instead we switch to the canonical ensemble and compute a partition function, which is analytically or numerically far more tractable and yields the same thermodynamics in the thermodynamic limit. So is the conceptual foundation, but the partition function is usually the working tool.