2.4.9 · D2Thermodynamics & Statistical Mechanics (Advanced)

Visual walkthrough — Boltzmann's entropy S = k_B ln(Ω)

2,119 words10 min readBack to topic

Step 1 — What is a "way it can happen"? (the microstate)

WHAT. Picture four little boxes in a row. Each box holds one coin, and each coin shows either Heads (H) or Tails (T). One complete filling-in of all four boxes — say H T T H — is one exact snapshot. We call each such complete snapshot a microstate.

WHY. Before we can count ways, we must agree on what "one way" is. A microstate is the smallest, fully-detailed unit of counting: every coin pinned down, nothing left vague.

PICTURE. Look at figure s01. The amber row is one microstate — every coin decided. The faint cyan rows below are other microstates: change even one coin and it becomes a different snapshot.

Figure — Boltzmann's entropy S = k_B ln(Ω)

Step 2 — Grouping snapshots that "look the same" (the macrostate)

WHAT. From outside you can't see individual coins — you can only read a bulk number, say "how many Heads total." So we sort every microstate into bins labelled by that bulk number: 0 heads, 1 head, 2 heads, ... A bin is a macrostate.

WHY. Real measurements are coarse. You measure energy , volume , particle number — never the exact microstate. So the physically meaningful object is the bin, not the snapshot. The question "how likely is this bin?" becomes "how many snapshots landed in it?"

PICTURE. In figure s02 every snapshot (cyan dot) drops into a bin by its head-count. The bin "2 heads" is visibly the fattest — more dots fell there. That fatness is the whole story.

Figure — Boltzmann's entropy S = k_B ln(Ω)

Term-by-term: = the count; a microstate = one dot; a macrostate = one bin. Bigger bin ⇒ bigger ⇒ (we will see) more entropy.


Step 3 — Joining two systems: counts multiply

WHAT. Put system (with snapshots) beside an independent system (with snapshots). For each choice of 's snapshot you may pair any of 's. So the total number of joint snapshots is the product.

Reading it term-by-term:

  • = ways for the left system alone,
  • = ways for the right system alone,
  • = ways for the two treated as one combined system,
  • the appears because the choices are independent — nothing about restricts .

WHY THIS TOOL (multiplication, not addition). Whenever two choices are made independently, the totals multiply — exactly why two dice give outcomes, not . We are not assuming physics here, only the arithmetic of independent choices.

PICTURE. Figure s03 is a grid: 's options run along the rows, 's along the columns. Every cell is one joint microstate. Count the cells — it's rows columns. The picture is the multiplication.

Figure — Boltzmann's entropy S = k_B ln(Ω)

Step 4 — What we demand of entropy: it must add

WHAT. We want a quantity — "entropy" — that we will define from somehow, . Thermodynamics already treats entropy as extensive: glue two identical blocks together and the entropy doubles, just like mass or energy. So we insist:

Term-by-term: = entropy of the left block, = of the right, = of the combined block, and the is the property we are imposing by hand to match real thermodynamics.

WHY. This is the pivotal design choice. Nature gave us products in Step 3; thermodynamics wants sums here. Our job is to find the one function that bridges the two.

PICTURE. Figure s04 stacks the tension side by side: on the left, counts combine by ; on the right, our required entropy combines by . The double arrow marks the gap a function must close.

Figure — Boltzmann's entropy S = k_B ln(Ω)

Step 5 — The one function that turns into : the logarithm

WHAT. Combine Steps 3 and 4. Since and , additivity demands

