2.4.11 · D5Thermodynamics & Statistical Mechanics (Advanced)

Question bank — Average energy from partition function

1,663 words8 min readBack to topic

The recurring theme: where , and every trap below hides in a sign, a , a missing Jacobian, or a limit.


True or false — justify

True or false: is the average energy.
False — you must divide by . The bare is unnormalized; the correct object is .
True or false: is always positive.
False in general — it inherits the sign of the . If you shift all energies down (e.g. levels ), can be negative; only when every is .
True or false: adding a constant to every energy level changes by .
True — , so and . Energy has no absolute zero; only differences are physical.
True or false: contradicts .
False — they are identical. Since , the chain rule gives , so the two forms are the same equation dressed in different variables.
True or false: is dimensionless.
True — is a pure sum of dimensionless Boltzmann weights, so is a pure number. (For continuous one restores dimensionlessness with a phase-space factor like .)
True or false: for a two-level system can exceed .
False — it interpolates between (cold) and (hot), never reaching even . With only two states, the mean is a weighted average of and that maxes out at when both are equally likely.
True or false: at every system's diverges.
False — for a bounded spectrum (like the two-level system) it saturates at the arithmetic mean of the levels. Divergence at high happens only for unbounded spectra (e.g. the oscillator).
True or false: the second derivative can be negative.
False — it equals the variance , so is convex in . A negative value would mean an imaginary energy spread, which is impossible.

Spot the error

"Since energy rises with temperature, ."
Sign error. , so the minus is baked into the Boltzmann exponent: . (And note raising lowers , so intuition about shouldn't be applied to signs.)
" because I converted to ."
Missing a factor of . The correct Jacobian is , giving — the power is , not .
"For the oscillator I'll write ."
Wrong closed form. The geometric series has a minus in the denominator: . The form is the two-level partition function, a different problem.
"."
Wrong variable. Heat capacity is defined per unit temperature: . Differentiating in gives , not .
"Because , the highest-energy state is the most probable at high ."
Backwards emphasis. At high () all weights , so states become equally likely — no state dominates. Low-energy states dominate only at low .
"Equipartition gives per coordinate."
Imprecise. It gives per quadratic term in the energy. A 1D oscillator has two (kinetic and potential ) → ; a free particle's single coordinate contributes nothing without a quadratic potential.

Why questions

Why do we differentiate and not itself?
Because by the chain rule, so the log folds the awkward "divide by , then differentiate" into one clean operation — and is exactly the free-energy object .
Why does taking a derivative of "manufacture" the energy ?
Each term is , and of it brings down . So the derivative acts like an operator that inserts a factor of energy into every term of the sum — turning into .
Why is called a "generating function"?
Because successive -derivatives generate successive moments: , , and so on. One object encodes the entire statistical distribution of energy.
Why does the heat capacity measure energy fluctuations?
Because links the response (how changes with ) to the spread . A system that stores heat readily is one whose energy fluctuates a lot — this is a fluctuation–dissipation relation.
Why must , and where does that show up in ?
Probabilities of mutually exclusive microstates must total one; dividing each weight by enforces exactly this. is the normalizer, which is why it appears in the denominator of .
Why does the classical (continuous) equipartition result not depend on the constant in ?
Because with the hiding only inside a -independent constant. Since ignores additive constants in , the stiffness drops out entirely, leaving .

Edge cases

At (), what is for any system with a unique ground state?
It equals the ground-state energy . All excited weights die exponentially faster than the ground term, so the system freezes into its lowest state.
What happens to for the quantum oscillator as ?
, so — only the ground state survives. Correspondingly , matching a frozen oscillator (with our convention ).
What is at high for a two-level system, and why isn't it ?
It is , the plain average of and , because both states become equally probable. The mean of two equally likely values is their midpoint, never the larger one.
For an unbounded spectrum, why doesn't diverge at finite ?
The exponential suppression beats the growth in the number/energy of states , so the sum (or integral ) converges for any . Convergence can fail only when .
What breaks if you try exactly for the oscillator formula ?
The denominator , so the expression diverges — but taking the limit carefully (expand ) gives , the classical equipartition value. The apparent singularity is removable.
Is (negative temperature) always just a mathematical pathology?
No — for a bounded spectrum, is a genuine physical state with inverted populations (more atoms in the upper level), realized in nuclear-spin and laser systems; it is "hotter than infinity." Only for an unbounded ladder does make diverge and become unphysical.
A system has a degenerate ground level (multiplicity ). Does at change?
No — still, because all degenerate states share the same energy. Degeneracy alters 's prefactor and the entropy, but not the mean energy at .
Is valid for a continuous spectrum where is an integral?
Yes — the derivation only used linearity of the derivative and the structure , which survives replacing by . The equipartition example is exactly this case.

Recall One-line summary of the whole trap set

Almost every trap is one of four sins: a dropped minus sign, a forgotten , a missing Jacobian, or an illegal limit on a bounded-vs-unbounded spectrum. Guard those four and you're safe.

Related: Boltzmann distribution · Helmholtz free energy F = -kT ln Z · Heat capacity and energy fluctuations · Equipartition theorem · Two-level system / Schottky anomaly · Quantum harmonic oscillator — thermal