I am trying to integrate over the Maxwell-Boltzmann velocity distribution to find the $v_{\text{rms}}$.
The Maxwell-Boltzmann velocity distribution is given by:
$$P(v) =\sqrt{\frac{m}{2\pi kT}} e^{-mV^2 / 2kT}$$
To find the average square velocity I multiply each possible value for $v^2$ by the fraction of molecules with velocity $v$ and sum by integration like so:
$$v_{rms} = \int^{\infty}_{-\infty} V^2 P(v) = \sqrt{\frac{m}{2 \pi kT}} \int^{\infty}_{-\infty} V^2 e^{-mV^2 / 2kT}$$
I have attempted to integrate by parts with
$u = V^2$, $dv = e^{-mV^2 / 2kT}$, $du= 2V$, and $v = \sqrt{\frac{2kT \pi}{m}}$ ($dv$ is a Gaussian integral)
Then using the integration by parts formula:
$$ \begin{align} v_{rms} &= \sqrt{\frac{m}{2 \pi kT}} \left[ uv - \int v du\right] \\ &= \sqrt{\frac{m}{2 \pi kT}} \left[ V^2 \sqrt{\frac{2 \pi kT}{m}} - \int{\infty}_{-\infty} \sqrt{\frac{2 \pi kT}{m}} 2V\right] \\ &= \sqrt{\frac{m}{2 \pi kT}} \sqrt{\frac{2 \pi kT}{m}} [V^2 - \int^{\infty}_{-\infty} 2 V] \\ &= [V^2 - \frac{2}{3} V^3]^{\infty}_{-\infty} \end{align} $$
which is undefined. The expected answer was $v_{rms} = \frac{kT}{m}$ (which is valid for an ideal monatomic gas). Did I make a mistake in my integration?