Improper integrals, explained with examples
An improper integral has an infinite limit or a function that blows up somewhere in the interval. Surprisingly, the area of an infinitely long region can still be finite. Improper integrals are an AP Calculus BC topic and the foundation for the integral test for series.
On this page
Two kinds of improper integral
- Infinite limits: one or both limits of integration are ∞ or −∞, as in ∫1∞ 1/x² dx.
- Infinite discontinuities: the integrand becomes infinite somewhere in the interval, such as ∫01 1/√x dx, where 1/√x is undefined at x = 0.
In both cases, you cannot just substitute the limits. Instead, replace the problem point with a variable, integrate, and take a limit.
The method
For an infinite upper limit:
∫a∞ f(x) dx = limb→∞ ∫ab f(x) dx
For a discontinuity at the lower limit a:
∫ac f(x) dx = limt→a+ ∫tc f(x) dx
If the limit exists and is a finite number, the integral converges to that value. If the limit is infinite or does not exist, the integral diverges. On AP free-response questions, you must show the limit notation; writing “∞” straight into an antiderivative loses points. Write the limit on every line until you actually evaluate it, then state clearly whether the integral converges or diverges.
Worked examples
Example 1: a convergent integral
Evaluate ∫1∞ 1/x² dx.
- = limb→∞ [−1/x]1b = limb→∞ (−1/b + 1).
- As b → ∞, −1/b → 0, so the integral converges to 1. An infinitely long region has an area of exactly 1.
Example 2: a divergent integral
Evaluate ∫1∞ 1/x dx.
- = limb→∞ [ln x]1b = limb→∞ ln b.
- ln b grows without bound, so the integral diverges. Although 1/x approaches 0, it does not do so fast enough for the area to be finite.
Example 3: an exponential
Evaluate ∫0∞ e−x dx.
- = limb→∞ [−e−x]0b = limb→∞ (1 − e−b).
- Converges to 1.
Example 4: an infinite discontinuity
Evaluate ∫01 1/√x dx.
- The integrand is undefined at x = 0. = limt→0+ [2√x]t1 = limt→0+ (2 − 2√t).
- Converges to 2.
Example 5: integration by parts
Evaluate ∫0∞ x e−x dx.
- By parts, ∫ x e−x dx = −x e−x − e−x = −e−x(x + 1).
- limb→∞ [−e−b(b + 1) + 1] = 0 + 1, since exponentials beat polynomials (L'Hôpital's rule).
- Converges to 1.
Example 6: an inverse tangent
Evaluate ∫0∞ 1/(1 + x²) dx.
- = limb→∞ [arctan x]0b = limb→∞ arctan b.
- arctan b → π/2, so the integral converges to π/2.
Example 7: a hidden discontinuity
Evaluate ∫−11 1/x² dx.
- The integrand is infinite at x = 0, inside the interval, so split it: ∫−10 + ∫01.
- ∫01 1/x² dx = limt→0+ (1/t − 1), which is infinite, so the whole integral diverges.
- Ignoring the discontinuity and computing [−1/x] from −1 to 1 gives −2, a negative “area” for a positive function, which is clearly wrong.
Both limits infinite
For an integral from −∞ to ∞, split it at any convenient point, such as 0, and evaluate both pieces separately: ∫−∞∞ f(x) dx = ∫−∞0 f(x) dx + ∫0∞ f(x) dx. The whole integral converges only if both pieces converge. For 1/(1 + x²), each half gives π/2, so the total is π. You must not take a single symmetric limit, because divergent pieces can falsely cancel.
A famous paradox: Gabriel's horn
Rotate y = 1/x, for x ≥ 1, about the x-axis to make an infinitely long horn. Its volume is π∫1∞ 1/x² dx = π, which is finite. But its surface area involves an integral at least as large as 2π∫1∞ 1/x dx, which diverges. So the horn could be filled with a finite amount of paint, yet its inside surface could never be painted. Improper integrals produce results like this that defy everyday intuition, which is part of their appeal.
The p-integral rule
Integrals of 1/xp appear constantly, so it pays to know their behaviour:
- ∫1∞ 1/xp dx converges if p > 1 and diverges if p ≤ 1.
- ∫01 1/xp dx converges if p < 1 and diverges if p ≥ 1.
Examples 1, 2 and 4 fit the pattern: p = 2 converges on [1, ∞), p = 1 diverges, and p = ½ converges on [0, 1]. The borderline case p = 1 diverges in both situations.
Comparison reasoning
Sometimes you cannot find an antiderivative, but you can still decide convergence by comparing with a known integral. If 0 ≤ f(x) ≤ g(x) and ∫g converges, then ∫f converges too. If f(x) ≥ g(x) ≥ 0 and ∫g diverges, then ∫f diverges. For example, 1/(x² + 5) < 1/x² for x ≥ 1, and ∫1∞ 1/x² dx converges, so ∫1∞ 1/(x² + 5) dx also converges.
The link to series
The integral test for infinite series uses improper integrals: if f is positive and decreasing, the series Σf(n) and the integral ∫1∞f(x) dx either both converge or both diverge. That is why the p-series Σ1/np converges exactly when p > 1, matching the p-integral rule.
Common mistakes
- Substituting ∞ directly instead of using a limit.
- Missing a discontinuity inside the interval.
- Assuming an integral converges because the function tends to 0.
- Getting the p-integral conditions the wrong way round for [0, 1] and [1, ∞).
Practice questions
Try each one before opening the answer.
Q1. Does ∫1∞ 1/x³ dx converge? Find its value.
Show answer
Q2. Does ∫1∞ 1/√x dx converge?
Show answer
Q3. Evaluate ∫0∞ e−2x dx.
Show answer
Q4. Does ∫01 1/x dx converge?
Show answer
Frequently asked questions
Are improper integrals on AP Calculus AB?
No. Improper integrals are part of AP Calculus BC, in Unit 6, and they reappear with the integral test in Unit 10.
Are improper integrals in A level Maths?
Not in A level Maths. They appear in A level Further Maths, where improper integrals with infinite limits and discontinuities are studied.
Key takeaways
- Improper integrals have infinite limits or infinite discontinuities.
- Replace the problem point with a variable and take a limit.
- A finite limit means convergence; otherwise the integral diverges.
- ∫1∞ 1/xp converges only for p > 1.
- Check for discontinuities inside the interval before integrating.