The integral of $e^{-x^2}$

2.9k Views Asked by At

How can I integrate this by parts? It seems to become recursive. I'm familiar with the classical solution, and cannot use that here due to the constraints of this class.

Here's the integral (to infinity). https://i.stack.imgur.com/bKnDo.png

$$\int_0^\infty{e^{-x^2}} dx$$

I'm having trouble finding the indefinite integral first.

Thanks!

2

There are 2 best solutions below

0
On

The antiderivative of $e^{-x^2}$ function is the error function. It is not an elementary function, and because of Liouville's theorem we are not able to express the error function in term of elementary functions. Liouville's theorem charaterise the class of functions for which we could find an elementary primitive function. Risch algorithm is a tool inspired be Liouville's theorem.

What you are looking for is the Gaussian integral. You could find more then one proof at wikipedia, or at ProofWiki.

0
On

There is is no elementary function for the indefinite gaussian integral. The best you can do is represent it through a Taylor series, and then compute it numerically with the desired precision.

Yet calculating the indefinite integral is straightforward (wikipedia has several proofs).

$$\int_{-\infty}^{+\infty}e^{-x^2}dx=\sqrt\pi$$

As the integrand is an even function:

$$\int_{0}^{+\infty}e^{-x^2}dx=\frac{\sqrt\pi}{2}$$