On the Gaussian Integral and Its Generalisations

A. Example and B. Sample

Abstract. We revisit the evaluation of ∫−∞∞e−x2dx and give a short proof of its generalisation to n dimensions using only polar coordinates and Fubini's theorem.

1. Introduction

The integral of the function f(x)=e−x2 over the real line is one of the most frequently encountered integrals in analysis, probability and mathematical physics. Its value is famously

∫−∞+∞ e−x2 dx = π

and it underlies the normalisation of the normal distribution with mean μ and variance σ2, whose density is

φ(x)= 1 σ2π e −(x−μ)22σ2

2. Main result

Theorem 1. For every symmetric positive definite matrix A∈ℝn×n we have

∫ℝn e−xTAx dx = πn/2 det⁡A

Proof. Let I=∫−∞∞e−x2dx. By Fubini's theorem the square of I is a double integral over the plane, and passing to polar coordinates (r,θ) gives

I2 = ∫02π ∫0∞ e−r2 rdrdθ = π

Taking square roots yields the claim for n=1; the general case follows by diagonalising A with an orthogonal change of variables. ∎