Visual walkthrough — Equipartition theorem — ½k_BT per quadratic degree of freedom
Before we start, here is the vocabulary we will earn (never used before it is drawn):
Our one and only goal:
Step 1 — Draw the energy bowl
WHAT. We plot the energy against the coordinate . This is a parabola: a bowl. The bead lives somewhere inside it, and the height of the wall at position tells you how much energy it costs to be there.
WHY. Everything downstream is about how often the bead visits each spot in this bowl. Before we can talk about probability, we must see the landscape the bead is exploring. The bowl is the stage; the bead is the actor.
PICTURE. The orange curve is . At (bottom) the cost is zero — cheap, easy to sit there. As grows either way, the wall rises steeply. Look at the two dashed heights: a stiffer (steeper bowl) makes the same far more expensive.

Step 2 — The Boltzmann weight: how often does the bead visit ?
WHAT. Nature does not visit all spots equally. The rule (the Boltzmann distribution) is: the chance of finding the bead at coordinate is proportional to
WHY. Why this function and not, say, or a straight line? Because a system in contact with a huge thermal bath spends time in each state in proportion to — high-energy states are exponentially rare, and the "exchange rate" between energy and rarity is set by . We do not re-derive Boltzmann here; we use it as our one imported law. The minus sign matters: more energy smaller exponent less likely.
PICTURE. The blue curve is the visiting probability — a bell (Gaussian) sitting on top of the same axis as the bowl. Where the bowl is cheap (near ) the bell is tall: frequent visits. Where the bowl is expensive (large ) the bell hugs zero: rare visits. The bell is the upside-down shadow of the bowl.

Step 3 — Turn "average" into a fraction of two integrals
WHAT. The average energy is: (sum over all spots of energy-at-that-spot × how-often-we-visit) divided by (total visiting, so it normalizes to 100%). In the language of continuous , "sum" becomes an integral — an infinite sum of infinitely thin slivers:
WHY. An average is always "weighted total ÷ total weight." The top adds up energy, giving each spot its Boltzmann vote. The bottom adds up the votes alone, so dividing turns votes into a proper probability. Crucially, every other coordinate in a big system contributes the same exponential factor to top and bottom, so it cancels — we are legitimately allowed to stare at just one variable .
PICTURE. Top panel: the numerator integrand — a two-humped curve (zero at the middle because there, zero far out because the bell kills it). Its shaded area is the weighted energy. Bottom panel: the denominator integrand, the plain bell, whose shaded area is the total weight. The answer is (top area) ÷ (bottom area).

Step 4 — The differentiation trick: manufacture the
WHAT. The numerator is awkward because of the extra . We remove it with a trick. First rename the messy exponent: let (Greek "beta"; small = hot, big = cold). Define the bottom integral its own name: Now notice: if you differentiate with respect to , the chain rule pulls a factor down from the exponent: That is exactly the numerator, up to a minus sign! Therefore
WHY. Why reach for a derivative? Because "multiply the integrand by " and "differentiate the whole integral by " do the same job here — and the second is far easier to carry out once we know . The derivative is a machine that reads a factor of out of an exponential for free. That last equality uses , the log-derivative rule.
PICTURE. We show as a curve, and how a small nudge (turning the temperature knob slightly colder) shrinks . The slope of that shrink — the red tangent line — divided by the height , is precisely our average energy. Cooling narrows the bell, so (its area) drops; the rate of that drop encodes how much energy sat in the slot.

Step 5 — Do the one integral we need (the Gaussian)
WHAT. We only need to evaluate . This is the famous Gaussian integral. Its value is
WHY. Why does the area of a bell equal ? A taller, wider bell (small ) encloses more area; a narrow spike (large ) encloses less — and the square-root captures exactly how area trades against width. The exact constant comes from the classic "square it and switch to polar coordinates" proof, which you can take on faith here. The one fact we need: scales as .
PICTURE. Three bells drawn for hot / medium / cold ( small / medium / large). The shaded area under each equals . Hotter (smaller ) fatter bell larger area. The area is annotated on each.

Step 6 — Take the log-derivative and watch vanish
WHAT. Plug into . Take the log first — logs turn the product into a sum: Now differentiate with respect to . The constant term (which is the only place lives) has zero slope and disappears:
WHY. This is the punchline of the whole page. Differentiation kills additive constants. Because entered only as an additive constant of (thanks to the log splitting the product), the derivative erases it entirely. Whatever the stiffness, the answer is the same . Also note we used at the end to translate back to temperature.
PICTURE. We plot against : a straight-ish descending curve of slope . The horizontal offset (the part) is shown as a vertical shift of the whole line — and shifting a line up or down never changes its slope. Two lines for two different 's lie parallel; their common slope gives the same energy.

Step 7 — Edge case A: what if the slot is NOT quadratic?
WHAT. Suppose the energy were for some power instead of . Re-running the same machine (the Gaussian becomes a general power integral, and ) gives
WHY. We must show where the came from, or a reader will over-apply it. The is literally the with . A stiffer-walled quartic bowl () confines the bead more, storing only . The theorem's magic number is a fingerprint of the shape of the energy well, not a universal constant.
PICTURE. Three bowls on one axis: (parabola), (flat-bottomed, steep walls), (a V, sharp point). Beside each, the answer . The curve is highlighted — that's the equipartition case.

Step 8 — Edge case B: the classical assumption ( level spacing)
WHAT. Our whole derivation replaced a sum over states with a smooth integral over . That is only legal when the allowed energy levels are packed far closer together than — i.e. the ladder of quantum states looks like a smooth ramp. When the gap between rungs satisfies , the bead cannot even reach the first excited rung: the slot is frozen out and contributes zero, not .
WHY. We must cover the degenerate limit or the reader will wrongly predict for room-temperature nitrogen. This is exactly why heat capacities rise in steps as you heat a gas — see Quantum freezing of degrees of freedom. The integral in Step 3 secretly assumed a continuum; when levels are coarse that assumption fails.
PICTURE. Left: closely spaced quantum rungs with (a green bar) towering over the gap — the smooth-integral / equipartition regime, slot "on." Right: widely spaced rungs with shorter than the first gap — the bead stuck on the ground rung, slot "off," contributing .

The one-picture summary
WHAT. One figure that chains every step: bowl → bell → weighted-energy humps → area → slope of → , with shown entering and then being crossed out.
PICTURE. Follow the arrows left to right. The parabola sets the stage; the Boltzmann bell says how often each spot is visited; the twin-humped product is where energy actually sits; its total normalises through ; differentiating by the cooling knob pulls out the slope ; and , having appeared only as a vertical shift, is struck through.

Recall Feynman retelling of the whole walkthrough
Picture a bead in a bowl. The bowl's steepness is the "stiffness" . The warmer world outside jiggles the bead, and a golden rule (Boltzmann) says the bead spends time near each spot in proportion to — so it hangs around the cheap bottom and rarely climbs the expensive walls. To find the average energy the bead carries, we add up "energy here times time-spent-here" and divide by "total time" — that's the fraction of two integrals. The top one has an annoying extra , so we play a trick: differentiating the whole thing by the coldness-knob magically pulls a out of the exponential for us. That reduces everything to the area under a bell curve, a number that scales like . Take its log, take its slope, and out drops . The beautiful part: the bowl's steepness only ever showed up as a fixed shift of the log — and slopes ignore shifts — so a stiff bowl and a floppy bowl give the exact same energy. Two footnotes: if the bowl weren't a clean parabola (say ) the magic number changes to ; and if the world is too cold to lift the bead off the very bottom rung (quantum freezing), the slot simply switches off and stores nothing.