[Math] Fourier transform of $x^2 \exp{(-x^2)}$

fourier analysis

I'm trying to workout the Fourier transform of $f(x) = x^2 \exp{(-x^2)}$. We know that
\begin{equation}
\tilde f(x) = \int_{-\infty}^{\infty} f(x)\exp{(-ikx)} \ \mathrm{d}x.
\end{equation}
I have managed to simplify this by subbing in the value of $f(x)$ into the integral to:
\begin{equation}
\tilde f(x) = \exp{(-\frac{1}{4} ik^2)} \int_{-\infty}^{\infty} x^2 \exp{(-(x+\frac{1}{2}ik)^2)} \ \mathrm{d}x
\end{equation}
by using the completing the square method. I'm stuck after this point as I'm struggling to integrate the term above. I've tried the substitution method where I sub $s=x+\frac{1}{2}ik$ but am still getting nowhere. I am missing something obvious here?

Best Answer

Observe that $$ \int x^2 e^{-x^2} e^{-ikx} = - \frac{\partial^2}{\partial k^2} \int e^{-x^2} e^{-ikx} $$ and complete the square in the latter integral.

Related Question