Definite Integral to Infinity of Exponential of -a x^2 by Cosine of b x

Theorem

 * $\ds \int_0^\infty e^{-a x^2} \cos b x \rd x = \frac 1 2 \sqrt {\frac \pi a} \map \exp {-\frac {b^2} {4 a} }$

where $a$ is a strictly positive real number.

Proof
Fix $a$ and define:


 * $\ds \map I b = \int_0^\infty e^{-a x^2} \cos b x \rd x$

for all $b \in \R$.

Then, we have:

Note that:

So:

We then have:


 * $\dfrac {\map {I'} b} {\map I b} = -\dfrac b {2 a}$

Integrating, by Primitive of Function under its Derivative and Primitive of Constant:


 * $\ln \size {\map I b} = -\dfrac {b^2} {4 a} + C$

for some $C \in \R$.

So:


 * $\map I b = A \map \exp {-\dfrac {b^2} {4 a} }$

for some $A \in \R$.

We have:

on the other hand we have:

So we have:

$\ds\map I b = \int_0^\infty e^{-a x^2} \cos b x \rd x = \frac 1 2 \sqrt {\frac \pi a} \map \exp {-\frac {b^2} {4 a} }$

for all $b \in \R$ as required.