We solve this. Differentiate both sides with respect to (call it , and ): Set : , a constant. Hence And because one way means zero entropy: (if there's only a single snapshot, you have no missing information at all).

WHY THE LOGARITHM (why this tool and no other). The logarithm is defined by the identity . It is the unique continuous function that swallows a product and spits out a sum. Our whole tension — nature multiplies, thermodynamics adds — has exactly one continuous cure, and its name is .

PICTURE. Figure s05 shows it happening: two counts on a multiplying number-line map, through the curve, onto an adding number-line. Watch on the bottom axis land at on the side axis.

Figure — Boltzmann's entropy S = k_B ln(Ω)

Step 6 — Fixing the constant:

WHAT. The functional equation left free. We fix it by matching one known case — an ideal gas — to measured thermodynamic entropy. The match forces to be Boltzmann's constant:

WHY. is a pure number, but real entropy is measured in joules-per-kelvin. is the exchange rate that converts "number of ways" into thermodynamic units — and it is exactly the constant that makes come out in kelvin.

PICTURE. Figure s06: the bare curve (cyan) is rescaled by the tiny amber factor into the physical entropy (amber). Same shape, physical units.

Figure — Boltzmann's entropy S = k_B ln(Ω)

Step 7 — The degenerate case: (Third Law)

WHAT. What if a system has only one possible microstate? A perfect crystal at absolute zero sits frozen in its single lowest-energy arrangement, so . Then

WHY. because you multiply nothing to get — no choices remain, no hidden information. Boltzmann's counting formula predicts the Third Law of Thermodynamics: entropy vanishes when only one way is left. This is not an add-on; it falls straight out of the log.

PICTURE. Figure s07: as the number of available snapshots collapses to a single dot, the entropy bar shrinks smoothly to the floor .

Figure — Boltzmann's entropy S = k_B ln(Ω)

Step 8 — The other edge: entropy can fall as energy rises

WHAT. We usually think "more energy ⇒ more entropy." But tracks , not . In a capped-energy system — spins that can only point up or down in a magnetic field — pumping in energy eventually reduces the number of arrangements (all spins forced to align), so falls and falls. There , the hallmark of negative temperature.

WHY. This edge case guards against the false shortcut "entropy = energy." Boltzmann's formula only ever counts ways; if the ways run out at high energy, the entropy drops. Covering this keeps our picture honest across all regimes, not just the everyday heating one.

PICTURE. Figure s08 plots against energy for a two-state spin system: it rises, peaks at the middle energy, then falls back — a hill, not a ramp. The entropy follows the same hill.

Figure — Boltzmann's entropy S = k_B ln(Ω)

The one-picture summary

Figure s09 compresses the whole walkthrough into a single flow: snapshots → bin them → join systems (counts multiply) → demand entropy adds → the only bridge is → scale by → read off the edge cases ( gives ; capped systems can lose entropy).

Figure — Boltzmann's entropy S = k_B ln(Ω)

One snapshot = microstate

Bin snapshots = macrostate

Bin height = Omega

Join systems: counts multiply

Demand entropy adds

Only bridge product to sum is log

Scale by k_B for units

Edge: Omega equals 1 gives S zero

Edge: capped energy can lower S

Recall Feynman: the whole walk in plain words

Start with coins. One exact filling of all the coins is a snapshot. From across the room you can't see the coins — you can only count "how many heads," so you sort snapshots into bins. Some bins hold way more snapshots than others; that headcount of a bin is .

Now push two coin-tables together. For every snapshot on the left you can pair any snapshot on the right, so the joint count multiplies — like a grid whose cells are rows times columns. But we want our "entropy" number to behave like weight: two tables should give twice the entropy, adding, not multiplying.

There's exactly one math gadget that eats a multiply and gives back an add: the logarithm, because . So entropy has to be of the count. Solving the little equation confirms it and forces the leftover constant to vanish when there's only one way (). Finally we sprinkle in , a tiny number that turns "count of ways" into real joules-per-kelvin.

Two sanity checks close the loop: a perfect crystal frozen into its single arrangement has , so — the Third Law, for free. And in a spin system where the ways run out at high energy, entropy can actually drop as you add energy — proof that entropy counts ways, never energy itself.

Recall Quick self-test

Why do counts multiply but entropies add? ::: Joining independent systems pairs every microstate of one with every microstate of the other (grid of cells = rows × columns), so counts multiply; we demand entropy be extensive so it adds — the reconciles the two. What forces and not some other function? ::: is the unique continuous solution of . What does give and which law is that? ::: , the Third Law. When can adding energy lower entropy? ::: In capped-energy systems (e.g. spins) where decreases at high — negative-temperature regime.


Connections