Constructing the canonical partition function

Definition of the canonical partition function as the normalization of the canonical ensemble and as a Laplace transform of the density of states.
Constructing the canonical partition function

The canonical ensemble describes a system at fixed temperature TT, volume VV, and particle number NN (see ). Its normalization constant is the canonical partition function, which also acts as a generating function for thermodynamic quantities.

Setup (microstates and energy)

A classical microstate is a point in , and the energy of a microstate xx is given by the H(x)H(x). Integration over microstates uses the dΓ(x)d\Gamma(x) (which may include conventions such as hdNh^{-dN} and 1/N!1/N! for identical particles).

Definition (classical canonical partition function)

Fix (N,V)(N,V) and inverse temperature β\beta (see ). The canonical partition function is

ZN(β,V)  =  ΓN,VeβH(x)dΓ(x), Z_N(\beta,V) \;=\; \int_{\Gamma_{N,V}} e^{-\beta H(x)}\, d\Gamma(x),

where ΓN,V\Gamma_{N,V} denotes the accessible phase space at particle number NN and volume VV.

The associated canonical probability measure on microstates is

Pβ(dx)  =  eβH(x)ZN(β,V)dΓ(x), \mathbb{P}_\beta(dx) \;=\; \frac{e^{-\beta H(x)}}{Z_N(\beta,V)}\, d\Gamma(x),

so ZNZ_N is precisely the normalizing constant that turns the Boltzmann weight into a probability distribution. Expectations with respect to this measure are .

Quantum version (trace form)

For a quantum system with Hamiltonian operator H^\hat H on the NN-particle Hilbert space (and suitable boundary conditions implementing VV), the canonical partition function is

ZN(β,V)  =  TreβH^. Z_N(\beta,V) \;=\; \mathrm{Tr}\, e^{-\beta \hat H}.

Density-of-states representation

If gN(E;V)g_N(E;V) is the (so that gN(E;V)dEg_N(E;V)\,dE counts microstates with energy in [E,E+dE][E,E+dE] in an appropriate sense), then

ZN(β,V)  =  eβEgN(E;V)dE, Z_N(\beta,V) \;=\; \int e^{-\beta E}\, g_N(E;V)\, dE,

i.e. ZNZ_N is the Laplace transform of the density of states. This ties the canonical construction to microcanonical objects such as the and .

Physical interpretation

  • eβH(x)e^{-\beta H(x)} penalizes high-energy microstates at low temperature: larger β\beta concentrates the measure on lower-energy regions of phase space.
  • ZN(β,V)Z_N(\beta,V) encodes “how many” energetically accessible microstates exist once weighted by temperature; it is the central object from which the .
  • The thermodynamic temperature is related to β\beta by β=1/(kBT)\beta = 1/(k_B T), where kBk_B is the .