The Gaussian integral, also known as the Euler–Poisson integral, is the integral of the Gaussian function over the entire real line. Named after the German mathematician Carl Friedrich Gauss, the integral is ∫−∞∞e−x2dx=π. Abraham de Moivre originally discovered this type of integral in 1733, while Gauss published the precise integral in 1809, attributing its discovery to Laplace. 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, the Gaussian integral can be solved analytically through the methods of multivariable calculus. That is, there is no elementary indefinite integral for ∫e−x2dx, but the definite integral ∫−∞∞e−x2dx can be evaluated. The definite integral of an arbitrary Gaussian function is ∫−∞∞e−a(x+b)2dx=πa.
Computation
By polar coordinates A standard way to compute the Gaussian integral, the idea of which goes back to Poisson, is to make use of the property that: (∫−∞∞e−x2dx)2=∫−∞∞e−x2dx∫−∞∞e−y2dy=∫−∞∞∫−∞∞e−(x2+y2)dxdy. Consider the function e−(x2+y2)=e−r2on the plane ℝ2, and compute its integral two ways:
on the one hand, by double integration in the Cartesian coordinate system, its integral is a square: (∫e−x2dx)2; on the other hand, by shell integration (a case of double integration in polar coordinates), its integral is computed to be π Comparing these two computations yields the integral, though one should take care about the improper integrals involved. ∬ℝ2e−(x2+y2)dxdy=∫02π∫0∞e−r2rdrdθ=2π∫0∞re−r2dr=2π∫−∞012esdss=−r2=π∫−∞0esds=π[es]−∞0=π(e0−e−∞)=π(1−0)=π, where the factor of r is the Jacobian determinant which appears because of the transform to polar coordinates (r dr dθ is the standard measure on the plane, expressed in polar coordinates Wikibooks:Calculus/Polar Integration § Generalization), and the substitution involves taking s = −r2, so ds = −2r dr. Combining these yields (∫−∞∞e−x2dx)2=π, so ∫−∞∞e−x2dx=π.
Complete proof To justify the improper double integrals and equating the two expressions, we begin with an approximating function: I(a)=∫−aae−x2dx. If the integral ∫−∞∞e−x2dx were absolutely convergent we would have that its Cauchy principal value, that is, the limit lima→∞I(a) would coincide with ∫−∞∞e−x2dx. To see that this is the case, consider that ∫−∞∞|e−x2|dx<∫−∞−1−xe−x2dx+∫−11e−x2dx+∫1∞xe−x2dx<∞. So we can compute ∫−∞∞e−x2dx by just taking the limit lima→∞I(a). Taking the square of I(a) yields I(a)2=(∫−aae−x2dx)(∫−aae−y2dy)=∫−aa(∫−aae−y2dy)e−x2dx=∫−aa∫−aae−(x2+y2)dydx. Using Fubini's theorem, the above double integral can be seen as an area integral ∬[−a,a]×[−a,a]e−(x2+y2)d(x,y), 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 I(a)2, and similarly the integral taken over the square's circumcircle must be greater than I(a)2. The integrals over the two disks can easily be computed by switching from Cartesian coordinates to polar coordinates: x=rcosθ,y=rsinθ 𝐉(r,θ)=[∂x∂r∂x∂θ∂y∂r∂y∂θ]=[cosθ−rsinθsinθ−rcosθ] d(x,y)=|J(r,θ)|d(r,θ)=rd(r,θ). ∫02π∫0are−r2drdθ<I2(a)<∫02π∫0a2re−r2drdθ. (See to polar coordinates from Cartesian coordinates for help with polar transformation.) Integrating, π(1−e−a2)<I2(a)<π(1−e−2a2). By the squeeze theorem, this gives the Gaussian integral ∫−∞∞e−x2dx=π.
By Cartesian coordinates A different technique, which goes back to Laplace (1812), is the following. Let y=xsdy=xds. Since the limits on s as y → ±∞ depend on the sign of x, it simplifies the calculation to use the fact that e−x2 is an even function, and, therefore, the integral over all real numbers is just twice the integral from zero to infinity. That is, ∫−∞∞e−x2dx=2∫0∞e−x2dx. Thus, over the range of integration, x ≥ 0, and the variables y and s have the same limits. This yields: I2=4∫0∞∫0∞e−(x2+y2)dydx=4∫0∞(∫0∞e−(x2+y2)dy)dx=4∫0∞(∫0∞e−x2(1+s2)xds)dx Then, using Fubini's theorem to switch the order of integration: I2=4∫0∞(∫0∞e−x2(1+s2)xdx)ds=4∫0∞[e−x2(1+s2)−2(1+s2)]x=0x=∞ds=4(12∫0∞ds1+s2)=2arctan(s)|0∞=π. Therefore, I=π, as expected.
By Laplace's method In the Laplace approximation, we deal only with up to second-order terms in Taylor expansion, so we consider e−x2≈1−x2≈(1+x2)−1. In fact, since (1+t)e−t≤1 for all t, we have the exact bounds:1−x2≤e−x2≤(1+x2)−1Then we can do the bound at Laplace approximation limit:∫[−1,1](1−x2)ndx≤∫[−1,1]e−nx2dx≤∫[−1,1](1+x2)−ndx That is, 2n∫[0,1](1−x2)ndx≤∫[−n,n]e−x2dx≤2n∫[0,1](1+x2)−ndx By trigonometric substitution, we exactly compute those two bounds: 2n(2n)!!/(2n+1)!! and 2n(π/2)(2n−3)!!/(2n−2)!! By taking the square root of the Wallis formula, π2=∏n=1(2n)2(2n−1)(2n+1)we have π=2limn→∞n(2n)!!(2n+1)!!, the desired lower bound limit. Similarly we can get the desired upper bound limit. Conversely, if we first compute the integral with one of the other methods above, we would obtain a proof of the Wallis formula.
Proof by complex integral Several proofs have been discovered using Cauchy's integral formula, despite the integral being initially thought to be ill-suited to the residue calculus.
Relation to the gamma function The integrand is an even function, ∫−∞∞e−x2dx=2∫0∞e−x2dx Thus, after the change of variable x=t, this turns into the Euler integral 2∫0∞e−x2dx=2∫0∞12 e−t t−12dt=Γ(12)=π where Γ(z)=∫0∞tz−1e−tdt is the gamma function. More generally, ∫0∞xne−axbdx=Γ((n+1)/b)ba(n+1)/b, which can be obtained by substituting t=axb in the integrand of the gamma function to get Γ(z)=azb∫0∞xbz−1e−axbdx.
Generalizations
The integral of a Gaussian function
… excerpt ends here. Continue reading the full article.

