density of state can be computed by 2 ways. i will demon a usual way on the k-space. then i will show the phase-space method.
in the k-space, k is the wave vector. the wave can be matter wave from Schrödinger equation or EM wave from Maxwell equation. In volume with length a, with boundary condition that the wave must be zero at boundary. the solution is:
so, the element or basic unit of the k-vector is
the number of state on between is
where is the volume of (d-1) dimension and is multiplicity. then, we have to relate the k-vector with Energy. it is different from matter wave and EM wave.
Thus, the density of state per unit volume is
For matter wave,
for spin half
in phase space, a unit volume is ( by the uncertainly principle )
thus the total number of state is
the density of state in unit energy is
the density of state per unit volume is