AP Calculus BC · Integration and accumulation of change
Improper integrals
1Two kinds of improper integral
A definite integral is improper if:
- Type 1: a limit of integration is infinite, such as $\int_1^{\infty} \frac{1}{x^2}\,dx$.
- Type 2: the integrand is unbounded (has a vertical asymptote) somewhere on the interval, such as $\int_0^1 \frac{1}{\sqrt{x}}\,dx$.
You cannot just plug in $\infty$ or a point where the function blows up. Instead, replace the problem point with a variable and take a limit.
- If the limit is a finite number, the integral converges to that value.
- If the limit is infinite or does not exist, the integral diverges.
Check yourself
Which integral is improper?
Show the answer
∫₀¹ 1/x dx
1/x is unbounded at x = 0.
2Infinite limits of integration
$$\int_a^{\infty} f(x)\,dx = \lim_{b \to \infty}\int_a^b f(x)\,dx$$
$\int_1^{\infty} \frac{1}{x^2}\,dx$
- $= \lim_{b \to \infty}\left[-\frac{1}{x}\right]_1^b = \lim_{b \to \infty}\left(-\frac{1}{b} + 1\right)$.
- $= 1$. The integral converges to 1.
$\int_1^{\infty} \frac{1}{x}\,dx$
- $= \lim_{b \to \infty}\big[\ln x\big]_1^b = \lim_{b \to \infty}\ln b$.
- $= \infty$. The integral diverges, even though $\frac{1}{x} \to 0$.
From x = 1 to infinity, the area under 1/x² is finite (1) but the area under 1/x is not
The p-test: $\int_1^{\infty} \frac{1}{x^p}\,dx$ converges if $p > 1$ (to $\frac{1}{p - 1}$) and diverges if $p \le 1$.
For $\int_{-\infty}^{\infty}$, split at any point and require both halves to converge.
Check yourself
∫₁^∞ 1/x³ dx =
Show the answer
1/2
p = 3 > 1, value 1/(p − 1).
3Unbounded integrands
If $f$ has a vertical asymptote at $x = a$ (the lower limit):
$$\int_a^b f(x)\,dx = \lim_{t \to a^+}\int_t^b f(x)\,dx$$
If the asymptote is inside the interval at $x = c$, split: $\int_a^b = \int_a^c + \int_c^b$, and both must converge.
$\int_0^1 \frac{1}{\sqrt{x}}\,dx$
- $= \lim_{t \to 0^+}\big[2\sqrt{x}\big]_t^1 = \lim_{t \to 0^+}(2 - 2\sqrt{t}) = 2$. Converges.
the trap $\int_{-1}^{1} \frac{1}{x^2}\,dx$
- Plugging in blindly gives $\left[-\frac{1}{x}\right]_{-1}^{1} = -1 - 1 = -2$, which is impossible: the integrand is positive.
- Correctly: $\int_0^1 \frac{1}{x^2}dx = \lim_{t \to 0^+}\left(-1 + \frac{1}{t}\right) = \infty$. So the integral diverges.
For $\int_0^1 \frac{1}{x^p}\,dx$ the rule flips: it converges if $p < 1$ and diverges if $p \ge 1$.
Check yourself
∫₀¹ 1/x² dx:
Show the answer
Diverges
p = 2 ≥ 1 for an asymptote at 0.
4Exponentials and comparison
Exponential decay integrals converge:
$\int_0^{\infty} e^{-2x}\,dx$
- $= \lim_{b \to \infty}\left[-\frac{1}{2}e^{-2x}\right]_0^b = \lim_{b \to \infty}\left(-\frac{1}{2}e^{-2b} + \frac{1}{2}\right) = \frac{1}{2}$.
Worked example (parts and L'Hospital): $\int_0^{\infty} xe^{-x}\,dx$
- Antiderivative: $-xe^{-x} - e^{-x}$.
- $\lim_{b \to \infty}(-be^{-b} - e^{-b}) - (0 - 1)$. Since $be^{-b} = \frac{b}{e^b} \to 0$ by L'Hospital's rule, the value is $1$.
Comparison: if $0 \le f(x) \le g(x)$ and $\int g$ converges, so does $\int f$. If $\int f$ diverges, so does $\int g$. For example, $\frac{1}{x^2 + 1} < \frac{1}{x^2}$, so $\int_1^{\infty}\frac{dx}{x^2 + 1}$ converges.
Check yourself
∫₀^∞ e^(−3x) dx =
Show the answer
1/3
[−(1/3)e^(−3x)] from 0 to ∞.
5Going deeper: writing them as limits, the p-rule and hidden discontinuities
An integral is improper if a limit of integration is infinite, or the integrand is unbounded somewhere in the interval. It is defined as a limit; you must write the limit.
Infinite limit: $\int_a^{\infty} f(x)\,dx = \lim_{b \to \infty}\int_a^b f(x)\,dx$. If the limit is finite, the integral converges; otherwise it diverges.
$\int_1^{\infty}\frac{1}{x^2}\,dx$.
- $\lim_{b \to \infty}\left[-\frac{1}{x}\right]_1^b = \lim\left(-\frac{1}{b} + 1\right) = 1$.
- Converges to 1.
$\int_1^{\infty}\frac{1}{x}\,dx = \lim_{b \to \infty}\ln b = \infty$: diverges.
The p-rule at infinity: $\int_1^{\infty}\frac{1}{x^p}\,dx$ converges exactly when p > 1.
$\int_0^{\infty} e^{-2x}\,dx = \lim_{b \to \infty}\left[-\frac{1}{2}e^{-2x}\right]_0^b = \frac{1}{2}$.
Worked example (with parts): $\int_0^{\infty} xe^{-x}\,dx$.
- Antiderivative: $-xe^{-x} - e^{-x}$.
- As b → ∞: $-be^{-b} \to 0$ (exponential beats polynomial) and $-e^{-b} \to 0$.
- At 0: −1. Value: 0 − (−1) = 1.
Worked example (both ends): $\int_{-\infty}^{\infty}\frac{1}{1 + x^2}\,dx$.
- Split at 0: each half is $\lim\arctan b = \frac{\pi}{2}$.
- Total π. Both pieces must converge separately.
Unbounded integrand: take a limit approaching the bad point.
$\int_0^1\frac{1}{\sqrt{x}}\,dx$.
- $\lim_{a \to 0^+}\left[2\sqrt{x}\right]_a^1 = 2$. Converges.
$\int_0^1\frac{1}{x}\,dx = \lim_{a \to 0^+}(-\ln a) = \infty$: diverges.
The p-rule at zero is the reverse: $\int_0^1\frac{1}{x^p}\,dx$ converges exactly when p < 1.
Hidden discontinuities: always check for a vertical asymptote inside the interval.
$\int_{-1}^{1}\frac{1}{x^2}\,dx$.
- Tempting: $\left[-\frac{1}{x}\right]_{-1}^{1} = -2$. Wrong (and a positive function cannot have a negative integral).
- The integrand is unbounded at 0: split into $\int_{-1}^0$ and $\int_0^1$.
- $\int_0^1\frac{1}{x^2}\,dx$ diverges, so the whole integral diverges.
Comparison (when an antiderivative is unavailable): for 0 ≤ f ≤ g on [a, ∞), if $\int g$ converges then $\int f$ converges; if $\int f$ diverges then $\int g$ diverges.
- $\int_1^{\infty}\frac{1}{x^2 + 5}\,dx$ converges, since the integrand is less than $\frac{1}{x^2}$.
- $\int_1^{\infty}\frac{2 + \sin x}{x}\,dx$ diverges, since the integrand is at least $\frac{1}{x}$.
Connections: the integral test for series; areas of unbounded regions; volumes of unbounded solids. The region under $y = \frac{1}{x}$ for x ≥ 1 has infinite area, yet rotating it about the x-axis gives volume $\pi\int_1^{\infty}\frac{1}{x^2}dx = \pi$.
Notation: do not write "$\left[-\frac{1}{x}\right]_1^{\infty}$" or substitute ∞ as a number. Write the limit.
Common mistakes
- Omitting limit notation.
- Missing a discontinuity inside the interval.
- Saying an integral converges because the integrand tends to 0.
- Combining two divergent pieces so that they "cancel."
- Mixing up the p-rule at infinity and at zero.
Check yourself
The integral from 1 to infinity of 1 ÷ x^p dx converges for which values of p?
Show the answer
p > 1
The antiderivative has a finite limit at infinity only when the exponent exceeds 1.
6For top marks
- Always write the limit: "$\lim_{b \to \infty}$". Writing $\infty$ as a limit and "plugging it in" usually loses marks.
- Check for asymptotes inside the interval before integrating.
- State clearly "converges to ..." or "diverges".
- Use L'Hospital's rule for limits such as $\frac{b}{e^b}$ or $\frac{\ln b}{b}$.
"$\int_0^{\infty}\frac{dx}{1 + x^2} = \lim_{b \to \infty}\arctan b - \arctan 0 = \frac{\pi}{2}$, so it converges to $\frac{\pi}{2}$."
Check yourself
Why must ∫₋₁² 1/x dx be split at 0?
Show the answer
1/x has a vertical asymptote at x = 0
The integrand is unbounded at 0.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera