The grand canonical ensemble is a probability distribution in statistical mechanics describing a system that can exchange both energy and particles with a reservoir. Its control variables are temperature , volume , and chemical potential ; its energy and particle number fluctuate. It differs from the canonical ensemble, which fixes particle number while allowing energy exchange, and the microcanonical ensemble, which fixes both energy and particle number. (web.mit.edu)
Physical interpretation and historical origin
An ensemble is a statistical collection of possible microscopic states, not necessarily a collection of physical systems. In the grand canonical ensemble, these states can contain different numbers of particles. A representative example is a fixed subvolume of a much larger gas: particles cross its boundary, carrying energy with them, while the surrounding gas maintains the temperature and chemical potential. (damtp.cam.ac.uk)
The reservoir must be sufficiently large that exchanges do not appreciably change its intensive variables. The system and reservoir are in thermal and chemical equilibrium, with matching temperature and chemical potential. Fixing therefore does not fix the instantaneous particle number; instead, it determines the distribution of particle numbers. (damtp.cam.ac.uk)
The ensemble framework was systematically developed by J. Willard Gibbs in Elementary Principles in Statistical Mechanics, published in 1902. Its final chapter extends the statistical treatment to systems whose particle composition varies. (en.wikisource.org)
Probability law and partition function
Let label a microscopic state with energy and particle number . Its probability is
where is the Boltzmann constant. The normalization factor
is the grand partition function, a form of partition function. The sum includes all allowed particle-number sectors. (damtp.cam.ac.uk)
Grouping states by particle number gives
where is the canonical partition function for exactly particles. Thus, the grand ensemble combines canonical ensembles with different particle numbers. Their probabilities are
The dimensionless parameter is often called the fugacity parameter in statistical mechanics; it should be distinguished from the pressure-dimensional fugacity commonly used in chemical thermodynamics. (damtp.cam.ac.uk)
The probability law follows by counting reservoir states compatible with each system state. To first order, removing energy and particles from the reservoir changes its entropy by
Because reservoir multiplicity is proportional to , this produces the weight . The derivation neglects appreciable reservoir depletion and interaction energy across the system–reservoir boundary. (damtp.cam.ac.uk)
Grand potential and thermodynamic properties
The associated thermodynamic potential is the grand potential,
Its equilibrium thermodynamic expression is
where is the mean internal energy and . It replaces particle number by chemical potential as an independent variable through a Legendre transform of the Helmholtz free energy. (damtp.cam.ac.uk)
For a simple system with one particle species and no additional work variables,
Consequently,
For a homogeneous, extensive bulk system, , connecting the partition function directly to pressure and the equation of state. Surface contributions or nonextensive behavior require a more general treatment. (damtp.cam.ac.uk)
Useful partition-function identities are
The second identity emphasizes that differentiation at fixed yields the mean of , rather than energy alone. (damtp.cam.ac.uk)
Particle-number fluctuations
Particle-number fluctuations are part of the ensemble’s definition, not measurement error. Their variance satisfies
Thus, spontaneous fluctuations are linked to the response of particle number to chemical potential. (damtp.cam.ac.uk)
A transparent example is a three-dimensional, noninteracting, classical ideal gas of particles without internal degeneracy. With thermal wavelength
its partition functions are
It follows that
and particle number has a Poisson distribution:
Hence , and the relative root-mean-square fluctuation is . These results apply in the dilute classical regime, where quantum degeneracy is negligible. (damtp.cam.ac.uk)
Quantum formulation
In quantum mechanics, the ensemble is represented by a density operator
Here is the Hamiltonian and is the particle-number operator. For particle-conserving Hamiltonians, , allowing states to be labeled by both energy and particle number. (damtp.cam.ac.uk)
For noninteracting particles, the grand partition function factorizes over single-particle states , with energies . For fermions, the Pauli exclusion principle permits occupations zero or one:
For bosons, unrestricted nonnegative occupations give
These are the occupation laws of Fermi–Dirac statistics and Bose–Einstein statistics. For a finite ideal Bose system, convergence requires below the lowest single-particle energy. (damtp.cam.ac.uk)
Even when an experimental gas has fixed particle number, grand canonical calculations can simplify its thermodynamics. The chemical potential is then chosen so that the calculated mean particle number matches the specified number; it is not an additional independently fixed experimental parameter. (damtp.cam.ac.uk)
Computational applications
Grand canonical Monte Carlo methods sample configurations using particle insertions, deletions, and displacement moves. Acceptance rules incorporate the chemical potential and particle-number factors so that sampling obeys detailed balance with respect to the grand canonical distribution. For uniform insertion of a simple classical particle in three dimensions, with equally probable insertion and deletion attempts,
Here is the change in configurational energy. More elaborate molecular models require corresponding proposal and internal-state factors. (pages.nist.gov)
These methods are used to study adsorption in porous materials, where a solid exchanges molecules with an external gas reservoir. Grand canonical transition-matrix methods can determine the particle-number distribution and use it to calculate thermophysical properties and investigate capillary phase transitions. (nist.gov)
Ensemble equivalence and limitations
In the thermodynamic limit, different ensembles often yield the same bulk thermodynamic properties when their control variables are matched. Nevertheless, equivalence of mean properties does not imply identical fluctuation distributions. Exact conservation constraints can affect scaled variances even when mean densities agree at infinite volume. (arxiv.org)
For a strictly fixed total particle number, ; the grand canonical ensemble generally gives a nonzero value. Likewise, imposing exact charge conservation creates correlations absent from a treatment that fixes only the mean charge through a chemical potential. Ensemble choice therefore matters when predicting fluctuation observables, especially in small systems or systems with exact conservation constraints. (arxiv.org)
The standard reservoir construction also assumes negligible changes to reservoir temperature and chemical potential, and sufficiently weak system–reservoir coupling for an additive energy description. When these assumptions fail, the simple grand canonical weight need not describe the subsystem without corrections. (damtp.cam.ac.uk)
References
- 40 Chapter 10 – Statistical Mechanics, Molecular Methods, and Applicationsweb.mit.edu
- Elementary Principles in Statistical Mechanicsen.wikisource.org
- TrialComputeAdd — FEASST documentationpages.nist.gov
- Use of the Grand Canonical Transition-Matrix Monte Carlo Method to Model Gas Adsorption in Porous Materialsnist.gov
- Fluctuations in the Canonical Ensemblearxiv.org