The Gaussian Integral and Beyond: From e^(-x²) to a Family of Integrals

Written by

in

Some integrals are easy to write down but surprisingly difficult to evaluate. One of the most famous examples is

∫−∞∞ e−x2 dx .

The function e−x2 has no elementary antiderivative. Yet the improper integral has the remarkably simple value

∫−∞∞ e−x2 dx = π .

Even more interesting is the method used to obtain this result. By turning a one-dimensional integral into a two-dimensional one, we can exploit geometry. Once we understand that idea, it leads naturally to integrals involving e−x4, e−xp, and even integrals in which the Gaussian is multiplied by a sine or cosine.

Example 1: The Gaussian integral

Let

I = ∫0∞ e−x2 dx .

Instead of trying to find an antiderivative, square the integral:

I2 = ( ∫0∞ e−x2 dx ) ( ∫0∞ e−y2 dy ) .

Thus,

I2 = ∫0∞ ∫0∞ e − ( x2 + y2 ) dxdy .

Now something important has happened. The expression

x2 + y2

suggests polar coordinates. In the first quadrant,

x=rcos⁡ (θ) , y=rsin⁡ (θ) .

Here

0≤r<∞ , 0≤θ≤ π2 .

Since

dxdy = rdrdθ ,

we obtain

I2 = ∫0π2 ∫0∞ e−r2 rdrdθ .

The radial integral is elementary:

∫0∞ e−r2 rdr = 12 .

Therefore,

I2 = π2 · 12 = π4 ,

and hence

∫0∞ e−x2 dx = π2 .

By symmetry,

∫−∞∞ e−x2 dx = π .

The essential idea was not integration by parts or an ingenious substitution. It was to increase the dimension.

Example 2: Changing the scale

Consider

∫0∞ e−ax2 dx , a>0 .

Let

u=ax .

Then

dx = dua ,

so

∫0∞ e−ax2 dx = 1a ∫0∞ e−u2 du = π2a .

One geometric calculation has already produced an entire family of integrals.

Example 3: An integral involving e−x4

First consider

∫0∞ x3 e−x4 dx .

The substitution u=x4 works immediately because

du = 4x3dx .

Hence,

∫0∞ x3 e−x4 dx = 14 ∫0∞ e−u du = 14 .

Now remove the factor x3.

Example 4: What about e−x4 itself?

Consider

J= ∫0∞ e−x4 dx .

Let u=x4. Then

dx = 14 u−34 du ,

and therefore

J = 14 ∫0∞ u−34 e−u du .

This integral is not elementary, but it is a standard special function. The Gamma function is defined, for s>0, by

Γ (s) = ∫0∞ us−1 e−u du .

Therefore,

∫0∞ e−x4 dx = 14 Γ ( 14 ) .

The Gaussian was already hiding the Gamma function

Apply the same substitution to the Gaussian integral. With u=x2,

∫0∞ e−x2 dx = 12 Γ ( 12 ) .

But our two-dimensional calculation showed that the same integral equals π2. Consequently,

Γ ( 12 ) = π .

From e−x2 to e−xp

Now consider the general integral

Ip = ∫0∞ e−xp dx , p>0 .

Set u=xp. Then

dx = 1p u 1p −1 du .

Therefore,

Ip = 1p ∫0∞ u 1p −1 e−u du .

By the definition of the Gamma function,

∫0∞ e−xp dx = 1p Γ ( 1p ) .

Using the identity Γ ( s+1 ) = s Γ (s) , we can also write

∫0∞ e−xp dx = Γ ( 1+1p ) .

For example,

∫0∞ e−x dx =1, ∫0∞ e−x2 dx = π2 , ∫0∞ e−x3 dx = 13 Γ ( 13 ) , ∫0∞ e−x4 dx = 14 Γ ( 14 ) .

An even larger family

We can include a power of x. Consider

∫0∞ xq e−xp dx ,

where p>0 and q>−1. Again let u=xp. The same substitution gives

∫0∞ xq e−xp dx = 1p Γ ( q+1 p ) .

For example,

∫0∞ x e−x4 dx = 14 Γ ( 12 ) = π4 ,

while

∫0∞ x3 e−x4 dx = 14 Γ (1) = 14 .

Thus three very similar-looking integrals can have rather different-looking answers:

∫0∞ e−x4 dx = 14 Γ ( 14 ) , ∫0∞ x e−x4 dx = π4 , ∫0∞ x3 e−x4 dx = 14 .

Why did circles appear?

There is a geometric reason the Gaussian calculation worked so beautifully. When we squared the Gaussian integral, the exponent became

x2 + y2 .

The level curves

x2 + y2 = c

are circles. Polar coordinates are therefore perfectly adapted to the problem.

