Grand canonical ensemble

Gibbs equilibrium distribution at fixed temperature and chemical potential: energy and particle number both fluctuate, normalized by the grand partition function.
Grand canonical ensemble

The grand canonical ensemble models a system that can exchange both energy and particles with a reservoir, so temperature and chemical potential are fixed while energy and particle number fluctuate.

It is the natural ensemble for open systems, lattice gases, and quantum gases, and it provides a direct route to the thermodynamic and pressure.

Fix an inverse temperature β>0\beta>0 and a μ\mu. For each particle number NN, let ΓN\Gamma_N be the NN-particle (or Hilbert space sector), and let HNH_N be the corresponding .

The grand canonical weight of a microstate xΓNx\in\Gamma_N is proportional to eβ(HN(x)μN)e^{-\beta(H_N(x)-\mu N)}. The normalized probability density is

ρβ,μ(N,x)  =  eβ(HN(x)μN)Ξ(β,μ), \rho_{\beta,\mu}(N,x) \;=\; \frac{e^{-\beta(H_N(x)-\mu N)}}{\Xi(\beta,\mu)},

where the normalizing constant

Ξ(β,μ)  =  N0ΓNeβ(HN(x)μN)dΓN \Xi(\beta,\mu) \;=\; \sum_{N\ge 0}\int_{\Gamma_N} e^{-\beta(H_N(x)-\mu N)}\, d\Gamma_N

is the (also called the grand canonical partition function).

(Quantum version: Ξ(β,μ)=Trexp{β(H^μN^)}\Xi(\beta,\mu)=\mathrm{Tr}\,\exp\{-\beta(\hat H-\mu \hat N)\}.)

Ensemble averages

For an observable AA that may depend on NN and xx, the is

Aβ,μ  =  N0ΓNA(N,x)ρβ,μ(N,x)dΓN. \langle A\rangle_{\beta,\mu} \;=\; \sum_{N\ge 0}\int_{\Gamma_N} A(N,x)\,\rho_{\beta,\mu}(N,x)\, d\Gamma_N.

Derivative formulas (mean values and fluctuations)

Thermodynamic observables are generated by derivatives of lnΞ\ln\Xi (see ):

  • Mean particle number:

    Nβ,μ  =  1βμlnΞ(β,μ). \langle N\rangle_{\beta,\mu} \;=\; \frac{1}{\beta}\,\frac{\partial}{\partial\mu}\ln \Xi(\beta,\mu).
  • Particle-number fluctuations:

    Varβ,μ(N)  =  1β22μ2lnΞ(β,μ), \mathrm{Var}_{\beta,\mu}(N) \;=\; \frac{1}{\beta^2}\,\frac{\partial^2}{\partial\mu^2}\ln \Xi(\beta,\mu),

    which connects directly to response coefficients such as compressibility (a special case of ).

  • Mean energy:

    Eβ,μ  =  βlnΞ(β,μ)  +  μNβ,μ. \left\langle E\right\rangle_{\beta,\mu} \;=\; -\frac{\partial}{\partial\beta}\ln \Xi(\beta,\mu) \;+\; \mu\,\langle N\rangle_{\beta,\mu}.

More generally, mixed derivatives of lnΞ\ln\Xi generate covariances, fitting into .

Grand potential and pressure

The thermodynamic grand potential is obtained from Ξ\Xi by

Ω(β,μ)  =  1βlnΞ(β,μ), \Omega(\beta,\mu) \;=\; -\frac{1}{\beta}\ln \Xi(\beta,\mu),

matching the and arising as a in equilibrium thermodynamics.

For a homogeneous system of volume VV, one has Ω=pV\Omega = -pV, so the pressure can be read from the partition function as in :

p  =  1βVlnΞ(β,μ). p \;=\; \frac{1}{\beta V}\,\ln \Xi(\beta,\mu).

Relation to other ensembles

If particle-number fluctuations are suppressed (e.g., by conditioning on a fixed NN), the grand canonical ensemble reduces to the . In the , predictions for many bulk observables often coincide across these ensembles under suitable conditions (ensemble equivalence).