How to find $$ {\displaystyle \int_{- \infty}^{\infty} A x^2 {\rm e}^{- x^2/2 \sigma^2} d x} $$ where A is a constant given that $$ {\displaystyle \int_{- \infty}^{\infty} A {\rm e}^{- x^2/2 \sigma^2} d x = 1} $$
The expression inside the second integral being the Gaussian or Normal Distribution.
Please help, i know by parts works but could someone please outline some main steps and an answer please as it has me really confused
Hint:
When you integrate by parts, you must choose a factor that you can integrate, and that later leads to a simplification of the integrand. Here you can split in three ways
$1\cdot x^2e^{-x^2/2\sigma^2}$,
$x\cdot xe^{-x^2/2\sigma^2}$,
$x^2\cdot e^{-x^2/2\sigma^2}$.
Among these options you must investigate which factor you are able to integrate, and from this how the next integrand will evolve.
Sometimes integration requires to roll up your sleeves.