Integral of e^(−x²)
The integral of e^(−x²) has no formula in elementary functions. It is written using the error function: (√π/2) erf(x) + C. But the definite integral over the whole number line is exactly √π.
How to integrate e^(−x²)
Method: error function.
- 1No combination of powers, exponentials, logs and trig functions has e^(−x²) as its derivative. Liouville’s theorem proves this.
- 2So we name the integral: erf(x) = (2/√π) ∫₀ˣ e^(−t²) dt.
- 3That gives ∫e^(−x²) dx = (√π/2) erf(x) + C.
- 4Over the whole line, squaring the integral and switching to polar coordinates gives ∫₋∞^∞ e^(−x²) dx = √π.
What it means
This is the Gaussian, the shape behind the normal distribution, and every normal probability is a value of this integral. It is why statistics relies on tables and numerical methods, and why normal CDFs have no simple formula.
The integral from −∞ to ∞
Computed numerically: √π, which is about 1.77245. A direct numerical integration of e^(−x²) gives 1.77245, which agrees.
Table of values
The running total of area from 0 to x, computed numerically.
| x | e^(−x²) | ∫ from 0 to x |
|---|---|---|
| −2 | 0.0183156 | −0.882081 |
| −1 | 0.367879 | −0.746824 |
| 0 | 1 | 0 |
| 1 | 0.367879 | 0.746824 |
| 2 | 0.0183156 | 0.882081 |
Common mistakes
- Trying substitution with u = x². It fails, because there is no factor of x for du.
- Writing −e^(−x²)/(2x). Differentiating that doesn’t give the original.
Frequently asked questions
What is the integral of e^(−x²)?
What is the integral of e^(−x²) from −∞ to ∞?
Why can’t e^(−x²) be integrated?
What is the integral of e^(−x²) from −∞ to ∞?
Keep going
The bell curve: peak (0, 1), area √π.
No elementary formula, and what to do instead.
No elementary formula, and what to do instead.
No elementary formula, and what to do instead.
Every standard integral and technique, with examples.
Type your own function into the integral calculator for the steps, the answer and a graph.