§ DICTIONARY · CONCEPT

Partition function

Z = Σ exp(−E_i/k_BT), the sum over states from which every thermodynamic quantity is obtained by differentiation.

§ 01

Definition

The partition function Z is the central object of statistical mechanics: the sum of the Boltzmann factors exp(−E_i/k_BT) over every microstate i accessible to a system in thermal contact with a reservoir at temperature T. The name is a translation of the German Zustandssumme, 'sum over states,' which is why it is universally denoted Z. It serves first as the normalising constant that turns the Boltzmann weights into genuine probabilities p_i = exp(−E_i/k_BT)/Z.

Its deeper role is as a generating function. Because the temperature sits inside every exponent, differentiating ln Z recovers the thermodynamic observables one by one: the Helmholtz free energy is F = −k_BT ln Z, the mean energy is ⟨E⟩ = −∂ln Z/∂β, the entropy and pressure are temperature- and volume-derivatives of F, and the heat capacity is a further derivative. Knowing Z as a function of temperature, volume and particle number is therefore equivalent to knowing the system's entire equilibrium thermodynamics.

Z behaves simply in the two limits. As T → 0 only the ground-state term survives and Z → 1 (or the ground-state degeneracy); as T → ∞ every Boltzmann factor approaches one and Z counts the accessible states outright. Computing the sum is usually the only hard step in a statistical-mechanics problem; once it is done, thermodynamics follows by calculus.

§ 02

History

Introduced by J. Willard Gibbs in his 1902 Elementary Principles in Statistical Mechanics, building on the ensemble ideas of Boltzmann and Maxwell. The German name Zustandssumme, and the symbol Z, were established by Planck and the early quantum theorists, for whom the discrete energy spectrum made the sum over states indispensable.