Week 1 — Geometry and mathematical intuition30 minutesSaturday, December 5, 2026
Day 6 · The Gaussian integral: when geometry simplifies integration
Evaluate the Gaussian integral by changing geometry, quantify the truncation error, and discover the complex Fourier transform of a Gaussian.
By the end of today you will
Explain why squaring the integral produces a radial integrand.
Derive the polar Jacobian and evaluate the Gaussian integral rigorously.
Bound the error from integrating over a finite square.
Derive a Gaussian Fourier transform using differentiation and integration by parts.
The integral of a bell-shaped curve over the whole real line has an exact value, even though its antiderivative cannot be expressed using elementary functions. The trick is not a more complicated substitution in one dimension. It is to change the problem's geometry.
1. Recall: the geometry behind the exponential 5 min
The previous lesson separated the real and imaginary coordinates of a complex exponential:
ex+iy=ex(cosy+isiny).
The output has radius ex and angle y modulo 2π. Today we use polar coordinates directly in the input plane. For z=x+iy=reiθ,
∣z∣2=x2+y2=r2.
Here r≥0 and θ is measured in radians. The function e−∣z∣2 is real-valued and radial: it is constant on circles centered at the origin.
Before proceeding, estimate whether I is closer to 1, 2, or 3. The central part contributes substantial area, but the tails decay rapidly. We'll derive the exact answer without relying on numerical quadrature.
2. Visual laboratory: from squares to circles 10 min
Experiment A: lift the integral into two dimensions
Let IR=∫−RRe−x2dx. Multiplying this integral by an identical copy with a different integration variable gives
IR2=∫[−R,R]2e−x2−y2dxdy.
Think of the integrand as the height of a smooth hill above the plane. The square of the original area is the volume beneath the hill over a square base. The hill has circular level sets because x2+y2=r2.
The purple square has corners (±R,±R). The teal inner disk has radius R, while the outer disk has radius 2R. Each circular contour has constant Gaussian height. The selected annulus illustrates a thin radial slice.
Try R=1, then R=2, then R=3. Watch the exact disk bounds approach one another. The square integral is estimated by one-dimensional quadrature and squaring, but the bounds themselves come from closed formulas. Their agreement is not needed for the proof; it is a visual demonstration of it.
Experiment B: why the radius is a factor
A polar cell spanning [r,r+Δr] and an angle interval of width Δθ has area
2Δθ[(r+Δr)2−r2]=rΔrΔθ+21(Δr)2Δθ.
A full thin annulus therefore has area approximately 2πrΔr. Its Gaussian mass is approximately 2πre−r2Δr. Near the origin, the hill is high but the rings are tiny. Far away, the rings are wide but the hill is low.
Move the annulus radius from zero outward. The radial mass density 2πre−r2 is zero at the origin, reaches its maximum at r=1/2, and then decays. Verify the maximum by differentiating with respect to r.
3. Rigorous derivation and worked problem 10 min
A complex-valued extension: the Fourier transform
For real b define
F(b)=∫Re−x2eibxdx.
Our sign convention uses +ibx and no normalization factor. Absolute integrability follows from ∣eibx∣=1. The imaginary part vanishes by odd symmetry. Differentiation under the integral is justified by dominated convergence, since the difference quotients in b are bounded by ∣x∣e−x2, which is integrable. Thus
F′(b)=i∫Rxe−x2eibxdx.
Using xe−x2=−21(d/dx)e−x2, integrate by parts on [−R,R] and pass to the limit. The boundary term vanishes because e−R2→0 while the phase has modulus one. Therefore
F′(b)=−2bF(b).
Since F(0)=π, multiplication by the integrating factor eb2/4 shows that
F(b)=πe−b2/4.
A Gaussian in position becomes another Gaussian in frequency. No complex contour shift was needed. Later, contour integration will supply a second proof.
4. Exercises and connections 5 min
A normal density with mean μ∈R and standard deviation σ>0 is
p(x)=σ2π1e−(x−μ)2/(2σ2).
The constant is forced by the Gaussian integral, not chosen by convention. In econometrics it normalizes the Gaussian likelihood; in statistical mechanics quadratic energies lead to related partition integrals. In quantum mechanics a Gaussian wave packet has a Gaussian momentum-space amplitude under Fourier transformation.
For discussion, explain in your own words why the square-to-disk argument is legitimate even though the regions are not identical, and why the factor r cannot be omitted. Next we return to complex differentiation: one limit must agree along every approach direction.
If you remember one thingSquaring a Gaussian integral reveals radial symmetry, while complex exponential phases reveal its frequency-domain structure.
Textbook references and further reading
Tristan Needham, Visual Complex Analysis — Topics: polar coordinates and the geometry of complex exponentials · Optional geometric reinforcement, not a claim that this book contains today's proof.
Larry Wasserman, All of Statistics — Topics: normal distributions and probability densities · Optional connection to normalization; no reading is required.