Canonical ensemble
The canonical ensemble models a system that can exchange energy with a heat bath, so its temperature is fixed while its energy fluctuates.
Let be a classical phase space with Liouville volume element , and let be the Hamiltonian . Fix an inverse temperature inverse temperature (equivalently a temperature via with Boltzmann's constant ).
The canonical probability density on is
where is the canonical partition function .
(Quantum version: replace the phase-space integral by a trace, , and by the Gibbs density matrix.)
Ensemble averages
For an observable , the ensemble average in the canonical ensemble is
Thermodynamic potentials from
The canonical Helmholtz free energy is obtained from the partition function via the statistical free energy
This link is the starting point for constructing free energy from the partition function .
Energy and fluctuations
Canonical energy moments are derivatives of (see observables from log partition functions ):
Energy fluctuations control the heat capacity at fixed volume (in classical settings), encoded by specific heat as an energy fluctuation .
Physical interpretation and construction
The canonical distribution weights microstates by the Boltzmann factor : lower-energy states are exponentially favored, with the strength set by temperature. It can be derived either by weak coupling of the system to a large bath or by the variational principle of maximum entropy at fixed mean energy .
In the thermodynamic limit , canonical and microcanonical predictions often agree for bulk observables (ensemble equivalence), formalized by constructing the canonical ensemble from the microcanonical one .