Integral of a gaussian

I need to evaluate ∫xp e-x2 eix dx from -∞ to ∞ Can someone please give me some pointers on how to do this? I am completely lost. I just need some hints or something.

PeroK
Homework Helper
Gold Member
2021 Award
I need to evaluate ∫xp e-x2 eix dx from -∞ to ∞ Can someone please give me some pointers on how to do this? I am completely lost. I just need some hints or something.

Is this homework?

Is this homework?
No. I'm trying to learn quantum mechanics and this thing keeps popping up.

PeroK
Homework Helper
Gold Member
2021 Award
You'll get a better response if you post it in homework. Even if you're learning on your own, it still counts.

Can you integrate it without the complex exponential?

mathman
To get you started, if p is even you need only cosx. If p is odd you need only isinx, where $e^{ix}=cosx+isinx$.
At the end you should have $\int_{-\infty}^{\infty}e^{-\frac{x^2}{2}}cosxdx$.
$\int_{-\infty}^{\infty}e^{-\frac{x^2}{2}}cosxdx$. Then integrate by parts to increase the exponent of x.
• 