Ensemble Formula Sheet
Use these formulas to move between equilibrium probabilities, thermodynamic potentials, and fluctuations. The trace space and the variables held fixed matter as much as the partition function itself: a fixed-number state has no number fluctuations, whereas a grand-canonical state generally does.
Required background. Statistical ensembles compares physical controls; thermal density operators constructs Gibbs states; partition functions explains the state sums used here.
Unless otherwise stated,
has no explicit temperature dependence, and all derivatives hold the variables displayed in their subscripts fixed.
Ensemble at a Glance
Section titled “Ensemble at a Glance”| Ensemble | Controlled quantities | Fluctuating quantities | Equilibrium operator |
|---|---|---|---|
| microcanonical | , , within a stated window | energy may vary within the shell; is fixed | normalized projector onto the energy shell |
| canonical | , , | energy | |
| grand canonical | , , | energy and particle number |
The controls identify the ensemble, but finite-size constraints and conserved sectors remain part of the specification.
Canonical Ensemble
Section titled “Canonical Ensemble”For a fixed-particle-number Hilbert space ,
with partition function
The trace is over the fixed- sector. For identical particles, that sector already has the required Bose or Fermi symmetry.
Helmholtz free energy
Section titled “Helmholtz free energy”Thermal expectation value
Section titled “Thermal expectation value”In an energy eigenbasis this is , whether or not . Off-diagonal elements matter in products and time-dependent correlations, but do not enter this one-point trace.
Internal energy
Section titled “Internal energy”For a -independent Hamiltonian,
Equivalently,
Entropy
Section titled “Entropy”For the Gibbs state,
The thermodynamic derivative is
Heat capacity and energy fluctuations
Section titled “Heat capacity and energy fluctuations”For a temperature-independent Hamiltonian,
where
Equivalently,
Pressure and generalized forces
Section titled “Pressure and generalized forces”For a volume parameter with a well-defined thermodynamic derivative,
For a Hamiltonian parameter ,
If the physical generalized force is defined by
then
The sign depends on how is coupled in the Hamiltonian.
Differential
Section titled “Differential”For a simple system,
At strictly fixed integer in a finite system, the derivative with respect to is not literal. The chemical-potential term is a thermodynamic-limit or finite-difference statement.
Grand-Canonical Ensemble
Section titled “Grand-Canonical Ensemble”Let be a conserved number operator satisfying
Define the grand Hamiltonian
The equilibrium density operator is
with grand partition function
The trace is over the relevant Fock space or direct sum of number sectors.
Sector decomposition and fugacity
Section titled “Sector decomposition and fugacity”Define the fugacity
When preserves number,
Thus is a generating function for canonical partition functions. Convergence restricts the allowed in some bosonic systems.
Grand potential
Section titled “Grand potential”For a homogeneous extensive system in the thermodynamic limit,
For a finite or inhomogeneous system, use the derivative definition
when a volume variation is well defined. The identity requires homogeneity and extensivity; it is not a universal finite-system formula.
Mean particle number
Section titled “Mean particle number”Equivalently,
and
Grand energy and internal energy
Section titled “Grand energy and internal energy”For -independent , , and fixed ,
Therefore
If the derivative is instead taken at fixed fugacity , then
The distinction between fixed and fixed matters because .
Entropy
Section titled “Entropy”For the grand-canonical Gibbs state,
Equivalently,
Number fluctuations
Section titled “Number fluctuations”The fluctuation identity is
In terms of fugacity,
If and the isothermal compressibility is
then
This relation assumes the derivative and thermodynamic variables use consistent volume and boundary conventions.
Grand-energy fluctuations
Section titled “Grand-energy fluctuations”For fixed ,
with
This is not generally equal to because energy and particle number can be correlated.
Differential
Section titled “Differential”For a simple homogeneous system,
The Legendre relation is
Microcanonical Ensemble
Section titled “Microcanonical Ensemble”For definitions, entropy conventions, and isolated-system caveats, see Microcanonical Ensemble.
Choose an energy window
inside a fixed- Hilbert space, and let project onto the states in that window. Define
The normalized microcanonical state is
Its shell entropy is
The window must be wide enough to contain many levels for thermodynamic use, yet narrow on macroscopic energy scales. Different entropy conventions use a shell count, integrated density of states, or smoothed density of states; the convention must be stated before differentiating.
When a differentiable thermodynamic entropy exists,
and
Thermodynamic Potentials
Section titled “Thermodynamic Potentials”| Potential | Natural variables | Definition | Differential |
|---|---|---|---|
| internal energy | |||
| enthalpy | |||
| Helmholtz free energy | |||
| Gibbs free energy | |||
| grand potential |
These differentials require a differentiable equilibrium state function and the listed work variables. Extensivity is an additional assumption for Euler identities such as , not for the differential relations themselves. Include surface or other work terms when their parameters vary. Thermodynamic Potentials derives the table and explains when exact finite-system sums reduce to Legendre transforms.
Derivative Identities
Section titled “Derivative Identities”Canonical cumulants
Section titled “Canonical cumulants”For a -independent Hamiltonian,
where is the th energy cumulant. In particular,
Grand-canonical number cumulants
Section titled “Grand-canonical number cumulants”Using ,
at fixed and . Thus
Covariances from mixed derivatives
Section titled “Covariances from mixed derivatives”For a generalized Gibbs state
with mutually commuting conserved quantities ,
where
For noncommuting operators, derivatives involve imaginary-time ordered or Kubo–Mori correlations rather than the naive covariance. Do not extend the commuting formula without checking the operator ordering.
Energy-Zero Shift
Section titled “Energy-Zero Shift”For a temperature-independent scalar , if
then
and
The normalized state is unchanged:
Therefore expectation values of unchanged observables, entropy, heat capacity, and energy variance are invariant. The numerical internal energy shifts by . If depends on an external parameter, the corresponding free-energy derivative also changes by the derivative of ; an omitted constant is then not harmless for forces.
Ensemble Equivalence
Section titled “Ensemble Equivalence”Canonical, grand-canonical, and microcanonical ensembles often give the same local thermodynamic predictions when:
- the thermodynamic limit exists;
- interactions are sufficiently short ranged or additive;
- the system is away from singular finite-size regimes;
- the selected state lies in a stable phase;
- conserved sectors and symmetry-breaking limits are handled consistently.
Equivalence can fail or require qualification for:
- finite systems;
- long-range nonadditive interactions;
- phase coexistence and first-order transitions;
- constrained, fragmented, or integrable sectors;
- entropy branches that lack the supporting-line condition, including possible nonconcave branches in bounded-spectrum systems;
- observables dominated by global fluctuations;
- limits taken in different orders.
Agreement of mean densities does not imply equality of fluctuation distributions. Negative temperature alone does not cause ensemble inequivalence: an additive bounded-spectrum system can have a concave entropy branch with negative slope.
See Ensemble Equivalence for the supporting-line and large-deviation tests, local quantum-state criterion, and finite-size and coexistence qualifications.
Exercises
Section titled “Exercises”- Shift the energy zero. Show that shifting leaves the canonical entropy and heat capacity unchanged.
Solution
The partition function becomes
so
The internal energy shifts to
Using
gives
Because is temperature independent,
- Fixed fugacity versus fixed chemical potential. Explain why
but
Solution
Write the sector expansion
At fixed , differentiating the exponent gives
so
At fixed , the factor is held constant while only is differentiated. Therefore
- Choose the ensemble. Select an ensemble for each situation: an isolated finite system with sharply fixed energy; a spin sample exchanging heat but not particles; and atoms in a subsystem exchanging particles and energy with a much larger cloud.
Solution
- The isolated system with sharply fixed energy is naturally microcanonical, with a stated finite energy window.
- The spin sample exchanging heat while its degrees of freedom remain fixed is naturally canonical.
- The atomic subsystem exchanging both energy and particles is naturally grand canonical, with determined by equilibrium with the larger cloud.
These choices describe the controls. A different ensemble can sometimes be used as a calculational device, but finite-size corrections and fluctuation predictions must then be checked.
References
Section titled “References”- R. Balian, From Microphysics to Macrophysics, Volume I, Springer (1991).
- H. B. Callen, Thermodynamics and an Introduction to Thermostatistics, 2nd ed., Wiley (1985).
- 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).
- R. K. Pathria and P. D. Beale, Statistical Mechanics, 3rd ed., Elsevier (2011).