Integration by substitution

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.

About this lesson

Calculus AB (AP-aligned) › Techniques: substitution

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

Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

Integration by substitution

Techniques: 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.
Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits