# Gaussian integral

Jump to: navigation, search
File:E^(-x^2).jpg
A graph of  generated by GraphCalc and the area of the f(x) with the x-axis, which equals to .

The Gaussian integral, or probability integral, is the improper integral of the Gaussian function  over the entire real line. It is named after the German mathematician and physicist Carl Friedrich Gauss, and the equation is:



This integral has wide applications including normalization in probability theory and continuous Fourier transform. It also appears in the definition of the error function.

Although no elementary function exists for the error function, as can be proven by the Risch algorithm, the Gaussian integral can be solved analytically through the tools of calculus. That is, there is no elementary indefinite integral for , but the definite integral  can be evaluated.

## Computation

A standard way to compute the Gaussian integral is

Comparing these two computations yields the integral, though one should take care about the improper integrals involved.

### Brief proof

Briefly, one computes that on the one hand,



On the other hand,



where the factor of  comes from the transform to polar coordinates ( is the standard measure on the plane, expressed in polar coordinates), and the substitution involves taking , so .

Combining these yields , so .

### Careful proof

To justify the improper double integrals and equating the two expressions, we begin with an approximating function:



so that the integral may be found by



Taking the square of I yields



Using Fubini's theorem, the above double integral can be seen as an area integral , taken over a square with vertices {(−a, a), (a, a), (a, −a), (−a, −a)} on the xy-plane.

Since the exponential function is greater than 0 for all real numbers, it then follows that the integral taken over the square's incircle must be less than , and similarly the integral taken over the square's circumcircle must be greater than . The integrals over the two disks can easily be computed by switching from cartesian coordinates to polar coordinates: , , :



(See to polar coordinates from cartesian coordinates for help with polar transformation.)

Integrating,



By the squeeze theorem, this gives the Gaussian integral



## Relation to the gamma function

Since the integrand is an even function,



which, after a change of variable, turns into the Euler integral



where Γ is the gamma function. This shows why the factorial of a half-integer is a rational multiple of . More generally,



## Generalizations

### The integral of a Gaussian function

The integral of any Gaussian function is reducible in terms of the Gaussian integral



The constant a can be factored out of the integral. Replacing x with y - b yields



Substituting y with cz gives




### n-dimensional and functional generalization

Suppose A is a symmetric positive-definite invertible covariant tensor of rank two. Then,



where the integral is understood to be over Rn. This fact is applied in the study of the multivariate normal distribution.

Also,



where σ is a permutation of {1, ..., 2N} and the extra factor on the right-hand side is the sum over all combinatorial pairings of {1, ..., 2N} of N copies of A−1.

Alternatively,



for some analytic function f, provided it satisfies some appropriate bounds on its growth and some other technical criteria. (It works for some functions and fails for others. Polynomials are fine.) The exponential over a differential operator is understood as a power series.

While functional integrals have no rigorous definition (or even a nonrigorous computational one in most cases), we can define a Gaussian functional integral in analogy to the finite-dimensional case. There is still the problem, though, that  is infinite and also, the functional determinant would also be infinite in general. This can be taken care of if we only consider ratios:




In the deWitt notation, the equation looks identical to the finite-dimensional case.

### n-dimensional with linear term

Once again A is a symmetric matrix, then





## Beyond Gaussian Integrals

Exponentials of other even polynomials can easily be solved using series. For example the solution to the integral of the exponential of a quartic polynomial is:



These integrals turn up in subjects such as quantum field theory.