Skip to content
Tutorials Center
My learning

Topics

Lesson 5 of 39 · Microstates, Macrostates and Entropy

Microstates and Macrostates

Learn how microstates group into macrostates, compute multiplicities with binomial coefficients, and see why the most probable macrostate dominates, using coins and spins.

The words microstate and macrostate carry the whole of statistical mechanics. In this lesson you will define them precisely, count them for a simple system, and meet the fundamental postulate: all accessible microstates are equally likely.

Definitions

A microstate is a complete specification of the system at the finest level of description. A macrostate is a specification using only a few collective, measurable variables. The number of microstates belonging to a macrostate is its multiplicity, written Ω (omega).

A system of N coins is the simplest model. Each coin shows heads (H) or tails (T).

  • Microstate: the exact sequence, such as HTTHT.
  • Macrostate: only the number of heads n.
  • Multiplicity: Ω(n) = C(N, n), because you choose which n of the N coins show heads.

For N = 4:

Macrostate (heads) Microstates Multiplicity
0 TTTT 1
1 HTTT, THTT, TTHT, TTTH 4
2 HHTT, HTHT, HTTH, THHT, THTH, TTHH 6
3 HHHT, HHTH, HTHH, THHH 4
4 HHHH 1

The total is 1 + 4 + 6 + 4 + 1 = 16 = 2^4.

Python Enumerate microstates and group them

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The fundamental postulate

Why should we assume every microstate is equally likely? For an isolated system in equilibrium (fixed energy, volume and particle number), the underlying dynamics wanders through all accessible microstates and there is no reason to prefer any one. This is the postulate of equal a priori probabilities:

For an isolated system in equilibrium, all accessible microstates are equally probable.

"Accessible" means consistent with the conserved quantities and any constraints. The postulate cannot be proved from nothing; it is justified by its enormous success and, in more advanced courses, by ergodic arguments.

From the postulate, the probability of a macrostate is

Text
P(macrostate) = Ω(macrostate) / Ω_total

Spin-1/2 paramagnet

The same mathematics applies to N magnetic moments that can point up or down. If N_up spins point up, then Ω = C(N, N_up). A macrostate is labeled by N_up (equivalently by the net magnetization). In zero magnetic field every microstate has the same energy, so the postulate gives exactly the coin counting.

Probability of macrostates

With N = 100 coins the probability of exactly 50 heads is C(100, 50)/2^100, about 0.0796. Exactly 50 is not very likely, but values between 40 and 60 together are about 96% probable.

Python Probability of macrostates for 100 coins

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Why the most probable macrostate dominates

Let us increase N and ask how likely it is to find the fraction of heads within 1% of one half, that is 0.49 ≤ n/N ≤ 0.51.

Python The peak sharpens with N

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

As N grows, the probability climbs toward 1. For a mole of particles the allowed window can be narrowed to parts per trillion and still hold the probability extremely close to 1.

Macrostates need constraints

The macrostate "n heads" is a very specific choice. For a real gas, the macrostate is given by U, V and N. The multiplicity Ω(U, V, N) then counts the microstates consistent with those values. Entropy, which comes next, is defined from this number. In the next lessons we will count Ω for the Einstein solid and use it to define Boltzmann entropy.

Quantum mechanics makes counting well defined: energy levels are discrete, so Ω is a true whole number. For classical systems, counting states needs an agreed cell size in phase space (a point we return to with the ideal gas).

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Five coins are tossed. How many microstates have exactly 2 heads?

    C(5,2) = 10.
  2. 2. In the coin model, the macrostate is:

    The macrostate records only the number of heads. The exact sequence is the microstate.
  3. 3. What does the postulate of equal a priori probabilities assert?

    Individual accessible microstates have equal probability; macrostates differ in probability because they have different multiplicities.
  4. 4. For 4 coins, what is the probability of exactly 2 heads?

    6 of the 16 equally likely microstates have 2 heads, so the probability is 6/16 = 3/8.

Summary

  • A microstate is the full detailed description; a macrostate is a coarse description; multiplicity Ω counts the microstates in a macrostate.
  • For N two-state objects, Ω(n) = C(N, n).
  • Postulate: accessible microstates of an isolated equilibrium system are equally likely, so P = Ω/Ω_total.
  • For large N the macrostate distribution is sharply peaked, so one macrostate dominates.

Next: Counting the Einstein Solid