Visual walkthrough — Entropy and disorder — Boltzmann S = k·ln(W)
If you have not met the words microstate and macrostate yet, read them once in Microstates and Macrostates — but we will re-picture them below anyway.
Step 1 — What are we counting? (Microstates vs macrostates)
WHAT. Imagine four coins in a row. The thing you see from outside is "how many heads." The thing you don't see is which particular coins are heads. The entropy we just named will end up being built out of this hidden count.
WHY. Everything that follows is about a single number: how many hidden arrangements produce the same visible result. Get this picture rock-solid and the rest is bookkeeping.
PICTURE. In the figure, the top box is one macrostate: "2 heads out of 4." Below it sit all the different hidden arrangements — the microstates — that all look like "2 heads" from outside.

Here is just a plain counting number. No logarithm yet — we have not needed one.
Step 2 — The fundamental rule: every microstate is equally likely
WHAT. Nature does not weight the hidden arrangements. Coin-pattern HTHT is exactly as likely as HHTT. Each individual microstate has the same tiny probability.
WHY. This is the one physical assumption of the whole theory (the equal a-priori probability postulate). Without it, "counting" would not predict anything.
PICTURE. Every small tile below has the same size — same probability. A macrostate's probability is then just how many tiles it owns.

So far our measure of "how likely / how many ways" is itself. Now watch why alone is the wrong quantity to call entropy.
Step 3 — Two systems: counting multiplies
WHAT. Put system (multiplicity ) next to an independent system (multiplicity ). How many ways can the combined system be arranged?
WHY. Real thermodynamics is about big systems built from small ones. We must know how the count behaves when we glue systems together.
PICTURE. A grid: each row is one arrangement of , each column one arrangement of . Every cell is a valid combined microstate. Rows columns total cells.

Key observation for later: the combined count grows by a product, not a sum.
Step 4 — But the quantity we want must add
WHAT. We want an "amount of entropy" . Energy, mass, volume are extensive: two identical boxes side by side have double the amount. We demand entropy behave the same way.
WHY. Entropy is supposed to be a bulk "amount" like heat content — it should scale with how much stuff you have. Two identical gas boxes ⇒ twice the entropy.
PICTURE. Two identical boxes. Their volumes add (), their entropies must add (). But from Step 3 their counts multiply (). There is a clash we must resolve.

Step 5 — What function turns into ? The logarithm
WHAT. Write for some unknown function . Steps 3 and 4 together demand:
WHY. This single equation pins down — but only once we add two mild physical demands that entropy obviously has to obey:
- Smoothness (continuity). If the count changes only slightly, the entropy should change only slightly too — no jumps. Physically, a tiny change in how many arrangements are available cannot make entropy leap discontinuously. This is what lets us pick out the logarithm rather than some pathological product-to-sum function.
- Increasing (). More available microstates should mean more entropy, never less. So must rise as rises. This is the demand that forces the scaling constant to be positive in the next step.
With those two demands, the continuous increasing solution of is unique — it is the logarithm.
PICTURE. The graph shows what a log does: the horizontal axis stretches multiplicatively ( equally spaced), and the log turns those into an evenly rising ladder (). Notice the curve is smooth (no jumps) and always climbing (increasing) — matching both demands. Multiplying the input adds a fixed step to the output — exactly the rule we need.

Recall Why
the logarithm and not just some function? Requirements ::: for all positive , with continuous (smooth, no jumps) and increasing (). Unique solution ::: with — no other continuous, increasing function does this.
Step 6 — Fixing the units: the constant
WHAT. is a pure number (no units). Real entropy is measured in joules per kelvin (J/K). We multiply by a constant to bridge them. Because had to be increasing (Step 5), this constant must be positive: .
WHY. The abstract "count" logic cannot know about joules or kelvins — those come from the thermometer-and-heat world of Clausius. The constant is the exchange rate between "nats of counting" and "J/K of physics," and its positivity guarantees more microstates ⇒ more entropy.
PICTURE. Two dials — a pure-number dial () and a physical J/K dial — connected by a gear labelled J/K. Turning one turns the other in fixed proportion.

Step 7 — Does it reproduce real thermodynamics? (Free expansion check)
WHAT. Let gas molecules, each in volume , suddenly access (a partition is removed). Each molecule independently gets twice as many places to be.
WHY. A formula is only trustworthy if it matches a known result. Free expansion has a classical answer, so it is the perfect test. See Free Expansion of an Ideal Gas.
PICTURE. Left: molecules crowded in volume . Right: same molecules spread over . Each molecule's "position-choices" double, and choices multiply across molecules.

Step 8 — The edge cases (never leave a gap)
WHAT. Check the extreme inputs so no reader hits an untested scenario.
WHY. A derivation you can trust must survive its own boundaries: the smallest possible count, and the way "not doubling doubles S" behaves.
PICTURE. A number line of : at it sits exactly at ; it can never dip below; and doubling nudges it up by only , not by a factor of two.

The one-picture summary
Everything above in a single flow: count → log → scale, tested against reality.

Recall Feynman one-liner — the single sentence to keep
Count the hidden arrangements (), take the log so two systems' scores add instead of multiply, scale by to reach joules-per-kelvin — and the result predicts real experiments like free expansion. That is .
Connections
- Parent: Entropy and disorder — the topic this page dives into.
- Microstates and Macrostates — Step 1's bookkeeping.
- Second Law of Thermodynamics — Step 2's "biggest pile wins."
- Free Expansion of an Ideal Gas — Step 7's test case.
- Clausius Entropy dS = dQ_rev / T — the thermodynamic twin reproduces.
- Boltzmann Distribution — how energy spreads across the microstates we counted.
- Information Entropy (Shannon) — the same idea in bits.
- Third Law of Thermodynamics — Step 8's .