For a bosonic degree of freedom, the supplied integral gives
For a fermionic degree of freedom, use
Changing variable in the second integral gives
This is the energy-density case of the fermion-to-boson thermal integral ratio.
Summing the result of part (a) over all particle species therefore gives
where the effective number of relativistic energy degrees of freedom is