Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

Improper integrals

Print the chapter

Every lesson of the chapter, ready for paper. Exercise sets are lettered A, B, C… and answered at the end.

To save a PDF, choose “Save as PDF” in the print dialog.

1. Improper integrals over infinite intervals

Warm-up

Three quick questions from earlier lessons.

  1. Evaluate ∫03x2 dx\displaystyle\int_0^{ 3 } x^2\,dx.
  2. Evaluate ∫0π/5cos⁡x dx\displaystyle\int_0^{\pi/5} \cos x\,dx. Give an exact value.
  3. Evaluate ∫−14(2x+1) dx\displaystyle\int_{ -1 }^{ 4 } (2x + 1)\,dx.

Discover

∫1bdxx2=1−1b\displaystyle\int_1^b \dfrac{dx}{x^2} = 1 - \dfrac{1}{b}. For b=10b = 10, 100100, 10001000 this is 0.90.9, 0.990.99, 0.9990.999. What happens as b→∞b \to \infty?

  1. It approaches 1
  2. It grows without bound

Key idea

An infinite interval is handled with a limit.

∫a∞f(x) dx=lim⁡b→∞∫abf(x) dx\displaystyle\int_a^{\infty} f(x)\,dx = \lim_{b \to \infty} \int_a^b f(x)\,dx. If the limit is a number, the integral converges to it; otherwise it diverges.

Worked example

∫0∞e−2x dx\displaystyle\int_0^{\infty} e^{-2x}\,dx.

∫0be−2x dx=1−e−2b2\displaystyle\int_0^b e^{-2x}\,dx = \dfrac{1 - e^{-2b}}{2}
Integrate to b.
lim⁡b→∞1−e−2b2=12\displaystyle\lim_{b \to \infty} \dfrac{1 - e^{-2b}}{2} = \dfrac{1}{2}
e^{−2b} → 0.
Converges to 12\tfrac{1}{2}
A finite limit.

Your turn, guided

Your turn: ∫1∞dxx3\displaystyle\int_1^{\infty} \dfrac{dx}{x^3}.

=12= \tfrac{1}{2}
[−1/(2x²)] from 1 to b → 0 + ½.

Practice ★

  1. Evaluate ∫1∞dxx3\displaystyle\int_1^{\infty} \dfrac{dx}{x^{ 3 } }.
  2. Evaluate ∫1∞dxx16\displaystyle\int_1^{\infty} \dfrac{dx}{x^{ 16 } }.
  1. Evaluate ∫0∞e−4x dx\displaystyle\int_0^{\infty} e^{-4x}\,dx.
  2. Evaluate ∫0∞e−94x dx\displaystyle\int_0^{\infty} e^{-94x}\,dx.

Watch out!

Practice ★★

  1. What is ∫9∞dxx\displaystyle\int_{ 9 }^{\infty} \dfrac{dx}{x}?
    1. It diverges: ln⁡b→∞\ln b \to \infty
    2. It converges, because 1x→0\dfrac{1}{x} \to 0
    3. It equals ln⁡9\ln 9

Exit ticket

Three questions to check you have got it.

  1. Evaluate ∫1∞dxx3\displaystyle\int_1^{\infty} \dfrac{dx}{x^{ 3 } }.
  2. Evaluate ∫1∞dxx16\displaystyle\int_1^{\infty} \dfrac{dx}{x^{ 16 } }.
  3. Evaluate ∫1∞dxx2\displaystyle\int_1^{\infty} \dfrac{dx}{x^{ 2 } }.

Summary card

Infinite intervals

  1. Replace ∞\infty by bb.
  2. Integrate.
  3. Take lim⁡b→∞\lim_{b \to \infty}: a number means convergence.

Watch out: f→0f \to 0 does not guarantee convergence.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Evaluate ∫0∞x e−8x dx\displaystyle\int_0^{\infty} x\,e^{-8x}\,dx.

2. Improper integrals with infinite discontinuities

Warm-up

