All thermodynamic functions can be derived from the partition function through standard relations: U = kT²(∂ln Q/∂T)_V, A = −kT ln Q (Helmholtz free energy), S = (U−A)/T, and G = A + pV. The heat capacity at constant volume is C_V = (∂U/∂T)_V. Equilibrium constants can be computed from the standard Gibbs energies of reactants and products, which in turn come from partition functions — enabling ab initio predictions of chemical equilibria. This framework explains why vibrational modes are 'frozen out' at low temperatures (contributing R to C_V only above their characteristic temperature θ_vib = hν/k) and provides a molecular interpretation of the third law of thermodynamics.
Calculate C_V as a function of temperature for a diatomic gas, showing the stepwise activation of translation (3/2 R), rotation (+R), and vibration (+R). Reconcile with the classical equipartition theorem at high temperature.
The molecular partition function Q encodes everything about the statistical behavior of a system: it is the sum of Boltzmann factors e^(−E_i/kT) over all accessible energy levels, weighting each level by how likely it is to be occupied at temperature T. Once you have Q, you can derive all thermodynamic quantities from it by taking derivatives. The Helmholtz free energy A = −kT ln Q is the central bridge, and from A you get internal energy U = kT²(∂ln Q/∂T)_V, entropy S = (U − A)/T, and heat capacity C_V = (∂U/∂T)_V. This is not an approximation — it is an exact statistical mechanical result.
For an ideal molecular gas, Q factorizes into independent contributions from translational, rotational, vibrational, and electronic modes: Q = q_trans × q_rot × q_vib × q_elec. This factorization works because the energy levels of each mode are approximately independent. It means the thermodynamic functions add up as separate contributions from each mode. Translational partition functions are extremely dense (the level spacing is tiny for macroscopic containers), so translational modes are always fully excited and contribute the classical equipartition value of 3/2 R to C_V. Rotational levels have slightly larger spacing — for light molecules like H₂ they can be frozen at very low temperatures, but for most gases they are fully excited at room temperature, adding R (for linear molecules).
Vibrational modes tell a more dramatic story. The characteristic vibrational temperature θ_vib = hν/k is typically hundreds to thousands of kelvins — much higher than room temperature. Below θ_vib, the thermal energy kT cannot bridge the gap to the first excited vibrational level, so the mode is frozen out and contributes nearly zero to C_V. Above θ_vib, the mode is fully excited and contributes the classical R (½ R from kinetic energy + ½ R from potential energy of the oscillator). The stepwise activation of modes — translation always on, rotation on above a few kelvins, vibration on only at high temperatures — explains why C_V of a diatomic gas rises from 5/2 R at room temperature toward 7/2 R at very high temperatures. This behavior was a deep puzzle in classical physics; statistical mechanics resolves it completely.
Beyond heat capacities, partition functions enable ab initio computation of equilibrium constants. The standard Gibbs energy of a species is calculated from its partition functions (including zero-point energy), and K = exp(−ΔG°/RT) follows directly. This means that for a reaction with well-characterized energy surfaces, you can predict the equilibrium constant from first principles, without measuring it — a capability of enormous practical value in atmospheric chemistry, astrochemistry, and industrial catalysis.
The third law also emerges naturally here. As T → 0, the Boltzmann factor e^(−E_i/kT) → 0 for all excited states, so the partition function collapses to just the ground-state degeneracy. If the ground state is unique (W = 1), then S = k ln W = 0. This molecular picture is far more satisfying than the classical statement of the third law — it shows why entropy vanishes at absolute zero, not just that it does, and it predicts exactly when residual entropy will persist (whenever the ground state is degenerate or disordered, as in certain crystals with molecular orientational disorder).