Unit 3, chapter 12

When an infinite region has finite area

How an integral over an infinite interval is defined as a limit, when it is convergent or divergent, and the p-test, by which the integral of x to the power minus p from 1 to infinity converges exactly when p exceeds 1.

  • Chapter 12
  • Symmetry, improper integrals, Simpson's rule and power series

The region under y=1/x2y = 1/x^2 to the right of x=1x = 1 never ends, yet its area turns out to be 11. The region under y=1/xy = 1/x also never ends and its height also shrinks toward 00, but its area is infinite. Since an antiderivative cannot be evaluated at infinity, the first task is to say what such an area means. This page defines it as a limit of ordinary integrals and then settles, for every real number pp, whether ∫1∞x−p dx\int_1^\infty x^{-p}\,dx is finite.

Key terms

Improper integral

Definition Let aa be a real number and let ff be integrable on [a,R][a, R] for every R>aR > a, for example continuous on [a,∞)[a, \infty). The improper integral of ff over [a,∞)[a, \infty) is defined as the limit

∫a∞f(x) dx=lim⁡R→∞∫aRf(x) dx.\begin{aligned} &\int_a^\infty f(x)\,dx \\[0.4em] &\quad = \lim_{R \to \infty} \int_a^R f(x)\,dx. \end{aligned}

An integral over (−∞,b](-\infty, b] is defined in the same way, with the lower limit tending to −∞-\infty. An integral over (−∞,∞)(-\infty, \infty) is split at a point cc into integrals over (−∞,c](-\infty, c] and [c,∞)[c, \infty), and each of the two must converge on its own. An integral whose integrand is unbounded near an endpoint, such as ∫01x−1/2 dx\int_0^1 x^{-1/2}\,dx, is also improper and is defined by a limit at that endpoint.

In plain words An infinite interval has no right endpoint to substitute into an antiderivative. So stop at a finite point RR, compute an ordinary integral, and watch what those finite totals do as RR moves off to infinity. The order matters. Compute the finite integral first and take the limit last.

Example For every R>0R > 0,

∫0Re−x dx=1−e−R,\int_0^R e^{-x}\,dx = 1 - e^{-R},

and e−R→0e^{-R} \to 0 as R→∞R \to \infty. So the improper integral ∫0∞e−x dx\int_0^\infty e^{-x}\,dx equals 11.

Convergent integral

Definition An improper integral converges, or is convergent, when its defining limit exists and is a finite real number. That number is the value of the integral. For an integral over [a,∞)[a, \infty) this means that ∫aRf(x) dx\int_a^R f(x)\,dx approaches one real number LL as R→∞R \to \infty, and then ∫a∞f(x) dx=L\int_a^\infty f(x)\,dx = L.

In plain words The finite totals settle on one number. An unbounded region can then have a finite area, because its heights far out shrink fast enough that the region beyond a distant point adds only a little.

Example For R>1R > 1,

∫1Rdxx2=[−1x]1R=1−1R.\int_1^R \frac{dx}{x^2} = \Bigl[-\frac{1}{x}\Bigr]_1^R = 1 - \frac{1}{R}.

At R=10R = 10 the total is 0.90.9, at R=100R = 100 it is 0.990.99, and as R→∞R \to \infty it approaches 11. So ∫1∞x−2 dx\int_1^\infty x^{-2}\,dx converges, and its value is 11.

Divergent integral

Definition An improper integral diverges, or is divergent, when its defining limit does not exist as a finite number. The finite totals may grow without bound, called divergence to +∞+\infty, fall without bound, called divergence to −∞-\infty, or keep changing without settling on any value. A divergent integral is not assigned a real value.

In plain words Heights that shrink to 00 are not enough for a finite area. Small heights spread over an unlimited stretch can still pile up an unlimited total.

Example The height 1/x1/\sqrt{x} tends to 00, yet for R>1R > 1

∫1Rdxx=2R−2,\int_1^R \frac{dx}{\sqrt{x}} = 2\sqrt{R} - 2,