If instead we square ∫0∞ e−x4 dx , we obtain

∫0∞ ∫0∞ e − ( x4 + y4 ) dxdy .

The corresponding level curves are

x4 + y4 = c .

They are not circles. More generally, e−xp is naturally connected with regions of the form

|x|p + |y|p ≤ rp .

For p=2, these are ordinary disks. For larger values of p, their boundaries become increasingly square-like. The Gaussian is the particularly beautiful case in which the geometry becomes ordinary Euclidean geometry.

A surprising turn: add a cosine

Consider

C (b) = ∫0∞ e−x2 cos⁡ (bx) dx .

The answer is

C (b) = π2 e − b24 .

This is remarkable: multiplying a Gaussian by an oscillating cosine produces another Gaussian, now as a function of the parameter b.

Here is a calculus derivation. Differentiate with respect to b:

C′ (b) = − ∫0∞ x e−x2 sin⁡ (bx) dx .

Since

x e−x2 = − 12 ddx ( e−x2 ) ,

integration by parts gives

C′ (b) = − b2 C (b) .

Therefore,

C′ (b) C (b) = − b2 .

Integrating gives

C (b) = A e − b24 .

At b=0,

C (0) = ∫0∞ e−x2 dx = π2 .

Thus,

∫0∞ e−x2 cos⁡ (bx) dx = π2 e − b24 .

For example, taking b=2 gives

∫0∞ e−x2 cos⁡ (2x) dx = π2e .

What happens with sine?

Now consider

S (b) = ∫0∞ e−x2 sin⁡ (bx) dx .

Unlike the cosine integral, this does not reduce to an elementary expression involving only exponentials and π. It can be written using a special function called Dawson’s integral,

F (z) = e−z2 ∫0z et2 dt .

The result is

∫0∞ e−x2 sin⁡ (bx) dx = F ( b2 ) .

The difference between sine and cosine has a simple symmetry explanation. The function

e−x2 cos⁡ (bx)

is even, while

e−x2 sin⁡ (bx)

is odd. Therefore, over the entire real line,

∫−∞∞ e−x2 sin⁡ (bx) dx = 0 ,

whereas

∫−∞∞ e−x2 cos⁡ (bx) dx = π e − b24 .

One function keeps returning

We started with e−x2. It has no elementary antiderivative, so at first it seems difficult to work with. But instead of disappearing, the Gaussian keeps returning.

Geometry gives

∫−∞∞ e−x2 dx = π .

The Gamma function places it inside the larger family

∫0∞ e−xp dx = Γ ( 1+1p ) .

Adding a power of x produces

∫0∞ xq e−xp dx = 1p Γ ( q+1 p ) .

And adding an oscillating cosine gives another Gaussian:

∫−∞∞ e−x2 cos⁡ (bx) dx = π e − b24 .

This last identity is a glimpse of a much deeper fact: under the Fourier transform, the Gaussian essentially transforms into itself.

So a single integral that cannot be evaluated by ordinary antiderivatives opens the door to geometry, the Gamma function, differential equations, generalized Lp geometry, and Fourier analysis.

Sometimes an integral becomes easier not by finding a better antiderivative, but by finding a larger mathematical structure around it.

From one dimension to two: squaring the Gaussian integral reveals circular level curves, making polar coordinates the natural choice.

Another Famous Improper Integral

The Gaussian integral shows how an integral over an infinite interval can be evaluated by introducing an extra dimension and exploiting symmetry. Another celebrated improper integral has a very different appearance:

∫ 0 ∞ sin ⁡ ( a x ) x d x = π 2 , a > 0 .

What is especially surprising is that the answer does not depend on the positive parameter a .

Continue exploring: A Surprising Improper Integral: Why the Integral of sin(ax)/x Is Always π/2


Another Problem Where Two Dimensions Help

The Gaussian integral becomes manageable after a surprising change of viewpoint: instead of attacking a one-dimensional integral directly, we square it, create a double integral, and use two-dimensional geometry.

The same general idea appears in a completely different problem. The famous series 1 + 14 + 19 + ⋯ can also be approached through a double integral.

Continue exploring: Proving 1 + 1/4 + 1/9 + ⋯ = π²/6 with a Double Integral


From the Gaussian Integral to a Real Signal

The Gaussian function is much more than an elegant calculus example. Gaussian distributions arise naturally when many small independent effects are added together, which makes them fundamental in probability, statistics, physics, and engineering.

A particularly interesting example appears in OFDM communication signals. The in-phase and quadrature components become approximately Gaussian, but the signal magnitude follows a different distribution: the Rayleigh distribution.

Continue exploring: Why Does an OFDM Signal Have a Rayleigh Distribution?

Leave a Reply

Your email address will not be published. Required fields are marked *