Thermodynamicsundergraduategraduate

Canonical Partition Function

Also known as: Zustandssumme · Canonical ensemble sum · Boltzmann sum

Z counts microstates weighted by their Boltzmann suppression; hotter systems explore more states.

Z=ieβEi,β=1kBTZ = \sum_i e^{-\beta E_i}, \quad \beta = \frac{1}{k_B T}
Live simulation
warming up the physics…

Energy level diagram: bars show relative occupation probability p_i ∝ e^{-βE_i}. Slider adjusts temperature; watch high-energy levels populate as T rises.

Equivalent forms

Z=d3qd3ph3eβH(q,p)Z = \int \frac{d^3q\,d^3p}{h^3}\, e^{-\beta H(q,p)}
F=kBTlnZF = -k_B T \ln Z
E=lnZβ\langle E \rangle = -\frac{\partial \ln Z}{\partial \beta}
All of thermodynamics compressed into one sum. Differentiate ln Z to get everything: energy, entropy, heat capacity, pressure.