which grows without bound. So ∫1∞x−1/2 dx\int_1^\infty x^{-1/2}\,dx diverges to +∞+\infty. The integral ∫0∞cos⁡x dx\int_0^\infty \cos x\,dx diverges in a different way. Its finite totals ∫0Rcos⁡x dx=sin⁡R\int_0^R \cos x\,dx = \sin R keep swinging between −1-1 and 11 and approach no limit.

The p-test for integrals

Definition Let pp be a real number. If p>1p > 1, then

∫1∞x−p dx=1p−1,\int_1^\infty x^{-p}\,dx = \frac{1}{p - 1},

and if p≤1p \le 1, the integral diverges to +∞+\infty. The companion statement near 00 says that ∫01x−p dx\int_0^1 x^{-p}\,dx converges exactly when p<1p < 1, with value 11−p\frac{1}{1 - p}, and diverges to +∞+\infty when p≥1p \ge 1. For p≤0p \le 0 that integrand is continuous on [0,1][0, 1], so the integral is an ordinary one.

In plain words Beyond x=1x = 1, the curve x−px^{-p} encloses a finite area exactly when p>1p > 1, that is, when it falls faster than the boundary curve 1/x1/x. The value 1p−1\frac{1}{p-1} belongs to the convergent side only. Near 00 the comparison reverses, and the area is finite exactly when the curve grows more slowly than 1/x1/x. No power has finite area over all of (0,∞)(0, \infty), because that would need p>1p > 1 and p<1p < 1 at once.

Example Here is the integral from the opening, worked from the definition. Let pp be real with p≠1p \ne 1, and let R>1R > 1. Raising the exponent −p-p by one gives

∫1Rx−p dx=[x1−p1−p]1R=R1−p−11−p,\begin{aligned} \int_1^R x^{-p}\,dx &= \left[\frac{x^{1-p}}{1-p}\right]_1^R \\[0.4em] &= \frac{R^{1-p} - 1}{1 - p}, \end{aligned}

since every real power of 11 equals 11. If p>1p > 1, the exponent 1−p1 - p is negative, so R1−p→0R^{1-p} \to 0 and the totals approach −11−p=1p−1\frac{-1}{1-p} = \frac{1}{p-1}. If p<1p < 1, the exponent and the denominator are both positive, so R1−p→∞R^{1-p} \to \infty and the totals grow without bound. That case includes 0<p<10 < p < 1, where the graph still falls toward 00, and p≤0p \le 0, where the height stays constant or grows. The remaining value p=1p = 1 is the next card. For instance, p=2p = 2 gives 11, p=32p = \tfrac32 gives 22 and p=1.1p = 1.1 gives 1010.

Boundary case p equals 1

Definition At p=1p = 1 the power rule antiderivative x1−p/(1−p)x^{1-p}/(1-p) is undefined, because it divides by 00. The integrand is then 1/x1/x, whose antiderivative on (0,∞)(0, \infty) is ln⁡x\ln x, so for R>1R > 1

∫1Rdxx=ln⁡R,\int_1^R \frac{dx}{x} = \ln R,

which grows without bound. Hence ∫1∞dx/x\int_1^\infty dx/x diverges to +∞+\infty. In the same way ∫t1dx/x=−ln⁡t\int_t^1 dx/x = -\ln t grows without bound as t→0+t \to 0^+, so ∫01dx/x\int_0^1 dx/x diverges too. The value p=1p = 1 therefore lies on the divergent side of both statements of the p-test, which is why their conditions are the strict inequalities p>1p > 1 and p<1p < 1.

In plain words The curve 1/x1/x is the dividing line. It falls toward 00, but just too slowly. Each stretch from xx to 2x2x is twice as wide as the stretch before it, and the curve over it is half as high, so every such stretch holds the same area, and infinitely many equal areas have no finite total.

Example For every whole number k≥0k \ge 0,

∫2k2k+1dxx=ln⁡2k+1−ln⁡2k=ln⁡2.\begin{aligned} \int_{2^k}^{2^{k+1}} \frac{dx}{x} &= \ln 2^{k+1} - \ln 2^k \\[0.4em] &= \ln 2. \end{aligned}

