Chapter 08
Medium

Improper Integrals

00 · Symbol Glossary

$\int_a^\infty f(x)\,dx$improper integral, infinite upper limit

A definite integral (Chapter 06) where the upper limit of integration is \infty rather than a finite number. Defined as a limit of ordinary definite integrals over a growing finite interval.

$\int_a^b f(x)\,dx,\ f \text{ unbounded on } [a,b]$improper integral, infinite discontinuity

A definite integral where the integrand has a vertical asymptote (Chapter 01) somewhere in [a,b][a,b], including possibly at an endpoint — making the region under the curve unbounded in height even though the interval itself is finite in width.

$\text{converges / diverges}$convergence and divergence

An improper integral converges if its defining limit exists and is a finite number; it diverges if the limit is ±\pm\infty or fails to exist at all.

$t$t — limit-of-integration variable

A temporary variable used to hold the place of the "moving" limit of integration while the limit is taken, so as not to confuse it with xx, the integration variable itself.


01 · Infinite Limits of Integration

FTC Part 2 (Chapter 06) evaluates abf(x)dx\int_a^b f(x)\,dx using F(b)F(a)F(b)-F(a) — but that formula assumes bb is an actual number. To integrate all the way out to infinity, replace \infty with a finite placeholder tt, evaluate normally, then take the limit as tt\to\infty.

Definition — Improper Integral, Infinite Interval
af(x)dx=limtatf(x)dx\int_a^\infty f(x)\,dx = \lim_{t\to\infty}\int_a^t f(x)\,dx

If the limit exists and is finite, the improper integral converges to that value. If the limit is ±\pm\infty or does not exist, the improper integral diverges.

Step-by-step — Evaluate $\int_1^\infty \dfrac{1}{x^2}\,dx$
1
Rewrite as a limit: 11x2dx=limt1tx2dx\displaystyle\int_1^\infty \frac{1}{x^2}\,dx = \lim_{t\to\infty}\int_1^t x^{-2}\,dx.
2
Find the antiderivative (Chapter 06 power rule, n=2n=-2): x2dx=x11+C=1x+C\int x^{-2}\,dx = \dfrac{x^{-1}}{-1}+C = -\dfrac1x+C.
3
Apply FTC Part 2 on [1,t][1,t]: [1x]1t=1t(11)=1t+1\left[-\dfrac1x\right]_1^t = -\dfrac1t - \left(-\dfrac11\right) = -\dfrac1t+1.
4
Take the limit as tt\to\infty: limt(11t)=10=1\lim_{t\to\infty}\left(1-\dfrac1t\right) = 1-0=1, since 1t0\dfrac1t\to0 as tt grows without bound.
5
Conclude: 11x2dx=1\displaystyle\int_1^\infty \frac{1}{x^2}\,dx = 1 — converges to a finite value, even though the region extends infinitely far to the right.
❌ A very similar-looking integral that diverges

Evaluate 11xdx\displaystyle\int_1^\infty \frac{1}{x}\,dx the same way. Antiderivative (Chapter 07, Section 02): x1dx=lnx+C\int x^{-1}\,dx = \ln\lvert x\rvert + C.

1t1xdx=[lnx]1t=lntln1=lnt0=lnt\displaystyle\int_1^t \frac1x\,dx = \big[\ln\lvert x\rvert\big]_1^t = \ln t - \ln 1 = \ln t - 0 = \ln t.

Why it breaks: as tt\to\infty, lnt\ln t \to \infty as well — the natural logarithm grows without bound, just slowly.

Consequence: 11xdx\displaystyle\int_1^\infty \frac1x\,dx diverges, despite 1x\frac1x and 1x2\frac{1}{x^2} looking almost identical and both shrinking toward 00 as xx\to\infty. The exponent matters: 1x\frac1x shrinks too slowly to enclose a finite area over an infinite interval, while 1x2\frac{1}{x^2} shrinks fast enough. This exact contrast is generalized in Section 03.


