Skip to content

The grand-canonical ensemble describes equilibrium when a system can exchange both energy and particles with a reservoir. Its standard control variables are

T,μ,V,T,\qquad \mu,\qquad V,

where μ\mu is the chemical potential. Particle number fluctuates.

For a Hamiltonian HH and conserved number operator NN, define

K≡H−μN.K \equiv H-\mu N.

The grand-canonical density operator is

ρβ,μ=e−βKΞ=e−β(H−μN)Ξ,\rho_{\beta,\mu} = \frac{ e^{-\beta K} }{ \Xi } = \frac{ e^{-\beta(H-\mu N)} }{ \Xi },

with grand partition function

Ξ(β,μ,V)=Tr⁡Fe−β(H−μN).\Xi(\beta,\mu,V) = \operatorname{Tr}_{\mathcal F} e^{-\beta(H-\mu N)}.

The trace runs over the relevant Fock space or direct sum of particle-number sectors. Restricting it to one fixed-NN sector would return a canonical calculation.

Helpful background. Canonical ensembles supply the fixed-number states; Fock space combines their number sectors.

Particle exchange at fixed temperature and chemical potential

Section titled “Particle exchange at fixed temperature and chemical potential”
Quantity Grand-canonical status
temperature TT externally fixed
chemical potential μ\mu externally fixed
volume VV and other controls externally fixed
energy EE fluctuates
particle number NN fluctuates
density operator ρβ,μ\rho_{\beta,\mu}
thermodynamic potential grand potential ΩG\Omega_{\mathrm G}

Assume T>0T>0 here, a temperature-independent HH, and a finite grand partition function with convergent derivatives. The ensemble describes equilibrium particle exchange; it can also approximate local properties of a large fixed-number system when ensemble equivalence applies.

The standard equilibrium construction assumes

[H,N]=0.[H,N]=0.

Then energy and particle number can be labeled simultaneously, and

K=H−μNK=H-\mu N

generates the exponential weights.

More generally, a chemical potential is associated with a conserved charge. If the microscopic Hamiltonian does not conserve the proposed NN, treating μ\mu as an equilibrium Lagrange multiplier requires justification.

Mean-field pairing Hamiltonians can appear not to commute with number because a symmetry-breaking approximation has been made. The underlying number-conserving theory and the role of μ\mu must then be kept conceptually separate from the effective quasiparticle Hamiltonian.

Write Fock space as

F=⨁N=0∞HN.\mathcal F = \bigoplus_{N=0}^{\infty} \mathcal H_N.

When HH preserves particle number,

H=⨁N=0∞HN.H = \bigoplus_{N=0}^{\infty} H_N.

The grand partition function becomes

Ξ=∑N=0∞eβμNTr⁡HNe−βHN.\Xi = \sum_{N=0}^{\infty} e^{\beta\mu N} \operatorname{Tr}_{\mathcal H_N} e^{-\beta H_N}.

Defining the canonical fixed-NN partition functions

ZN=Tr⁡HNe−βHN,Z_N = \operatorname{Tr}_{\mathcal H_N} e^{-\beta H_N},

gives the central relation

Ξ=∑N=0∞zNZN,\Xi = \sum_{N=0}^{\infty} z^N Z_N,

where

z≡eβμz \equiv e^{\beta\mu}

is the fugacity.

Thus Ξ\Xi is a generating function for canonical partition functions.

The sum

Ξ=∑NzNZN\Xi = \sum_N z^N Z_N

must converge. This requirement constrains μ\mu and the model.

For noninteracting bosons in one-particle levels ϵi\epsilon_i, each mode sum converges only if

ze−βϵi<1.ze^{-\beta\epsilon_i} < 1.

Therefore

μ<ϵmin⁡\mu < \epsilon_{\min}

for a finite ideal Bose system with lowest one-particle energy ϵmin⁡\epsilon_{\min}. The limit μ→ϵmin⁡\mu\to\epsilon_{\min} is tied to macroscopic ground-mode occupation and requires separate treatment.

For a finite number of fermionic modes, each mode has only occupations 00 and 11, so the finite-mode grand partition function converges for every finite real μ\mu. Infinite-volume and continuum limits still require regularization and density control. The ideal-boson bound is not universal for interacting bosons: a repulsive on-site term Un(n−1)/2U n(n-1)/2 with U>0U>0 grows quadratically with nn and makes the one-site sum converge for every finite μ\mu at T>0T>0. The exercise below checks this explicitly.

