I've been trying to find the square mean of a gaussian function using the limits of $+/-$ infinity.
$$\int_{-\infty}^{\infty} x^2e^{-2x^2}\mathrm{d}x$$
Why does splitting the function into a $$ u = x$$ and $$v'=xe^{-2x^2}$$ and integrating by parts give a different answer to $$u = x^2$$ and $$v' = e^{-2x^2}$$