Degeneracy, the virial theorem, and stellar collapse
  Formulae for the energies of degenerate non-relativistic and ultra-relativistic Fermi gases play multiple roles in simple arguments related to the collapse of a stellar core to a neutron star. These formulae, deployed in conjunction with the virial theorem and a few other basic physical principles, provide surprisingly good estimates of the temperature, mass, and radius (and therefore also density and entropy) of the core at the onset of collapse; the final radius and composition of the cold compact remnant; and the total energy lost to neutrino emission during collapse. 
Christian Y. Cardall