Solution

ID: past-exam-of-the-quantum-condensed-matter-course-of-the-university-of-cambridge/2004/section-a/2/solution

Treat as a constant and use the canonical ensemble identity . The given formal partition function gives . The pressure is its negative volume derivative at fixed :
Equivalently . The explicit temperature dependence in must be retained; this is not the ideal-gas pressure law.

New to topics? Read the docs here!