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.

Integrals

Print the topic

Every lesson of the topic, from the first year to the last, 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. Distance and displacement from velocity

Warm-up

Three quick questions from earlier lessons.

  1. A ball's position is s(t)=2t2+4ts(t) = 2t^2 + 4t meters after tt seconds. Find its average velocity on [0,5][0, 5], in m/s.
  2. s(t)=5t2s(t) = 5t^2. Simplify the average velocity on [3,3+h][3, 3 + h], s(3+h)−s(3)h\dfrac{s(3 + h) - s(3)}{h} for h≠0h \ne 0. Enter an expression in hh.
  3. s(t)=1t2+2ts(t) = 1t^2 + 2t meters. The average velocity on [4,4+h][4, 4 + h] simplifies to 10+1h10 + 1h m/s. Find the instantaneous velocity at t=4t = 4, in m/s.

Discover

A cyclist rides at a steady 12 mph for 2 hours. On a graph of velocity against time, that is a horizontal line at 12 from t=0t = 0 to t=2t = 2. What is the area of the rectangle under it, and what does it mean?

  1. 24: the distance in miles
  2. 14: the sum of the numbers

Key idea

Area under a rate graph gives the total change.

If v(t)≥0v(t) \ge 0 is a velocity, the area between its graph and the tt-axis on [a,b][a, b] is the distance traveled. If vv is sometimes negative, areas below the axis count negatively and the signed total is the displacement.

Worked example

v(t)=3tv(t) = 3t m/s. How far does the object go from t=0t = 0 to t=4t = 4?

  1. Step 1The velocity grows steadily: v(t) = 3t.
  2. Step 2The distance is the area under the graph from 0 to 4.
  3. Step 3A triangle: ½ · 4 · 12 = 24 meters.

Base 44, height v(4)=12v(4) = 12
The region under v is a triangle.
Area =12⋅4⋅12=24= \tfrac{1}{2} \cdot 4 \cdot 12 = 24
½ × base × height.
Distance: 2424 m
Units: m/s × s.

Your turn, guided

Your turn: 30 mph for 2 hours, then 50 mph for 1 hour.

Distance: 110110 miles
60 + 50.

Practice ★

  1. A car drives at 40 mph for 1 hours, then at 20 mph until hour 4. How far does it travel, in miles?
  2. A car drives at 62 mph for 3 hours, then at 43 mph until hour 4. How far does it travel, in miles?
  1. From rest, a cart's velocity is v(t)=4tv(t) = 4t m/s. How far does it go in the first 6 seconds, in meters?
  2. From rest, a cart's velocity is v(t)=12tv(t) = 12t m/s. How far does it go in the first 10 seconds, in meters?

Watch out!

Practice ★★

  1. A particle's velocity is v(t)=t−1v(t) = t - 1 m/s. Find its displacement from t=0t = 0 to t=8t = 8, in meters (areas below the axis count as negative).
  2. A particle's velocity is v(t)=t−3v(t) = t - 3 m/s. Find its displacement from t=0t = 0 to t=5t = 5, in meters (areas below the axis count as negative).

Exit ticket

Three questions to check you have got it.

  1. From rest, a cart's velocity is v(t)=4tv(t) = 4t m/s. How far does it go in the first 6 seconds, in meters?
  2. From rest, a cart's velocity is v(t)=12tv(t) = 12t m/s. How far does it go in the first 10 seconds, in meters?
  3. From rest, a cart's velocity is v(t)=3tv(t) = 3t m/s. How far does it go in the first 5 seconds, in meters?

Summary card

Distance from velocity

  • Area under vv = distance (when v≥0v \ge 0).
  • Signed area (below the axis negative) = displacement.

Watch out: use the right area formula, ½ for triangles.

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

Challenge ★★★

  1. A cart moves at 10 m/s for 8 s, then slows down steadily to rest over the next 8 s. How far does it travel in all (m)?

2. Riemann sums

Warm-up

Three quick questions from earlier lessons.

  1. A car drives at 40 mph for 1 hours, then at 20 mph until hour 4. How far does it travel, in miles?
  2. From rest, a cart's velocity is v(t)=4tv(t) = 4t m/s. How far does it go in the first 6 seconds, in meters?
  3. A particle's velocity is v(t)=t−1v(t) = t - 1 m/s. Find its displacement from t=0t = 0 to t=8t = 8, in meters (areas below the axis count as negative).

Discover

To estimate the area under y=x2y = x^2 on [0,2][0, 2], you use two rectangles of width 1 whose heights are taken at the left ends, f(0)f(0) and f(1)f(1). Is the estimate too small or too big?

  1. Too small
  2. Too big

Key idea

Rectangles approximate area; thinner rectangles do better.

  1. Step 12 rectangles: 2 · 1 + 2 · 2 = 6.
  2. Step 24 rectangles: 1 + 1.25 + 2 + 3.25 = 7.5 — closer.
  3. Step 3More and thinner rectangles approach the exact area, 28/3 ≈ 9.33.

Split [a,b][a, b] into nn pieces of width Δx=b−an\Delta x = \dfrac{b - a}{n}. A Riemann sum adds f(xi∗) Δxf(x_i^*)\,\Delta x, with xi∗x_i^* the left end, right end or midpoint of each piece. For increasing ff, left sums underestimate and right sums overestimate.

Worked example

Right sum for ∫03x2 dx\displaystyle\int_0^3 x^2\,dx with 3 pieces.

Δx=1\Delta x = 1
Width 1; right ends 1, 2, 3.
1+4+9=141 + 4 + 9 = 14
Heights f(1), f(2), f(3).
R3=14R_3 = 14
Compare with the exact value 9: an overestimate.

Your turn, guided

Your turn: the left sum for the same integral, 3 pieces.

L3=5L_3 = 5
f(0) + f(1) + f(2).

Practice ★

  1. Estimate ∫05x2 dx\displaystyle\int_0^{ 5 } x^2\,dx with a left Riemann sum of 5 subintervals of width 1.
  2. Estimate ∫06x2 dx\displaystyle\int_0^{ 6 } x^2\,dx with a left Riemann sum of 6 subintervals of width 1.
  3. Estimate ∫04x2 dx\displaystyle\int_0^{ 4 } x^2\,dx with a left Riemann sum of 4 subintervals of width 1.

Watch out!

Practice ★★

  1. Estimate ∫04(x2+4) dx\displaystyle\int_0^4 (x^2 + 4)\,dx with a midpoint sum of 2 subintervals.
  2. Estimate ∫04(x2+2) dx\displaystyle\int_0^4 (x^2 + 2)\,dx with a midpoint sum of 2 subintervals.
  1. ff is increasing on [0,7][0, 7]. How does a left Riemann sum compare with ∫07f(x) dx\displaystyle\int_0^{ 7 } f(x)\,dx?
    1. It underestimates: each rectangle uses the lowest height on its piece
    2. It overestimates
    3. It is exact

Exit ticket

Three questions to check you have got it.

  1. Estimate ∫05x2 dx\displaystyle\int_0^{ 5 } x^2\,dx with a left Riemann sum of 5 subintervals of width 1.
  2. Estimate ∫06x2 dx\displaystyle\int_0^{ 6 } x^2\,dx with a left Riemann sum of 6 subintervals of width 1.
  3. Estimate ∫04x2 dx\displaystyle\int_0^{ 4 } x^2\,dx with a left Riemann sum of 4 subintervals of width 1.

Summary card

Riemann sums

  • Δx=(b−a)/n\Delta x = (b - a)/n; add height × Δx\Delta x.
  • Left, right or midpoint heights.
  • Increasing ff: left under, right over.

Watch out: multiply by the width.

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

Challenge ★★★

  1. Estimate ∫07x dx\displaystyle\int_0^{ 7 } x\,dx with a right Riemann sum of 7 subintervals of width 1.

3. The definite integral and its properties

Warm-up

Three quick questions from earlier lessons.

  1. Estimate ∫05x2 dx\displaystyle\int_0^{ 5 } x^2\,dx with a left Riemann sum of 5 subintervals of width 1.
  2. Estimate ∫04(x2+4) dx\displaystyle\int_0^4 (x^2 + 4)\,dx with a midpoint sum of 2 subintervals.
  3. ff is increasing on [0,7][0, 7]. How does a left Riemann sum compare with ∫07f(x) dx\displaystyle\int_0^{ 7 } f(x)\,dx?
    1. It underestimates: each rectangle uses the lowest height on its piece
    2. It overestimates
    3. It is exact

Discover

∫02(−3) dx\displaystyle\int_0^2 (-3)\,dx: the graph y=−3y = -3 lies below the axis. What is the integral?

  1. −6-6
  2. 66

Key idea

The definite integral is the limit of Riemann sums: a signed area.

∫abf(x) dx=lim⁡n→∞∑f(xi∗)Δx\displaystyle\int_a^b f(x)\,dx = \lim_{n \to \infty} \sum f(x_i^*)\Delta x. Properties: ∫baf=−∫abf\displaystyle\int_b^a f = -\int_a^b f; ∫acf=∫abf+∫bcf\displaystyle\int_a^c f = \int_a^b f + \int_b^c f; ∫ab(kf+g)=k∫abf+∫abg\displaystyle\int_a^b (kf + g) = k\int_a^b f + \int_a^b g; ∫abc dx=c(b−a)\displaystyle\int_a^b c\,dx = c(b - a).

Worked example

∫04f=5\displaystyle\int_0^4 f = 5 and ∫46f=−2\displaystyle\int_4^6 f = -2. Find ∫06(2f(x)−1) dx\displaystyle\int_0^6 \big(2f(x) - 1\big)\,dx.

∫06f=5+(−2)=3\displaystyle\int_0^6 f = 5 + (-2) = 3
Join the intervals.
2⋅3−1⋅62 \cdot 3 - 1 \cdot 6
Linearity; the constant −1 over a length of 6.
=0= 0
Compute.

Your turn, guided

Your turn: with the same ff, find ∫60f(x) dx\displaystyle\int_6^0 f(x)\,dx.

−3-3
Reverse the limits: change the sign.