02 · Improper Integrals from an Infinite Discontinuity

The second way an integral can be "improper" is when the integrand itself becomes unbounded somewhere in a finite interval — an infinite discontinuity (Chapter 01, Section 05), rather than an infinite interval.

Definition — Improper Integral, Infinite Discontinuity at an Endpoint

If ff has an infinite discontinuity at x=ax=a but is continuous on (a,b](a,b]:

abf(x)dx=limta+tbf(x)dx\int_a^b f(x)\,dx = \lim_{t\to a^+}\int_t^b f(x)\,dx

(An analogous definition with tbt\to b^- applies when the discontinuity is at the upper endpoint bb instead.)

Step-by-step — Evaluate $\int_0^1 \dfrac{1}{\sqrt{x}}\,dx$
1
Identify the problem point: f(x)=x1/2f(x)=x^{-1/2} is undefined at x=0x=0 (division by 0=0\sqrt0=0) — an infinite discontinuity at the lower endpoint.
2
Rewrite as a limit: 01x1/2dx=limt0+t1x1/2dx\displaystyle\int_0^1 x^{-1/2}\,dx = \lim_{t\to0^+}\int_t^1 x^{-1/2}\,dx.
3
Find the antiderivative (power rule, n=12n=-\frac12): x1/2dx=x1/21/2+C=2x+C\int x^{-1/2}\,dx = \dfrac{x^{1/2}}{1/2}+C = 2\sqrt{x}+C.
4
Apply FTC Part 2 on [t,1][t,1]: [2x]t1=212t=22t\big[2\sqrt x\big]_t^1 = 2\sqrt1 - 2\sqrt t = 2-2\sqrt t.
5
Take the limit as t0+t\to0^+: limt0+(22t)=20=2\lim_{t\to0^+}(2-2\sqrt t) = 2-0=2, since t0\sqrt t\to0 as t0+t\to0^+.
6
Conclude: 011xdx=2\displaystyle\int_0^1 \frac{1}{\sqrt x}\,dx = 2 — converges, even though f(x)f(x)\to\infty as x0+x\to0^+.
❌ Applying FTC Part 2 directly, ignoring the discontinuity

A tempting shortcut on the same integral: plug straight into the antiderivative, [2x]01=2120=20=2\big[2\sqrt x\big]_0^1 = 2\sqrt1-2\sqrt0 = 2-0=2 — which happens to give the correct numeric answer here, but for the wrong reason.

Why it breaks: FTC Part 2 (Chapter 06) explicitly requires ff to be continuous on the entire closed interval [a,b][a,b]. Since f(x)=x1/2f(x)=x^{-1/2} is not even defined at x=0x=0, the hypothesis fails, and direct substitution is not justified — it must be verified by the limit process instead.

