I have an integral of type:
$$\int_{-\infty}^{\infty} e^{iax}\cdot e^{-(bx^2 + cx)}~ dx$$
And I have no clue on how to integrate that properly. What I've tried so far is writing everything above one single e-function and use
$$\int e^{a(x)} dx = \bigg(\frac{d}{dx} a(x) \bigg)^{-1}e^{a(x)} + C$$
But this hasn't brought me any far ....
Do you have some trick for me I didn't see?
Thanks for helping!
Hint
Let us start rewriting $$I=\int e^{iax}\cdot e^{-(bx^2 + cx)}dx=\int e^{-\big(bx^2 + (c-ia)x\big)}dx$$ Now, completing the square, $$bx^2 + (c-ia)x=b\Big(\big(x+\frac{c-ia}{2b}\big)^2-\big(\frac{c-ia}{2b}\big)^2\Big)=b\big(x+\frac{c-ia}{2b}\big)^2+\frac{(a+i c)^2}{4 b}$$ So, $$I=e^\frac{(a+i c)^2}{4 b} \int e^{-b\big(x+\frac{c-ia}{2b}\big)^2}dx$$ Now, remember that $$\int e^{-\alpha y^2}dy=\frac{\sqrt{\pi } \text{erf}\left(\sqrt{\alpha } y\right)}{2 \sqrt{\alpha }}$$
I am sure that you can take from here.