The Grand Canonical Ensemble and Chemical Potential
Statement
A small system in thermal and diffusive contact with a large reservoir at temperature T and chemical potential μ occupies microstate s (energy Es, particle number Ns) with probability Ps = e−β(Es − μNs) / Ξ, where the grand partition function Ξ(T,V,μ) = Σs e−β(Es − μNs) and β = 1/kT. The chemical potential μ = (∂F/∂N)T,V is the free-energy cost of adding one particle at fixed temperature and volume.
Why it matters
The canonical ensemble fixes particle number, but most real systems — adsorbed layers, electrons in a metal, gas above a liquid, reacting mixtures, semiconductor carriers — freely exchange particles with a surrounding bath. The grand canonical ensemble is the natural language for all of these, and it is the only tractable route to quantum statistics: Fermi–Dirac and Bose–Einstein distributions fall out of a per-mode grand partition function almost trivially, whereas the fixed-N sum is a combinatorial nightmare.
Just as temperature is the intensive variable that equalises when energy flows, the chemical potential is the intensive variable that equalises when particles flow. Phase coexistence, chemical equilibrium, and osmosis are all statements that μ is uniform. Making μ the free-energy price of one particle turns these into one-line conditions.
Assumptions
Derivation
Result
Reading. Opening the walls to particle flow replaces the Boltzmann weight e−βE with e−β(E−μN): each particle the system holds is “rebated” by μ against its energy cost, because holding it denies the reservoir that particle. The reservoir sets the price μ; the system decides how many particles to buy. Averages follow by differentiating ln Ξ: N̅ = kT(∂ ln Ξ/∂μ)T,V = −(∂Φ/∂μ)T,V and U̅ − μN̅ = −(∂ ln Ξ/∂β)βμ.
Units check. The exponent β(E − μN) must be dimensionless: β is 1/energy, E is energy, and μN is (energy)×(pure number), so μ carries units of energy — joules per particle, or eV. Hence Ξ is a pure number, ln Ξ is dimensionless, and Φ = −kT ln Ξ has units of energy, matching F − μN.
Limiting cases
- Fixed particle number. If only one value N0 is allowed, Ξ = zN0Z(N0,V,T) and Φ = F − μN0; the canonical ensemble is recovered exactly.
- Dilute / classical limit (z → 0). Then Ξ ≈ 1 + zZ1, N̅ ≈ zZ1 ≪ 1; multiple occupancy is negligible and Fermi–Dirac and Bose–Einstein both collapse to Maxwell–Boltzmann.
- Thermodynamic limit. Relative number fluctuations σN/N̅ ∼ N̅−1/2 → 0, so the grand canonical and canonical predictions for intensive quantities coincide (ensemble equivalence).
- Ideal quantum gas per mode. A single-particle level of energy ε gives Ξε = Σn e−β(ε−μ)n: n∈{0,1} yields Fermi–Dirac, n∈{0,1,2,…} yields Bose–Einstein.
Breaks when
- The reservoir is not large. For a nanoscale bath the first-order entropy expansion (step 3) is inadequate; finite reservoir heat capacity and particle capacity make T and μ fluctuate, and the simple Gibbs factor is only an approximation.
- Long-range or strong interactions couple system and reservoir. When surface/interaction energy is not negligible against bulk energy, Etot ≠ Es + ER; the reservoir multiplicity no longer factorises and the ensemble is ill-defined (gravitating systems, small clusters).
- At a first-order phase transition or condensation point. N̅(μ) becomes non-analytic, (∂N̅/∂μ) → ∞, and fluctuations diverge; the grand canonical average can differ from the canonical result (ensemble inequivalence, e.g. ideal Bose gas condensate number fluctuations).
Failure modes
- Wrong sign on the chemical-potential term: writing e−β(E+μN). The physics minus sign comes from (∂S/∂N)E,V = −μ/T; adding particles the reservoir loses lowers SR only for μ>0.
- Expecting μ>0 for a classical gas. For a dilute ideal gas μ = kT ln(nλ3) with nλ3 ≪ 1, so μ<0; a positive μ signals quantum degeneracy.
- Forgetting Ξ sums over N too. Treating it as one more canonical sum drops the fugacity weighting and gives wrong occupancies.
- Confusing potentials: using F = −kT ln Z where Φ = −kT ln Ξ is required; Φ = F − μN, not F.
- Double-counting identical particles. The canonical Z(N,V,T) inside Ξ already carries the 1/N! (or full quantum symmetrisation); omitting it inflates Ξ and corrupts μ.
Discussion
The chemical potential plays for particle exchange exactly the role temperature plays for energy exchange. Two systems that can trade energy reach equilibrium when their temperatures match; two systems that can trade particles equilibrate when their chemical potentials match. This single statement, μ1 = μ2, governs phase coexistence (liquid–vapour lines), chemical equilibrium (Σ νiμi = 0 for a reaction), membrane and osmotic equilibrium, and the alignment of Fermi levels when two metals touch. The grand canonical ensemble is where that condition is derived rather than assumed.
The reading of μ as a free-energy cost is worth internalising. Because dF = −S dT − P dV + μ dN, adding one particle at fixed T,V changes the Helmholtz free energy by μ. Equivalently μ = (∂U/∂N)S,V = (∂G/∂N)T,P; the last form shows μ is just the Gibbs free energy per particle, which is why for a pure substance G = μN. The three partial derivatives agree because each holds fixed the natural variables of its own potential.
Number fluctuations are physically observable, not an artefact of the ensemble: σN2 = kT(∂N̅/∂μ)T,V, and this connects directly to the isothermal compressibility κT via σN2/N̅ = (N̅kT/V)κT. Critical opalescence — the milky scattering of light near a critical point — is exactly the divergence of these density fluctuations. The ensemble that lets N float is the natural home for such phenomena.
Structurally, Φ(T,V,μ) is the double Legendre transform of the energy that trades the extensive pair (S,N) for the intensive pair (T,μ), keeping V. Its natural variables are all but one intensive, so by Euler's theorem on the extensive energy U = TS − PV + μN one gets the compact identity Φ = −PV. Thus ln Ξ = PV/kT directly delivers the equation of state: the grand partition function is, quite literally, the pressure. This is why virial expansions and quantum gas thermodynamics are almost always launched from Ξ rather than Z.
Common misconceptions. Chemical potential is not restricted to chemistry and has nothing intrinsically to do with reactions; it is defined for any conserved particle number, including photons (where μ=0 because photon number is not conserved). It is also not the potential energy of a particle — it is a free energy that includes an entropic term, which is why it can be negative even when every single-particle energy is positive.
Worked examples
Example 1 — occupancy of a single adsorption site (Langmuir isotherm).
Units check. Both ε and μ in eV, kT in eV, ratio dimensionless; N̅ is a pure occupation probability between 0 and 1. Raising μ (denser gas) toward −ε drives the site toward half-filling, as a Langmuir isotherm should.
Example 2 — chemical potential of a classical ideal gas (argon at STP-like conditions).
Units check. nλ3 is dimensionless (m−3 × m3), so ln(nλ3) is a pure number and μ inherits the energy units of kT. The result is negative, as required for a dilute classical gas — the entropic gain of spreading a new particle over the huge phase-space volume outweighs any energy cost.
Problems
- (Easy) A single adsorption site binds one molecule with binding energy ε = 0.15 eV. It is in contact with a gas at T = 250 K and chemical potential μ = −0.25 eV. Find the mean occupancy.
Solution
kT = 8.617×10−5 × 250 = 0.02154 eV. ε+μ = 0.15 − 0.25 = −0.10 eV. β(ε+μ) = −0.10/0.02154 = −4.643. N̅ = 1/(1 + e4.643) = 1/(1 + 103.9) = 1/104.9 = 9.5×10−3, about 0.95% occupancy. Lower temperature sharpens the Fermi factor, so the site is emptier than the 300 K case despite similar ε+μ.
- (Easy–medium) Starting from Ξ = Σs e−β(Es−μNs), show that N̅ = (1/β)(∂ ln Ξ/∂μ)T,V.
Solution
Differentiate ln Ξ with respect to μ at fixed β,V: (∂ ln Ξ/∂μ) = (1/Ξ)Σs(βNs)e−β(Es−μNs). The factor e−β(Es−μNs)/Ξ = Ps, so the sum is βΣsNsPs = βN̅. Hence (∂ ln Ξ/∂μ) = βN̅, i.e. N̅ = (1/β)(∂ ln Ξ/∂μ) = kT(∂ ln Ξ/∂μ). Equivalently N̅ = −(∂Φ/∂μ)T,V.
- (Medium) Show that the variance of particle number satisfies σN2 = ⟨N2⟩ − N̅2 = kT(∂N̅/∂μ)T,V, and comment on what happens near a critical point.
Solution
From problem 2, N̅ = (1/β)(∂ ln Ξ/∂μ). Differentiate again: (∂N̅/∂μ) = (1/β)(∂2 ln Ξ/∂μ2). Now (∂2 ln Ξ/∂μ2) = ∂/∂μ[(1/Ξ)ΣβNse…] = β2(⟨N2⟩−N̅2) by the standard cumulant identity (derivative of a normalised mean gives the variance). Therefore (∂N̅/∂μ) = (1/β)β2σN2 = βσN2, giving σN2 = (1/β)(∂N̅/∂μ) = kT(∂N̅/∂μ)T,V. Near a critical point the compressibility κT ∝ (∂N̅/∂μ) diverges, so σN diverges — this is critical opalescence and the breakdown of ensemble equivalence.
- (Medium–hard) Compute the chemical potential of gaseous helium (M = 4.00 g/mol) at T = 300 K and P = 1 atm, and confirm the classical limit applies.
Solution
Use μ = kT ln(nλ3). Density n = P/kT = 101325/(1.381×10−23×300) = 2.446×1025 m−3 (same as argon). Mass m = 4.00×1.6605×10−27 = 6.64×10−27 kg. 2πmkT = 6.283×6.64×10−27×4.143×10−21 = 1.728×10−46; √{} = 1.315×10−23. λ = 6.626×10−34/1.315×10−23 = 5.04×10−11 m (larger than argon since He is lighter). λ3 = 1.28×10−31 m3. nλ3 = 2.446×1025×1.28×10−31 = 3.13×10−6 ≪ 1 (classical). μ = 0.02585 eV × ln(3.13×10−6) = 0.02585 × (−12.67) = −0.328 eV. Helium's μ is less negative than argon's because its larger λ raises nλ3.
- (Hard) Prove the identity Φ = −PV for a simple bulk system, and hence that ln Ξ = PV/kT. State where extensivity is used.
Solution
Energy is a first-order homogeneous (extensive) function of its extensive arguments: U(λS,λV,λN) = λU(S,V,N). Euler's theorem then gives U = S(∂U/∂S) + V(∂U/∂V) + N(∂U/∂N) = TS − PV + μN. The grand potential is defined as Φ ≡ F − μN = (U − TS) − μN. Substitute the Euler relation: Φ = (TS − PV + μN) − TS − μN = −PV. Since Φ = −kT ln Ξ, we get ln Ξ = PV/kT. Extensivity enters precisely at the Euler step; it fails for systems with dominant surface energy or long-range forces, where Φ = −PV no longer holds and the grand potential must be used directly.