In this exercise, we derive Fermi--Dirac and Bose--Einstein statistics using the microcanonical ensemble.
(a) Show that the number of ways of distributing nj fermions among gj states with not more than one particle in each is
Ωj=nj!(gj−nj)!gj!.(29.40)
Here, j labels a particular group of states. Hence the entropy S is given by
S=kBln[j∏nj!(gj−nj)!gj!].(29.41)
Hence show (using Stirling's approximation) that
S=−kBj∑gj[nˉjlnnˉj+(1−nˉj)ln(1−nˉj)],(29.42)
where nˉj=nj/gj are the mean occupation numbers of the quantum states. Maximize this expression subject to the constraint that the total energy E and number of particles N are constant, and hence show that
nˉj=eα+βEj+11.(29.43)
(b) Show that the number of ways of distributing nj bosons among gj states with any number of particles in each is
Ωj=nj!(gj−1)!(gj+nj−1)!.(29.44)
Hence show that
S=kBj∑gj[(1+nˉj)ln(1+nˉj)−nˉjlnnˉj].(29.45)
Maximize this expression subject to the constraint that the total energy E and number of particles N are constant, and hence show that
nˉj=eα+βEj−11.(29.46)