Solve $$\int_0^{\infty} x^2 \frac{x}{\theta}e^{\frac{x^2}{2\theta}} dx $$
Solution: $$\int_0^{\infty} x^2 \frac{x}{\theta}e^{\frac{x^2}{2\theta}} dx = - \int_0^\infty x^2 de^{\frac{-x^2}{2\theta}}dx^2 $$
By partial integration:
$$= \int_0^\infty e \frac{-x^2}{2\theta}dx^2$$
And taking substitution $u=\frac{x^2}{2\theta}$:
$$ = 2\theta \int_0^\infty e^{-u} du = 2\theta$$
Questions
I do not understand the solution provided, threfore I ask for a detailed breakdown which explains issues such as:
- In $- \int_0^\infty x^2 de^{\frac{-x^2}{2\theta}}dx^2$ - what is the meaning of $de$?
- Does $dx^2$ Mean that the whole expression is to be integrated twice?
Answers:
Additionally, the integral you gave does not converge, so I assume that you are actually requested to compute $$ \int_0^{+\infty} x^2 \cdot \frac x \theta \e^{-x^2/(2\theta)} \diff x, $$ for $\theta>0$ which we could compute as the following: $$ \int_0^{+\infty} x^2 \cdot \frac x \theta \e^{-x^2/(2\theta)} \diff x = \int_0^{+\infty} x^2 \e^{-x^2/(2\theta)} \diff \left(\frac {x^2}{2\theta}\right) = -\int_0^{+\infty} x^2 \diff (\e^{-x^2/(2\theta)}) = \left. x^2\e^{-x^2/(2\theta)}\right\vert_{+\infty}^0 + \int_0^{+\infty} \e^{-x^2/(2\theta)} \diff (x^2) = \cdots $$ and the rest is left to you.
P.S. This is actually a question of "improper integrals", so maybe the tag could be changed to this kind.