Consequence: the same shortcut applied to 011xdx\int_0^1 \dfrac{1}{x}\,dx would give [lnx]01=ln1ln0=0()\big[\ln\lvert x\rvert\big]_0^1 = \ln1 - \ln0 = 0 - (-\infty) — nonsensical, since ln0\ln 0 is undefined. Only the limit process correctly reveals that this particular improper integral diverges (mirroring Section 01's 11xdx\int_1^\infty \frac1x\,dx result): limt0+t11xdx=limt0+(0lnt)=0()=\lim_{t\to0^+}\int_t^1\frac1x\,dx = \lim_{t\to0^+}\big(0-\ln t\big) = 0-(-\infty)=\infty.


03 · The p-Integral Test

Sections 01–02 both involved powers of xx. Generalizing them gives a reusable convergence rule, without needing to redo the limit computation from scratch every time.

Definition — p-Integral (infinite interval)
11xpdx  converges if p>1, diverges if p1\int_1^\infty \frac{1}{x^p}\,dx \ \text{ converges if } p>1, \quad \text{ diverges if } p\leq1
Step-by-step — Prove the p-integral rule for $p\neq1$
1
Find the antiderivative for p1p\neq1: xpdx=x1p1p+C\int x^{-p}\,dx = \dfrac{x^{1-p}}{1-p}+C (power rule, valid since p1-p\neq-1).
2
Evaluate on [1,t][1,t]: [x1p1p]1t=t1p1p11p\left[\dfrac{x^{1-p}}{1-p}\right]_1^t = \dfrac{t^{1-p}}{1-p} - \dfrac{1}{1-p}.
3
Case p>1p>1: then 1p<01-p<0, so t1p=1tp10t^{1-p} = \dfrac{1}{t^{p-1}} \to 0 as tt\to\infty (a positive power of tt in the denominator grows without bound). The limit becomes 011p=1p10 - \dfrac{1}{1-p} = \dfrac{1}{p-1} — finite. Converges.
4
Case p<1p<1: then 1p>01-p>0, so t1pt^{1-p}\to\infty as tt\to\infty (a positive power of a growing quantity). The limit diverges to \infty. Diverges.
5
Case p=1p=1: handled separately in Section 01 — logarithm, diverges.

04 · Comparison Test

Some integrands have no elementary antiderivative, but their convergence can still be determined by comparing them to a simpler function whose behavior is already known — most often a p-integral.

Definition — Comparison Test for Improper Integrals

Suppose 0f(x)g(x)0\leq f(x)\leq g(x) for all xax\geq a.

  • If ag(x)dx\displaystyle\int_a^\infty g(x)\,dx converges, then af(x)dx\displaystyle\int_a^\infty f(x)\,dx also converges (a smaller non-negative quantity under a finite bound is itself finite).
  • If af(x)dx\displaystyle\int_a^\infty f(x)\,dx diverges, then ag(x)dx\displaystyle\int_a^\infty g(x)\,dx also diverges (a larger quantity can't be finite if the smaller one already isn't).
Example — Using comparison to avoid computing an antiderivative

Determine whether 11x2+3dx\displaystyle\int_1^\infty \frac{1}{x^2+3}\,dx converges, without finding its antiderivative directly.

For all x1x\geq1: x2+3>x2x^2+3 > x^2, so 1x2+3<1x2\dfrac{1}{x^2+3} < \dfrac{1}{x^2} (a larger denominator makes a smaller fraction — both sides positive). By Section 03, 11x2dx\displaystyle\int_1^\infty \frac{1}{x^2}\,dx converges (it's a p-integral with p=2>1p=2>1). Since 1x2+3\frac{1}{x^2+3} is squeezed below a convergent integral, 11x2+3dx\displaystyle\int_1^\infty \frac{1}{x^2+3}\,dx converges too — without ever computing its exact value.

❌ Comparing in the wrong direction

For 11x0.5dx\displaystyle\int_1^\infty \frac{1}{\sqrt{x}-0.5}\,dx, a student notes 1x0.5>1x\dfrac{1}{\sqrt x-0.5} > \dfrac{1}{\sqrt x} for x>1x>1 (smaller denominator gives a bigger fraction), and 1x1/2dx\int_1^\infty x^{-1/2}\,dx is a p-integral with p=121p=\frac12\leq1, which diverges (Section 03).

Why this direction of the comparison test does apply, but only correctly: here f(x)=1xg(x)=1x0.5f(x) = \frac{1}{\sqrt x} \leq g(x) = \frac{1}{\sqrt x - 0.5}, and the smaller function's integral already diverges — by the comparison test's second bullet, this correctly forces the larger function's integral to diverge too.

Where the error would occur: if instead a student tried to conclude convergence from g(x)g(x) being bounded below by a divergent f(x)f(x), or tried to bound g(x)g(x) above by a convergent function without checking the inequality direction algebraically first, the conclusion would not follow. The comparison test only transmits convergence downward (from a larger convergent function to a smaller one) and divergence upward (from a smaller divergent function to a larger one) — never the reverse.


05 · Quant Application — Perpetual Cash Flows

An infinite-interval improper integral is the continuous-time analogue of summing an indefinitely long stream of payments — a perpetuity.

Example — Present value of a perpetual cash flow stream

A cash flow pays at a continuous rate of r(t)=100e0.05tr(t) = 100e^{-0.05t} dollars per year, discounted for all future time t0t\geq0 (the e0.05te^{-0.05t} decay factor represents both discounting and the given payment schedule combined). Total present value:

0100e0.05tdt=limT0T100e0.05tdt\int_0^\infty 100e^{-0.05t}\,dt = \lim_{T\to\infty}\int_0^T 100e^{-0.05t}\,dt

Antiderivative: 100e0.05tdt=100e0.05t0.05=2000e0.05t\int 100e^{-0.05t}\,dt = 100\cdot\dfrac{e^{-0.05t}}{-0.05} = -2000e^{-0.05t} (verify: ddx[2000e0.05t]=2000(0.05)e0.05t=100e0.05t\frac{d}{dx}[-2000e^{-0.05t}] = -2000\cdot(-0.05)e^{-0.05t}=100e^{-0.05t} ✓, using the chain rule from Chapter 03 with inner function 0.05t-0.05t).

Evaluate on [0,T][0,T]: [2000e0.05t]0T=2000e0.05T(2000e0)=2000e0.05T+2000\big[-2000e^{-0.05t}\big]_0^T = -2000e^{-0.05T} - (-2000e^0) = -2000e^{-0.05T}+2000.

As TT\to\infty, e0.05T0e^{-0.05T}\to0 (exponential decay), so the limit is 0+2000=20000+2000=2000. The perpetual stream has a finite present value of 20002000 dollars, even though payments continue forever — the discounting shrinks distant payments fast enough for the total to converge, exactly analogous to the p-integral test in Section 03.


06 · Exercises

EXERCISE 8.1

Rewrite the infinite upper limit as a variable tt, integrate normally, then take the limit as tt\to\infty.

1x3dx=limt[x22]1t=limt(12t2+12)=0+12=12\int_1^\infty x^{-3}\,dx = \lim_{t\to\infty}\left[\dfrac{x^{-2}}{-2}\right]_1^t = \lim_{t\to\infty}\left(-\dfrac{1}{2t^2}+\dfrac12\right) = 0+\dfrac12=\dfrac12. Converges to 12\frac12 (consistent with Section 03's rule: p=3>1p=3>1).

Evaluate 1x3dx\int_1^\infty x^{-3}\,dx, showing the limit step explicitly.

EXERCISE 8.2

Apply the p-integral rule from Section 03 directly by identifying pp.

1x0.8dx\int_1^\infty x^{-0.8}\,dx has p=0.81p=0.8\leq1, so by Section 03 it diverges. Confirm: antiderivative x0.20.2\dfrac{x^{0.2}}{0.2}, and as tt\to\infty, t0.2t^{0.2}\to\infty, so the limit diverges.

Without fully computing it, determine whether 1x0.8dx\int_1^\infty x^{-0.8}\,dx converges or diverges, and justify using the p-integral rule.

EXERCISE 8.3

Locate where the integrand is undefined within the interval, then rewrite as a one-sided limit approaching that point.

08x2/3dx\int_0^8 x^{-2/3}\,dx: undefined at x=0x=0. limt0+t8x2/3dx\lim_{t\to0^+}\int_t^8 x^{-2/3}\,dx. Antiderivative: x1/31/3=3x1/3\dfrac{x^{1/3}}{1/3}=3x^{1/3}. [3x1/3]t8=3(8)1/33t1/3=3(2)3t1/3=63t1/3\big[3x^{1/3}\big]_t^8 = 3(8)^{1/3} - 3t^{1/3} = 3(2)-3t^{1/3}=6-3t^{1/3}. As t0+t\to0^+: 60=66-0=6. Converges to 66.

Evaluate 08x2/3dx\int_0^8 x^{-2/3}\,dx, showing why it is improper and how the limit is set up.

EXERCISE 8.4

Bound the integrand above by a simpler function whose p-integral convergence is already known, keeping both sides non-negative for the comparison to apply.

For 11x3+xdx\int_1^\infty \dfrac{1}{x^3+x}\,dx: for x1x\geq1, x3+x>x3x^3+x>x^3, so 1x3+x<1x3\dfrac{1}{x^3+x}<\dfrac{1}{x^3}. Since 1x3dx\int_1^\infty x^{-3}\,dx converges (p=3>1p=3>1, confirmed in Exercise 8.1), and 01x3+x<1x30\leq\frac{1}{x^3+x}<\frac{1}{x^3}, the comparison test gives that 11x3+xdx\int_1^\infty \dfrac{1}{x^3+x}\,dx converges too.

Use the comparison test to determine whether 11x3+xdx\int_1^\infty \dfrac{1}{x^3+x}\,dx converges.

EXERCISE 8.5

Check both ends: is the interval infinite, and is the integrand itself unbounded anywhere inside it?

11xx1dx\int_1^\infty \dfrac{1}{x\sqrt{x-1}}\,dx is improper in two ways: the interval extends to \infty, and the integrand is undefined at x=1x=1 (division by 0=0\sqrt0=0). It must be split: 1=12+2\int_1^\infty = \int_1^2 + \int_2^\infty (or any interior split point), and each piece must converge separately for the whole integral to converge — a single divergent piece makes the entire integral diverge, regardless of the other piece.

Explain why 11xx1dx\int_1^\infty \dfrac{1}{x\sqrt{x-1}}\,dx is improper in two separate ways, and describe (without fully evaluating) how the integral must be split to handle both.

EXERCISE 8.6

Set up the perpetual cash flow as an improper integral, find the antiderivative using the chain rule fact for exponential decay, then take the limit as the upper bound grows.

r(t)=300e0.06tr(t) = 300e^{-0.06t}, t0t\geq0. 0300e0.06tdt=limT[3000.06e0.06t]0T=limT(5000e0.06T+5000)\int_0^\infty 300e^{-0.06t}\,dt = \lim_{T\to\infty}\left[\dfrac{300}{-0.06}e^{-0.06t}\right]_0^T = \lim_{T\to\infty}\big(-5000e^{-0.06T}+5000\big). As TT\to\infty, e0.06T0e^{-0.06T}\to0, so the limit is 50005000. Present value: 50005000 dollars.

A perpetual cash flow pays at continuous rate r(t)=300e0.06tr(t)=300e^{-0.06t} dollars/year. Find its total present value using an improper integral.


07 · Chapter Summary

ConceptFormula / Rule
Improper integral, infinite intervalafdx=limtatfdx\int_a^\infty f\,dx = \lim_{t\to\infty}\int_a^t f\,dx
Improper integral, infinite discontinuityabfdx=limta+tbfdx\int_a^b f\,dx = \lim_{t\to a^+}\int_t^b f\,dx (or symmetric at bb)
Convergence / divergenceFinite limit = converges; ±\pm\infty or no limit = diverges
p-integral test1xpdx\int_1^\infty x^{-p}dx converges iff p>1p>1
Comparison test0fg0\leq f\leq g: gg converges f\Rightarrow f converges; ff diverges g\Rightarrow g diverges
Perpetual cash flow0(rate)dt\int_0^\infty (\text{rate})\,dt; finite present value when decay outpaces growth

This closes the eight-chapter core sequence: limits and continuity, derivatives and their rules, the chain rule and implicit differentiation, core and optimization applications of derivatives, and the definition, techniques, and improper cases of integration — the full single-variable calculus toolkit used throughout applied quantitative work.