Worked examples — Statistical mechanics — microstate, macrostate
See the parent topic for the setup, and Binomial and Gaussian distributions for the maths of the peak.
The scenario matrix
Every counting problem in this topic is one of these cells. We will hit each one.
| Cell | What makes it special | Example that covers it |
|---|---|---|
| A — Edge macrostate ( or ) | Only microstate; a "corner" of the picture | Ex 1 |
| B — Peak macrostate () | Largest ; this is equilibrium | Ex 2 |
| C — Off-peak, generic | Ordinary combination; ratios to the peak | Ex 3 |
| D — Degenerate input (, , empty) | Formula must not break; check | Ex 4 |
| E — Large- limiting behaviour | Peak sharpens ; Gaussian shape | Ex 5 |
| F — Biased two-state (uneven weights) | Microstates not equally likely a priori — subtle! | Ex 6 |
| G — Continuous system (gas: scaling) | Count volumes in phase space, not lists | Ex 7 |
| H — Real-world word problem | Translate everyday shaking into | Ex 8 |
| I — Exam twist (composite / multi-state) | Combine two subsystems; multiplicities multiply | Ex 9 |
Before any of it, one figure that fixes the whole geography of the coin/spin problem.

Ex 1 — Cell A: the corner macrostate
Forecast: Guess before reading — is it ? ? Something bigger?
- Write the multiplicity. The macrostate " up out of " has . Why this step? This is the counting rule the parent derived: pick which of slots are up.
- Plug . Why this step? Every slot is forced up — there is literally one sequence .
- Plug . Why this step? "All down" is also a single sequence. The formula gives only because — that convention is what makes the edges behave.
Verify: , and both are the smallest entries of row (see the pyramid in the figure). ✓
Ex 2 — Cell B: the peak (equilibrium)
Forecast: The peak sits at . Guess before computing.
- Evaluate the middle. Why this step? splits the slots evenly; orders the ups and orders the downs, both divided out.
- Compare to the corner. . Why this step? Even for a tiny system, "half up" already has 20× more ways than "all up". This ratio is the whole reason equilibrium exists.
- Probability of the peak. Why this step? By the Fundamental postulate of statistical mechanics, each of the microstates is equally likely, so a macrostate's probability is its share .
Verify: row-6 of Pascal's triangle is ; sum , and is indeed the max. ✓
Ex 3 — Cell C: an off-peak macrostate and its odds
Forecast: Bigger or smaller than the peak ? By how much?
- Compute . Why this step? Choose which 2 of 10 slots are heads; the ordered picks are halved because the 2 chosen slots are interchangeable.
- Compute the peak . Why this step? We need something to compare against — the equilibrium value.
- Probability. Why this step? Same rule. Off-peak macrostates are rare but not impossible.
- Ratio to peak. — already almost 6× less likely than half-heads, for only . Why this step? Shows the peak dominating even at modest ; foreshadows Ex 5.
Verify: , , . ✓
Ex 4 — Cell D: degenerate tiny systems
Forecast: A one-coin system — how many macrostates, how many total microstates?
- : list macrostates. (down) and (up). Why this step? With one object there are only two "how many up" values.
- Their multiplicities. ; total . ✓ Why this step? Confirms still holds at the smallest nontrivial size.
- : the empty system. There is one macrostate () with , and total microstate. Why this step? The "empty configuration" is a legitimate single microstate. Multiplicity is never here — the machine degrades gracefully.
Verify: and . ✓
Ex 5 — Cell E: the large- limit and the sharp peak
Forecast: Will be close to , or small? (Trap: it is actually small — read on.)
- Peak probability. Why this step? Even the single most-likely macrostate is under 8%. The peak is broad in but narrow relative to — those are different statements.
- Relative width. For a fair two-state system the standard deviation of is . Here . Why this step? The binomial spread grows like while the centre grows like .
- Fractional spread. , i.e. . Why this step? This is . For it becomes — you only ever measure the peak. That is equilibrium.

Verify: , relative spread , and . ✓
Ex 6 — Cell F: biased objects (microstates NOT equally likely)
Forecast: Does still appear? Yes — but it is no longer the whole story.
- Count the sequences. There are still ordered patterns with 3 heads. Why this step? The combinatorics of arrangement is unchanged — bias does not change how many patterns exist.
- Weight each pattern. Each specific "3H,2T" sequence now has probability . Why this step? When outcomes are biased, microstates are not equally likely, so we cannot just divide by . We multiply the count by the per-sequence weight.
- Combine. Why this step? This is the general binomial distribution; the fair coin is the special case , where for every sequence and we recover .
Verify: . ✓
Ex 7 — Cell G: a continuous system (ideal gas)
Forecast: Multiplicity grows by — is the exponent , , or ?
- Isolate the -dependence. Only changes. Why this step? Each of the particles independently gains access to a doubled position space — factors multiply, giving one factor of per particle.
- Plug . Factor . Why this step? Concrete size: even 100 particles gain more microstates by doubling the box. This is why a gas rushes to fill available volume.
- Take the log (entropy language). Why this step? Entropy is (Entropy and Boltzmann's relation S = k ln Ω), so — a positive jump, matching the second law.

Verify: and . ✓
Ex 8 — Cell H: real-world word problem
Forecast: More or less than a coin-flip's 50%? Guess before summing.
- Model it. Each marble is a fair two-state object (L/R). "Number on the left" is the macrostate; total microstates . Why this step? Same coin machine — the word "marbles" is just costume.
- Sum the favourable multiplicities. Balanced means : Why this step? Macrostate probabilities add because the macrostates are mutually exclusive; each contributes its own count of microstates.
- Numbers. Why this step? Note the symmetry — the distribution is mirror-symmetric about .
- Probability. Why this step? Nearly 74% — the balanced band captures most of the probability, exactly because macrostates near the peak dominate (Ex 5's lesson in disguise).
Verify: , sum , and . ✓
Ex 9 — Cell I: exam twist (composite system)
Forecast: Do the two counts multiply, or add? And is the "joined" count bigger or smaller than the "separate" count?
- Separate multiplicities. Why this step? Each subsystem is counted with the same rule, independently.
- Combine — multiply. Why this step? Independent choices multiply (fundamental counting principle): any of 's 3 patterns pairs with any of 's 6.
- Now relax the constraint. If only the total out of is fixed, Why this step? Removing the internal partition opens new microstates (e.g. ) that the rigid split forbade.
- Interpret. : letting the systems share raises the microstate count. This is why heat flows — the combined system slides to the arrangement with the most microstates (see Temperature as ∂S/∂E and the Microcanonical ensemble). Why this step? It connects pure counting to the direction of spontaneous change.
Verify: ; ; and the identity (Vandermonde) confirms the relaxed count collects all internal splits. ✓
Recall Which cell was which?
Edge ::: Ex 1 (Cell A) Peak / equilibrium ::: Ex 2 (Cell B) Generic off-peak ratio ::: Ex 3 (Cell C) Degenerate ::: Ex 4 (Cell D) Large- sharpening ::: Ex 5 (Cell E) Biased (weighted) microstates ::: Ex 6 (Cell F) Continuous gas ::: Ex 7 (Cell G) Word problem ::: Ex 8 (Cell H) Composite / multiplied multiplicities ::: Ex 9 (Cell I)
Connections
- Parent — microstate & macrostate
- Binomial and Gaussian distributions
- Fundamental postulate of statistical mechanics
- Entropy and Boltzmann's relation S = k ln Ω
- Second law and irreversibility
- Microcanonical ensemble
- Temperature as ∂S/∂E
- Phase space and Liouville's theorem