Proof for Area under Gaussian distribution

This section concerns itself with finding the integral of a Gaussian Distribution

ex2 dx=C

Find C.

Proof

Lets consider adding another dimension.

f(x,y)=ex2y2=ex2ey2=er2

where r2=x2+y2. Let r be the radius of the circle. Thus all points a distance r from the origin on ex2y2 would have the same value. We can graph out the function against x and y
Pasted image 20250506202742.png|600

We can find the volume under f(x,y) by summing the area under the red line (points of equidistant from the origin) for all values r. Unroll the area under the red line to form a rectangle, with length 2πr and height er2, integrate with respect to r.

V=02πr er2 dr=π02r er2 dr=π[er2 ]0=π

We can express the volume as a double integral as below, where the inner integral integrates in the x axis, keeping y as a constant. I like to think of the integral as infinitely slicing f(x,y) along the x axis and finding the area bounded by f(x,y) in each slice, expressing it as some value. Next the outer integral sums up all these areas by integrating in the y direction, thus obtaining the volume (V) under f(x,y).

V=ex2y2 dx dy=ex2ey2 dx dy=ey2ex2 dx dy[We can factor ey2 as it is a constant]=ey2C dy=Cey2 dy=C2

Thus

V=C2=πex2 dx=C=π
Thus

ex2 dx=π

Source: https://www.youtube.com/watch?v=cy8r7WSuT1I