Gaussian Integral Explained with Worked Examples

The Gaussian integral is .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Gaussian integral means

The function has no elementary antiderivative, but its integral over the whole line can be found by squaring it and using polar coordinates: .

It is the basis of the normal distribution, whose density is a scaled Gaussian.

It also gives . It is evaluated with a double integral in polar coordinates, is related to the gamma function, and gives the constant in the normal distribution density.

This page is part of Integration in Calculus. Topics that work alongside it: Gamma function, Double integral in polar coordinates, Normal distribution: density, Leibniz integral rule (differentiation under the integral sign), Beta function and Fundamental theorem of calculus (part 1).

What is it used for?

The Gaussian integral ∫ e^(−x²) dx over the whole real line equals √π. It underlies the normal distribution.

How to use gaussian integral

  1. Square the integral.
  2. Convert to polar coordinates.
  3. Integrate over and .
  4. Take the square root.

Graph

The bell curve y = e^(−x²)(0, 1)-3-2-1012300.20.40.60.811.2The bell curve y = e^(−x²)xyy = e^(−x²)Graph with x from -3.5 to 3.5 and y from -0.1 to 1.2. Shows the curve y = e^(−x²); point (0, 1) at (0, 1).

The total area under the whole curve is √π ≈ 1.7725, even though the curve stretches forever in both directions.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: use the result

Evaluate .

Worked example
Answer
π\sqrt\pi
  1. Square it
  2. Evaluate
  3. Take the root

Example 2: a scaled version

Evaluate for .

Worked example
Answer
πa\sqrt{\dfrac{\pi}{a}}
  1. Substitute u = √a x
  2. Use the standard result

Example 3: e^(−4x²)

Evaluate .

Worked example
Answer
π2\dfrac{\sqrt{\pi}}{2}
  1. Use the result with a = 4
  2. Substitute a = 4

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

∫ e^(−x²) dx over ℝ

√π

1.7725.

∫ e^(−x²/2) dx

√(2π)

2.5066.

∫₀^∞ e^(−x²) dx

√π/2

0.8862.

∫ e^(−2x²) dx

√(π/2)

1.2533.

Word problems

∫_{-∞}^{∞} e^(−x²) dx = √π, and ∫ e^(−ax²) dx = √(π/a). Squaring and switching to polar coordinates gives the proof.

Basic

Find √π.

  1. 1.7725
  2. Check: ✓1.7725

Normal density

Find ∫e^(−x²/2)dx = √(2π).

  1. 2.5066
  2. Check: ✓2.5066

Half-line Higher

∫₀^∞ e^(−x²)dx = √π/2.

  1. 0.8862
  2. Check: ✓0.8862

Scaled Higher

∫e^(−2x²)dx = √(π/2).

  1. 1.2533
  2. Check: ✓1.2533

Common mistakes

∫ = π

wrong ✗

√π ✓

Root.

Forgetting the half for 0..∞

full value ✗

half ✓

Symmetry.

√(π a)

multiply ✗

√(π/a) ✓

Divide.

Elementary antiderivative

exists ✗

none ✓

Needs the double integral.

Exam tips

  1. √π.
  2. √(π/a) for e^(−ax²).
  3. Half for [0, ∞).
  4. Polar trick.
  5. Normal density uses 1/√(2π).

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. √π to 4 d.p. Foundation

1.7725

2. √(π/3) to 4 d.p. Foundation

1.0233

3. √(2π) to 4 d.p. Foundation

2.5066

4. √π/2 to 4 d.p. Higher

0.8862

5. ∫e^(−4x²) dx to 4 d.p. Higher

0.8862

6. 1/√(2π) to 4 d.p. Higher

0.3989

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Gaussian integral
∫e^(−x²).
Normal density
e^(−x²/2)/√(2π).
Polar coordinates
Method of proof.
Scale parameter (a)
e^(−ax²).
Symmetry
Even integrand.
Error function
Related.

Frequently asked questions

What is the Gaussian integral?

∫_{-∞}^{∞} e^(−x²)dx = √π.

What is ∫e^(−ax²)?

√(π/a).

How is it proved?

Square it and use polar coordinates.

Why does the normal density have 1/√(2π)?

∫e^(−x²/2) = √(2π).

Which page covers the Leibniz integral rule?

Leibniz integral rule.

Which page covers the gamma function?

gamma function.

More in Calculus and the formula sheets.