Let ∣N,a⟩|N,a\rangle be a simultaneous eigenstate:

N∣N,a⟩=N∣N,a⟩,H∣N,a⟩=EN,a∣N,a⟩.\begin{aligned} N|N,a\rangle &= N|N,a\rangle, \\ H|N,a\rangle &= E_{N,a}|N,a\rangle. \end{aligned}

Its grand-canonical probability is

pN,a=e−β(EN,a−μN)Ξ.p_{N,a} = \frac{ e^{-\beta(E_{N,a}-\mu N)} }{ \Xi }.

The particle-number distribution is

Pr⁡(N)=zNZNΞ.\Pr(N) = \frac{ z^N Z_N }{ \Xi }.

Conditioned on a chosen NN, the state within HN\mathcal H_N is canonical:

ρβ,μ∣N∝e−βHN.\rho_{\beta,\mu}\big|_N \propto e^{-\beta H_N}.

The chemical potential changes the probability assigned to different sectors, not the relative Boltzmann weights inside one fixed sector.

The grand-canonical state is block diagonal:

ρβ,μ=⨁NPr⁡(N)ρN,β.\rho_{\beta,\mu} = \bigoplus_N \Pr(N)\rho_{N,\beta}.

It is a mixture over particle-number sectors. It does not require a coherent superposition of different total particle numbers.

This distinction matters when a particle-number superselection rule applies. Grand-canonical fluctuations are classical probabilities across sectors combined with quantum mixtures within sectors.

Symmetry-breaking descriptions can introduce states with indefinite number and a well-defined phase. Their relation to number-conserving finite systems and thermodynamic limits requires additional care.

Define the grand potential

ΩG=−kBTln⁡Ξ.\Omega_{\mathrm G} = -k_{\mathrm B}T\ln\Xi.

Its equilibrium Legendre form is

ΩG=U−TS−μN‾,\Omega_{\mathrm G} = U-TS-\mu\overline N,

where

N‾≡⟨N⟩.\overline N \equiv \langle N\rangle.

With HH independent of temperature and chemical potential, and with other controls held fixed,

dΩG=−S dT−P dV−N‾ dμ.d\Omega_{\mathrm G} = -S\,dT - P\,dV - \overline N\,d\mu.

Therefore

S=−(∂ΩG∂T)V,μ,P=−(∂ΩG∂V)T,μ,N‾=−(∂ΩG∂μ)T,V.\begin{aligned} S &= -\left( \frac{\partial\Omega_{\mathrm G}}{\partial T} \right)_{V,\mu}, \\ P &= -\left( \frac{\partial\Omega_{\mathrm G}}{\partial V} \right)_{T,\mu}, \\ \overline N &= -\left( \frac{\partial\Omega_{\mathrm G}}{\partial\mu} \right)_{T,V}. \end{aligned}

For a homogeneous extensive bulk phase in the thermodynamic limit,

ΩG=−PV.\Omega_{\mathrm G} = -PV.

This identity can receive surface and finite-size corrections and should not be imposed on an arbitrary trapped or inhomogeneous finite system.

Differentiate at fixed β\beta:

∂∂μln⁡Ξ=β⟨N⟩.\frac{\partial}{\partial\mu} \ln\Xi = \beta\langle N\rangle.

Hence

N‾=1β(∂ln⁡Ξ∂μ)β,V.\overline N = \frac{1}{\beta} \left( \frac{\partial\ln\Xi}{\partial\mu} \right)_{\beta,V}.

Using fugacity,

N‾=z∂∂zln⁡Ξ.\overline N = z \frac{\partial}{\partial z} \ln\Xi.

The mean is generally not an integer, even though every number measurement returns an integer eigenvalue.

One chooses μ\mu so that N‾\overline N has the desired value, often matching a fixed density in the thermodynamic limit.

At fixed μ\mu,

−∂∂βln⁡Ξ=⟨H−μN⟩.-\frac{\partial}{\partial\beta} \ln\Xi = \langle H-\mu N\rangle.

Therefore

U=−(∂ln⁡Ξ∂β)μ,V+μN‾.U = -\left( \frac{\partial\ln\Xi}{\partial\beta} \right)_{\mu,V} + \mu\overline N.

The derivative produces the expectation of K=H−μNK=H-\mu N, not HH alone. Omitting the μN‾\mu\overline N term is a common error.

An alternative parameterization uses

α≡−βμ.\alpha \equiv -\beta\mu.

