Grand Canonical Ensemble for Ideal Quantum Gases
An ideal quantum gas is a crowd of non-interacting indistinguishable particles whose only correlation comes from the symmetrization postulate: a many-body state is fixed once you say how many particles sit in each single-particle level, the occupation numbers . At fixed particle number this is awkward — the sum over microstates must respect , and that one constraint entangles every level with every other. The grand canonical ensemble cuts the knot. Let the gas trade particles with a reservoir at chemical potential ; the fixed- constraint becomes a Lagrange multiplier, and the levels decouple. We take from the quantum-mechanics track exactly one input and no more. The article aq-sm-occupation-number-representation (built on QM's aq-qm-occupation-number-fock-space) establishes that a many-body state of identical particles is nothing but a tally , with for fermions and for bosons. That counting rule is the whole of the quantum microscopy we need. What this article owns is the statistical machinery that turns those tallies into thermodynamics. The decisive structural fact is that energy and number are both additive over levels, and , so the grand canonical weight factorizes into a product of single-level pieces. The grand partition function becomes , and each factor is an elementary sum — a two-term binomial for fermions, a geometric series for bosons. From this one factorization the mean occupation follows by a single logarithmic derivative, , the upper sign fermionic and the lower bosonic. This article sets up that framework and delivers the general ; the two specialized distributions and everything they imply — the Bose that seeds condensation, the Fermi that caps occupation at one — are worked out in aq-sm-bose-einstein-distribution and aq-sm-fermi-dirac-distribution.
- The grand canonical ensemble fixes and and lets the gas exchange energy and particles with a reservoir; for an ideal quantum gas it is the natural framework because the symmetrization constraint couples particle number to occupation.
- Because the Hamiltonian is a sum over independent single-particle modes, the grand partition function factorizes: , one independent open subsystem per level.
- Each single-level sum is elementary: a two-term binomial for fermions (occupations ), a geometric series for bosons (occupations ).
- One logarithmic derivative gives both quantum distributions at once: .
- The Bose geometric series converges only for (the ground-level energy) — a mathematical ceiling that becomes the physics of Bose-Einstein condensation; the Fermi sum has no such ceiling.
- Key idea: for non-interacting indistinguishable particles the grand canonical weight factorizes over single-particle levels, so each level is an independent open subsystem; both quantum distributions differ by exactly one sign, flipped by whether the occupation sum is a two-term binomial or an unbounded geometric series.
The grand canonical weight of an ideal quantum gas factorizes over single-particle levels: each level is an independent open subsystem in equilibrium with the particle reservoir. Summing over its allowed occupations — a two-term binomial for fermions, an unbounded geometric series for bosons, with — and differentiating once gives . Bose and Fermi statistics are one calculation separated by a single sign.
Where this lives today
This factorized grand-canonical calculation is the workhorse of condensed-matter and atomic physics. Applied to electrons with a Fermi–Dirac occupation and a density of states it gives the free-electron model of metals — the Fermi energy, the linear electronic heat capacity, Pauli paramagnetism, and the entire physics of the Fermi surface probed by quantum-oscillation experiments. Applied to bosons it predicts Bose–Einstein condensation, realized in 1995 in dilute atomic vapors and now a routine platform for quantum simulation, atom interferometry, and studies of superfluidity. With it reproduces Planck radiation and Debye phonons. The same is what modern many-body codes evaluate when they compute the equation of state of a neutron-star crust or a trapped ultracold gas.
The physical picture
Picture the spectrum of single-particle levels as a row of boxes, each connected to a huge reservoir held at chemical potential . Because the particles do not interact, what happens in one box is utterly independent of the others — the reservoir mediates no correlation between levels. The whole gas is therefore a collection of independent subsystems: two-state boxes for fermions (empty or singly filled), many-state boxes for bosons (any occupancy). Equilibrium statistical mechanics of the gas is nothing but equilibrium statistical mechanics of one box, repeated over the spectrum. The chemical potential is the "price" of adding one particle. A level with is cheap, so it is heavily occupied; a level with is expensive, so it is nearly empty; the transition has width . Fermions hit a ceiling of one particle per box, so their occupation can never exceed unity. Bosons have no ceiling — which is exactly why must stay below the ground-level energy for a Bose gas, or the lowest box would demand an infinite, and then negative, occupation.
The whole of quantum statistics for an ideal gas is one box calculation done twice: a two-term binomial (fermion) or an unbounded geometric series (boson). The two answers differ by a single sign.
The core equations
For non-interacting particles the total energy and number are additive over levels, so the grand canonical Boltzmann weight of a whole configuration is a product of one-level weights. Summing over all configurations therefore factorizes into a product of independent single-level sums — the step that fails at fixed , where the constraint ties the levels together.
where: — grand partition function; — occupation configuration over single-particle levels; — inverse temperature; — chemical potential set by the reservoir; — the fugacity; — single-particle level energy; — single-level grand partition function. Physical reading: the gas is a warehouse of independent boxes, one per level; the fugacity is the reservoir's "willingness to supply" a particle. The occupation range is the only place the quantum statistics enters. Fermions allow (a finite binomial), bosons allow (a geometric series that converges only when its ratio is below one).
where: — the per-particle grand-canonical weight of the level. Physical reading: the fermion box is a coin (in or out); the boson box is an unlimited stack whose geometric mean fill grows without bound as its weight approaches one. The grand potential collects the logs, and its derivative with respect to a level's energy is that level's mean occupation. Taking brings a factor of down inside the sum, which is exactly the average.
where: — the grand potential; the upper sign is Fermi, the lower Bose. Physical reading: one master formula holds both quantum distributions, distinguished by a single . The number that fixes is the sum of these occupations, , and the pressure is — no further work. The fluctuations follow from a second derivative and expose the statistics in a different way: the variance of a level's occupation is times , sub-Poissonian for fermions (a filled level cannot fluctuate up), super-Poissonian for bosons (they bunch).
where: the upper sign ( in ) is Fermi (variance vanishes at and ), the lower () is Bose (variance grows quadratically — bunching). Physical reading: fermions damp their own fluctuations by exclusion; bosons amplify theirs by sociability.
Derivations
The goal is to obtain the mean occupation for fermions and bosons in a single unified calculation, showing that the two statistics are one algebraic problem separated only by the range of the occupation sum. We use exactly one quantum input — that a many-body state is a tally with (fermions) or (bosons), established by aq-sm-occupation-number-representation — and derive everything else from the additivity of energy and number over levels. This is the structural result the whole chapter of quantum gases rests on.
Step 1. Write the grand-canonical probability of a whole configuration. In the ensemble at the weight of a configuration is , because energy and number are both additive over levels. Why: non-interacting particles carry no cross-level energy, so the exponent is a plain sum over modes.
Step 2. Factorize. The exponential of a sum is a product, , and summing each occupation independently distributes the total sum through the product: with and . Why: the occupations are unconstrained in the grand ensemble, so the levels are genuinely independent — the step that fails at fixed .
Step 3. Do the two sums. For fermions the exclusion truncates the sum after two terms, . For bosons the sum is a geometric series, , convergent only if , i.e. . Why: the whole quantum-statistical content is here — a finite binomial versus an infinite geometric series, one algebraic step apart.
Step 4. Extract the mean by a logarithmic derivative. Because , the operator acts as , and brings a factor down inside the sum to give . Fermi: . Bose: . Why: the log-derivative is the generating-function trick for the first moment.
Step 5. Rearrange to standard form. In both cases , the master occupation formula, Fermi, Bose. The two distributions are literally the same expression with one sign flipped. Why: multiplying numerator and denominator by is the only algebra needed, and it treats both signs identically. Verified: the geometric and binomial sums, the log-derivative , the standard-form rewrite, and the unified selection are all checked symbolically in verify_grand-canonical-ideal-quantum-gases.py.
Go deeper · Derivation B · 2 minThe Bose convergence bound is the chemical-potential ceiling
The goal is the structural result this article owns: that the mathematical requirement for the boson geometric series to converge — nothing more than — is identical to the physical ceiling on the chemical potential of an ideal Bose gas, and that this ceiling is precisely where the ground-level occupation diverges and Bose-Einstein condensation begins. Fermions have no analogous bound because their sum is finite for any argument. We prove the equivalence and locate the divergence, then hand the condensation physics itself to aq-sm-bose-einstein-condensation-ideal-gas.
Step 1. State the convergence condition. The single-level boson sum converges to only when its ratio . Applied to every level, the tightest condition is at the lowest energy , where is largest. Why: a geometric series with ratio diverges term by term, so the partition function is undefined.
Step 2. Translate to the chemical potential. The condition is , i.e. . Why: taking the log of the fugacity condition converts a bound on into a bound on .
Step 3. Show the ceiling is a genuine divergence, not a bookkeeping choice. As the ground-level occupation grows without bound; numerically, at and it climbs through as by factors of ten. Push past and the formula returns a negative "occupation" — the unmistakable sign that the ensemble has left its domain. Why: the pole of at is the ground state demanding a macroscopic population, which is condensation.
Step 4. Contrast the fermion case. The Fermi sum converges for any , so (the Fermi level) may sit anywhere — above or below any level — and stays safely in . There is no ceiling and no condensation. Why: a two-term sum has no convergence requirement, so exclusion removes the very instability that defines the Bose gas. Verified: the geometric convergence branch, the translation, the monotone divergence of as , the negative-occupation flag for , and the Fermi bound are checked in verify_grand-canonical-ideal-quantum-gases.py.
Limiting cases
With and , the mean occupation interpolates between regimes:
| Regime | Result | Meaning |
|---|---|---|
| Classical (non-degenerate) | All occupations tiny; Bose and Fermi merge into Maxwell–Boltzmann (aq-sm-maxwell-boltzmann-classical-limit). Holds when . | |
| Degenerate Fermi gas | Levels below filled to the exclusion ceiling; at a sharp Fermi surface at . | |
| Degenerate Bose gas | Ground-level occupation diverges; a macroscopic condensate forms. Requires always. | |
| High-energy tail | Both statistics decay with the Boltzmann factor, whatever is happening elsewhere in the spectrum. | |
| Photon / phonon gas | (number not conserved): | The Bose result with zero chemical potential — Planck radiation and Debye phonons (aq-sm-photon-gas-planck-radiation). |
Worked examples
Example 1 — Occupation of a level near the chemical potential, both statistics.
Step 1. Set the scale. At , .
Step 2. Fermi level below . Then , so — nearly full, as a level well below the Fermi level should be.
Step 3. Fermi level above . Now and — nearly empty. The two answers add to , the particle–hole symmetry about .
Step 4. A boson level above (bosons need ). Here , so — already above one, and it would run to infinity as the gap closes. Same framework, opposite sign, wildly different behavior.
Example 2 — The Fermi energy of copper as the ground state of the framework.
Step 1. Setup. Copper has one conduction electron per atom, number density ; electrons are spin- fermions of mass . At the Fermi–Dirac occupation is a step: every level up to is filled, all above empty.
Step 2. Filling the sphere. With the free-particle density of states, the number equation inverts to (the density-of-states machinery is owned by aq-sm-density-of-states-energy; we use its result).
Step 3. Plug in. , and , so — matching the measured copper value of .
Step 4. The consequence. The Fermi temperature is . Room temperature is : the electron gas is strongly degenerate, the Fermi–Dirac step barely smeared. This is why metals have a linear-in- electronic heat capacity — worked out in aq-sm-electronic-heat-capacity-metals.
Origins · 1 minfermi gas and how this was discovered
History
Origins · 1 minhow this was discovered
Going further
- Texts: Pathria & Beale, Statistical Mechanics (3rd ed.), Ch. 6; Kardar, Statistical Physics of Particles, Ch. 7; Reif, Fundamentals of Statistical and Thermal Physics, Ch. 9; Sethna, Statistical Mechanics: Entropy, Order Parameters, and Complexity, Ch. 7; Landau & Lifshitz, Statistical Physics Part 1, §53–56.
- The quantum input: the occupation-tally description of many-body states is owned by aq-sm-occupation-number-representation (built on the QM article aq-qm-occupation-number-fock-space); this article supplies the statistical machinery, not the microscopic one.
- Leads to: the two specialized distributions aq-sm-bose-einstein-distribution and aq-sm-fermi-dirac-distribution; the classical crossover aq-sm-maxwell-boltzmann-classical-limit; the degeneracy parameter aq-sm-quantum-concentration-classicality-criterion; and downstream, degenerate Fermi and Bose gases in SM5.
- Provenance: AllQFT `sm` export (Pathria & Beale), aq-sm-grand-canonical-ideal-quantum-gases, ref STAT.QSTAT.GCIQG.1204. Every distribution, sign, limit, and the Cu Fermi energy () are python-verified (22 checks, all PASS).
Why go grand-canonical instead of just fixing N?
Because at fixed the constraint links every level to every other, and the partition function does not factorize — you would face a genuinely coupled combinatorial sum. Relaxing and introducing turns the constraint into a Lagrange multiplier that acts level by level, so each level becomes an independent open subsystem and the whole calculation collapses to one box done once. The ensembles agree in the thermodynamic limit, so nothing physical is lost.
Is the chemical potential something I choose?
No. In practice , , and are given, and is whatever value makes come out right. You solve that implicit equation for . For fermions can be anywhere (it becomes the Fermi energy at ); for bosons it is pinned below and, at the condensation point, sticks essentially at while the surplus particles pour into the ground state.
Does this article derive the Bose-Einstein and Fermi-Dirac distributions?
It derives the general occupation and the factorization that produces it, which is the shared backbone of both. The dedicated treatments — the Bose with its condensation ceiling, the Fermi with its exclusion cap and step — are the subjects of aq-sm-bose-einstein-distribution and aq-sm-fermi-dirac-distribution. Think of this article as the launch pad and those two as the specializations.
Where does the density of states come in?
It does not appear in the single-level occupation , which is per level. It enters when you sum over levels to get the total number or energy, . The function that converts a sum over discrete levels into an energy integral is owned by aq-sm-density-of-states-energy and aq-sm-density-of-states-k-space; the number equation that fixes (and the Fermi energy in Example 2) uses it.
Why do the fluctuations differ for bosons and fermions?
Both come from the same identity , but the sign flips the story. For fermions () a nearly empty or nearly full level cannot fluctuate — exclusion forbids a second particle — so the variance is sub-Poissonian and vanishes at both ends. For bosons () the variance exceeds the Poisson value by : bosons bunch, arriving in correlated groups, as measured directly in the Hanbury Brown–Twiss experiment.
Does the Gibbs 1/N! come out of this, or is it inserted by hand?
It comes out. In the classical limit , the grand potential collapses to , and converting back to the Helmholtz free energy gives automatically, with the appearing as from Stirling. The factorial that classical statistical mechanics has to postulate to fix extensivity is here a consequence of counting indistinguishable occupations — the subject of aq-sm-gibbs-correction-boltzmann-counting.
What sets the boundary between quantum and classical behavior?
The fugacity , equivalently the phase-space density where is the thermal de Broglie wavelength. When (equivalently ), occupations are tiny, the is negligible, and both quantum distributions collapse to Maxwell–Boltzmann. Degeneracy — the regime where quantum statistics matters — sets in when becomes of order one, i.e. . The dimensionless number is developed in aq-sm-quantum-concentration-classicality-criterion.