f(x)=
-x2 | |
e |
Abraham de Moivre originally discovered this type of integral in 1733, while Gauss published the precise integral in 1809.[1] The integral has a wide range of applications. For example, with a slight change of variables it is used to compute the normalizing constant of the normal distribution. The same integral with finite limits is closely related to both the error function and the cumulative distribution function of the normal distribution. In physics this type of integral appears frequently, for example, in quantum mechanics, to find the probability density of the ground state of the harmonic oscillator. This integral is also used in the path integral formulation, to find the propagator of the harmonic oscillator, and in statistical mechanics, to find its partition function.
Although no elementary function exists for the error function, as can be proven by the Risch algorithm,[2] the Gaussian integral can be solved analytically through the methods of multivariable calculus. That is, there is no elementary indefinite integral forbut the definite integralcan be evaluated. The definite integral of an arbitrary Gaussian function is
A standard way to compute the Gaussian integral, the idea of which goes back to Poisson,[3] is to make use of the property that:
Consider the function
-\left(x2+y2\right) | |
e |
=
-r2 | |
e |
R2
\pi
Comparing these two computations yields the integral, though one should take care about the improper integrals involved.
where the factor of is the Jacobian determinant which appears because of the transform to polar coordinates (is the standard measure on the plane, expressed in polar coordinates), and the substitution involves taking, so .
Combining these yieldsso
To justify the improper double integrals and equating the two expressions, we begin with an approximating function:
If the integralwere absolutely convergent we would have that its Cauchy principal value, that is, the limitwould coincide withTo see that this is the case, consider that
So we can computeby just taking the limit
Taking the square of
I(a)
Using Fubini's theorem, the above double integral can be seen as an area integraltaken over a square with vertices 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
I(a)2
I(a)2
(See to polar coordinates from Cartesian coordinates for help with polar transformation.)
Integrating,
By the squeeze theorem, this gives the Gaussian integral
A different technique, which goes back to Laplace (1812), is the following. Let
Since the limits on as depend on the sign of, it simplifies the calculation to use the fact that is an even function, and, therefore, the integral over all real numbers is just twice the integral from zero to infinity. That is,
Thus, over the range of integration,, and the variables and have the same limits. This yields:Then, using Fubini's theorem to switch the order of integration:
Therefore,
I=\sqrt{\pi}
In Laplace approximation, we deal only with up to second-order terms in Taylor expansion, so we consider
-x2 | |
e |
≈ 1-x2 ≈ (1+x2)-1
In fact, since
(1+t)e-t\leq1
t
That is,
By trigonometric substitution, we exactly compute those two bounds:
2\sqrtn(2n)!!/(2n+1)!!
2\sqrtn(\pi/2)(2n-3)!!/(2n-2)!!
By taking the square root of the Wallis formula, we have
\sqrt\pi=\limn\to2\sqrt{n}
(2n)!! | |
(2n+1)!! |
The integrand is an even function,
Thus, after the change of variable , this 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,which can be obtained by substituting
t=axb
See main article: Integral of a Gaussian function. The integral of an arbitrary Gaussian function is
An alternative form is
This form is useful for calculating expectations of some continuous probability distributions related to the normal distribution, such as the log-normal distribution, for example.
See main article: Fresnel integral. and more generally,for any positive-definite symmetric matrix
A
See main article: multivariate normal distribution. Suppose A is a symmetric positive-definite (hence invertible) precision matrix, which is the matrix inverse of the covariance matrix. Then,
By completing the square, this generalizes to
This fact is applied in the study of the multivariate normal distribution.
Also,where σ is a permutation of and the extra factor on the right-hand side is the sum over all combinatorial pairings of of N copies of A−1.
Alternatively,[4]
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
(2\pi)infty
In the DeWitt notation, the equation looks identical to the finite-dimensional case.
If A is again a symmetric positive-definite matrix, then (assuming all are column vectors)
where
n
An easy way to derive these is by differentiating under the integral sign.
One could also integrate by parts and find a recurrence relation to solve this.
Applying a linear change of basis shows that the integral of the exponential of a homogeneous polynomial in n variables may depend only on SL(n)-invariants of the polynomial. One such invariant is the discriminant,zeros of which mark the singularities of the integral. However, the integral may also depend on other invariants.[5]
Exponentials of other even polynomials can numerically be solved using series. These may be interpreted as formal calculations when there is no convergence. For example, the solution to the integral of the exponential of a quartic polynomial is
The mod 2 requirement is because the integral from −∞ to 0 contributes a factor of to each term, while the integral from 0 to +∞ contributes a factor of 1/2 to each term. These integrals turn up in subjects such as quantum field theory.