Recently I learned about the following expression showing the kinetic part of the partition function in an N-atom ideal gas under conserved total momentum:
\begin{aligned} Q_{\mathrm{Kin}}^{\mathrm{CM}} & =\int \mathrm{d} \mathbf{p}^{d N} \prod_{i=1}^N \exp \left[-\left(\beta / 2 m_i\right) p_i^2\right] \delta\left(\sum_{i=1}^N \mathbf{p}_i\right) \\ & =\left(\frac{\beta}{2 \pi M}\right)^{d / 2} \prod_{i=1}^N\left(\frac{2 \pi m_i}{\beta}\right)^{d / 2} \\ \end{aligned} (1)
where $M=\sum_{i=1}^N m_i$
Although in physics, I was able to rationalize this result by showing that the system's degrees of freedom is decreased by one because of a conserved total momentum, and therefore the partition function should be divided by $(2\pi M/\beta)^{d/2}$, I had a hard time doing this integration mathematically.
Transforming all $\mathbf{p}_i$ into the relative momentums $\mathbf{p}_i'=\mathbf{p}_i-(m_i/M)\mathbf{P}$, where $\mathbf{P}=\sum_{i=1}^N \mathbf{p}_i$ seems to be the first idea, but the Jacobian for such a transformation does not seem to be 1, neither will the sum in the $\delta$ function be trivially expressed.
Another idea is to transform all $\mathbf{p}_i'=\mathbf{p}_i$ when $i=1\to N-1$ while $\mathbf{p}_N'=\sum_{i=1}^N \mathbf{p}_i$. This transformation is area-conserving, and after which the integrand becomes:
\begin{aligned} Q_{\mathrm{Kin}}^{\mathrm{CM}} & =\int \mathrm{d} \mathbf{p}'^{d N} \exp \left\{-\beta / 2 \left[\sum_{i=1}^{N-1} p_i^{'2}/m_i + \left(\mathbf{p}'_N - \sum_{i=1}^{N-1} \mathbf{p}'_i\right)^2/m_N \right] \right\} \delta\left(\mathbf{p}'_N\right)\\ &=\int \mathrm{d} \mathbf{p}'^{d N -3} \exp \left\{-\beta / 2 \left[\sum_{i=1}^{N-1} p_i^{'2}/m_i + \left( \sum_{i=1}^{N-1} \mathbf{p}'_i\right)^2/m_N \right] \right\} \end{aligned} (2)
The quadratic form within the exponent is not trivial to diagonalize neither.
My question is: Would there be a neat and rigorous way to derive the result in equation (1)? Your ideas will be highly appreciated!
Here, the "trick" consists in replacing the Dirac delta by its integral representation, namely $$ \delta(\mathbf{P}) = \int_{\mathbb{R}^d} \frac{\mathrm{d}^d\mathbf{s}}{(2\pi)^d}\, \exp(i\mathbf{P}\cdot\mathbf{s}) $$ in the present case, so that $$ \begin{align} Q_{kin}^{CM} &= \int_{\mathbb{R}^d}\frac{\mathrm{d}^d\mathbf{s}}{(2\pi)^d} \prod_{i=1}^N \int_{\mathbb{R}^d}\mathrm{d}^d\mathbf{p}_i \exp\left(-\frac{\beta}{2m_i}\mathbf{p}_i^2 + i\mathbf{p}_i\cdot\mathbf{s}\right) \\ &= \int_{\mathbb{R}^d}\frac{\mathrm{d}^d\mathbf{s}}{(2\pi)^d} \prod_{i=1}^N \left(\frac{2\pi m_i}{\beta}\right)^{d/2} \exp\left(-\frac{m_i}{2\beta}\mathbf{s}^2\right) \\ &= \int_{\mathbb{R}^d}\frac{\mathrm{d}^d\mathbf{s}}{(2\pi)^d}\, \exp\left(-\frac{M}{2\beta}\mathbf{s}^2\right) \prod_{i=1}^N \left(\frac{2\pi m_i}{\beta}\right)^{d/2} \\ &= \left(\frac{\beta}{2\pi M}\right)^{d/2} \prod_{i=1}^N \left(\frac{2\pi m_i}{\beta}\right)^{d/2} \end{align} $$