Three quick questions from earlier lessons.

  1. Evaluate ∫1∞dxx3\displaystyle\int_1^{\infty} \dfrac{dx}{x^{ 3 } }.
  2. Evaluate ∫0∞e−4x dx\displaystyle\int_0^{\infty} e^{-4x}\,dx.
  3. What is ∫9∞dxx\displaystyle\int_{ 9 }^{\infty} \dfrac{dx}{x}?
    1. It diverges: ln⁡b→∞\ln b \to \infty
    2. It converges, because 1x→0\dfrac{1}{x} \to 0
    3. It equals ln⁡9\ln 9

Discover

1x\dfrac{1}{\sqrt{x}} blows up at x=0x = 0. Yet ∫t1dxx=2−2t\displaystyle\int_t^1 \dfrac{dx}{\sqrt{x}} = 2 - 2\sqrt{t}. What happens as t→0+t \to 0^+?

  1. It approaches 2
  2. It diverges because 1x\tfrac{1}{\sqrt{x}} is unbounded

Key idea

Approach a vertical asymptote with a limit.

If ff is unbounded at aa: ∫abf(x) dx=lim⁡t→a+∫tbf(x) dx\displaystyle\int_a^b f(x)\,dx = \lim_{t \to a^+} \int_t^b f(x)\,dx. If the asymptote is inside [a,b][a, b], split there; the integral converges only if both parts do.

Worked example

∫08dxx3\displaystyle\int_0^8 \dfrac{dx}{\sqrt[3]{x}}.

∫t8x−1/3 dx=6−32t2/3\displaystyle\int_t^8 x^{-1/3}\,dx = 6 - \tfrac{3}{2}t^{2/3}
∫x^(−1/3) dx = (3/2)x^(2/3).
→6\to 6
t → 0⁺.

Your turn, guided

Your turn: ∫04dxx\displaystyle\int_0^4 \dfrac{dx}{\sqrt{x}}.

=4= 4
2√x from t to 4, t → 0.

Practice ★

  1. Evaluate ∫09dxx\displaystyle\int_0^{ 9 } \dfrac{dx}{\sqrt{x} }.
  2. Evaluate ∫0324dxx\displaystyle\int_0^{ 324 } \dfrac{dx}{\sqrt{x} }.
  3. Evaluate ∫01dxx\displaystyle\int_0^{ 1 } \dfrac{dx}{\sqrt{x} }.

Watch out!

Practice ★★

  1. What is ∫−22dxx2\displaystyle\int_{-2}^{ 2 } \dfrac{dx}{x^2}?
    1. It diverges: 1x2\dfrac{1}{x^2} is unbounded at x=0x = 0
    2. [−1x]−22=−22\left[-\dfrac{1}{x}\right]_{-2}^{ 2 } = -\dfrac{2}{ 2 }
    3. 0, by symmetry
  1. Evaluate ∫011ln⁡x dx\displaystyle\int_0^1 1\ln x\,dx.
  2. Evaluate ∫0186ln⁡x dx\displaystyle\int_0^1 86\ln x\,dx.

Exit ticket

Three questions to check you have got it.

  1. Evaluate ∫09dxx\displaystyle\int_0^{ 9 } \dfrac{dx}{\sqrt{x} }.
  2. Evaluate ∫0324dxx\displaystyle\int_0^{ 324 } \dfrac{dx}{\sqrt{x} }.
  3. Evaluate ∫01dxx\displaystyle\int_0^{ 1 } \dfrac{dx}{\sqrt{x} }.

Summary card

Infinite discontinuities

  • Look for asymptotes inside [a,b][a, b] before integrating.
  • Replace the bad end by tt; take the one-sided limit.

Watch out: never apply the FTC across an asymptote.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Evaluate ∫08x−2/3 dx\displaystyle\int_0^{ 8 } x^{-2/3}\,dx.

3. Convergence of improper integrals: the p-test

Warm-up

