Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2017/ii/paper-2/34d/a/solution

Here is the probability of microstate , including all occupation data. In the grand canonical ensemble, with energy , particle number , chemical potential and ,
Substitution in the Gibbs entropy gives , where and . Differentiating at fixed gives . Therefore

New to topics? Read the docs here!