See here for the difference between distinguishable and indistinguishable particles. Note that for the latter there are too few energy levels to use , instead we have to count each two-particle microstate individually.
This question closely follows the derivation in three dimensions, see here for the density of states and , and here for .
A vessel of volume contains a gas of highly relativistic spin-zero
indistinguishable particles (i.e. their wavenumber and kinetic energy
are related by
). Show that the single particle
partition function of the system is given by
Show that the entropy of the gas in the classical limit is given by
[You may assume that the density of states is given by
,
and that
You may use Stirling's approximation,
.]
Once again this closely follows the derivation for a non-relativistic particle; the density of states is the same, but the actual integral that has to be done to get is an exponential rather than a Gaussian.
These closely follow the derivations in the Boltmann case, here for and here for .
See here.