In previous thermal and statistical physics courses we have tended to consider a particle in a box (side lengths , ), with boundary condition that the wavefunction must vanish at the wall. Then the energy eigenfunctions are of the form
for positive integers , that is, the allowed values of the wavenumber are quantised, though very closely spaced for a macroscopic box. The density of states gives the number of states in the vicinity of a given momentum or energy. In momentum space, the number of states with in the range , (where is small, but much bigger than the spacing between states) is
See here for details of the derivation. Note that as , and all have to be positive, the vector , which isn’t quite a momentum becuase we are dealing with standing waves, has to lie in the positive octant.
In quantum mechanics we prefer not to deal with standing waves, but with momentum eigenstates which are travelling waves. But we still want the advantage of a finite box so that the states remain countable. The solution is to use periodic boundary conditions in which, when a particle reaches a wall at, say, it leaves the box and reappears, with the same momentum, at . This may sound artificial but we get the same expression for ; the advantage is that we can usefully talk about as well.
In this case the boundary condition is and the wavefunction is
noting now that etc since a whole number of wavelengths have to fit into the box. We have fixed the normalisation so that there is one particle in the box; this differs from the -function normalisation used elsewhere. We can now talk about the number of states with in the range , and (where is small, but much bigger than the spacing between states)
where . We have obtained the same expression for , as advertised. This time though we integrated over all values of and , not just the positive octant.
The density of states can be defined with respect to energy, or to frequency, as well. In each case the number of states remains the same: so the density of states will change by the inverse of the factor which relates and the new variable: .
For non-relativistic particles , so . For photons though, , so and . In the notes we define which is akin to ; the angle integral hasn’t yet been done, but the switch to frequency has, bringing in a factor of .
If a particle has more than one spin state we need to multiply by the degeneracy factor which is 2 for spin- electrons and for photons.
Bose-Einstein statisitics gives the average number of photons in a mode of frequency at temperature . Hence we obtain the Planck law for the energy density in space at frequency ,
Note the dimesions, which are energy/frequency/length. It’s a “double density” - per unit volume, but also per unit . To get the full energy density we integrate over .