Grand partition function
The grand partition function is the normalization constant of the grand-canonical ensemble , appropriate when a system can exchange both energy and particles with reservoirs that fix inverse temperature and chemical potential (see chemical potential ).
For a quantum system with Hamiltonian and particle-number operator , it is
Equivalently, in terms of canonical partition functions (see canonical partition function ) at fixed ,
Introducing the fugacity , this becomes .
Role in the grand-canonical ensemble
The grand-canonical probability weight of a microstate with energy and particle number is proportional to
and division by ensures the probabilities sum to .
This “energy minus chemical work” structure mirrors the thermodynamic combination at fixed , which is the natural setting for the grand potential .
Grand potential and pressure
The grand partition function generates the grand potential:
with the Boltzmann constant . For homogeneous systems in the thermodynamic limit , the pressure is obtained from , equivalently from the volume scaling of :
This is one instance of pressure from partition functions .
Generating formulas for averages and fluctuations
As with other ensembles, generates equilibrium expectations (see observables from log partition functions and fluctuation formulas from log partition functions ).
Mean particle number
Particle-number fluctuations
Mean energy Using differentiation with respect to at fixed ,
These identities encode both equilibrium thermodynamics and linear response in the grand-canonical setting, and they are the basis for expressing susceptibilities such as the particle-number compressibility in terms of fluctuations.