Improper Integrals
Evaluate integrals over infinite intervals and through vertical asymptotes as limits, use the p-integral test, and decide convergence by comparison.
Welcome back!
Step 1 of 14Learn
An infinite region with finite area
Here is a surprise. The region under y = 1/x² from x = 1 all the way to infinity stretches forever, yet its area is exactly 1.
You can't plug ∞ into an antiderivative, so define the integral as a limit. Integrate up to a finite point b, then let b grow:
∫ from 1 to ∞ of 1/x² dx = lim (b → ∞) ∫ from 1 to b of x^(−2) dx = lim (b → ∞) [−1/x] from 1 to b = lim (b → ∞) (1 − 1/b) = 1.
An integral over an infinite interval is called an improper integral. If the limit is a finite number, the integral converges to that number. If the limit is infinite or doesn't exist, it diverges.
Now compare y = 1/x, which looks almost the same:
∫ from 1 to b of 1/x dx = ln b, which grows without bound as b → ∞.
That integral diverges. Both curves approach 0, but 1/x² gets there fast enough for the total area to stay finite, while 1/x doesn't. "The function goes to zero" is not enough; how fast it goes to zero decides the question.
This distinction matters well beyond pure math. The escape velocity of a rocket, the total energy radiated by a decaying signal and the expected value of a probability distribution are all improper integrals. Whether they converge decides whether the physical quantity is finite.
Step 2 of 14Practice · Chart
Area from 1 to b: 1/x² vs. 1/x
Tap the first b where the area under 1/x² reaches 0.9.
Tap the point that answers the question, then press Check.
| b (uneven spacing) | ∫ 1/x² = 1 − 1/b | ∫ 1/x = ln b |
|---|---|---|
| b = 1 | 0 | 0 |
| 2 | 0.5 | 0.693 |
| 5 | 0.8 | 1.61 |
| 10 | 0.9 | 2.3 |
| 50 | 0.98 | 3.91 |
| 100 | 0.99 | 4.61 |
| 1000 | 0.999 | 6.91 |
Step 3 of 14Practice · Choose one
What is ∫ from 1 to ∞ of 1/x dx?
Step 4 of 14Learn
p-integrals and infinite discontinuities
The two examples generalize into a rule you'll use constantly, the p-integral test:
∫ from 1 to ∞ of 1/xᵖ dx converges if p > 1 (to 1/(p − 1)) and diverges if p ≤ 1.
So 1/x³ and 1/x1.01 have finite area, while 1/x and 1/√x do not. The value p = 1 is the boundary, and it lands on the divergent side.
Infinite discontinuities. An integral is also improper when the integrand blows up inside or at the edge of the interval. Approach the trouble spot with a limit.
∫ from 0 to 1 of 1/√x dx = lim (t → 0⁺) [2√x] from t to 1 = lim (t → 0⁺) (2 − 2√t) = 2.
Near 0, the p-rule reverses: ∫ from 0 to 1 of 1/xᵖ dx converges if p < 1 and diverges if p ≥ 1. Small powers blow up gently near zero; large powers blow up too violently.
Hidden asymptotes. Watch for discontinuities in the middle of an interval. In ∫ from −1 to 1 of 1/x² dx, the integrand blows up at x = 0. You must split it into ∫ from −1 to 0 plus ∫ from 0 to 1 and take a limit in each. Both pieces diverge, so the whole integral diverges. Naively applying FTC gives −2, a negative answer for a positive integrand, which is the giveaway that something went wrong.
Step 5 of 14Practice · Diagram
The p-integral test: ∫ from 1 to ∞ of 1/xᵖ dx
Tap the borderline case that still diverges.
Tap the shape that answers the question, then press Check.
- 1/√x: diverges
0.5
- 1/x: diverges (borderline)
The boundary case: ln b grows without bound, but very slowly.
- 1/x²: converges to 1
1/(p − 1) = 1.
- 1/x³: converges to 1/2
3
Step 6 of 14Practice · Sort into groups
Does each improper integral converge or diverge?
Tap an item, then tap its group (or drag it there).
Step 7 of 14Practice · Work it out
Evaluate ∫ from 0 to ∞ of e^(−2x) dx.
Step 8 of 14Learn
Comparison: deciding without integrating
Often you only need to know whether an improper integral converges, and the antiderivative is hard or impossible to find. The comparison test settles it by comparing with an integral you already understand.
Suppose 0 ≤ f(x) ≤ g(x) for x ≥ a.
- If ∫ g converges, then ∫ f converges too: a smaller positive area is also finite.
- If ∫ f diverges, then ∫ g diverges too: a bigger area is also infinite.
Example. Does ∫ from 1 to ∞ of e^(−x²) dx converge? There's no elementary antiderivative, but for x ≥ 1, x² ≥ x, so e^(−x²) ≤ e^(−x). Since ∫ from 1 to ∞ of e^(−x) dx converges, so does ours.
Example. Does ∫ from 1 to ∞ of (2 + sin x)/x dx converge? The numerator is always at least 1, so the integrand is at least 1/x, whose integral diverges. Ours diverges too.
The comparison has to point the right way. Knowing f is smaller than a divergent integral tells you nothing; neither does knowing f is bigger than a convergent one.
Doubly infinite integrals. For ∫ from −∞ to ∞, split at any convenient point and require both halves to converge. The bell-curve integral ∫ from −∞ to ∞ of e^(−x²) dx converges by comparison and, through a clever trick using polar coordinates, equals √π.
Step 9 of 14Compare
Using the comparison test
| Aspect | To prove convergence | To prove divergence |
|---|---|---|
| You need | A bigger function whose integral converges | A smaller function whose integral diverges |
| Inequality | 0 ≤ f(x) ≤ g(x) | 0 ≤ g(x) ≤ f(x) |
| Example | 1/(x² + 1) ≤ 1/x², which converges | (1 + e^(−x))/x ≥ 1/x, which diverges |
| Useless comparison | f below a divergent function | f above a convergent function |
Step 10 of 14Explore
Area under 1/xᵖ from 1 to b
The curve is 1/xᵖ. The readouts show the area from 1 to b for larger and larger b. For p above 1 the areas level off at 1/(p − 1); for p below 1 they keep growing. Slide p slowly across 1 and watch the behavior flip.
- Area from 1 to 10
- 0.9345
- Area from 1 to 1,000
- 1.0511
- Area from 1 to 1,000,000
- 1.0526
- Limit 1/(p − 1) if p > 1
- 1.0526
Step 11 of 14Note
Step 12 of 14Practice · Work it out
Evaluate ∫ from 0 to 8 of x^(−1/3) dx.
Step 13 of 14Practice · True or false
If f(x) → 0 as x → ∞, then ∫ from 1 to ∞ of f(x) dx converges.
Step 14 of 14Practice · Choose one
What does the comparison test say about ∫ from 1 to ∞ of (2 + sin x)/x dx?
Lesson complete!