Improper Integrals
Some integrals run to infinity or over blowups yet still settle on finite numbers; a limit decides whether the total converges or diverges.
Why Does This Exist?
Probability lives on infinite domains: Gaussians run to , waiting times run to , and every density must integrate to exactly 1 over its whole range. Those normalizing totals are improper integrals. Expected values add more: heavy-tailed losses and returns integrate payoffs against densities out to infinity, and whether that integral converges decides whether the "expected" value even exists. Cauchy-distributed noise has no mean for exactly this reason.
Definite and indefinite integrals covers finite-interval totals. This page extends the machinery past its two failure points: infinite limits and infinite integrand values.
The one idea you need first
An improper integral is a limit of proper ones: push the boundary out (or up to the blowup) and ask where the totals head. . Converges means the limit lands on a finite number; diverges means it runs away or oscillates forever.
Think of It Like This
Painting an infinitely long fence that needs finite paint
A fence runs forever but gets thinner fast: the first meter needs a liter, the next half a liter, the next a quarter. The fence never ends, yet the paint bill converges to 2 liters, because the coats shrink faster than the fence grows. That is : infinite extent, finite total.
Now a fence whose coats thin slowly, a liter, then half, then a third: the bill is the harmonic series and it diverges, growing without bound albeit slowly. Same infinite fence, opposite verdict. Convergence is a race between growing domain and shrinking height, and only the race result matters.
How It Actually Works
Infinite limits. Replace with , integrate, take :
In plain words: the partial total creeps toward 1 and the leftover vanishes. Finite answer from an infinite domain.
Singularities. Split at the blowup and approach from each side. : the spike at 0 is narrow enough to contain finite area.
The p-test. converges exactly when (giving ) and diverges for . So : diverges, slowly but surely. Memorize the boundary: barely-faster-than- decay still diverges.
Watch Out For
Treating infinity as a number to plug in
The symptom is "" written with evaluated like a constant, which skips the limit that decides everything and mishandles oscillation like (no limit exists, so it diverges by oscillation). Always write the limit explicitly, integrate finitely, then let the boundary travel. If the limit does not exist, the integral diverges, however bounded the integrand looks.
Assuming every density has a mean
The Cauchy density is a valid density integrating to 1, but diverges: both tails behave like , the boundary case. The symptom is a sample average over Cauchy noise that never settles no matter how much data arrives. Check tail decay against the p-test before quoting expectations, and prefer medians for heavy-tailed data where means do not exist.
The Quick Version
- Improper integrals are limits of proper ones: push the boundary, watch the total.
- converges; diverges like .
- The p-test: converges exactly when .
- Split at singularities and approach each side separately.
- Never plug in infinity; write the limit and check it exists.
- Heavy tails can break expectations: Cauchy noise has no mean.