Improper integrals and the comparison test
Anchor (Master): Cauchy 1827 Exercices de mathematiques (improper integrals); Dirichlet 1863 Vorlesungen (conditional convergence); Artin 1964 The Gamma Function; Rudin Real and Complex Analysis Ch. 1
Intuition [Beginner]
Some areas stretch to infinity. Imagine a speed curve that never quite drops to zero but keeps getting smaller. The car keeps moving, and the total distance keeps growing. Does the distance approach a finite number, or does it grow without bound?
When the region under a curve extends infinitely far to the right, you chop off the tail at some large number and compute the area up to that point. Then you push the cutoff farther and farther to the right. If the partial areas settle toward a specific number, the improper integral converges. If they grow without bound, it diverges.
This concept exists because many quantities in physics, probability, and engineering involve infinite ranges. The total energy radiated by a decaying source, the probability accumulated over all outcomes, and the area under from to infinity all require this limiting process.
Visual [Beginner]
The picture shows a curve above the horizontal axis from extending to the right. A shaded region fills the area under the curve. A vertical dashed line marks a cutoff point at , and the shaded area to the left of the cutoff grows but approaches a limit. A second, faster-decaying curve is drawn for comparison — its shaded area keeps growing without bound.
The comparison between the two curves shows that a faster-decaying function can have a finite total area while a slower-decaying one does not.
Worked example [Beginner]
Consider the area under from to infinity.
Step 1. Chop off at . The partial area from to is .
Step 2. Chop off at . The partial area from to is .
Step 3. Chop off at . The partial area from to is . As grows, the partial area approaches . The improper integral converges to .
What this tells us: even though the region stretches infinitely far, the curve decays fast enough that the total area is finite.
Check your understanding [Beginner]
Formal definition [Intermediate+]
Definition (Improper integral, Type I). Let be integrable on for every . The improper integral of over is
provided the limit exists and is finite. If the limit exists, the integral converges; otherwise it diverges.
Definition (Improper integral, Type II). Let have a singularity at (that is, is unbounded near ) and be integrable on for every . The improper integral is
An analogous definition applies for singularities at the right endpoint.
Counterexamples to common slips [Intermediate+]
Convergence of does not imply convergence of . In fact the reverse holds: absolute convergence implies convergence, but the converse fails. The integral of from to converges conditionally, but the integral of diverges.
Treating as zero. If and both diverge, writing is meaningless. The limit must exist as a single finite number.
Assuming the integrand must be non-negative. The comparison test requires non-negative integrands, but the definition of convergence applies to any integrable function on finite subintervals.
Key theorem with proof [Intermediate+]
Theorem (Comparison test for improper integrals). Let with for all , and suppose both are integrable on for every .
(i) If converges, then converges.
(ii) If diverges, then diverges.
Proof of (i). Define and . Since , we have for all .
The sequence is monotone increasing (because ), and bounded above by , which is finite by hypothesis. By the monotone convergence theorem for sequences of real numbers, converges to , which is finite. Hence converges.
Proof of (ii). This is the contrapositive of (i). If converged, then by (i) the integral would also converge, contradicting the hypothesis.
Corollary (p-test). The improper integral converges if and diverges if .
Proof. For : as . For : . For : since .
Bridge. The comparison test is the foundational reason that convergence of an improper integral can be decided by comparing with a known benchmark, and this is exactly the same machinery as the comparison test for infinite series 02.03.03. The central insight is that the monotone convergence of partial areas mirrors the monotone convergence of partial sums. The p-test builds toward the Gamma function 02.09.01 where the integral is tested for convergence by splitting at and using the p-test near and exponential decay near , and appears again in 02.11.04 where the Lebesgue dominated convergence theorem provides the measure-theoretic generalisation of the comparison test.
Exercises [Intermediate+]
Advanced results [Master]
Theorem 1 (Absolute convergence implies convergence). If converges, then converges.
The proof writes where and . Since , the comparison test gives convergence of both and , hence converges. An integral where diverges but converges is called conditionally convergent.
Theorem 2 (Limit comparison test). Let on with . Then converges if and only if converges.
For sufficiently large, , and the comparison test applied in both directions gives equivalence.
Theorem 3 (Dirichlet's test for improper integrals). Let have a bounded antiderivative ( for all ) and let be monotone decreasing with as . Then converges.
The proof uses the second mean value theorem for integrals (Bonnet's theorem): on , for some when is non-negative and decreasing. The boundedness of and then give the Cauchy criterion.
Theorem 4 (The Gamma function). For , the integral converges and defines a function satisfying and , hence for positive integers .
Near , , and converges for (p-test at the singularity). Near , is dominated by for large , and converges.
Theorem 5 (Cauchy criterion for improper integrals). The improper integral converges if and only if for every there exists such that for all .
This is the direct translation of the Cauchy criterion for the limit .
Theorem 6 (Integration by parts for improper integrals). If and are differentiable on with as and converges, then converges and equals .
Synthesis. The comparison test is the foundational reason that convergence of improper integrals reduces to comparing with known benchmarks, and this is exactly the same principle as the comparison test for infinite series 02.03.03. The central insight is that monotonicity and boundedness force convergence, and the bridge is from partial areas to partial sums. Putting these together with the p-test, the Gamma function convergence proof splits the domain at a transition point and uses different arguments on each side — singularity control near and exponential decay near . This pattern generalises to every improper integral with both a singularity and an infinite endpoint, and appears again in 02.11.04 where the Lebesgue dominated convergence theorem replaces the comparison test with an bound. Dirichlet's test provides the conditional-convergence machinery that the comparison test cannot reach, and this is exactly the tool needed to handle oscillatory integrands like .
Full proof set [Master]
Proposition (Dirichlet's test for improper integrals). Let be bounded on with , and let be monotone decreasing with . Then converges.
Proof. Given , choose so that . For , by the second mean value theorem for integrals (Bonnet's form), there exists with
Therefore:
Since and is decreasing, , so:
By the Cauchy criterion, converges.
Proposition ( is well-defined for ). The integral converges for all .
Proof. Split at . On : , so . The integral converges since . By the comparison test, converges.
On : for , , so . For any fixed , the polynomial grows more slowly than , so there exists with for . Hence for , .
Since , the comparison test gives convergence of .
Both halves converge, so is well-defined.
Connections [Master]
Infinite series: convergence and the standard tests
02.03.03. The comparison test, p-test, absolute convergence, and the Cauchy criterion for improper integrals are direct parallels of the same results for infinite series. The series converges for for the same structural reason that converges for .Fundamental theorems of calculus
02.04.04. Every improper integral is defined as a limit of proper integrals, and each proper integral is evaluated using FTC2. The fundamental theorem provides the antiderivative that makes the limit computable.Banach spaces and
02.11.04. The Lebesgue dominated convergence theorem generalises the comparison test to pointwise limits of measurable functions. The space is a Banach space whose norm is defined precisely when the improper integral of converges.
Historical & philosophical context [Master]
Cauchy 1827, in his Exercices de mathematiques [Cauchy1827], gave the first systematic treatment of improper integrals, defining as the limit of and establishing basic convergence criteria. Dirichlet 1863, in his Vorlesungen uber Zahlentheorie [Dirichlet1863], developed the conditional-convergence test for integrals of oscillatory functions, motivated by number-theoretic applications to Fourier integrals.
Artin 1964, in The Gamma Function [Artin1964], presented the Gamma function as the canonical application of improper-integral theory: is the unique log-convex extension of the factorial, and its convergence proof is a paradigmatic application of the comparison test split between a singularity at zero and an infinite endpoint. The Gamma function connects improper integrals to the functional equation and, through the reflection formula , to complex analysis.
Bibliography [Master]
@book{Cauchy1827,
author = {Cauchy, Augustin-Louis},
title = {Exercices de math\'ematiques},
publisher = {De Bure fr\`eres},
year = {1827}
}
@book{Dirichlet1863,
author = {Dirichlet, Peter Gustav Lejeune},
title = {Vorlesungen \"{u}ber Zahlentheorie},
publisher = {Vieweg},
year = {1863},
editor = {Dedekind, Richard}
}
@book{Artin1964,
author = {Artin, Emil},
title = {The Gamma Function},
publisher = {Holt, Rinehart and Winston},
year = {1964},
note = {Translated by Michael Butler}
}
@book{Apostol1967,
author = {Apostol, Tom M.},
title = {Calculus, Vol. 1},
publisher = {Wiley},
year = {1967}
}
@book{Rudin1976,
author = {Rudin, Walter},
title = {Principles of Mathematical Analysis},
publisher = {McGraw-Hill},
edition = {3},
year = {1976}
}
@book{Hardy1908,
author = {Hardy, G. H.},
title = {A Course of Pure Mathematics},
publisher = {Cambridge University Press},
year = {1908}
}