Solution

ID: past-exam-of-the-physics-b-course-of-the-university-of-cambridge/2021/paper-2/section-c/c9/a/solution

The expression is the canonical partition function for a system in thermal equilibrium with a large heat bath at fixed temperature . The system exchanges energy with the bath, while its particle number and external mechanical parameters, such as volume, are fixed. The bath is large enough that its temperature is not appreciably changed by this exchange.
The system has allowed energy levels . The index labels distinct energy values, and the integer degeneracy factor counts distinct quantum states with that same energy. is the Boltzmann constant, and is a state's Boltzmann factor. The dimensionless sum normalizes the probabilities:
Thus the degeneracy multiplies the probability of occupying the level, not the probability assigned to each individual state within it.
The canonical model is not restricted to a classical ideal gas. It applies to a quantum rotor, for example, provided the sum counts all of that system's allowed states with their proper degeneracies. For a many-particle system, would be the energy of a many-particle state, with any quantum-statistical restrictions already built into the state count.

New to topics? Read the docs here!