Three quick questions from earlier lessons.

  1. Evaluate ∫0∞xe−2x dx\displaystyle\int_0^{\infty} x e^{-2x}\,dx.
    1. An antiderivative of xe−2xxe^{-2x} (by parts):   ?\;?
    2. Its limit as x→∞x \to \infty:   ?\;?
    3. The value of the integral:   ?\;?
    4. Compare with a p-integral: ∫1∞dxx3=  ?\displaystyle\int_1^{\infty} \dfrac{dx}{x^{ 3 } } = \;?
    5. An integrand that blows up at 0: ∫01dxx=  ?\displaystyle\int_0^1 \dfrac{dx}{\sqrt{x} } = \;?
  2. Evaluate ∫09dxx\displaystyle\int_0^{ 9 } \dfrac{dx}{\sqrt{x} }.
  3. What is ∫−22dxx2\displaystyle\int_{-2}^{ 2 } \dfrac{dx}{x^2}?
    1. It diverges: 1x2\dfrac{1}{x^2} is unbounded at x=0x = 0
    2. [−1x]−22=−22\left[-\dfrac{1}{x}\right]_{-2}^{ 2 } = -\dfrac{2}{ 2 }
    3. 0, by symmetry

Discover

∫1∞dxx\displaystyle\int_1^{\infty} \dfrac{dx}{x} diverges and ∫1∞dxx2\displaystyle\int_1^{\infty} \dfrac{dx}{x^2} converges. What about ∫1∞dxx3\displaystyle\int_1^{\infty} \dfrac{dx}{x^3}?

  1. It converges
  2. It diverges

Key idea

Powers of xx decide convergence at once.

p-test: ∫1∞dxxp\displaystyle\int_1^{\infty} \dfrac{dx}{x^p} converges exactly when p>1p > 1 (to 1p−1\tfrac{1}{p - 1}). ∫01dxxp\displaystyle\int_0^1 \dfrac{dx}{x^p} converges exactly when p<1p < 1 (to 11−p\tfrac{1}{1 - p}). For p=1p = 1 both diverge.

Worked example

Classify three integrals.

∫1∞x−3/2 dx\displaystyle\int_1^{\infty} x^{-3/2}\,dx converges, to 22
p = 3/2 > 1 at ∞.
∫01x−1/2 dx\displaystyle\int_0^1 x^{-1/2}\,dx converges, to 22
p = 1/2 < 1 near 0.
∫1∞x−1/2 dx\displaystyle\int_1^{\infty} x^{-1/2}\,dx diverges
p = 1/2 ≤ 1 at ∞.

Your turn, guided

Your turn: the value of ∫1∞dxx4\displaystyle\int_1^{\infty} \dfrac{dx}{x^4}.

13\tfrac{1}{3}
1/(p − 1) with p = 4.

Practice ★

  1. For which pp does ∫2∞dxxp\displaystyle\int_{ 2 }^{\infty} \dfrac{dx}{x^p} converge?
    1. p>1p > 1
    2. p≥1p \ge 1
    3. p<1p < 1
  1. Evaluate ∫3∞5x3 dx\displaystyle\int_{ 3 }^{\infty} \dfrac{ 5 }{x^3}\,dx.
  2. Evaluate ∫4∞1x3 dx\displaystyle\int_{ 4 }^{\infty} \dfrac{ 1 }{x^3}\,dx.

Watch out!