At fixed α\alpha (equivalently fixed fugacity z=e−αz=e^{-\alpha}),

U=−(∂ln⁡Ξ∂β)z,V.U=-\left(\frac{\partial\ln\Xi}{\partial\beta}\right)_{z,V}.

This derivative changes TT while changing μ\mu to keep βμ\beta\mu constant. It is a different path through the family of states from the fixed-μ\mu derivative.

Since

ln⁡ρβ,μ=−β(H−μN)−ln⁡Ξ,\ln\rho_{\beta,\mu} = -\beta(H-\mu N) - \ln\Xi,

the entropy is

S=kB[ln⁡Ξ+β(U−μN‾)].S = k_{\mathrm B} \left[ \ln\Xi + \beta \left( U-\mu\overline N \right) \right].

Rearranging gives

ΩG=U−TS−μN‾.\Omega_{\mathrm G} = U-TS-\mu\overline N.

This is the grand-canonical counterpart of F=U−TSF=U-TS.

A second chemical-potential derivative gives

∂2∂μ2ln⁡Ξ=β2(⟨N2⟩−⟨N⟩2).\frac{\partial^2}{\partial\mu^2} \ln\Xi = \beta^2 \left( \langle N^2\rangle - \langle N\rangle^2 \right).

Therefore

Var⁡(N)=1β(∂N‾∂μ)T,V.\operatorname{Var}(N) = \frac{1}{\beta} \left( \frac{\partial\overline N}{\partial\mu} \right)_{T,V}.

Equivalently,

(∂N‾∂μ)T,V=βVar⁡(N)≥0.\left( \frac{\partial\overline N}{\partial\mu} \right)_{T,V} = \beta\operatorname{Var}(N) \geq 0.

The average particle number is nondecreasing with chemical potential under the usual assumptions.

For an ordinary extensive phase,

N‾∼V,Var⁡(N)∼V,\overline N \sim V, \qquad \operatorname{Var}(N) \sim V,

so

Var⁡(N)N‾∼V−1/2.\frac{ \sqrt{\operatorname{Var}(N)} }{ \overline N } \sim V^{-1/2}.

Relative number fluctuations vanish in the bulk even though absolute fluctuations grow.

Let

n=N‾V.n = \frac{\overline N}{V}.

For a homogeneous system, the isothermal compressibility can be written

κT=1n2(∂n∂μ)T.\kappa_T = \frac{1}{n^2} \left( \frac{\partial n}{\partial\mu} \right)_T.

Using the fluctuation identity,

κT=βVar⁡(N)Vn2=βVVar⁡(N)N‾2.\kappa_T = \frac{ \beta\operatorname{Var}(N) }{ Vn^2 } = \frac{ \beta V\operatorname{Var}(N) }{ \overline N^2 }.

A divergent compressibility is associated with enhanced number fluctuations, but finite-size, phase-separation, stability, and ensemble qualifications must be checked.

At fixed μ\mu,

∂2∂β2ln⁡Ξ=Var⁡(H−μN).\frac{\partial^2}{\partial\beta^2} \ln\Xi = \operatorname{Var}(H-\mu N).

Energy and number fluctuations are generally correlated:

Cov⁡(H,N)=⟨HN⟩−⟨H⟩⟨N⟩.\operatorname{Cov}(H,N) = \langle HN\rangle - \langle H\rangle\langle N\rangle.

Thus Var⁡(H−μN)\operatorname{Var}(H-\mu N) contains energy variance, number variance, and their covariance:

Var⁡(H−μN)=Var⁡(H)+μ2Var⁡(N)−2μCov⁡(H,N).\operatorname{Var}(H-\mu N) ={} \operatorname{Var}(H) + \mu^2\operatorname{Var}(N) - 2\mu\operatorname{Cov}(H,N).

One should not identify this directly with Var⁡(H)\operatorname{Var}(H).

Using

ZN=e−βFN,Z_N = e^{-\beta F_N},

the grand partition function becomes

Ξ=∑Nexp⁡[−β(FN−μN)].\Xi = \sum_N \exp \left[ -\beta \left( F_N-\mu N \right) \right].

For a large system at positive temperature, a dominant sector approximately minimizes

FN−μN.F_N-\mu N.

The stationarity condition is

(∂F∂N)T,V=μ.\left( \frac{\partial F}{\partial N} \right)_{T,V} = \mu.

