Solution

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

The internal energy is the canonical mean of the energy:
Holding the external mechanical parameters fixed, so that the spectrum and degeneracies do not change when differentiating with respect to , gives
Comparison yields
An explicitly temperature-dependent effective Hamiltonian would require care: differentiating its partition sum would also differentiate the assigned energy levels. The stated result uses the fixed physical spectrum of the canonical system.

New to topics? Read the docs here!