Practice ★★

  1. Which improper integrals converge? Tick all that do.
    1. ∫1∞3x2 dx\displaystyle\int_1^{\infty} \dfrac{ 3 }{x^2}\,dx
    2. ∫013x dx\displaystyle\int_0^1 \dfrac{ 3 }{\sqrt{x} }\,dx
    3. ∫0∞e−3x dx\displaystyle\int_0^{\infty} e^{-3x}\,dx
    4. ∫1∞3x dx\displaystyle\int_1^{\infty} \dfrac{ 3 }{\sqrt{x} }\,dx
    5. ∫013x2 dx\displaystyle\int_0^1 \dfrac{ 3 }{x^2}\,dx
  2. Which improper integrals converge? Tick all that do.
    1. ∫1∞5x2 dx\displaystyle\int_1^{\infty} \dfrac{ 5 }{x^2}\,dx
    2. ∫015x dx\displaystyle\int_0^1 \dfrac{ 5 }{\sqrt{x} }\,dx
    3. ∫0∞e−5x dx\displaystyle\int_0^{\infty} e^{-5x}\,dx
    4. ∫1∞5x dx\displaystyle\int_1^{\infty} \dfrac{ 5 }{\sqrt{x} }\,dx
    5. ∫015x2 dx\displaystyle\int_0^1 \dfrac{ 5 }{x^2}\,dx

Exit ticket

Three questions to check you have got it.

  1. Evaluate ∫3∞5x3 dx\displaystyle\int_{ 3 }^{\infty} \dfrac{ 5 }{x^3}\,dx.
  2. Evaluate ∫4∞1x3 dx\displaystyle\int_{ 4 }^{\infty} \dfrac{ 1 }{x^3}\,dx.
  3. Evaluate ∫4∞4x3 dx\displaystyle\int_{ 4 }^{\infty} \dfrac{ 4 }{x^3}\,dx.

Summary card

The p-test

  • ∫1∞x−p dx\int_1^{\infty} x^{-p}\,dx: converges for p>1p > 1.
  • ∫01x−p dx\int_0^1 x^{-p}\,dx: converges for p<1p < 1.
  • p=1p = 1: both diverge.

Watch out: the condition flips between ∞\infty and 00.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Evaluate ∫5∞3x2 dx\displaystyle\int_{ 5 }^{\infty} \dfrac{ 3 }{x^2}\,dx.

4. The trapezoidal rule

Discover

Many integrals have no antiderivative you can write down, such as ∫01e−x2 dx\displaystyle\int_0^1 e^{-x^2}\,dx. How can we still get its value?

  1. Add up the areas of simple shapes under the curve
  2. It has no value

Key idea

The trapezoidal rule.

Cut [a,b][a, b] into nn strips of width h=b−anh = \dfrac{b - a}{n}. Then

∫abf(x) dx≈h2(f(x0)+2f(x1)+⋯+2f(xn−1)+f(xn))\displaystyle\int_a^b f(x)\,dx \approx \dfrac{h}{2}\big(f(x_0) + 2f(x_1) + \dots + 2f(x_{n-1}) + f(x_n)\big).

Worked example

Estimate ∫02x2 dx\displaystyle\int_0^2 x^2\,dx with 2 strips.

12(0+2×1+4)\dfrac{1}{2}(0 + 2 \times 1 + 4)
h=1h = 1; the values are f(0)=0f(0) = 0, f(1)=1f(1) = 1, f(2)=4f(2) = 4.
=3= 3
The exact value is 83≈2.67\tfrac{8}{3} \approx 2.67.

Your turn, guided

Your turn: estimate ∫02x dx\displaystyle\int_0^2 x\,dx with 2 strips.

22
12(0+2×1+2)\dfrac{1}{2}(0 + 2 \times 1 + 2).

Practice ★

  1. Estimate ∫02(x2+4) dx\displaystyle\int_0^2 (x^2 + 4)\,dx with the trapezoidal rule and 2 strips.
  2. Estimate ∫02(x2+6) dx\displaystyle\int_0^2 (x^2 + 6)\,dx with the trapezoidal rule and 2 strips.
  3. Estimate ∫02(x2+9) dx\displaystyle\int_0^2 (x^2 + 9)\,dx with the trapezoidal rule and 2 strips.

Practice ★★

  1. Estimate ∫04(x2+9) dx\displaystyle\int_0^4 (x^2 + 9)\,dx with the trapezoidal rule and 4 strips.
  2. Estimate ∫04(x2+0) dx\displaystyle\int_0^4 (x^2 + 0)\,dx with the trapezoidal rule and 4 strips.

Exit ticket