This gives the thermodynamic Legendre relation when the chosen stationary point is a global minimum. If several sectors compete, the complete sum must be compared. At finite size, ZNZ_N can also be recovered as the coefficient of zNz^N in Ξ(z)\Xi(z); see partition functions.

At finite size, the grand-canonical state remains a distribution over integer NN. Canonical and grand-canonical predictions can differ visibly when the mean population is small or when addition energies are large.

For noninteracting modes,

H=∑iϵini,N=∑ini,H = \sum_i \epsilon_i n_i, \qquad N = \sum_i n_i,

so

H−μN=∑i(ϵi−μ)ni.H-\mu N = \sum_i (\epsilon_i-\mu)n_i.

The grand partition function factorizes:

Ξ=∏iξi.\Xi = \prod_i \xi_i.

The one-mode factor depends on the allowed occupations.

Statistics Allowed nin_i One-mode factor ξi\xi_i
boson 0,1,2,…0,1,2,\ldots [1−e−β(ϵi−μ)]−1[1-e^{-\beta(\epsilon_i-\mu)}]^{-1}
fermion 0,10,1 1+e−β(ϵi−μ)1+e^{-\beta(\epsilon_i-\mu)}

The corresponding mean occupations are

n‾iB=1eβ(ϵi−μ)−1,n‾iF=1eβ(ϵi−μ)+1.\begin{aligned} \overline n_i^{\mathrm B} &= \frac{1}{ e^{\beta(\epsilon_i-\mu)}-1 }, \\ \overline n_i^{\mathrm F} &= \frac{1}{ e^{\beta(\epsilon_i-\mu)}+1 }. \end{aligned}

Derivations and gas thermodynamics are developed in Bose–Einstein statistics and Fermi–Dirac statistics. Here the useful distinction is factorization: independent mode probabilities multiply only when no interaction or fixed-total-number constraint couples them.

Energy-Zero and Chemical-Potential Conventions

Section titled “Energy-Zero and Chemical-Potential Conventions”

Suppose every one-particle energy is shifted by a constant CC. For a number-conserving many-particle Hamiltonian,

H′=H+CN.H' = H+CN.

If simultaneously

μ′=μ+C,\mu' = \mu+C,

then

H′−μ′N=H−μN.H'-\mu' N = H-\mu N.

The grand-canonical state and Ξ\Xi are unchanged.

This joint shift differs from adding one global constant CIC\mathbb I to the entire many-body Hamiltonian, which multiplies Ξ\Xi by e−βCe^{-\beta C} but leaves the normalized state unchanged.

Quoting μ\mu without an energy-zero convention can therefore be misleading.

For addition/removal energies, electrochemical potentials, and nonconserved excitations, see chemical potential.

If particle number is not conserved and the system can freely create or destroy excitations in equilibrium, the associated chemical potential is typically zero.

Examples often include equilibrium photons and phonons:

μγ=0,μphonon=0.\mu_\gamma=0, \qquad \mu_{\mathrm{phonon}}=0.

This statement has qualifications. Driven photon gases, approximately conserved quasiparticle numbers, exciton populations, and nonequilibrium steady states can admit effective chemical potentials. One must identify the conserved or slowly relaxing quantity and the preparation protocol.

A particle reservoir can exchange quanta with the system. Under weak coupling and suitable detailed-balance conditions, an open-system generator may have

ρβ,μ∝e−β(H−μN)\rho_{\beta,\mu} \propto e^{-\beta(H-\mu N)}

as a stationary state.

The grand-canonical ensemble defines the equilibrium target. It does not by itself derive tunneling rates, master equations, currents, or relaxation times.

At strong coupling, the reduced equilibrium state can differ from the bare grand-canonical form. Nonequilibrium leads with different (Tα,μα)(T_\alpha,\mu_\alpha) generate currents and do not define one global equilibrium ensemble.

Show that

(∂N‾∂μ)T,V=βVar⁡(N).\left( \frac{\partial\overline N}{\partial\mu} \right)_{T,V} = \beta\operatorname{Var}(N).
Solution

First,

N‾=1β∂ln⁡Ξ∂μ.\overline N = \frac{1}{\beta} \frac{\partial\ln\Xi}{\partial\mu}.

Differentiating again,

∂2ln⁡Ξ∂μ2=β2(⟨N2⟩−⟨N⟩2).\begin{aligned} \frac{\partial^2\ln\Xi}{\partial\mu^2} &= \beta^2 \left( \langle N^2\rangle - \langle N\rangle^2 \right). \end{aligned}

