STEM-TutorLearn • Practice • ExcelBook Free DemoFree demo

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
  1. Two kinds of improper integral
  2. The method
  3. Worked examples
  4. Both limits infinite
  5. A famous paradox: Gabriel's horn
  6. The p-integral rule
  7. Comparison reasoning
  8. The link to series
  9. Common mistakes
  10. Practice questions
  11. Frequently asked questions
  12. Key takeaways
  13. Related guides

Two kinds of improper integral

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.

Example 2: a divergent integral

Evaluate ∫1∞ 1/x dx.

Example 3: an exponential

Evaluate ∫0∞ e−x dx.

Example 4: an infinite discontinuity

Evaluate ∫01 1/√x dx.

Example 5: integration by parts

Evaluate ∫0∞ x e−x dx.

Example 6: an inverse tangent

Evaluate ∫0∞ 1/(1 + x²) dx.

Example 7: a hidden discontinuity

Evaluate ∫−11 1/x² dx.

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:

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 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

Practice questions

Try each one before opening the answer.

Q1. Does ∫1∞ 1/x³ dx converge? Find its value.

Show answer
Yes: lim [−1/(2x²)] = 1/2.

Q2. Does ∫1∞ 1/√x dx converge?

Show answer
p = ½ ≤ 1, so it diverges.

Q3. Evaluate ∫0∞ e−2x dx.

Show answer
1/2.

Q4. Does ∫01 1/x dx converge?

Show answer
No: lim (−ln t) as t → 0+ is infinite.

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