Two questions to check.

  1. Estimate ∫02(x2+4) dx\displaystyle\int_0^2 (x^2 + 4)\,dx with the trapezoidal rule and 2 strips.
  2. Estimate ∫02(x2+6) dx\displaystyle\int_0^2 (x^2 + 6)\,dx with the trapezoidal rule and 2 strips.

Summary card

Trapezoidal rule

  • Width hh; inner values count twice.
  • More strips give a better estimate.

Calculators and computers integrate this way, with refined rules.

5. History of the integral: from Archimedes to Riemann

Discover

Archimedes of Syracuse (287–212 BC) found the area of a segment of a parabola, and the volume of a sphere. He had no formulas for antiderivatives. How could he do it?

  1. By filling the shape with more and more pieces of known area
  2. By weighing water in a sphere

Key idea

From slices to the integral sign.

150010001500c. 250 BCEArchimedesc. 250 BCEArchimedes
  1. Step 1150010001500c. 250 BCEArchimedesc. 250 BCEArchimedesArchimedes c. 287 – 212 BCImagined portraitDomenico Fetti, about 1620. Public domainArchimedes (287–212 BC) squeezes areas and volumes between shapes he knows: the method of exhaustion.
  2. Step 2150010001500c. 250 BCEArchimedes1635Cavalieric. 250 BCEArchimedes1635CavalieriBonaventura Cavalieri 1598–1647Giuseppe Fusinati, 1837. CC0 1.01635: Cavalieri's indivisibles: shapes made of infinitely thin slices.
  3. Step 3150010001500c. 250 BCEArchimedes1635Cavalieri1675Leibnizc. 250 BCEArchimedes1635Cavalieri1675LeibnizGottfried Wilhelm Leibniz 1646–1716Christoph Bernhard Francke, before 1729. Public domain1675: Leibniz writes the integral sign for the first time.
  4. Step 4150010001500c. 250 BCEArchimedes1635Cavalieri1675Leibnizc. 1854Riemannc. 250 BCEArchimedes1635Cavalieri1675Leibnizc. 1854RiemannBernhard Riemann 1826–1866Unknown artist, 1863. Public domain1850s: Riemann defines the integral as a limit of sums of rectangles, the definition taught today.

Cavalieri (1635) thought of areas and volumes as made of infinitely thin slices, his indivisibles. Leibniz wrote ∫f(x) dx\displaystyle\int f(x)\,dx in 1675. Riemann gave the exact definition in the 1850s: the limit of sums of thin rectangles.

Worked example

Archimedes showed that a sphere's volume is 23\tfrac{2}{3} of the cylinder around it. Our check with a radius rr:

Vcyl=πr2×2r=2πr3V_{\text{cyl}} = \pi r^2 \times 2r = 2\pi r^3
The cylinder has radius rr and height 2r2r.
23×2πr3=43πr3\tfrac{2}{3} \times 2\pi r^3 = \tfrac{4}{3}\pi r^3, the sphere
Two thirds of it:

Practice ★

  1. What do we call Archimedes' way of finding areas, an early form of integration?
    1. The method of exhaustion
    2. The trapezoidal rule
    3. Riemann sums
  1. Archimedes: a sphere's volume is 23\tfrac{2}{3} of the cylinder around it. The cylinder holds 18 liters. How many liters does the sphere hold?
  2. Archimedes: a sphere's volume is 23\tfrac{2}{3} of the cylinder around it. The cylinder holds 51 liters. How many liters does the sphere hold?
  1. A Riemann sum, as Riemann defined it: estimate ∫03x dx\displaystyle\int_0^{ 3 } x\,dx with 3 rectangles of width 1, using the left end of each strip.

Summary card

Integrals today

  • Distance from speed, as in a car's trip computer.
  • Areas and volumes in design and medicine: a scanner adds up thin slices.
  • Probability: areas under curves give chances.

Sources: MacTutor biographies of Archimedes, Cavalieri, Leibniz and Riemann (see "Sources and credits").