Evaluating Complex Integral: 2$\int_0^{\infty} cos(-Ax) e^{-Bx^2} dx$

AI Thread Summary
The discussion focuses on evaluating the integral 2∫₀^{∞} cos(-Ax) e^{-Bx²} dx by first transforming it into the form ∫_{-∞}^{∞} e^{-Bx²} e^{-iAx} dx. The imaginary part of the integral is determined to be zero due to the odd nature of the integrand, leaving only the real part for consideration. Completing the square in the exponential leads to a substitution that simplifies the integral to a known form, yielding the result √(π/B) after evaluating the Gaussian integral. The validity of this approach in the context of complex analysis is confirmed, emphasizing the utility of completing the square. The discussion concludes with a positive acknowledgment of the method's effectiveness.
quasar987
Science Advisor
Homework Helper
Gold Member
Messages
4,796
Reaction score
32
Now I have to evaluate

\int_{-\infty}^{\infty} e^{-Bx^2} e^{-iAx} dx

Splitting it in two using Euler's identity show that the imaginary part is 0 (cuz integrand is odd). Remains the real part

2 \int_0^{\infty} cos(-Ax) e^{-Bx^2} dx

for which integration by parts leads nowhere.
 
Physics news on Phys.org
I recommend completing the square in the exponential then suitably choosing a loop around which to integrate in the complex plane.
 
I should have mentionned that I have no knowledge of complex analysis whatesoever. I don't know anything about residues, integration in the complex plane, and stuff like that.
 
Since a complex number appears in the exponential you are at least familiar with some of the basics. I still recommend completing the square in the exponential. It should provide some illumination. :)
 
I love ilumination. Let me try just that. :-p
 
Is it just \sqrt{\pi / B}?

After completing the square, I'm left with

\mbox{exp}(-A^2 / 4B) \int \mbox{exp}(-B(x+Ai/2B)^2) dx

And so with substitution y = x+Ai/2B, I get the integral

\mbox{exp}(-A^2 / 4B) \int_{-\infty}^{\infty} \mbox{exp}(-By^2) dy

which is \sqrt{\pi / B} as pointed out by another thread by Tom Mattson.

Is this valid with complex too?
 
Last edited:
quasar,

Way to go!
 
Back
Top