Practice ★

  1. ∫13f(x) dx=7\displaystyle\int_1^3 f(x)\,dx = 7 and ∫37f(x) dx=−4\displaystyle\int_3^7 f(x)\,dx = -4. Find ∫71f(x) dx\displaystyle\int_7^1 f(x)\,dx.
  2. ∫13f(x) dx=−7\displaystyle\int_1^3 f(x)\,dx = -7 and ∫37f(x) dx=8\displaystyle\int_3^7 f(x)\,dx = 8. Find ∫71f(x) dx\displaystyle\int_7^1 f(x)\,dx.
  1. Use geometry: find ∫−111−x2 dx\displaystyle\int_{-1}^{ 1 } \sqrt{ 1 - x^2}\,dx.
  2. Use geometry: find ∫−1919361−x2 dx\displaystyle\int_{-19}^{ 19 } \sqrt{ 361 - x^2}\,dx.

Watch out!

Practice ★★

  1. ∫04f(x) dx=9\displaystyle\int_0^{ 4 } f(x)\,dx = 9. Find ∫04(3f(x)+2) dx\displaystyle\int_0^{ 4 } \big(3f(x) + 2\big)\,dx.
  2. ∫020f(x) dx=−23\displaystyle\int_0^{ 20 } f(x)\,dx = -23. Find ∫020(3f(x)+2) dx\displaystyle\int_0^{ 20 } \big(3f(x) + 2\big)\,dx.

Exit ticket

Three questions to check you have got it.

  1. ∫13f(x) dx=7\displaystyle\int_1^3 f(x)\,dx = 7 and ∫37f(x) dx=−4\displaystyle\int_3^7 f(x)\,dx = -4. Find ∫71f(x) dx\displaystyle\int_7^1 f(x)\,dx.
  2. ∫13f(x) dx=−7\displaystyle\int_1^3 f(x)\,dx = -7 and ∫37f(x) dx=8\displaystyle\int_3^7 f(x)\,dx = 8. Find ∫71f(x) dx\displaystyle\int_7^1 f(x)\,dx.
  3. ∫13f(x) dx=5\displaystyle\int_1^3 f(x)\,dx = 5 and ∫37f(x) dx=7\displaystyle\int_3^7 f(x)\,dx = 7. Find ∫71f(x) dx\displaystyle\int_7^1 f(x)\,dx.

Summary card

The definite integral

  • Signed area: below the axis is negative.
  • Reverse the limits: change the sign. Adjacent intervals add.
  • ∫abc dx=c(b−a)\displaystyle\int_a^b c\,dx = c(b - a).

Watch out: a constant is integrated over the whole length.

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

Challenge ★★★

  1. Evaluate ∫−22(x3+4) dx\displaystyle\int_{-2}^{ 2 } (x^3 + 4)\,dx without an antiderivative.

4. Antiderivatives

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=ln⁡(9x)f(x) = \ln(9x) for x>0x > 0. Find f′(x)f'(x).
  2. f(x)=ln⁡(x2+2)f(x) = \ln(x^2 + 2). Find f′(x)f'(x).
  3. f(x)=arctan⁡(7x)f(x) = \arctan(7x). Find f′(x)f'(x).

Discover

Which function has derivative 3x23x^2?

  1. x3x^3
  2. 6x6x

Key idea

Run the derivative rules backwards. Antiderivatives differ by a constant CC.

∫xn dx=xn+1n+1+C\displaystyle\int x^n\,dx = \dfrac{x^{n+1}}{n + 1} + C (n≠−1n \ne -1); ∫1x dx=ln⁡∣x∣+C\displaystyle\int \dfrac{1}{x}\,dx = \ln|x| + C; ∫ex dx=ex+C\displaystyle\int e^x\,dx = e^x + C; ∫cos⁡x dx=sin⁡x+C\displaystyle\int \cos x\,dx = \sin x + C; ∫sin⁡x dx=−cos⁡x+C\displaystyle\int \sin x\,dx = -\cos x + C. A given value such as F(0)F(0) fixes CC.

Worked example

Find FF with F′(x)=4x3+sin⁡xF'(x) = 4x^3 + \sin x and F(0)=2F(0) = 2.

F(x)=x4−cos⁡x+CF(x) = x^4 - \cos x + C
Term by term.
C=3C = 3
F(0) = 0 − 1 + C = 2.
F(x)=x4−cos⁡x+3F(x) = x^4 - \cos x + 3
Check by differentiating.

Your turn, guided

Your turn: F′(x)=6x2F'(x) = 6x^2, F(0)=0F(0) = 0.

F(x)=2x3F(x) = 2x^3
6x³/3.

Practice ★

  1. Find the antiderivative FF of f(x)=3x2+2f(x) = 3x^{ 2 } + 2 with F(0)=0F(0) = 0.
  2. Find the antiderivative FF of f(x)=30x6+30f(x) = 30x^{ 6 } + 30 with F(0)=0F(0) = 0.
  3. Find the antiderivative FF of f(x)=3x2+9f(x) = 3x^{ 2 } + 9 with F(0)=0F(0) = 0.

Watch out!

Practice ★★

  1. Find the antiderivative FF of f(x)=cos⁡x+exf(x) = \cos x + e^x with F(0)=5F(0) = 5.
  2. Find the antiderivative FF of f(x)=cos⁡x+exf(x) = \cos x + e^x with F(0)=47F(0) = 47.
  1. Find the antiderivative FF of f(x)=1xf(x) = \dfrac{1}{x}, for x>0x > 0, with F(1)=−9F(1) = -9.
  2. Find the antiderivative FF of f(x)=1xf(x) = \dfrac{1}{x}, for x>0x > 0, with F(1)=8F(1) = 8.

Exit ticket

Three questions to check you have got it.

  1. Find the antiderivative FF of f(x)=3x2+2f(x) = 3x^{ 2 } + 2 with F(0)=0F(0) = 0.
  2. Find the antiderivative FF of f(x)=30x6+30f(x) = 30x^{ 6 } + 30 with F(0)=0F(0) = 0.
  3. Find the antiderivative FF of f(x)=3x2+9f(x) = 3x^{ 2 } + 9 with F(0)=0F(0) = 0.

Summary card

Antiderivatives

  • xn→xn+1n+1x^n \to \dfrac{x^{n+1}}{n+1}; 1x→ln⁡∣x∣\tfrac{1}{x} \to \ln|x|; ex→exe^x \to e^x; cos⁡→sin⁡\cos \to \sin; sin⁡→−cos⁡\sin \to -\cos.
  • Use a given value to find CC.

Watch out: check by differentiating.

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

Challenge ★★★

  1. Find the antiderivative FF of f(x)=5x2f(x) = \dfrac{ 5 }{x^2} on (0,∞)(0, \infty) with F(1)=0F(1) = 0.

5. The Fundamental Theorem of Calculus: evaluating integrals

Warm-up

Three quick questions from earlier lessons.

  1. Use geometry: find ∫−111−x2 dx\displaystyle\int_{-1}^{ 1 } \sqrt{ 1 - x^2}\,dx.
  2. ∫13f(x) dx=7\displaystyle\int_1^3 f(x)\,dx = 7 and ∫37f(x) dx=−4\displaystyle\int_3^7 f(x)\,dx = -4. Find ∫71f(x) dx\displaystyle\int_7^1 f(x)\,dx.
  3. ∫04f(x) dx=9\displaystyle\int_0^{ 4 } f(x)\,dx = 9. Find ∫04(3f(x)+2) dx\displaystyle\int_0^{ 4 } \big(3f(x) + 2\big)\,dx.

Discover

v(t)v(t) is a velocity and s(t)s(t) the position, so s′=vs' = v. The area under vv on [a,b][a, b] is the change in position. Which expression is it?

  1. s(b)−s(a)s(b) - s(a)
  2. s(a)−s(b)s(a) - s(b)

Key idea

No more limits of sums: use an antiderivative.

Fundamental Theorem of Calculus: if ff is continuous on [a,b][a, b] and F′=fF' = f, then ∫abf(x) dx=F(b)−F(a)\displaystyle\int_a^b f(x)\,dx = F(b) - F(a).

Worked example

Evaluate ∫13(x2+1) dx\displaystyle\int_1^3 (x^2 + 1)\,dx.

F(x)=x33+xF(x) = \dfrac{x^3}{3} + x
An antiderivative.
F(3)−F(1)=12−43F(3) - F(1) = 12 - \tfrac{4}{3}
F(3) = 12, F(1) = 4/3.
=323= \tfrac{32}{3}
Compute.

Your turn, guided

Your turn: ∫023x2 dx\displaystyle\int_0^2 3x^2\,dx.

=8= 8
F(x) = x³: F(2) − F(0).

Practice ★

  1. Evaluate ∫03x2 dx\displaystyle\int_0^{ 3 } x^2\,dx.
  2. Evaluate ∫010x2 dx\displaystyle\int_0^{ 10 } x^2\,dx.
  3. Evaluate ∫06x2 dx\displaystyle\int_0^{ 6 } x^2\,dx.

Watch out!

Practice ★★

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

Exit ticket

Three questions to check you have got it.

  1. Evaluate ∫−14(2x+1) dx\displaystyle\int_{ -1 }^{ 4 } (2x + 1)\,dx.
  2. Evaluate ∫010(2x+21) dx\displaystyle\int_{ 0 }^{ 10 } (2x + 21)\,dx.
  3. Evaluate ∫05(2x+1) dx\displaystyle\int_{ 0 }^{ 5 } (2x + 1)\,dx.

Summary card

Fundamental Theorem (evaluation)

∫abf(x) dx=F(b)−F(a)\displaystyle\int_a^b f(x)\,dx = F(b) - F(a), with F′=fF' = f.

Watch out: upper minus lower; check the antiderivative's signs.

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

Challenge ★★★

  1. Evaluate ∫01e4x dx\displaystyle\int_0^1 e^{ 4x}\,dx exactly.

6. The average value of a function

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

The violet curve is y=x2y = x^2 on [0,3][0, 3]; the blue line is y=ay = a. Move aa until the rectangle under the line on [0,3][0, 3] has the same area as the region under the curve, ∫03x2 dx=9\displaystyle\int_0^3 x^2\,dx = 9.

The parabola y = x² on [0, 3] and a horizontal line y = a. At a = 3 the rectangle of width 3 under the line has area 9, the same as under the curve.

