Microcanonical, canonical and grand-canonical ensembles; partition functions
- CSIR NET
- GATE
- UP Assistant Professor
- UP GDC Mains
4 minute read · Updated 2026-11-15
Picking up from
In Phase space, micro- and macrostates, we saw that a macrostate groups many microscopic configurations, and phase-space counting connects their multiplicity to thermodynamic entropy. Which probability weights follow from different macroscopic constraints?
In one line
Ensembles encode allowed exchanges with an environment, and partition functions normalize equilibrium weights and generate thermodynamic quantities.
The idea, explained
An ensemble is a probability distribution over microstates consistent with specified controls. The microcanonical ensemble fixes energy, volume and particle number for an isolated model. The canonical ensemble allows energy exchange with a temperature reservoir while fixing volume and particle number. The grand canonical ensemble also allows particle exchange, introducing chemical potential.
In a canonical distribution, energy enters a Boltzmann weight and the partition function normalizes its sum. Derivatives of the logarithm produce mean energy and related response quantities. Grand canonical weights include the particle-number term as well as energy. Ensemble equivalence is a large-system equilibrium result under suitable conditions, not a claim that every finite-system fluctuation is the same in each ensemble. Choosing an ensemble requires physical boundary information: a specified mean temperature is not enough if the system’s possible particle exchange or externally fixed energy is left ambiguous.
Core ideas
- The inverse-temperature parameter has inverse-energy units. It uses Boltzmann’s constant and absolute temperature, not a bare reciprocal Celsius value.
- Include degeneracy once in a state sum. Either sum each degenerate state individually or multiply a level weight by its multiplicity.
- Factorizing a partition function assumes independent subsystems or modes with the corresponding additive Hamiltonian. Interactions generally prevent a simple product.
- Canonical energy fluctuations are generally nonzero even at fixed reservoir temperature. Fixed temperature and fixed system energy are different ensembles.
- The grand partition sum includes different particle-number sectors. A fixed-number canonical sum cannot be converted merely by renaming its partition function.
Key formulas
Canonical weights and thermodynamics
The spectrum is fixed while differentiating at constant volume and particle number, with .
Grand partition function
The sum spans particle-number sectors and their microstates; controls mean particle number.
State the allowed reservoir exchanges, choose the ensemble, and build the full state sum before differentiating. Keep control variables and any temperature-dependent model parameters explicit. Check low-temperature dominance by the lowest levels and high-temperature behavior where the model remains valid. For particle exchange, distinguish fixed chemical potential from fixed mean particle number after a constraint equation is solved. Normalize probabilities and verify their sum; a thermodynamic derivative cannot repair an omitted state or an incorrectly counted degeneracy.
Quick worked example
A nondegenerate two-level system has energies zero and . Its partition function is . The excited probability is , approaching one half at high temperature.
Where this leads
Continue to Liouville theorem, entropy and its increase, statistical equilibrium, quasi-closed systems, theorem of small increments, distribution functions, because Hamiltonian flow and coarse graining clarify why equilibrium probabilities and entropy evolution differ.
Related: Phase space, micro- and macrostates — prerequisite definitions used in this model.
Practice this topic
Practice this topic38 questions in Assistant Professor · Physics · Physics. Sign in and practice access may be required.