Thursday, 2 March 2017

The Gaussian Integral

By way of revising some earlier topics that I've covered and of practising my LaTeX skills, I'm covering the evaluation of the Gaussian Integral: ex2dx
Let I=ex2dx and I=ey2dy
Then I2=e(x2+y2)dxdy
Changing to polar coordinates requires use of the Jacobian r, treated after the evaluation of the integral: I2=0rer2dr2π0dθ
I2=2π0rer2dr
I2=2π[12er2]0=π
Therefore I=π and ex2dx=π
Now, about the Jacobian, let's suppose that x and y are functions of both u and v, that is x=g(u,v) and y=h(u,v). The Jacobian is defined as: (x,y)(u,v)=|xuxvyuyv|
Let's work with the specific change from rectangular to polar coordinates that is used in the solution to the Gaussian Integral.

We have x=rcosθ and y=rsinθ

This means that xr=cosθ and xθ=rsinθ
Also yr=sinθ and yθ=rcosθ. Thus: (x,y)(r,θ)=|cosθrsinθsinθrcosθ|
The determinant evaluates to rcos2θ+rsin2θ=r (the value of the Jacobian).

The Gaussian Integral is closely connected with the normal distribution via the probability density function ϕ(x)=12πe12x2, where ϕ(x)dx=12πe12x2dx=1
Wikipedia states that "in statistics one often uses the related error function, or erf(x), defined as the probability of a random variable with normal distribution of mean 0 and variance 1/2 falling in the range [x,x]"; that is: erf(x)=1πxxet2dt
Here is an informative video which explains why π appears as the evaluation of the integral. It also explains how the double integral used to evaluate the integral is two dimensional and is finding the volume under a surface. By using the shell method to evaluate the integral, the need for the Jacobian is avoided:

No comments:

Post a Comment