The molecular partition function
Statement
The bridge from energy levels to thermodynamics.
Why it matters
boltzmann-populations gives the fractional population of each individual energy level; the partition function \(q\) is the normalising sum sitting in the denominator of that distribution, and once it is known as a function of temperature (and volume), it alone determines every bulk thermodynamic quantity — internal energy, entropy, free energy, heat capacity — without needing to track individual level populations separately. This is the bridge from molecular energy levels to macroscopic thermodynamics that gives the unit its name, and it is exactly why the lectures immediately following this one build \(q\) up piece by piece into translational, rotational, vibrational, and electronic contributions.
Hypotheses
Proof
Result
Reading. The partition function is a temperature-dependent sum measuring how many energy states are thermally accessible; its logarithmic derivatives generate every macroscopic thermodynamic property directly, without ever tracking individual particles.
Scope. Valid for systems of non-interacting particles; generalises directly to translational, rotational, vibrational and electronic contributions multiplying together when a molecule's total energy separates into independent parts (Corollaries); genuinely interacting systems require ensemble treatments beyond this single-particle picture.
Corollaries & converses
- When a molecule's total energy separates into translational, rotational, vibrational and electronic parts, \(q\) factorises as \(q_{\text{trans}}q_{\text{rot}}q_{\text{vib}}q_{\text{elec}}\), a factorisation exploited heavily by the lectures that follow in this unit.
- heat-capacity-from-levels' Einstein and Debye models are a direct application: evaluating \(q\) for a lattice of vibrational oscillators and differentiating twice with respect to \(T\) yields the heat capacity.
- statistical-entropy's \(S=k\ln W\) connects to \(q\) through \(S=U/T+k\ln Q\), linking the combinatorial and partition-function viewpoints of entropy.
Fails without
- Omit the \(N!\) correction for a gas of indistinguishable particles (Hypotheses): the resulting entropy computed from \(Q=q^N\) fails to be properly extensive (the historical Gibbs paradox), giving physically inconsistent predictions for how entropy should scale with system size.
- Treat genuinely interacting particles as independent (Hypotheses): the simple factorisation \(Q=q^N\) fails outright, since the total energy no longer partitions additively across particles, and a full interacting-system ensemble treatment is required instead.
Common errors
- Omitting the \(N!\) indistinguishability correction for a gas of identical particles, which leads to a non-extensive, Gibbs-paradox entropy.
- Confusing the single-particle partition function \(q\) with the full system partition function \(Q=q^N\) (or \(q^N/N!\)); thermodynamic formulas require the correct one for the quantity being computed.
- Assuming \(q\) is always a small, simple integer count of states, when in fact it is a continuous, temperature-dependent real number that can be enormous — e.g. of order \(10^{30}\) for translational motion of a gas molecule in a macroscopic container.
- Forgetting the reference-energy convention: \(U-U(0)\) formulas require care about exactly where the zero of energy \(\varepsilon_i\) is defined.
Discussion
The partition function was developed by Ludwig Boltzmann and given its modern, rigorous ensemble formulation largely by Josiah Willard Gibbs in the late nineteenth century; the name itself (from the German Zustandssumme, "sum over states") describes exactly its definition.
Resolving the Gibbs paradox — why naive \(q^N\) overcounts states for indistinguishable particles, producing an entropy that fails to be properly extensive — was historically significant well before a full quantum-mechanical justification existed; only quantum mechanics's confirmation that identical particles are fundamentally, not merely practically, indistinguishable gave the \(N!\) correction a first-principles rather than ad hoc basis.
Common misconception: that a large partition function value means many particles occupy excited states. Rather, \(q\) reflects the number of states that are thermally accessible, weighted by their Boltzmann factor; this can be large even when only a modest fraction of particles actually populate excited levels, simply because many nearly degenerate levels are available — translational motion is the standard example.
Worked examples
Reading. Even the simplest possible level structure shows \(q\) directly tracking the number of thermally accessible states, from just the ground state at low \(T\) to both levels equally weighted at high \(T\).
Scope. The same limiting-case reasoning (low-\(T\) and high-\(T\) behaviour of \(q\)) applies to any discrete level structure, and underlies the qualitative behaviour of vibrational and electronic partition functions evaluated later in the unit.
Problems
- A three-level system has \(\varepsilon_0=0\), \(\varepsilon_1=\varepsilon\), \(\varepsilon_2=2\varepsilon\), all non-degenerate (\(g_i=1\)). Write \(q\) at temperature \(T\).
Solution
\(q=1+e^{-\varepsilon/kT}+e^{-2\varepsilon/kT}\), directly summing the Boltzmann factor for each of the three levels as defined in Step 1. - Show that \(q\to g_0\) as \(T\to0\) for any level structure, and interpret this physically.
Solution
As \(T\to0\), \(e^{-\varepsilon_i/kT}\to0\) for every level with \(\varepsilon_i>\varepsilon_0\) (since the exponent diverges to \(-\infty\)), while the ground-state term \(g_0e^{-\varepsilon_0/kT}\) remains finite (taking \(\varepsilon_0=0\) as reference, it equals \(g_0\)). Physically, at absolute zero only the ground state (with its full degeneracy \(g_0\)) is populated at all. - Explain, without detailed calculation, why translational motion typically dominates a gas's heat capacity at room temperature while vibrational modes remain largely "frozen out," in terms of the relative sizes of \(q_{\text{trans}}\) and \(q_{\text{vib}}\).
Solution
Translational energy levels are extremely closely spaced (a macroscopic container gives a near-continuum of accessible states), so \(q_{\text{trans}}\) is enormous and changes smoothly and substantially with temperature near room temperature, contributing fully to the heat capacity. Vibrational level spacings are, by contrast, typically large compared with \(kT\) at room temperature, so \(q_{\text{vib}}\) stays close to its low-temperature limiting value and changes very little with modest temperature increases — contributing little to the heat capacity until much higher temperature (heat-capacity-from-levels develops this quantitatively).