So the area from 11 to 2m2^m is mln⁡2m \ln 2, which passes every bound as mm grows. The growth is slow, since the area from 11 to one million is only ln⁡106≈13.8\ln 10^6 \approx 13.8, but it never stops. Close to the boundary the outcomes split. The power p=1.1p = 1.1 gives a finite area of 1010, while p=0.9p = 0.9 gives an infinite one.

Remaining tail

Definition Suppose ∫a∞f(x) dx\int_a^\infty f(x)\,dx converges. For R≥aR \ge a, its remaining tail beyond RR is

∫R∞f(x) dx=∫a∞f(x) dx−∫aRf(x) dx.\begin{aligned} \int_R^\infty f(x)\,dx &= \int_a^\infty f(x)\,dx \\[0.4em] &\quad - \int_a^R f(x)\,dx. \end{aligned}

The tail tends to 00 as R→∞R \to \infty, which restates convergence. For the p-test with p>1p > 1 and every R>0R > 0,

∫R∞x−p dx=R1−pp−1.\int_R^\infty x^{-p}\,dx = \frac{R^{1-p}}{p - 1}.

In plain words The tail is the part of the area that a computation stopped at RR leaves out. It says how far out to go for a required accuracy, which a graph cut off at some point cannot show.

Example For p=2p = 2 the total is 11 and the tail is 1/R1/R, so stopping at R=10R = 10 leaves out a tenth of the total and stopping at R=100R = 100 leaves out a hundredth. Near the boundary the tail shrinks very slowly. For p=1.1p = 1.1 the total is 1010 and the tail is 10R−0.110R^{-0.1}. At R=1000R = 1000 the tail is still about 5.015.01, more than half of the total, and it falls to 11 only at R=1010R = 10^{10}.

Check yourself

  1. Decide whether ∫1∞4x3 dx\int_1^\infty \frac{4}{x^3}\,dx converges, and find its value if it does.
Show the answer

For R>1R > 1,

∫1R4x3 dx=[−2x2]1R=2−2R2,\begin{aligned} \int_1^R \frac{4}{x^3}\,dx &= \Bigl[-\frac{2}{x^2}\Bigr]_1^R \\[0.4em] &= 2 - \frac{2}{R^2}, \end{aligned}

which approaches 22 as R→∞R \to \infty. The integral converges and equals 22. This agrees with the p-test for p=3p = 3, which gives 4⋅13−1=24 \cdot \frac{1}{3 - 1} = 2.

  1. Find ∫1∞x−3/2 dx\int_1^\infty x^{-3/2}\,dx. For which RR is the remaining tail beyond RR less than 0.010.01?
Show the answer

Here p=32>1p = \tfrac32 > 1, so the integral converges, with value 13/2−1=2\frac{1}{3/2 - 1} = 2. The tail beyond RR is

∫R∞x−3/2 dx=R−1/21/2=2R.\int_R^\infty x^{-3/2}\,dx = \frac{R^{-1/2}}{1/2} = \frac{2}{\sqrt{R}}.

It is less than 0.010.01 exactly when R>200\sqrt{R} > 200, that is, when R>40000R > 40000. So the integral up to RR comes within 0.010.01 of the total 22 only once RR passes 4000040000.

  1. A classmate uses the formula 1p−1\frac{1}{p-1} for ∫1∞x−2/3 dx\int_1^\infty x^{-2/3}\,dx and gets −3-3. What is wrong, and what is the correct conclusion?
Show the answer

The formula holds only for p>1p > 1, and here p=23p = \tfrac23. The negative result is already a warning sign, because the integrand is positive. Working from the definition, for R>1R > 1

∫1Rx−2/3 dx=[3x1/3]1R=3R1/3−3,\begin{aligned} \int_1^R x^{-2/3}\,dx &= \Bigl[3x^{1/3}\Bigr]_1^R \\[0.4em] &= 3R^{1/3} - 3, \end{aligned}

which grows without bound. At R=1000R = 1000 it already equals 2727. The integral diverges to +∞+\infty and has no value. The condition p>1p > 1 is part of the result, not a detail that can be dropped.

How this lesson connects