Which height aa works?

  1. a=3a = 3
  2. a=4.5a = 4.5

Key idea

The average value is the height of the rectangle with the same area.

The average value of ff on [a,b][a, b] is 1b−a∫abf(x) dx\dfrac{1}{b - a}\displaystyle\int_a^b f(x)\,dx.

Worked example

Average value of f(x)=2x+1f(x) = 2x + 1 on [0,4][0, 4].

∫04(2x+1) dx=20\displaystyle\int_0^4 (2x + 1)\,dx = 20
F(x) = x² + x.
Average =204=5= \tfrac{20}{4} = 5
Divide by the length 4.

Your turn, guided

Your turn: average of f(x)=3x2f(x) = 3x^2 on [0,2][0, 2].

Average =4= 4
∫ = 8; divide by 2.

Practice ★

  1. Find the average value of f(x)=x2f(x) = x^2 on [0,3][0, 3].
  2. Find the average value of f(x)=x2f(x) = x^2 on [0,23][0, 23].
  3. Find the average value of f(x)=x2f(x) = x^2 on [0,6][0, 6].

Watch out!

Practice ★★

  1. v(t)=2t+9v(t) = 2t + 9 m/s. Find the average velocity on [0,2][0, 2], in m/s.
  2. v(t)=29t+29v(t) = 29t + 29 m/s. Find the average velocity on [0,10][0, 10], in m/s.
  1. Find the average value of f(x)=2sin⁡xf(x) = 2\sin x on [0,π][0, \pi]. Give an exact value.

Exit ticket

Three questions to check you have got it.

  1. Find the average value of f(x)=x2f(x) = x^2 on [0,3][0, 3].
  2. Find the average value of f(x)=x2f(x) = x^2 on [0,23][0, 23].
  3. Find the average value of f(x)=x2f(x) = x^2 on [0,6][0, 6].

Summary card

Average value

favg=1b−a∫abf(x) dxf_{\text{avg}} = \dfrac{1}{b - a}\displaystyle\int_a^b f(x)\,dx.

Watch out: divide by the length; do not just average the end values.

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

Challenge ★★★

  1. Find the average value of exe^x on [0,ln⁡5][0, \ln 5] exactly.

7. Accumulation functions: the Fundamental Theorem, part 2

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=(3x+6)2f(x) = (3x + 6)^{ 2 }. Find f′(x)f'(x).
  2. f(x)=sin⁡(3x2)f(x) = \sin(3x^2). Find f′(x)f'(x).
  3. f(x)=e3x2f(x) = e^{ 3x^2}. Find f′(x)f'(x).

Discover

g(x)=∫0x2t dtg(x) = \displaystyle\int_0^x 2t\,dt is the area under y=2ty = 2t from 0 to xx, which is x2x^2. What is g′(x)g'(x)?

  1. 2x2x
  2. x2x^2

Key idea

The area function grows at the rate of the height.

Fundamental Theorem, part 2: if ff is continuous, g(x)=∫axf(t) dtg(x) = \displaystyle\int_a^x f(t)\,dt has g′(x)=f(x)g'(x) = f(x). With a variable upper limit u(x)u(x): ddx∫au(x)f(t) dt=f(u(x)) u′(x)\dfrac{d}{dx}\displaystyle\int_a^{u(x)} f(t)\,dt = f(u(x))\,u'(x).

Worked example

g(x)=∫1x3t dtg(x) = \displaystyle\int_1^{x^3} \sqrt{t}\,dt. Find g′(x)g'(x).

g(x)=F(x3)g(x) = F(x^3) with F′=tF' = \sqrt{t}
Upper limit u = x³.
g′(x)=x3⋅3x2g'(x) = \sqrt{x^3} \cdot 3x^2
Chain rule.

Your turn, guided

Your turn: g(x)=∫2x(t3−t) dtg(x) = \displaystyle\int_2^x (t^3 - t)\,dt.

g′(x)=x3−xg'(x) = x^3 - x
FTC part 2.

Practice ★

  1. g(x)=∫3x(t2+2) dtg(x) = \displaystyle\int_{ 3 }^{x} (t^{ 2 } + 2)\,dt. Find g′(x)g'(x).
  2. g(x)=∫−1x(t6+47) dtg(x) = \displaystyle\int_{ -1 }^{x} (t^{ 6 } + 47)\,dt. Find g′(x)g'(x).
  3. g(x)=∫4x(t3+7) dtg(x) = \displaystyle\int_{ 4 }^{x} (t^{ 3 } + 7)\,dt. Find g′(x)g'(x).

Watch out!

Practice ★★

  1. g(x)=∫0x4cos⁡t dtg(x) = \displaystyle\int_0^{x^{ 4 } } \cos t\,dt. Find g′(x)g'(x).
  2. g(x)=∫0x3cos⁡t dtg(x) = \displaystyle\int_0^{x^{ 3 } } \cos t\,dt. Find g′(x)g'(x).
  1. Here is the graph of y=f(t)y = f(t). Let g(x)=∫−5xf(t) dtg(x) = \displaystyle\int_{-5}^{x} f(t)\,dt. Tap the point of this graph at the xx-value where gg has a local maximum.
  2. Here is the graph of y=f(t)y = f(t). Let g(x)=∫−5xf(t) dtg(x) = \displaystyle\int_{-5}^{x} f(t)\,dt. Tap the point of this graph at the xx-value where gg has a local maximum.

Exit ticket

Three questions to check you have got it.

  1. g(x)=∫3x(t2+2) dtg(x) = \displaystyle\int_{ 3 }^{x} (t^{ 2 } + 2)\,dt. Find g′(x)g'(x).
  2. g(x)=∫−1x(t6+47) dtg(x) = \displaystyle\int_{ -1 }^{x} (t^{ 6 } + 47)\,dt. Find g′(x)g'(x).
  3. g(x)=∫4x(t3+7) dtg(x) = \displaystyle\int_{ 4 }^{x} (t^{ 3 } + 7)\,dt. Find g′(x)g'(x).

Summary card

Accumulation functions

  • ddx∫axf(t) dt=f(x)\dfrac{d}{dx}\displaystyle\int_a^x f(t)\,dt = f(x).
  • Upper limit u(x)u(x): multiply by u′(x)u'(x).
  • gg rises where f>0f > 0, falls where f<0f < 0.

Watch out: the answer is the integrand, not its antiderivative.

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

Challenge ★★★

  1. g(x)=∫0x(t2−49) dtg(x) = \displaystyle\int_0^{x} (t^2 - 49)\,dt for x≥0x \ge 0. Where does gg reach its minimum?

8. Net change: an amount from its rate

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

A bath holds 40 L. Over 10 minutes, ∫010r(t) dt=60\displaystyle\int_0^{10} r(t)\,dt = 60 L flow in. How much water is in the bath now?

  1. 100 L
  2. 60 L

Key idea

The integral of a rate is the net change of the amount.

Net change: F(b)=F(a)+∫abF′(t) dtF(b) = F(a) + \displaystyle\int_a^b F'(t)\,dt. Starting value plus accumulated change.

Worked example

A town has 5000 people; it grows at r(t)=200+30tr(t) = 200 + 30t people per year. Population after 4 years?

∫04(200+30t) dt=800+240=1040\displaystyle\int_0^4 (200 + 30t)\,dt = 800 + 240 = 1040
Accumulated change.
5000+1040=60405000 + 1040 = 6040
Add the start.

Your turn, guided

Your turn: F(2)=7F(2) = 7 and ∫25F′(x) dx=−3\displaystyle\int_2^5 F'(x)\,dx = -3. Find F(5)F(5).

F(5)=4F(5) = 4
7 + (−3).

Practice ★

  1. F′=fF' = f, F(0)=8F(0) = 8 and ∫03f(x) dx=7\displaystyle\int_0^{ 3 } f(x)\,dx = 7. Find F(3)F(3).
  2. F′=fF' = f, F(0)=33F(0) = 33 and ∫020f(x) dx=−94\displaystyle\int_0^{ 20 } f(x)\,dx = -94. Find F(20)F(20).
  3. F′=fF' = f, F(0)=−1F(0) = -1 and ∫02f(x) dx=−1\displaystyle\int_0^{ 2 } f(x)\,dx = -1. Find F(2)F(2).

Watch out!

Practice ★★

  1. A tank holds 86 L. Water flows in at r(t)=6+2tr(t) = 6 + 2t L/min. How much water is in the tank after 2 minutes, in liters?
  2. A tank holds 321 L. Water flows in at r(t)=13+8tr(t) = 13 + 8t L/min. How much water is in the tank after 19 minutes, in liters?
  1. v(t)v(t) is a particle's velocity in m/s. What does ∫07v(t) dt\displaystyle\int_0^{ 7 } v(t)\,dt give?
    1. Its displacement (change in position) from t=0t = 0 to t=7t = 7, in meters
    2. The total distance it travels, in meters
    3. Its velocity at t=7t = 7

Exit ticket

Three questions to check you have got it.

  1. A tank holds 86 L. Water flows in at r(t)=6+2tr(t) = 6 + 2t L/min. How much water is in the tank after 2 minutes, in liters?
  2. A tank holds 321 L. Water flows in at r(t)=13+8tr(t) = 13 + 8t L/min. How much water is in the tank after 19 minutes, in liters?
  3. A tank holds 71 L. Water flows in at r(t)=7+2tr(t) = 7 + 2t L/min. How much water is in the tank after 2 minutes, in liters?

Summary card

Net change

F(b)=F(a)+∫abF′(t) dtF(b) = F(a) + \displaystyle\int_a^b F'(t)\,dt: start + accumulated change.

Watch out: a rate at one moment is not an amount.

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

Challenge ★★★

  1. A car brakes: v(t)=19−3tv(t) = 19 - 3t in m/s. How far does it travel in the first 2 seconds (in meters)?

9. Integration by substitution

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=(3x+6)2f(x) = (3x + 6)^{ 2 }. Find f′(x)f'(x).
  2. f(x)=sin⁡(3x2)f(x) = \sin(3x^2). Find f′(x)f'(x).
  3. f(x)=e3x2f(x) = e^{ 3x^2}. Find f′(x)f'(x).

Discover

