2.4.10 · D5Thermodynamics & Statistical Mechanics (Advanced)

Question bank — Canonical ensemble — partition function Z

1,941 words9 min readBack to topic

Before the questions, one shared vocabulary reminder so nothing is used before it is defined:

Below, a picture to keep in your head while you answer — the same energy ladder at three temperatures:

Figure — Canonical ensemble — partition function Z

True or false — justify

is a probability and therefore cannot exceed 1.
False. is the normalizer — a sum of many positive weights — so it grows roughly like the number of thermally reachable states and is usually enormous; only is a probability bounded by 1.
Adding a constant to every energy level leaves all probabilities unchanged.
True. Every Boltzmann factor picks up the same factor , so it cancels between numerator and ; the physics only cares about energy differences, not the zero point.
Adding that same constant leaves unchanged.
False. Probabilities are unchanged but the energy values themselves shifted, so . Free energy also shifts by ; only entropy and are truly zero-point-independent.
At infinite temperature every microstate becomes equally likely.
True. As , , so every and each — the exponential weighting flattens completely (rightmost panel of the figure).
At absolute zero the system is certainly in its lowest-energy state.
True (for a non-degenerate ground state). As the ground state's weight dominates all others exponentially; if the ground state is -fold degenerate the system spreads equally over those states instead.
for two independent subsystems is the sum .
False. Independent subsystems have additive energies, and , so the sums multiply: . Sums of energies become products of partition functions.
For distinguishable identical subsystems, exactly.
True. Distinguishability means every assignment of states to labelled sites is a distinct microstate, so the factorization is complete with no correction factor.
For a classical ideal gas of atoms, is correct.
False. Identical gas atoms are indistinguishable, so overcounts each configuration times; the correct expression is , which is what rescues extensivity (see Gibbs paradox — where exactly this missing makes entropy wrongly non-additive).
The units of for a classical oscillator are the same as for a two-level system.
False. The two-level is dimensionless; the classical phase-space is only dimensionless because we divide the integral by Planck's constant , whose action-units () exactly cancel those of the — without that per degree of freedom, would carry leftover units of action.

Spot the error

"."
Sign error. Differentiating brings down , so . The minus is physical: raising (cooling) lowers the average energy.
"Since and , we have ."
Wrong. ; free energy equals average energy only at where the entropy term vanishes. They are genuinely different quantities linked through $F$ via .
"To get just square ."
Wrong. in general; their difference is the variance . Getting requires the second -derivative of , not squaring the mean.
"The variance can be negative when is small."
Wrong. A variance is a sum of squared deviations and is never negative; correspondingly always, which this relation actually guarantees. The chain that ties them together is — so literally emerges as a second derivative of (see Heat capacity and fluctuations, where this identity is the whole story).
"For the continuous oscillator we integrate over and , so no factor of is needed."
Error. The (per degree of freedom) is required to make dimensionless and to match the quantum count of states — recall is the size of one phase-space cell, so dividing by it converts "area in the plane" into "number of states." Dropping it changes and by additive constants and breaks comparisons.
" works even when several states share an energy."
Incomplete. The sum is over microstates, so degenerate levels must be counted once each; written as a sum over energy levels you must insert the degeneracy : .

Why questions

Why does a higher-energy state get an exponentially smaller weight, not just a linearly smaller one?
Because the weight tracks the reservoir's microstate count , and a linear drop in reservoir entropy () becomes an exponential drop after exponentiating — the exponential is inherited from entropy, not assumed.
Why does appear in deriving the Boltzmann factor?
That derivative is the thermodynamic definition of temperature; it is exactly the coefficient of in the Taylor expansion of the reservoir's entropy, which is why (and hence ) enters the weight at all.
Why is differentiating with respect to (rather than ) the natural move for averages?
Because multiplies each linearly inside the exponent, so cleanly pulls down one factor of per term — differentiating by would introduce an extra chain-rule mess.
Why must probabilities be divided by at all?
The raw Boltzmann factors are only relative weights; dividing by their total forces , which is the defining requirement of any probability distribution — this is the whole job of .
Why does the classical harmonic oscillator give with no reference to ?
Because , and the term (which carries all the -dependence) is independent of ; the two quadratic degrees of freedom each contribute by the Equipartition theorem.
Why is called the "master key"?
Because every thermodynamic quantity — energy, entropy, pressure, heat capacity, free energy — is obtained from by differentiation with respect to , , or ; knowing is knowing the entire thermodynamics of the system.

Edge cases

What is for a system with a single accessible microstate of energy ?
, so , , and — a perfectly frozen system with no fluctuations, the degenerate limit.
Can diverge?
Yes — if infinitely many states pile up without their energies growing fast enough (e.g. a classical hydrogen atom's bound spectrum), the sum fails to converge, signalling that the naive model is unphysical and needs a cutoff or quantum correction.
What happens to the two-level as ?
It approaches , not : at infinite temperature both states are equally likely, so the average sits exactly midway between and .
What happens to the two-level as ?
It approaches , the ground-state energy: the Boltzmann factor of the excited state , freezing the particle into the lower level.
Can temperature — and hence — be negative?
Yes, but only for a system with a bounded, capped energy spectrum (like the two-level system, which has a maximum energy ). If more particles occupy the upper level than the lower one, , so and ; the Boltzmann factor then favours high energy. A negative-temperature state is hotter than any positive-temperature one, and it cannot exist for the harmonic oscillator or free particle whose energies run to (there would diverge for ).
For a two-level system at , where does sit?
Above : as the upper level dominates and , the exact mirror image of the low-temperature limit — this is population inversion, the physics behind lasers.
Is the canonical ensemble ever equivalent to the microcanonical one?
In the thermodynamic limit () the energy fluctuations , so the canonical energy is effectively sharp and the two ensembles predict identical thermodynamics.
What distinguishes the canonical from the grand canonical ensemble at the level of ?
Canonical fixes and sums Boltzmann factors over energy states only; grand canonical also lets fluctuate, inserting a factor — where (defined above) is the energy price of one extra particle — and summing over particle number too.
If a level is -fold degenerate, how does that change the low-temperature entropy?
As the system spreads over equally likely ground states, giving a residual entropy rather than zero — a genuine physical consequence traceable directly to the Boltzmann distribution over those states.

Recall Fast self-test

Give the one-word reason for a gas. ::: Indistinguishability. True/false: can be less than 1. ::: True — e.g. a single state with gives ; is a weight sum with no upper or lower bound of 1. The minus sign in comes from where? ::: The that falls out when hits . When is physically possible? ::: Only for systems with a maximum (capped) energy, when the upper levels are more populated than the lower ones.