Nonrelativistic equilibrium number density (source code)

= Nonrelativistic equilibrium number density

For particles of <mass> $m$ with $g$ degenerate internal states in a dilute gas obeying <Maxwell–Boltzmann statistics>,
$$
n=g\left(\frac{mk_BT}{2\pi\hbar^2}\right)^{3/2}
\exp\!\left(\frac{\mu-mc^2}{k_BT}\right).
$$
Here the <chemical potential> $\mu$ includes the rest-<energy> reference, and excited internal levels are neglected. The <nonrelativistic limit> requires $k_BT\ll mc^2$; the classical dilution condition is separately $n\lambda_T^3/g\ll1$.

To derive the result, use <energy> $E(p)=mc^2+p^2/(2m)$ in the dilute occupation $e^{(\mu-E)/(k_BT)}$ and integrate $g\,d^3p/(2\pi\hbar)^3$. The <Gaussian integral> yields $n=g\lambda_T^{-3}e^{(\mu-mc^2)/(k_BT)}$, with <thermal de Broglie wavelength> $\lambda_T=h/\sqrt{2\pi mk_BT}$. If energies instead exclude rest <energy>, use $\mu_{\rm kin}=\mu-mc^2$ consistently. <Statistical Physics by David Tong/2 Classical Gases>[Sections 2.1–2.2.4, classical phase-space state count and chemical potential; rest-energy shift shown explicitly here]{ref}