Thus

∂N‾∂μ=1β∂2ln⁡Ξ∂μ2=βVar⁡(N).\frac{\partial\overline N}{\partial\mu} = \frac{1}{\beta} \frac{\partial^2\ln\Xi}{\partial\mu^2} = \beta\operatorname{Var}(N).

For one mode of energy ϵ\epsilon, compute Ξ\Xi, n‾\overline n, and Var⁡(n)\operatorname{Var}(n) for bosons and fermions.

Solution

Let

q=e−β(ϵ−μ).q = e^{-\beta(\epsilon-\mu)}.

For fermions,

ΞF=1+q,n‾F=q1+q,\Xi_{\mathrm F} = 1+q, \qquad \overline n_{\mathrm F} = \frac{q}{1+q},

and because n2=nn^2=n,

Var⁡F(n)=n‾F(1−n‾F).\operatorname{Var}_{\mathrm F}(n) = \overline n_{\mathrm F} \left( 1-\overline n_{\mathrm F} \right).

For bosons, convergence requires q<1q<1:

ΞB=11−q,n‾B=q1−q.\Xi_{\mathrm B} = \frac{1}{1-q}, \qquad \overline n_{\mathrm B} = \frac{q}{1-q}.

The geometric distribution gives

Var⁡B(n)=n‾B(1+n‾B).\operatorname{Var}_{\mathrm B}(n) = \overline n_{\mathrm B} \left( 1+\overline n_{\mathrm B} \right).

Show that shifting H→H+CNH\to H+CN leaves the grand-canonical state unchanged only if μ\mu is shifted appropriately.

Solution

Choose

μ′=μ+C.\mu' = \mu+C.

Then

H′−μ′N=H+CN−(μ+C)N=H−μN.\begin{aligned} H'-\mu'N &= H+CN-(\mu+C)N \\ &= H-\mu N. \end{aligned}

The exponential, grand partition function, and normalized state are unchanged.

If μ\mu is not shifted, the relative weights of particle-number sectors acquire factors e−βCNe^{-\beta CN} and the physical density changes.

Repulsion changes the bosonic convergence condition

Section titled “Repulsion changes the bosonic convergence condition”

One bosonic site has H=ϵn+Un(n−1)/2H=\epsilon n+U n(n-1)/2 with U>0U>0. Show that its grand partition function converges for every finite real μ\mu at β>0\beta>0. Why does this not contradict the ideal-mode bound?

Solution

The nnth term is an=e−β[(ϵ−μ)n+Un(n−1)/2]a_n=e^{-\beta[(\epsilon-\mu)n+Un(n-1)/2]}. The ratio of consecutive terms is

an+1an=e−β(ϵ−μ+Un)⟶0.\frac{a_{n+1}}{a_n}=e^{-\beta(\epsilon-\mu+Un)}\longrightarrow0.

Thus the positive series converges by the ratio test. At U=0U=0 the ratio instead stays constant, so convergence requires μ<ϵ\mu<\epsilon. The noninteracting bound cannot be applied to a repulsively interacting mode.

Two equal-energy fermionic modes are independent in a grand-canonical state. Condition on finding exactly one particle. Find ⟨n1⟩\langle n_1\rangle, ⟨n1n2⟩\langle n_1n_2\rangle, and the covariance in the conditioned state.

Solution

Equal energies give equal conditional weights to ∣10⟩\lvert10\rangle and ∣01⟩\lvert01\rangle, irrespective of μ\mu. Thus each mean is 1/21/2, ⟨n1n2⟩=0\langle n_1n_2\rangle=0, and the covariance is −1/4-1/4. Conditioning enforces n1+n2=1n_1+n_2=1 and destroys independent-mode factorization, even though the Hamiltonian has no interaction.

  • A. L. Fetter and J. D. Walecka, Quantum Theory of Many-Particle Systems, Dover (2003).
  • K. Huang, Statistical Mechanics, 2nd ed., Wiley (1987).
  • M. Kardar, Statistical Physics of Particles, Cambridge University Press (2007).
  • L. D. Landau and E. M. Lifshitz, Statistical Physics, Part 1, 3rd ed., Butterworth–Heinemann (1980).
  • G. D. Mahan, Many-Particle Physics, 3rd ed., Springer (2000).
  • R. K. Pathria and P. D. Beale, Statistical Mechanics, 3rd ed., Elsevier (2011).