Prove $ \int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2}$.

1.5k Views Asked by At

Prove $ \int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2}$. I know how to do it using calculus. But I want to use Cauchy's integral formula.

First, consider $ \oint_C e^{-z^2} dz$ along a contour C consisting of a line along the x-axis from $-R$ to $R$ and the semicircle $\Gamma$ above the x-axis having this line as diameter.

By Cauchy's Integral formula $ \oint_C e^{-z^2} dz=0$ which implies

$ \int_{-R}^{R} e^{-x^2} dx + \int_{\Gamma} e^{-z^2} dz=0$.

When $R \to \infty$, $ \int_{-\infty}^{\infty} e^{-x^2} dx + \int_{\Gamma} e^{-z^2} dz=0$.

Now to compute $\int_{\Gamma} e^{-z^2} dz$, consider $z=Re^{i \theta}$, $dz=iRe^{i \theta}$.

I am stuck here.

2

There are 2 best solutions below

0
On BEST ANSWER

Here is some guidelines (from Freitag - Complex Analysis) to prove that $$\int_{-\infty}^\infty e^{-t^2} = \sqrt{\pi}$$ using the complex Residue theorem. If you want more details just ask.

Define $$f(z) = \frac{\exp(-z^2)}{1 + \exp(- 2 a z)}$$ where $a = e^{2 \pi i/4}\sqrt{\pi}$. We will perform contour integration on the parallelogram with vertices $[-R, R, R+a, -R+a]$ and let $R \to \infty$.

(A) Derive the functional identity $$f(z) - f(z + a) = \exp(-z^2)$$

(B) Find the poles of $f(z)$.

Check $a/2$. That is the only one.

(C) Use the ML inequality to estimate away the diagonal edges. Using the functional identity to match up the bottom and reverse of the top edge.

(D) Use Residue theorem to conclude.

The residue of the pole is $\tfrac{1}{2} i \sqrt{\pi}$


Edit: Just to amplify one of the comments above. My first time seeing this but it can also be done over a rectangle via the function $$f(z) = \frac{e^{-z^2/2}}{1 - e^{- \sqrt{\pi} (1 + i) z}}$$ page 8 of https://kconrad.math.uconn.edu/blurbs/analysis/gaussianintegral.pdf

2
On

The simplest (probably) way to derive the stated identity might be resorting to polar coordinates. Let us denote $$ I = \int_{\mathbb{R}} \mathrm{e}^{-x^2} dx,$$ our goal is to show that $ I = \sqrt{\pi}$. We compute as follows: \begin{align*} I^2 &= \int_{\mathbb{R}}\int_{\mathbb{R}} \mathrm{e}^{-(x^2+y^2)} dxdy \\ &= \int_0^{2\pi} \int_0^\infty \mathrm{e}^{-r^2} rdrd\theta \\ &= \frac 12\int_0^{2\pi} d\theta = \pi, \end{align*} whence $I = \sqrt{\pi}$ and $\int_0^\infty \mathrm{e}^{-x^2} dx = \frac{\sqrt{\pi}}{2}$.