§ 01What Makes an Integral "Improper"?
Every integral you have evaluated so far has two finite limits and a bounded integrand. Improper integrals break at least one of those rules, and require a careful limit argument to handle correctly.
A definite integral ∫ₐᵇ f(x) dx is called improper when one or more of the following holds:
- Type 1: One or both limits of integration are infinite (e.g., ∫₁^∞ or ∫_{−∞}^∞).
- Type 2: The integrand f(x) has a vertical asymptote (blows up to ±∞) at one or both endpoints, or at some point c inside [a, b].
In both cases, we cannot directly apply the Fundamental Theorem of Calculus because one of its conditions, that f be continuous and bounded on a closed interval, is violated. Instead, we replace the bad endpoint with a variable t and take the limit as t approaches the problematic value.
Improper integrals arise throughout mathematics and physics: the Gamma function, the Laplace transform, probability density functions over all of ℝ, and the convergence of Fourier series all rely on improper integrals being finite.
§ 02Type 1 — Infinite Limits of Integration
When one or both limits are ±∞, we replace the infinite limit with a finite variable and compute the limit of the resulting integral.
Replace ∞ with t. Evaluate the definite integral, then take the limit as t → ∞.
Converges if the limit is a finite number. Diverges if the limit is ±∞ or does not exist.
Replace −∞ with t. Evaluate the definite integral, then take the limit as t → −∞.
Split at any convenient constant c (usually 0). Both pieces must converge independently for the whole integral to converge. If either piece diverges, the whole integral diverges.
| Integral | Condition | Result | Status |
|---|---|---|---|
| ∫₁^∞ 1/x² dx | p = 2 > 1 | 1 | CONVERGES |
| ∫₁^∞ 1/x dx | p = 1 | ∞ | DIVERGES |
| ∫₁^∞ 1/√x dx | p = ½ < 1 | ∞ | DIVERGES |
| ∫₁^∞ 1/x³ dx | p = 3 > 1 | 1/2 | CONVERGES |
§ 03Type 2 — Discontinuous Integrands
When the integrand has a vertical asymptote somewhere in [a, b], standard integration gives a nonsensical result. We must again replace the bad point with a variable and take a one-sided limit.
f is continuous on [a, b) but lim_{x→b⁻} f(x) = ±∞. Approach b from the left.
f is continuous on (a, b] but lim_{x→a⁺} f(x) = ±∞. Approach a from the right.
If f has a vertical asymptote at c ∈ (a, b), split the integral there. Each piece is then a Type 2a or 2b improper integral and must be evaluated separately. Both must converge for the whole integral to converge.
§ 04Convergence and Divergence
The language of convergence and divergence is borrowed from sequences and series, and it works the same way here.
To determine convergence, always write out the limit explicitly. Do not shortcut this step: the limit is the definition of an improper integral, and skipping it leads to errors.
The Comparison Test for Improper Integrals
Sometimes finding the exact antiderivative is impossible, but we can still determine whether the integral converges by comparing it to a simpler function whose behaviour we already know.
If ∫ₐ^∞ g(x) dx converges, then ∫ₐ^∞ f(x) dx also converges.
If ∫ₐ^∞ f(x) dx diverges, then ∫ₐ^∞ g(x) dx also diverges.
In other words: smaller than a convergent integral → converges. Bigger than a divergent integral → diverges.
The Limit Comparison Test
When direct comparison is awkward, compare the growth rates using a limit. If f(x) and g(x) are positive and
then ∫ₐ^∞ f(x) dx and ∫ₐ^∞ g(x) dx either both converge or both diverge.
§ 05Worked Examples
The benchmark convergent integral.
Replace ∞ with t: limt→∞ ∫₁ᵗ x⁻² dx.
Antiderivative: −x⁻¹ = −1/x.
[−1/x]₁ᵗ = −1/t − (−1) = 1 − 1/tTake the limit: limt→∞ (1 − 1/t) = 1 − 0 = 1.
limt→∞ ∫₁ᵗ (1/x) dx = limt→∞ [ln x]₁ᵗ.
- = limt→∞ (ln t − ln 1) = limt→∞ ln t = ∞.
limt→∞ ∫₀ᵗ e⁻ˣ dx = limt→∞ [−e⁻ˣ]₀ᵗ.
- = limt→∞ (−e⁻ᵗ + e⁰) = limt→∞ (1 − e⁻ᵗ) = 1 − 0 = 1.
Both limits are infinite: split at 0.
Left piece: limt→−∞ [arctan x]ₜ⁰ = arctan(0) − arctan(−∞) = 0 − (−π/2) = π/2.
Right piece: limt→∞ [arctan x]₀ᵗ = arctan(∞) − arctan(0) = π/2 − 0 = π/2.
- Total = π/2 + π/2 = π.
Use IBP: u = x, dv = e⁻ˣ dx → du = dx, v = −e⁻ˣ.
∫xe⁻ˣ dx = −xe⁻ˣ − ∫(−e⁻ˣ)dx = −xe⁻ˣ − e⁻ˣ = −e⁻ˣ(x+1)Evaluate: limt→∞ [−e⁻ˣ(x+1)]₁ᵗ.
= limt→∞ [−e⁻ᵗ(t+1)] − [−e⁻¹(2)]As t → ∞, e⁻ᵗ(t+1) → 0 (exponential beats polynomial). So: 0 + 2e⁻¹ = 2/e.
limt→∞ [sin x]₀ᵗ = limt→∞ sin t.
sin t oscillates between −1 and 1 and has no limit as t → ∞.
Replace 0 with t (approach from the right): limt→0⁺ ∫ₜ¹ x⁻¹/² dx.
- [2x^(1/2)]ₜ¹ = 2 − 2√t
limt→0⁺ (2 − 2√t) = 2 − 0 = 2.
limt→0⁺ ∫ₜ¹ ln x dx. Use IBP: ∫ln x dx = x ln x − x + C.
- [x ln x − x]ₜ¹ = (1·0 − 1) − (t ln t − t) = −1 − t ln t + t
Need limt→0⁺ t ln t. Use L'Hôpital: lim t ln t = lim (ln t)/(1/t) = lim (1/t)/(−1/t²) = lim(−t) = 0.
So lim (−1 − t ln t + t) = −1 − 0 + 0 = −1.
The integrand blows up at x = 1, which is inside [0, 2]. We must split there.
Split: ∫₀¹ 1/(x−1)² dx + ∫₁² 1/(x−1)² dx.
First piece: limt→1⁻ [−1/(x−1)]₀ᵗ = limt→1⁻ [−1/(t−1) + 1/(−1)] = limt→1⁻ [−1/(t−1)] − 1.
As t → 1⁻, (t−1) → 0⁻, so −1/(t−1) → +∞. The first piece diverges.
No elementary antiderivative exists. Use comparison.
For x ≥ 1: x² ≥ x, so −x² ≤ −x, so e^(−x²) ≤ e^(−x).
We know ∫₁^∞ e⁻ˣ dx = [−e⁻ˣ]₁^∞ = 0 + e⁻¹ = 1/e < ∞ (converges).
Since 0 ≤ e^(−x²) ≤ e^(−x) and the larger integral converges, by the Comparison Test:
For large x, (2x+1)/(x²+x+1) ≈ 2x/x² = 2/x. Compare with g(x) = 1/x.
limx→∞ f/g = lim (2x+1)/(x²+x+1) · x = lim (2x²+x)/(x²+x+1) = 2 (finite and positive).
Since ∫₁^∞ 1/x dx diverges (p=1) and the limit is finite and positive, by LCT:
The Gamma function Γ(n) = ∫₀^∞ x^(n−1)e⁻ˣ dx is one of the most important improper integrals in mathematics. It extends the factorial to non-integers: Γ(n) = (n−1)! for positive integers n.
For n = 1: Γ(1) = ∫₀^∞ e⁻ˣ dx = 1 = 0! ✓
For n = 2: Γ(2) = ∫₀^∞ xe⁻ˣ dx. IBP gives [−xe⁻ˣ − e⁻ˣ]₀^∞ = 0 − (0−1) = 1 = 1! ✓
The recurrence Γ(n+1) = n·Γ(n) follows from integration by parts, extending the factorial to all positive reals.
§ 06Common Mistakes
§ 07Quick Reference — Key Improper Integrals
| Integral | Value | Status | Notes |
|---|---|---|---|
| ∫₁^∞ x⁻ᵖ dx | 1/(p−1) | CONV if p>1 | p-integral benchmark |
| ∫₁^∞ x⁻ᵖ dx | ∞ | DIV if p≤1 | Includes harmonic (p=1) |
| ∫₀^∞ e⁻ˣ dx | 1 | CONV | Exponential decay |
| ∫₀^∞ e^(ax) dx, a>0 | ∞ | DIV | Exponential growth |
| ∫_{−∞}^∞ 1/(1+x²) dx | π | CONV | Arctan antiderivative |
| ∫₀¹ x⁻ᵖ dx | 1/(1−p) | CONV if p<1 | Type 2 p-integral |
| ∫₀¹ x⁻ᵖ dx | ∞ | DIV if p≥1 | Note: opposite rule to Type 1! |
| ∫₀¹ ln x dx | −1 | CONV | L'Hôpital needed for limit |
| ∫₀^∞ x^(n−1)e⁻ˣ dx | (n−1)! | CONV, n>0 | Gamma function Γ(n) |
§ 08Test Yourself — 10-Question Quiz
Questions test convergence decisions, exact values, and comparison reasoning. Some fill-in answers should be entered as decimals; convergence/divergence questions use multiple choice.
Does ∫₁^∞ 1/x³ dx converge or diverge?
p = 3 > 1, so by the p-integral rule, ∫₁^∞ 1/x³ dx converges. Its value is 1/(3−1) = 1/2.
Evaluate ∫₀^∞ e⁻³ˣ dx. Enter your answer as a fraction (decimal form).
- limt→∞ [−(1/3)e⁻³ˣ]₀ᵗ = lim(−(1/3)e⁻³ᵗ + 1/3) = 0 + 1/3 = 1/3 ≈ 0.333.
Which statement is correct about ∫_{−1}^1 1/x dx?
1/x has a vertical asymptote at x = 0 inside [−1, 1]. We must split there. Both ∫_{−1}^0 (1/x)dx and ∫_0^1 (1/x)dx diverge (each gives ±∞). The Cauchy principal value is 0 by symmetry, but the proper improper integral diverges. Options (b) and (c) are the classic wrong answers.
Evaluate ∫₀¹ 1/√x dx. Enter your answer.
- limt→0⁺ [2√x]ₜ¹ = 2(1) − 2(0) = 2.
By the Comparison Test, what can we conclude about ∫₁^∞ sin²(x)/x² dx?
Since 0 ≤ sin²(x) ≤ 1, we have 0 ≤ sin²(x)/x² ≤ 1/x². The integral ∫₁^∞ 1/x² dx = 1 converges. By the Comparison Test, ∫₁^∞ sin²(x)/x² dx also converges. Note: (c) is wrong because ∫₁^∞ 1 dx = ∞ diverges: bounding by a divergent function is useless.
What is the value of ∫_{−∞}^∞ 1/(1+x²) dx? Enter the exact value as a multiple of π (enter the coefficient of π).
As shown in Example 4: ∫_{−∞}^∞ 1/(1+x²) dx = π. The coefficient of π is 1.
Does ∫₀¹ 1/x dx converge or diverge?
limt→0⁺ ∫ₜ¹ (1/x) dx = limt→0⁺ [ln x]ₜ¹ = ln(1) − ln(t) = 0 − (−∞) = ∞. This is the Type 2 analogue of the harmonic integral: it diverges for the same reason (p = 1).
Evaluate ∫₂^∞ 1/x² dx. Enter the exact decimal value.
- limt→∞ [−1/x]₂ᵗ = lim(−1/t + 1/2) = 0 + 1/2 = 0.5.
For the Type 2 p-integral ∫₀¹ x⁻ᵖ dx, when does it converge?
The Type 2 p-integral ∫₀¹ x⁻ᵖ dx converges when p < 1 (value = 1/(1−p)) and diverges when p ≥ 1. This is the opposite of the Type 1 rule, a common exam trap. When p < 1, the function doesn't blow up fast enough near 0 for the area to be infinite.
By the Limit Comparison Test with 1/x, what can we say about ∫₁^∞ 1/(√(x²+1)) dx?
For large x: √(x²+1) ≈ x, so 1/√(x²+1) ≈ 1/x. Formally: limx→∞ [x/√(x²+1)] = lim 1/√(1+1/x²) = 1. Since the limit is 1 (finite and positive) and ∫₁^∞ 1/x diverges, by the Limit Comparison Test ∫₁^∞ 1/√(x²+1) also diverges. Note: (b) is wrong, knowing f < g when g diverges tells us nothing useful.
Quiz complete!