By the chain rule, (sin⁡(x2))′=cos⁡(x2)⋅2x\big(\sin(x^2)\big)' = \cos(x^2) \cdot 2x. So what is an antiderivative of 2xcos⁡(x2)2x\cos(x^2)?

  1. sin⁡(x2)\sin(x^2)
  2. 2xsin⁡(x2)2x\sin(x^2)

Key idea

Substitution is the chain rule in reverse.

If the integrand has the form f(g(x)) g′(x)f(g(x))\,g'(x), put u=g(x)u = g(x), du=g′(x) dxdu = g'(x)\,dx: ∫f(g(x)) g′(x) dx=∫f(u) du\displaystyle\int f(g(x))\,g'(x)\,dx = \int f(u)\,du. If only a constant multiple of g′(x)g'(x) is present, adjust with that constant.

Worked example

∫x2(x3+1)4 dx\displaystyle\int x^2 (x^3 + 1)^4\,dx.

u=x3+1u = x^3 + 1, x2 dx=13dux^2\,dx = \tfrac{1}{3}du
Inside u = x³ + 1; du = 3x² dx, so x² dx = ⅓ du.
∫13u4 du=115u5+C\displaystyle\int \tfrac{1}{3}u^4\,du = \tfrac{1}{15}u^5 + C
Substitute.
115(x3+1)5+C\tfrac{1}{15}(x^3 + 1)^5 + C
Back to x.

Your turn, guided

Your turn: ∫3x2ex3 dx\displaystyle\int 3x^2 e^{x^3}\,dx with u=x3u = x^3.

ex3+Ce^{x^3} + C
du = 3x² dx exactly.

Practice ★

  1. Find FF with F′(x)=2xcos⁡(x2)+3F'(x) = 2x\cos(x^2) + 3 and F(0)=0F(0) = 0.
  2. Find FF with F′(x)=2xcos⁡(x2)+42F'(x) = 2x\cos(x^2) + 42 and F(0)=0F(0) = 0.
  3. Find FF with F′(x)=2xcos⁡(x2)+1F'(x) = 2x\cos(x^2) + 1 and F(0)=0F(0) = 0.

Watch out!

Practice ★★

  1. Find FF with F′(x)=x ex2F'(x) = x\,e^{x^2} and F(0)=3F(0) = 3.
  2. Find FF with F′(x)=x ex2F'(x) = x\,e^{x^2} and F(0)=6F(0) = 6.
  1. Find FF with F′(x)=(5x+2)2F'(x) = (5x + 2)^{ 2 } and F(0)=0F(0) = 0.
  2. Find FF with F′(x)=(3x+3)2F'(x) = (3x + 3)^{ 2 } and F(0)=0F(0) = 0.

Exit ticket

Three questions to check you have got it.

  1. Find FF with F′(x)=2xcos⁡(x2)+3F'(x) = 2x\cos(x^2) + 3 and F(0)=0F(0) = 0.
  2. Find FF with F′(x)=2xcos⁡(x2)+42F'(x) = 2x\cos(x^2) + 42 and F(0)=0F(0) = 0.
  3. Find FF with F′(x)=2xcos⁡(x2)+1F'(x) = 2x\cos(x^2) + 1 and F(0)=0F(0) = 0.

Summary card

Substitution

  1. Choose the inside u=g(x)u = g(x).
  2. Replace g′(x) dxg'(x)\,dx by dudu (adjust a constant).
  3. Integrate in uu, then return to xx.

Watch out: keep track of constant factors from dudu.

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

Challenge ★★★

  1. Find FF with F′(x)=8sin⁡xcos⁡xF'(x) = 8\sin x\cos x and F(0)=0F(0) = 0.

10. Substitution in definite integrals

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

In ∫022x(x2+1)3 dx\displaystyle\int_0^2 2x(x^2 + 1)^3\,dx you put u=x2+1u = x^2 + 1. When xx goes from 0 to 2, where does uu go?

  1. From 1 to 5
  2. From 0 to 2

Key idea

Change the limits with the variable.

∫abf(g(x)) g′(x) dx=∫g(a)g(b)f(u) du\displaystyle\int_a^b f(g(x))\,g'(x)\,dx = \int_{g(a)}^{g(b)} f(u)\,du. Then there is no need to go back to xx.

Worked example

∫022x(x2+1)3 dx\displaystyle\int_0^2 2x(x^2 + 1)^3\,dx.

∫15u3 du\displaystyle\int_1^5 u^3\,du
u = x² + 1 from 1 to 5.
625−14\dfrac{625 - 1}{4}
u⁴/4 from 1 to 5.
=156= 156
Compute.

Your turn, guided

Your turn: ∫0πcos⁡x sin⁡2x dx\displaystyle\int_0^{\pi} \cos x\,\sin^2 x\,dx with u=sin⁡xu = \sin x.

∫00u2 du=0\displaystyle\int_0^0 u^2\,du = 0
u runs from sin 0 = 0 to sin π = 0.

Practice ★

  1. Evaluate ∫012x(x2+1)4 dx\displaystyle\int_0^1 2x(x^2 + 1)^{ 4 }\,dx.
  2. Evaluate ∫012x(x2+1)3 dx\displaystyle\int_0^1 2x(x^2 + 1)^{ 3 }\,dx.
  3. Evaluate ∫012x(x2+1)2 dx\displaystyle\int_0^1 2x(x^2 + 1)^{ 2 }\,dx.

Watch out!

Practice ★★

  1. Evaluate ∫0π/2sin⁡6xcos⁡x dx\displaystyle\int_0^{\pi/2} \sin^{ 6 } x \cos x\,dx.
  2. Evaluate ∫0π/2sin⁡3xcos⁡x dx\displaystyle\int_0^{\pi/2} \sin^{ 3 } x \cos x\,dx.
  1. Evaluate ∫1e(ln⁡x)1x dx\displaystyle\int_1^{e} \dfrac{(\ln x)^{ 1 } }{x}\,dx.

Exit ticket

Three questions to check you have got it.

  1. Evaluate ∫012x(x2+1)4 dx\displaystyle\int_0^1 2x(x^2 + 1)^{ 4 }\,dx.
  2. Evaluate ∫012x(x2+1)3 dx\displaystyle\int_0^1 2x(x^2 + 1)^{ 3 }\,dx.
  3. Evaluate ∫012x(x2+1)2 dx\displaystyle\int_0^1 2x(x^2 + 1)^{ 2 }\,dx.

Summary card

Definite integrals by substitution

  • New limits: u(a)u(a) and u(b)u(b).
  • Integrate in uu between them.

Watch out: never mix xx-limits with a uu-integral.

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

Challenge ★★★

  1. Evaluate ∫0π/26cos⁡x esin⁡x dx\displaystyle\int_0^{\pi/2} 6\cos x\,e^{\sin x}\,dx (exact).

11. Integrals giving logarithms; exponentials and tangent

Warm-up

Three quick questions from earlier lessons.

  1. Find FF with F′(x)=2xcos⁡(x2)+3F'(x) = 2x\cos(x^2) + 3 and F(0)=0F(0) = 0.
  2. Find FF with F′(x)=x ex2F'(x) = x\,e^{x^2} and F(0)=3F(0) = 3.
  3. Find FF with F′(x)=(5x+2)2F'(x) = (5x + 2)^{ 2 } and F(0)=0F(0) = 0.

Discover

In ∫2xx2+1 dx\displaystyle\int \dfrac{2x}{x^2 + 1}\,dx, the top is the derivative of the bottom. With u=x2+1u = x^2 + 1 it becomes ∫duu\displaystyle\int \dfrac{du}{u}. What is that?

  1. ln⁡∣u∣+C\ln|u| + C
  2. u00+C\dfrac{u^0}{0} + C

Key idea

Three patterns come up again and again.

