How would I solve the following
$$\int x^3 e^{-x^2}\,dx$$
I set $u=e^{-x^2}(-2x)$ $du=e^{-x^2}(2x)$ $dv=x^3$ $v=\frac{x^4}{4}$
Then I did
$$e^{-x^2}\frac{x^4}{4}+\frac{1}{2}\int x^4e^{-x^2}(-x) \, dx$$
But I find myself stuck unfortunatly.
How would I solve the following
$$\int x^3 e^{-x^2}\,dx$$
I set $u=e^{-x^2}(-2x)$ $du=e^{-x^2}(2x)$ $dv=x^3$ $v=\frac{x^4}{4}$
Then I did
$$e^{-x^2}\frac{x^4}{4}+\frac{1}{2}\int x^4e^{-x^2}(-x) \, dx$$
But I find myself stuck unfortunatly.
Hint: Make the preliminary substitution $t=x^2$. You will end up with something familiar.
But if you wish you can let $u=x^2$ and $dv=xe^{-x^2}\,dx$. The integration by parts will proceed smoothly.
\begin{align} \int x^{3}{\rm e}^{-x^{2}}\,{\rm d}x &= \left.-\,{\partial \over \partial\mu} \int x{\rm e}^{-\mu x^{2}}\,{\rm d}x\right\vert_{\mu = 1} = \left.-\,{\partial \over \partial\mu} \left(-\,{{\rm e}^{-\mu x^{2}} \over 2\mu}\right)\right\vert_{\mu = 1} \\[3mm]&= \left.\left(% -\,{x^{2}{\rm e}^{-\mu x^{2}} \over 2\mu} - {{\rm e}^{-\mu x^{2}} \over 2\mu^{2}} \right)\right\vert_{\mu = 1} = -\,{x^{2}{\rm e}^{-x^{2}} \over 2} - {{\rm e}^{-x^{2}} \over 2} = \color{#ff0000}{\large% -\,{1 \over 2}\left(x^{2} + 1\right){\rm e}^{-x^{2}}} \end{align}
Hint: $$\int x^3 e^{-x^2}dx=\frac12 \int x^2e^{-x^2}d(x^2)=\frac12 \int ye^{-y}dy.$$