The Microcanonical and Canonical Ensembles (the Boltzmann Distribution)
The microcanonical ensemble of the previous chapter is conceptually clean but computationally brutal. Counting the microstates of an isolated system at a sharply fixed energy means evaluating awkward surface integrals over energy shells and juggling constrained sums. Almost no real problem is solved that way.
The trick that unlocks the subject is to stop insisting on fixed energy. Let the system of interest exchange energy freely with a large reservoir that holds the temperature fixed. The system's energy now fluctuates, but for a macroscopic system those fluctuations are relatively tiny, so the physics is unchanged — and the mathematics becomes vastly easier. The probability of each microstate takes the simple Boltzmann form , and every thermodynamic quantity is obtained by differentiating a single function, the partition function . This chapter derives that machinery and runs it on the standard examples: the two-level system, the harmonic oscillator, and the ideal gas.
How to read this chapter. The spine is: (1) couple system to reservoir, expand the reservoir entropy, get ; (2) contains everything, via and ; (3) for independent parts factorises, so (and hence , , ) is additive. Master those three moves on the two-level system first; the oscillator and the ideal gas are then just more elaborate sums. The energy-fluctuation result is the bridge back to the microcanonical picture and explains why the two ensembles agree.
From Isolated System to Heat Bath
Take the system of interest and a reservoir , together forming an isolated supersystem with fixed total energy . When is in a particular microstate of energy , the reservoir has energy and multiplicity . By the fundamental postulate applied to the supersystem, the probability of finding in microstate is proportional to the number of ways the rest of the world can accommodate it:
Because the reservoir is enormous, , and the reservoir entropy can be Taylor-expanded about :
The higher terms vanish in the reservoir limit (they carry inverse powers of the reservoir's heat capacity). Exponentiating, the piece is a constant absorbed into normalisation, and
This is the canonical (Gibbs) distribution. The exponential factor is the Boltzmann factor; the normalising sum is the partition function (German Zustandssumme, "sum over states"). The sum runs over microstates; if one instead sums over distinct energy levels, each term carries the level's degeneracy : .
The same expansion carried to the next order gives the leading correction as a term in the system's own heat capacity divided by the reservoir's — negligible whenever the reservoir is much larger, which is the defining assumption.