∫g′(x)g(x) dx=ln⁡∣g(x)∣+C\displaystyle\int \dfrac{g'(x)}{g(x)}\,dx = \ln|g(x)| + C; ∫ekx dx=ekxk+C\displaystyle\int e^{kx}\,dx = \dfrac{e^{kx}}{k} + C; ∫tan⁡x dx=−ln⁡∣cos⁡x∣+C\displaystyle\int \tan x\,dx = -\ln|\cos x| + C.

Worked example

∫cos⁡xsin⁡x+3 dx\displaystyle\int \dfrac{\cos x}{\sin x + 3}\,dx.

u=sin⁡x+3u = \sin x + 3, du=cos⁡x dxdu = \cos x\,dx
The top is the derivative of the bottom.
ln⁡(sin⁡x+3)+C\ln(\sin x + 3) + C
ln|u|; sin x + 3 > 0.

Your turn, guided

Your turn: ∫e5x dx\displaystyle\int e^{5x}\,dx.

e5x5+C\dfrac{e^{5x}}{5} + C
Divide by 5.

Practice ★

  1. Find FF with F′(x)=e2xF'(x) = e^{ 2x} and F(0)=0F(0) = 0.
  2. Find FF with F′(x)=e18xF'(x) = e^{ 18x} and F(0)=0F(0) = 0.
  1. Evaluate ∫012xx2+2 dx\displaystyle\int_0^1 \dfrac{2x}{x^2 + 2}\,dx.
  2. Evaluate ∫012xx2+12 dx\displaystyle\int_0^1 \dfrac{2x}{x^2 + 12}\,dx.

Watch out!

Practice ★★

  1. Find FF with F′(x)=tan⁡xF'(x) = \tan x on (−π2,π2)\left(-\tfrac{\pi}{2}, \tfrac{\pi}{2}\right) and F(0)=3F(0) = 3.
  2. Find FF with F′(x)=tan⁡xF'(x) = \tan x on (−π2,π2)\left(-\tfrac{\pi}{2}, \tfrac{\pi}{2}\right) and F(0)=−4F(0) = -4.

Exit ticket

Three questions to check you have got it.

  1. Find FF with F′(x)=e2xF'(x) = e^{ 2x} and F(0)=0F(0) = 0.
  2. Find FF with F′(x)=e18xF'(x) = e^{ 18x} and F(0)=0F(0) = 0.
  3. Find FF with F′(x)=e3xF'(x) = e^{ 3x} and F(0)=0F(0) = 0.

Summary card

Useful patterns

  • g′g→ln⁡∣g∣\dfrac{g'}{g} \to \ln|g|.
  • ekx→ekxke^{kx} \to \dfrac{e^{kx}}{k}.
  • tan⁡x→−ln⁡∣cos⁡x∣\tan x \to -\ln|\cos x|.

Watch out: a minus sign from dudu.

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

Challenge ★★★

  1. Evaluate ∫0π/34tan⁡x dx\displaystyle\int_0^{\pi/3} 4\tan x\,dx exactly.

12. Algebra before integrating: division and completing the square

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=ln⁡(9x)f(x) = \ln(9x) for x>0x > 0. Find f′(x)f'(x).
  2. f(x)=ln⁡(x2+2)f(x) = \ln(x^2 + 2). Find f′(x)f'(x).
  3. f(x)=arctan⁡(7x)f(x) = \arctan(7x). Find f′(x)f'(x).

Discover

1x2+4x+5\dfrac{1}{x^2 + 4x + 5} has no obvious inside function. Which rewriting helps?

  1. 1(x+2)2+1\dfrac{1}{(x + 2)^2 + 1}
  2. 1x2+14x+15\dfrac{1}{x^2} + \dfrac{1}{4x} + \dfrac{1}{5}

Key idea

Rewrite first, then integrate.

Divide when the top has a degree at least that of the bottom, or the bottom is one term: x2+1x=x+1x\dfrac{x^2 + 1}{x} = x + \dfrac{1}{x}. Complete the square to reach ∫duu2+a2=1aarctan⁡ua+C\displaystyle\int \dfrac{du}{u^2 + a^2} = \dfrac{1}{a}\arctan\dfrac{u}{a} + C.

Worked example

∫dxx2+6x+13\displaystyle\int \dfrac{dx}{x^2 + 6x + 13}.

x2+6x+13=(x+3)2+4x^2 + 6x + 13 = (x + 3)^2 + 4
x² + 6x + 9 + 4.
∫duu2+4\displaystyle\int \dfrac{du}{u^2 + 4}
u = x + 3, a = 2.
12arctan⁡x+32+C\tfrac{1}{2}\arctan\dfrac{x + 3}{2} + C
The arctan formula.

Your turn, guided

Your turn: ∫x2+2x dx\displaystyle\int \dfrac{x^2 + 2}{x}\,dx for x>0x > 0.

x22+2ln⁡x+C\dfrac{x^2}{2} + 2\ln x + C
x + 2/x.

Practice ★

  1. Find FF with F′(x)=1x2+9F'(x) = \dfrac{1}{x^2 + 9} and F(0)=0F(0) = 0.
  2. Find FF with F′(x)=1x2+4F'(x) = \dfrac{1}{x^2 + 4} and F(0)=0F(0) = 0.
  1. Evaluate ∫12x2+5x+1x dx\displaystyle\int_1^2 \dfrac{x^2 + 5x + 1}{x}\,dx.
  2. Evaluate ∫12x2+4x+1x dx\displaystyle\int_1^2 \dfrac{x^2 + 4x + 1}{x}\,dx.

Watch out!

Practice ★★

  1. Find FF with F′(x)=1x2+6x+10F'(x) = \dfrac{1}{x^2 + 6x + 10} and F(−3)=0F(-3) = 0.
  2. Find FF with F′(x)=1x2+8x+17F'(x) = \dfrac{1}{x^2 + 8x + 17} and F(−4)=0F(-4) = 0.

Exit ticket

Three questions to check you have got it.

  1. Find FF with F′(x)=1x2+9F'(x) = \dfrac{1}{x^2 + 9} and F(0)=0F(0) = 0.
  2. Find FF with F′(x)=1x2+4F'(x) = \dfrac{1}{x^2 + 4} and F(0)=0F(0) = 0.
  3. Find FF with F′(x)=1x2+36F'(x) = \dfrac{1}{x^2 + 36} and F(0)=0F(0) = 0.

Summary card

Algebra first

  • Divide term by term when the bottom is one term.
  • Complete the square for 1x2+bx+c\dfrac{1}{x^2 + bx + c}, then arctan.

Watch out: 1a+b≠1a+1b\dfrac{1}{a + b} \ne \dfrac{1}{a} + \dfrac{1}{b}.

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

Challenge ★★★

  1. Evaluate ∫1e9x+2x dx\displaystyle\int_1^{e} \dfrac{ 9x + 2 }{x}\,dx (exact).

13. Motion with integrals: position, displacement, distance

Warm-up

Three quick questions from earlier lessons.

  1. F′=fF' = f, F(0)=8F(0) = 8 and ∫03f(x) dx=7\displaystyle\int_0^{ 3 } f(x)\,dx = 7. Find F(3)F(3).
  2. A tank holds 86 L. Water flows in at r(t)=6+2tr(t) = 6 + 2t L/min. How much water is in the tank after 2 minutes, in liters?
  3. v(t)v(t) is a particle's velocity in m/s. What does ∫07v(t) dt\displaystyle\int_0^{ 7 } v(t)\,dt give?
    1. Its displacement (change in position) from t=0t = 0 to t=7t = 7, in meters
    2. The total distance it travels, in meters
    3. Its velocity at t=7t = 7

Discover

A particle moves right for 2 s at 3 m/s, then left for 1 s at 3 m/s. Its displacement is 6−3=36 - 3 = 3 m. How far did it travel in total?

  1. 9 m
  2. 3 m

Key idea

Integrals of velocity give position changes; integrals of speed give distance.

s(b)=s(a)+∫abv(t) dts(b) = s(a) + \displaystyle\int_a^b v(t)\,dt. Displacement: ∫abv(t) dt\displaystyle\int_a^b v(t)\,dt. Total distance: ∫ab∣v(t)∣ dt\displaystyle\int_a^b |v(t)|\,dt, found by splitting where vv changes sign.

Worked example

v(t)=t−2v(t) = t - 2 on [0,5][0, 5]. Displacement and distance.

Displacement =12.5−10=2.5= 12.5 - 10 = 2.5
∫(t − 2) dt = t²/2 − 2t from 0 to 5.
∫02∣v∣=2\displaystyle\int_0^2 |v| = 2, ∫25∣v∣=4.5\displaystyle\int_2^5 |v| = 4.5
v < 0 on [0, 2]: that piece has area 2.
Distance =6.5= 6.5
Add the pieces.

Your turn, guided

Your turn: v(t)=3t2v(t) = 3t^2, s(0)=4s(0) = 4. Find s(2)s(2).

s(2)=12s(2) = 12
4 + 8.

Practice ★

  1. A particle has velocity v(t)=2t+3v(t) = 2t + 3 and starts at s(0)=1s(0) = 1. Find its position at t=3t = 3.
  2. A particle has velocity v(t)=2t+22v(t) = 2t + 22 and starts at s(0)=40s(0) = 40. Find its position at t=13t = 13.
  3. A particle has velocity v(t)=2t+2v(t) = 2t + 2 and starts at s(0)=6s(0) = 6. Find its position at t=2t = 2.

Watch out!

Practice ★★

  1. A particle's velocity is v(t)=t−4v(t) = t - 4 m/s. Find the total distance it travels from t=0t = 0 to t=6t = 6, in meters.
  2. A particle's velocity is v(t)=t−4v(t) = t - 4 m/s. Find the total distance it travels from t=0t = 0 to t=9t = 9, in meters.
  1. v(t)v(t) is a velocity in m/s. What does ∫09∣v(t)∣ dt\displaystyle\int_0^{ 9 } |v(t)|\,dt give?
    1. The total distance traveled from t=0t = 0 to t=9t = 9
    2. The displacement from t=0t = 0 to t=9t = 9
    3. The average speed on [0,9][0, 9]

Exit ticket

Three questions to check you have got it.

  1. A particle has velocity v(t)=2t+3v(t) = 2t + 3 and starts at s(0)=1s(0) = 1. Find its position at t=3t = 3.
  2. A particle has velocity v(t)=2t+22v(t) = 2t + 22 and starts at s(0)=40s(0) = 40. Find its position at t=13t = 13.
  3. A particle has velocity v(t)=2t+2v(t) = 2t + 2 and starts at s(0)=6s(0) = 6. Find its position at t=2t = 2.

Summary card

Motion with integrals

  • Position: start + ∫v\int v.
  • Displacement ∫v\int v; distance ∫∣v∣\int |v|.

Watch out: split where vv changes sign.

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

Challenge ★★★

  1. A particle has velocity v(t)=3t2−12tv(t) = 3t^2 - 12t and starts at s(0)=2s(0) = 2. Find its position at t=4t = 4.

14. Area between curves

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

The violet curve is y=x2y = x^2, the blue line y=kxy = kx. They enclose a region between x=0x = 0 and x=kx = k. Move kk.

The line y = kx and the parabola y = x². They meet at x = 0 and x = k; between them the line is on top.

On [0,k][0, k], which curve is on top?

  1. The line y=kxy = kx
  2. The parabola y=x2y = x^2

Key idea

Area between curves: integrate top minus bottom.

If f(x)≥g(x)f(x) \ge g(x) on [a,b][a, b], the area between them is ∫ab(f(x)−g(x)) dx\displaystyle\int_a^b \big(f(x) - g(x)\big)\,dx. The limits are usually where the curves meet; if they cross inside, split there.

Worked example

Area between y=2xy = 2x and y=x2y = x^2.

Limits 00 and 22
2x = x² at 0 and 2.
∫02(2x−x2) dx\displaystyle\int_0^2 (2x - x^2)\,dx
Top minus bottom.
=4−83=43= 4 - \tfrac{8}{3} = \tfrac{4}{3}
x² − x³/3 from 0 to 2.

Your turn, guided

Your turn: area between y=3xy = 3x and y=x2y = x^2.

92\tfrac{9}{2}
3³/6.

Practice ★

  1. Find the area of the region between y=1xy = 1x and y=x2y = x^2.
  2. Find the area of the region between y=15xy = 15x and y=x2y = x^2.
  3. Find the area of the region between y=2xy = 2x and y=x2y = x^2.

Watch out!

Practice ★★

  1. Find the area of the region between y=x2y = x^2 and y=4x−x2y = 4x - x^2.
  2. Find the area of the region between y=x2y = x^2 and y=14x−x2y = 14x - x^2.
  1. Find the area between y=1cos⁡xy = 1\cos x and y=1sin⁡xy = 1\sin x for 0≤x≤π40 \le x \le \dfrac{\pi}{4}. Give an exact value.

Exit ticket

Three questions to check you have got it.

  1. Find the area of the region between y=1xy = 1x and y=x2y = x^2.
  2. Find the area of the region between y=15xy = 15x and y=x2y = x^2.
  3. Find the area of the region between y=2xy = 2x and y=x2y = x^2.

Summary card

Area between curves

  1. Find where they meet.
  2. Decide which is on top.
  3. ∫(top−bottom) dx\int (\text{top} - \text{bottom})\,dx.

Watch out: a negative result means the order is reversed.

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

Challenge ★★★

  1. Find the area between the parabola y=x2y = x^2 and the line y=36y = 36.

15. Area between curves with respect to y

Warm-up

Three quick questions from earlier lessons.

  1. Find the area of the region between y=1xy = 1x and y=x2y = x^2.
  2. Find the area of the region between y=x2y = x^2 and y=4x−x2y = 4x - x^2.
  3. Find the area between y=1cos⁡xy = 1\cos x and y=1sin⁡xy = 1\sin x for 0≤x≤π40 \le x \le \dfrac{\pi}{4}. Give an exact value.

Discover

The region between x=y2x = y^2 and x=4x = 4 is easiest to slice horizontally. A horizontal strip at height yy runs from the parabola to the line. How long is it?

  1. 4−y24 - y^2
  2. y2−4y^2 - 4

Key idea

When curves are given as x=g(y)x = g(y), integrate in yy.

If f(y)≥g(y)f(y) \ge g(y) for c≤y≤dc \le y \le d, the area is ∫cd(f(y)−g(y)) dy\displaystyle\int_c^d \big(f(y) - g(y)\big)\,dy: right minus left, with yy-limits.

Worked example

Area between x=y2x = y^2 and x=4x = 4.

yy from −2-2 to 22
y² = 4: y = ±2.
∫−22(4−y2) dy\displaystyle\int_{-2}^{2} (4 - y^2)\,dy
Right minus left.
=323= \tfrac{32}{3}
4y − y³/3.

Your turn, guided

Your turn: between x=y2x = y^2 and x=1x = 1.

43\tfrac{4}{3}
∫ from −1 to 1 of (1 − y²) dy.

Practice ★

  1. Find the area of the region between x=y2x = y^2 and x=4x = 4, integrating with respect to yy.
  2. Find the area of the region between x=y2x = y^2 and x=25x = 25, integrating with respect to yy.
  1. Which integral gives the area between x=y2x = y^2 and x=16x = 16?
    1. ∫−44(16−y2) dy\displaystyle\int_{-4}^{ 4 } (16 - y^2)\,dy
    2. ∫016(16−y2) dy\displaystyle\int_0^{ 16 } (16 - y^2)\,dy
    3. ∫−44(y2−16) dy\displaystyle\int_{-4}^{ 4 } (y^2 - 16)\,dy

Watch out!

Practice ★★

  1. Find the area of the region between x=y2x = y^2 and x=2y+8x = 2y + 8.
  2. Find the area of the region between x=y2x = y^2 and x=3y+4x = 3y + 4.

Exit ticket

Three questions to check you have got it.

  1. Find the area of the region between x=y2x = y^2 and x=4x = 4, integrating with respect to yy.
  2. Find the area of the region between x=y2x = y^2 and x=25x = 25, integrating with respect to yy.
  3. Find the area of the region between x=y2x = y^2 and x=1x = 1, integrating with respect to yy.

Summary card

Area in yy

  • Right minus left, dydy.
  • Limits: the yy-values where the curves meet.

Watch out: xx-values are not yy-limits.

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

Challenge ★★★

  1. Find the area of the region between x=y2x = y^2 and x=5yx = 5y, integrating with respect to yy.

16. Volumes with known cross-sections

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

A loaf of bread is sliced into thin slices. If each slice at position xx has area A(x)A(x) and thickness dxdx, what adds up to the loaf's volume?

  1. ∫A(x) dx\displaystyle\int A(x)\,dx
  2. The area of the base

Key idea

Volume is the integral of cross-sectional area.

V=∫abA(x) dxV = \displaystyle\int_a^b A(x)\,dx, where A(x)A(x) is the area of the cross-section at xx. Square of side ss: s2s^2. Semicircle of diameter ss: πs28\tfrac{\pi s^2}{8}. Equilateral triangle of side ss: 34s2\tfrac{\sqrt{3}}{4}s^2.

Worked example

Base: under y=2−xy = 2 - x for 0≤x≤20 \le x \le 2; square cross-sections.

s=2−xs = 2 - x
The side at x is the height of the base.
A(x)=(2−x)2A(x) = (2 - x)^2
Area of the square.
V=83V = \tfrac{8}{3}
−(2 − x)³/3 from 0 to 2.

Your turn, guided

Your turn: base under y=xy = \sqrt{x}, 0≤x≤20 \le x \le 2, squares.

V=2V = 2
∫₀² x dx.

Practice ★

  1. A solid's base is the region under y=xy = \sqrt{x} for 0≤x≤20 \le x \le 2. Cross-sections perpendicular to the xx-axis are squares. Find its volume.
  2. A solid's base is the region under y=xy = \sqrt{x} for 0≤x≤290 \le x \le 29. Cross-sections perpendicular to the xx-axis are squares. Find its volume.
  1. A solid's base is the triangle under y=4xy = 4x for 0≤x≤40 \le x \le 4. Cross-sections perpendicular to the xx-axis are squares. Find its volume.
  2. A solid's base is the triangle under y=1xy = 1x for 0≤x≤40 \le x \le 4. Cross-sections perpendicular to the xx-axis are squares. Find its volume.

Watch out!

Practice ★★

  1. Same base (under y=xy = \sqrt{x}, 0≤x≤20 \le x \le 2), but the cross-sections are semicircles whose diameter lies in the base. Find the volume.
  2. Same base (under y=xy = \sqrt{x}, 0≤x≤40 \le x \le 4), but the cross-sections are semicircles whose diameter lies in the base. Find the volume.

Exit ticket

Three questions to check you have got it.

  1. A solid's base is the region under y=xy = \sqrt{x} for 0≤x≤20 \le x \le 2. Cross-sections perpendicular to the xx-axis are squares. Find its volume.
  2. A solid's base is the region under y=xy = \sqrt{x} for 0≤x≤290 \le x \le 29. Cross-sections perpendicular to the xx-axis are squares. Find its volume.
  3. A solid's base is the region under y=xy = \sqrt{x} for 0≤x≤30 \le x \le 3. Cross-sections perpendicular to the xx-axis are squares. Find its volume.

Summary card

Known cross-sections

  1. Side s(x)s(x) from the base.
  2. Area A(x)A(x) of the shape.
  3. V=∫A(x) dxV = \int A(x)\,dx.

Watch out: a diameter is twice the radius.

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

Challenge ★★★

  1. A solid's base is the region under y=xy = \sqrt{x} for 0≤x≤30 \le x \le 3. Cross-sections perpendicular to the xx-axis are equilateral triangles. Find the volume (exact).

17. Volumes of revolution: the disc method

Warm-up

Three quick questions from earlier lessons.

  1. A solid's base is the region under y=xy = \sqrt{x} for 0≤x≤20 \le x \le 2. Cross-sections perpendicular to the xx-axis are squares. Find its volume.
  2. Same base (under y=xy = \sqrt{x}, 0≤x≤20 \le x \le 2), but the cross-sections are semicircles whose diameter lies in the base. Find the volume.
  3. A solid's base is the triangle under y=4xy = 4x for 0≤x≤40 \le x \le 4. Cross-sections perpendicular to the xx-axis are squares. Find its volume.

Discover

Spin the region under y=xy = x, 0≤x≤30 \le x \le 3, about the xx-axis: a cone. The slice at xx is a disc. What is its radius?

  1. xx
  2. πx\pi x

Key idea

Revolving a region about an axis: slices are discs.

Disc method: revolving the region under y=f(x)≥0y = f(x) \ge 0, a≤x≤ba \le x \le b, about the xx-axis gives V=π∫abf(x)2 dxV = \pi\displaystyle\int_a^b f(x)^2\,dx.

Worked example

Revolve the region under y=xy = x, 0≤x≤30 \le x \le 3.

V=π∫03x2 dxV = \pi\displaystyle\int_0^3 x^2\,dx
Radius x.
=9π= 9\pi
x³/3.
Matches 13πr2h\tfrac{1}{3}\pi r^2 h
Check: a cone of radius 3 and height 3 has (1/3)π·9·3.

Your turn, guided

Your turn: the region under y=xy = \sqrt{x}, 0≤x≤40 \le x \le 4.

V=8πV = 8\pi
π∫₀⁴ x dx.

Practice ★

  1. The region under y=xy = \sqrt{x}, 0≤x≤30 \le x \le 3, is revolved about the xx-axis. Find the volume.
  2. The region under y=xy = \sqrt{x}, 0≤x≤360 \le x \le 36, is revolved about the xx-axis. Find the volume.
  1. The region under y=xy = x, 0≤x≤20 \le x \le 2, is revolved about the xx-axis (a cone). Find the volume.
  2. The region under y=xy = x, 0≤x≤130 \le x \le 13, is revolved about the xx-axis (a cone). Find the volume.

Watch out!

Practice ★★

  1. The region under y=exy = e^x, 0≤x≤10 \le x \le 1, is revolved about the xx-axis. Find the volume.
  2. The region under y=exy = e^x, 0≤x≤30 \le x \le 3, is revolved about the xx-axis. Find the volume.

Exit ticket

Three questions to check you have got it.

  1. The region under y=xy = \sqrt{x}, 0≤x≤30 \le x \le 3, is revolved about the xx-axis. Find the volume.
  2. The region under y=xy = \sqrt{x}, 0≤x≤360 \le x \le 36, is revolved about the xx-axis. Find the volume.
  3. The region under y=xy = \sqrt{x}, 0≤x≤20 \le x \le 2, is revolved about the xx-axis. Find the volume.

Summary card

Disc method

V=π∫ab(radius)2 dxV = \pi\displaystyle\int_a^b (\text{radius})^2\,dx.

Watch out: square the radius; keep the π\pi.

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

Challenge ★★★

  1. The region under y=1−x2y = \sqrt{ 1 - x^2}, −1≤x≤1-1 \le x \le 1, is rotated about the xx-axis. Find the volume.

18. Volumes of revolution: the washer method

Warm-up

Three quick questions from earlier lessons.

  1. Find the area of the region between y=1xy = 1x and y=x2y = x^2.
  2. Find the area of the region between y=x2y = x^2 and y=4x−x2y = 4x - x^2.
  3. Find the area between y=1cos⁡xy = 1\cos x and y=1sin⁡xy = 1\sin x for 0≤x≤π40 \le x \le \dfrac{\pi}{4}. Give an exact value.

Discover

Revolve the region between y=2y = 2 and y=1y = 1, 0≤x≤30 \le x \le 3, about the xx-axis: a thick pipe. Each slice is a washer with radii 2 and 1. What is its area?

  1. 3π3\pi
  2. π\pi

Key idea

A hole in the middle: subtract the inner disc.

Washer method: V=π∫ab(R(x)2−r(x)2) dxV = \pi\displaystyle\int_a^b \big(R(x)^2 - r(x)^2\big)\,dx, with RR the outer radius and rr the inner radius, both measured from the axis of rotation.

Worked example

Region between y=xy = x and y=x2y = x^2 revolved about the xx-axis.

R=xR = x, r=x2r = x^2
They meet at 0 and 1; y = x is farther from the axis.
V=π∫01(x2−x4) dxV = \pi\displaystyle\int_0^1 (x^2 - x^4)\,dx
R² − r².
=2π15= \tfrac{2\pi}{15}
1/3 − 1/5.

Your turn, guided

Your turn: revolve the region under y=1y = 1, 0≤x≤20 \le x \le 2, about y=−1y = -1.

V=6πV = 6\pi
R = 2, r = 1: π(4 − 1) × 2.

Practice ★

  1. The region between y=16y = 16 and y=x2y = x^2 is revolved about the xx-axis. Which integral is its volume?
    1. π∫−44(256−x4) dx\pi\displaystyle\int_{-4}^{ 4 } \big(256 - x^4\big)\,dx
    2. π∫−44(16−x2)2 dx\pi\displaystyle\int_{-4}^{ 4 } \big(16 - x^2\big)^2\,dx
    3. π∫−44(16−x2) dx\pi\displaystyle\int_{-4}^{ 4 } \big(16 - x^2\big)\,dx
  1. The region between y=3xy = 3x and y=x2y = x^2 is revolved about the xx-axis. Find the volume.
  2. The region between y=1xy = 1x and y=x2y = x^2 is revolved about the xx-axis. Find the volume.

Watch out!

Practice ★★

  1. The region under y=xy = \sqrt{x}, 0≤x≤90 \le x \le 9, is revolved about the line y=−1y = -1. Find the volume.
  2. The region under y=xy = \sqrt{x}, 0≤x≤10 \le x \le 1, is revolved about the line y=−1y = -1. Find the volume.

Exit ticket

Three questions to check you have got it.

  1. The region between y=3xy = 3x and y=x2y = x^2 is revolved about the xx-axis. Find the volume.
  2. The region between y=1xy = 1x and y=x2y = x^2 is revolved about the xx-axis. Find the volume.
  3. The region between y=2xy = 2x and y=x2y = x^2 is revolved about the xx-axis. Find the volume.

Summary card

Washer method

V=π∫ab(R2−r2) dxV = \pi\displaystyle\int_a^b (R^2 - r^2)\,dx, radii from the axis.

Watch out: R2−r2R^2 - r^2, not (R−r)2(R - r)^2.

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

Challenge ★★★

  1. The region between y=4y = 4 and y=x2y = x^2 is revolved about the xx-axis. Find the volume (exact).

19. 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.

20. 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").

21. Integration by parts

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=x3sin⁡xf(x) = x^{ 3 }\sin x. Find f′(x)f'(x).
  2. f(x)=(x+3)exf(x) = (x + 3)e^x. Find f′(x)f'(x).
  3. f(2)=4f(2) = 4, f′(2)=4f'(2) = 4, g(2)=−4g(2) = -4 and g′(2)=−1g'(2) = -1. Find (fg)′(2)(fg)'(2).

Discover

The product rule says (xex)′=ex+xex(x e^x)' = e^x + x e^x. Integrate both sides: xex=∫ex dx+∫xex dxx e^x = \displaystyle\int e^x\,dx + \int x e^x\,dx. So what is ∫xex dx\displaystyle\int x e^x\,dx?

  1. xex−ex+Cx e^x - e^x + C
  2. x22ex+C\dfrac{x^2}{2}e^x + C

Key idea

Trade one integral for an easier one.

Integration by parts: ∫u dv=uv−∫v du\displaystyle\int u\,dv = uv - \int v\,du. For definite integrals: ∫abu dv=[uv]ab−∫abv du\displaystyle\int_a^b u\,dv = \big[uv\big]_a^b - \int_a^b v\,du. Choose uu so that dudu is simpler.

Worked example

∫xsin⁡x dx\displaystyle\int x\sin x\,dx.

u=xu = x, du=dxdu = dx, v=−cos⁡xv = -\cos x
u = x simplifies; dv = sin x dx is easy to integrate.
−xcos⁡x+∫cos⁡x dx-x\cos x + \displaystyle\int \cos x\,dx
uv − ∫v du.
−xcos⁡x+sin⁡x+C-x\cos x + \sin x + C
Finish.

Your turn, guided

Your turn: ∫xe2x dx\displaystyle\int x e^{2x}\,dx, u=xu = x, v=12e2xv = \tfrac{1}{2}e^{2x}.

12xe2x−14e2x+C\tfrac{1}{2}xe^{2x} - \tfrac{1}{4}e^{2x} + C
½xe^{2x} − ∫½e^{2x} dx.

Practice ★

  1. Find FF with F′(x)=1xexF'(x) = 1x e^x and F(0)=0F(0) = 0.
  2. Find FF with F′(x)=49xexF'(x) = 49x e^x and F(0)=0F(0) = 0.
  3. Find FF with F′(x)=2xexF'(x) = 2x e^x and F(0)=0F(0) = 0.

Watch out!

Practice ★★

  1. Evaluate ∫0π/22xcos⁡x dx\displaystyle\int_0^{\pi/2} 2x\cos x\,dx.
  2. Evaluate ∫0π/234xcos⁡x dx\displaystyle\int_0^{\pi/2} 34x\cos x\,dx.
  1. Evaluate ∫1e3ln⁡x dx\displaystyle\int_1^{e^{ 3 } } \ln x\,dx.

Exit ticket

Three questions to check you have got it.

  1. Find FF with F′(x)=1xexF'(x) = 1x e^x and F(0)=0F(0) = 0.
  2. Find FF with F′(x)=49xexF'(x) = 49x e^x and F(0)=0F(0) = 0.
  3. Find FF with F′(x)=2xexF'(x) = 2x e^x and F(0)=0F(0) = 0.

Summary card

Integration by parts

∫u dv=uv−∫v du\displaystyle\int u\,dv = uv - \int v\,du.

Watch out: the minus sign, and signs inside ∫v du\int v\,du.

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

Challenge ★★★

  1. Evaluate ∫015x2ex dx\displaystyle\int_0^1 5x^2 e^x\,dx (integrate by parts twice).

22. Integration by parts: choosing u, repeated parts

Warm-up

Three quick questions from earlier lessons.

  1. Find FF with F′(x)=1xexF'(x) = 1x e^x and F(0)=0F(0) = 0.
  2. Evaluate ∫0π/22xcos⁡x dx\displaystyle\int_0^{\pi/2} 2x\cos x\,dx.
  3. Evaluate ∫1e3ln⁡x dx\displaystyle\int_1^{e^{ 3 } } \ln x\,dx.

Discover

For ∫xln⁡x dx\displaystyle\int x\ln x\,dx you could take u=xu = x or u=ln⁡xu = \ln x. With u=xu = x you need v=∫ln⁡x dxv = \displaystyle\int \ln x\,dx first. Which choice is easier?

  1. u=ln⁡xu = \ln x
  2. u=xu = x

Key idea

Let uu be the factor that simplifies when differentiated.

Good uu choices, in order: Logarithms, Inverse trig, Algebraic (powers of xx), Trig, Exponentials (LIATE). With xnx^n times exe^x or sin⁡x\sin x, apply parts nn times.

Worked example

∫x2ex dx\displaystyle\int x^2 e^x\,dx.

x2ex−∫2xex dxx^2 e^x - \displaystyle\int 2x e^x\,dx
u = x², v = eˣ.
x2ex−(2xex−2ex)x^2 e^x - (2xe^x - 2e^x)
Parts again on ∫2xeˣ: 2xeˣ − 2eˣ.
(x2−2x+2)ex+C(x^2 - 2x + 2)e^x + C
Tidy.

Your turn, guided

Your turn: ∫xln⁡x dx\displaystyle\int x\ln x\,dx with u=ln⁡xu = \ln x, v=x22v = \tfrac{x^2}{2}.

x22ln⁡x−x24+C\tfrac{x^2}{2}\ln x - \tfrac{x^2}{4} + C
(x²/2) ln x − ∫x/2 dx.

Practice ★

  1. To integrate ∫x1ln⁡x dx\displaystyle\int x^{ 1 } \ln x\,dx by parts, which choice works?
    1. u=ln⁡xu = \ln x, dv=x1 dxdv = x^{ 1 }\,dx
    2. u=x1u = x^{ 1 }, dv=ln⁡x dxdv = \ln x\,dx
    3. u=x1ln⁡xu = x^{ 1 }\ln x, dv=dxdv = dx
  2. To integrate ∫x2ln⁡x dx\displaystyle\int x^{ 2 } \ln x\,dx by parts, which choice works?
    1. u=ln⁡xu = \ln x, dv=x2 dxdv = x^{ 2 }\,dx
    2. u=x2u = x^{ 2 }, dv=ln⁡x dxdv = \ln x\,dx
    3. u=x2ln⁡xu = x^{ 2 }\ln x, dv=dxdv = dx
  1. Evaluate ∫01xe2x dx\displaystyle\int_0^1 x e^{ 2x}\,dx.
  2. Evaluate ∫01xe5x dx\displaystyle\int_0^1 x e^{ 5x}\,dx.

Watch out!

Practice ★★

  1. Find FF with F′(x)=5x2exF'(x) = 5x^2 e^x and F(0)=0F(0) = 0.
  2. Find FF with F′(x)=4x2exF'(x) = 4x^2 e^x and F(0)=0F(0) = 0.

Exit ticket

Three questions to check you have got it.

  1. Evaluate ∫01xe2x dx\displaystyle\int_0^1 x e^{ 2x}\,dx.
  2. Evaluate ∫01xe5x dx\displaystyle\int_0^1 x e^{ 5x}\,dx.
  3. Evaluate ∫01xe3x dx\displaystyle\int_0^1 x e^{ 3x}\,dx.

Summary card

Choosing uu

  • LIATE: logs, inverse trig, powers, trig, exponentials.
  • xnexx^n e^x: parts nn times.

Watch out: if the new integral is harder, swap uu and dvdv.

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

Challenge ★★★

  1. Evaluate ∫1e6xln⁡x dx\displaystyle\int_1^{e} 6x\ln x\,dx (exact).

23. Partial fractions

Warm-up

Three quick questions from earlier lessons.

  1. Evaluate ∫012xx2+81 dx\displaystyle\int_0^{ 12 } x\sqrt{x^2 + 81}\,dx with u=x2+81u = x^2 + 81.
    1. The lower limit for uu:   ?\;?
    2. The upper limit for uu:   ?\;?
    3. The value of the integral:   ?\;?
    4. An antiderivative of xx2+81x\sqrt{x^2 + 81} (without +C+C):
    5. With the same substitution, ∫012xx2+81 dx\displaystyle\int_0^{ 12 } \dfrac{x}{x^2 + 81}\,dx (exact):
  2. Evaluate ∫012xx2+2 dx\displaystyle\int_0^1 \dfrac{2x}{x^2 + 2}\,dx.
  3. Find FF with F′(x)=tan⁡xF'(x) = \tan x on (−π2,π2)\left(-\tfrac{\pi}{2}, \tfrac{\pi}{2}\right) and F(0)=3F(0) = 3.

Discover

1x−1−1x+1\dfrac{1}{x - 1} - \dfrac{1}{x + 1} over a common denominator gives 2x2−1\dfrac{2}{x^2 - 1}. So how can you integrate 1x2−1\dfrac{1}{x^2 - 1}?

  1. Split it as 12(1x−1−1x+1)\tfrac{1}{2}\left(\tfrac{1}{x - 1} - \tfrac{1}{x + 1}\right)
  2. Use arctan⁡x\arctan x

Key idea

Split a rational function into simple fractions, then integrate each to a logarithm.

Partial fractions: if (x−r)(x−s)(x - r)(x - s) with r≠sr \ne s, then p(x)(x−r)(x−s)=Ax−r+Bx−s\dfrac{p(x)}{(x - r)(x - s)} = \dfrac{A}{x - r} + \dfrac{B}{x - s} (degree of pp less than 2). Find AA by multiplying by x−rx - r and setting x=rx = r; likewise BB.

Worked example

∫5(x−2)(x+3) dx\displaystyle\int \dfrac{5}{(x - 2)(x + 3)}\,dx.

A=1A = 1, B=−1B = -1
x = 2: A = 5/5; x = −3: B = 5/(−5).
ln⁡∣x−2∣−ln⁡∣x+3∣+C\ln|x - 2| - \ln|x + 3| + C
Integrate each.
ln⁡∣x−2x+3∣+C\ln\left|\dfrac{x - 2}{x + 3}\right| + C
One log.

Your turn, guided

Your turn: 3(x−1)(x+2)=Ax−1+Bx+2\dfrac{3}{(x - 1)(x + 2)} = \dfrac{A}{x - 1} + \dfrac{B}{x + 2}.

A=1A = 1
x = 1: 3/(1 + 2).

Practice ★

  1. 8(x−4)(x−6)=Ax−4+Bx−6\dfrac{ 8 }{(x - 4)(x - 6)} = \dfrac{A}{x - 4} + \dfrac{B}{x - 6}. Find AA.
  2. 5(x−1)(x−3)=Ax−1+Bx−3\dfrac{ 5 }{(x - 1)(x - 3)} = \dfrac{A}{x - 1} + \dfrac{B}{x - 3}. Find AA.
  3. 8(x−1)(x−5)=Ax−1+Bx−5\dfrac{ 8 }{(x - 1)(x - 5)} = \dfrac{A}{x - 1} + \dfrac{B}{x - 5}. Find AA.

Watch out!

Practice ★★

  1. Evaluate ∫12dxx(x+3)\displaystyle\int_1^2 \dfrac{dx}{x(x + 3)}.
  2. Evaluate ∫12dxx(x+4)\displaystyle\int_1^2 \dfrac{dx}{x(x + 4)}.
  1. Evaluate ∫56dxx2−1\displaystyle\int_{ 5 }^{ 6 } \dfrac{dx}{x^2 - 1}.

Exit ticket

Three questions to check you have got it.

  1. 8(x−4)(x−6)=Ax−4+Bx−6\dfrac{ 8 }{(x - 4)(x - 6)} = \dfrac{A}{x - 4} + \dfrac{B}{x - 6}. Find AA.
  2. 5(x−1)(x−3)=Ax−1+Bx−3\dfrac{ 5 }{(x - 1)(x - 3)} = \dfrac{A}{x - 1} + \dfrac{B}{x - 3}. Find AA.
  3. 8(x−1)(x−5)=Ax−1+Bx−5\dfrac{ 8 }{(x - 1)(x - 5)} = \dfrac{A}{x - 1} + \dfrac{B}{x - 5}. Find AA.

Summary card

Partial fractions

  1. Factor the denominator.
  2. Find AA, BB by cover-up.
  3. Integrate: ∫Ax−r dx=Aln⁡∣x−r∣\displaystyle\int \dfrac{A}{x - r}\,dx = A\ln|x - r|.

Watch out: check by recombining the fractions.

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

Challenge ★★★

  1. Evaluate ∫019(x+1)(x+2) dx\displaystyle\int_0^1 \dfrac{ 9 }{(x + 1)(x + 2)}\,dx (exact).

24. Choosing an integration technique

Warm-up

Three quick questions from earlier lessons.

  1. Find FF with F′(x)=1x2+9F'(x) = \dfrac{1}{x^2 + 9} and F(0)=0F(0) = 0.
  2. Find FF with F′(x)=1x2+6x+10F'(x) = \dfrac{1}{x^2 + 6x + 10} and F(−3)=0F(-3) = 0.
  3. Evaluate ∫12x2+5x+1x dx\displaystyle\int_1^2 \dfrac{x^2 + 5x + 1}{x}\,dx.

Discover

∫xcos⁡(x2) dx\displaystyle\int x\cos(x^2)\,dx and ∫xcos⁡x dx\displaystyle\int x\cos x\,dx look alike. Which one is a substitution?

  1. ∫xcos⁡(x2) dx\displaystyle\int x\cos(x^2)\,dx
  2. ∫xcos⁡x dx\displaystyle\int x\cos x\,dx

Key idea

Read the integrand before you start.

Substitution: an inside function with its derivative (up to a constant) as a factor. Parts: a product of unrelated types, such as a power times exe^x, sin⁡x\sin x or ln⁡x\ln x. Partial fractions: a rational function whose denominator factors. Algebra first: divide, or complete the square.

Worked example

Choose a method for three integrals.

∫2x(x2+1)5 dx\displaystyle\int 2x(x^2 + 1)^5\,dx: substitution
x² + 1 inside, 2x outside.
∫xe−x dx\displaystyle\int x e^{-x}\,dx: parts
Power times exponential.
∫dxx2−4\displaystyle\int \dfrac{dx}{x^2 - 4}: partial fractions
x² − 4 = (x − 2)(x + 2).

Your turn, guided

Your turn: ∫2xx2+9 dx\displaystyle\int \dfrac{2x}{x^2 + 9}\,dx is a substitution with u=x2+9u = x^2 + 9.

ln⁡(x2+9)+C\ln(x^2 + 9) + C
∫du/u.

Practice ★

  1. Which method suits ∫xe2x2 dx\displaystyle\int x e^{ 2x^2}\,dx best?
    1. Substitution, u=2x2u = 2x^2
    2. Integration by parts
    3. Partial fractions
  1. Which method suits ∫xe6x dx\displaystyle\int x e^{ 6x}\,dx best?
    1. Integration by parts, u=xu = x
    2. Substitution, u=6xu = 6x
    3. Partial fractions

Watch out!

Practice ★★

  1. Which method suits ∫dxx2−36\displaystyle\int \dfrac{dx}{x^2 - 36} best?
    1. Partial fractions: x2−36=(x−6)(x+6)x^2 - 36 = (x - 6)(x + 6)
    2. The arctangent formula
    3. Integration by parts

Missing exercise F.INT.21-t2

Exit ticket

Three questions to check you have got it.

  1. Which method suits ∫xe6x dx\displaystyle\int x e^{ 6x}\,dx best?
    1. Integration by parts, u=xu = x
    2. Substitution, u=6xu = 6x
    3. Partial fractions
  2. Which method suits ∫xe3x dx\displaystyle\int x e^{ 3x}\,dx best?
    1. Integration by parts, u=xu = x
    2. Substitution, u=3xu = 3x
    3. Partial fractions
  3. Which method suits ∫xe4x dx\displaystyle\int x e^{ 4x}\,dx best?
    1. Integration by parts, u=xu = x
    2. Substitution, u=4xu = 4x
    3. Partial fractions

Summary card

Which technique?

  • Inside + its derivative: substitution.
  • Unrelated product: parts.
  • Factorable denominator: partial fractions.

Watch out: x2+a2x^2 + a^2 (arctan) and x2−a2x^2 - a^2 (fractions) differ.

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

Challenge ★★★

  1. Choose a technique and evaluate ∫01xx2+6 dx\displaystyle\int_0^1 \dfrac{x}{x^2 + 6}\,dx (exact).

25. 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.

26. 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.

27. 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.