Required Prior Knowledge

Questions

Differentiate$$y=e^{x^{3}-4x}$$

Solutions

Get Ready

Consider the integral$$\int\left(x^{2}+3x\right)^{4}\left(2x+3\right) dx$$Note that the second factor of the product is the derivative of the first.

Think — what would differentiate to give us \(\left(x^{2}+3x\right)^{4}\)?

We can see that $$\frac{d}{dx}\left(\left(x^{2}+3x\right)^{5}\right)=5\left(x^{2}+3x\right)^{4}\left(2x+3\right)$$using the Chain Rule.

This looks VERY similar to our original integral.

The only difference is a multiple of \(5\).

So$$\int\left(x^{2}+3x\right)^{4}\left(2x+3\right) dx=\frac{1}{5}\left(x^{2}+3x\right)^{5}+c$$

Notes

We can lay this out formally in a method called Integration by Substitution, which is a form of reverse chain rule. It works when one of the factors is the derivative of the other factor in an integral.

Let \(u=x^{2}+3x\).

Then \(\frac{du}{dx}=2x+3\)$$\begin{align}\therefore\int\left(x^{2}+3x\right)^{4}\left(2x+3\right) dx&=\int u^{4}\frac{du}{dx}dx\\&=\int u^{4}du\end{align}$$This is a simple integral and can be solved using our known rules:$$\begin{align}\phantom{\therefore\int\left(x^{2}+3x\right)^{4}\left(2x+3\right) dx}&=\frac{u^{5}}{5}+c\\&=\frac{1}{5}\left(x^{2}+3x\right)^{5}+c\end{align}$$by substituting back in for \(u\).

In this example, we could also have spotted this as we did first, and so we did not need the substitution. But there are examples where this is our only approach.

Most of the time in the IB you will be told what substitution to use.

Examples and Your Turns

Your Turn

Find$$\int\sqrt{x^{3}+2x}\left(3x^{2}+2\right) dx$$

Your Turn

Find$$\int x e^{1-x^{2}} dx$$

Your Turn

Find$$\int \cos^{3}x \sin x dx$$

Your Turn

Find$$\int \frac{\cos x}{\sin x} dx$$

Your Turn

Find$$\int \left(2x+1\right)e^{x^{2}+x} dx$$

Your Turn

Find$$\int \left(2x+3\right)^{6} dx$$

Your Turn

Find$$\int x^{2}\sin\left(x^{3}-2\right) dx$$

Your Turn

Find$$\int \sin^{5} x \cos x dx$$

Notes

Integration by Substitution can also be applied to integrals that are NOT just the reverse chain rule.

The process is:

  1. Define \(u\)

  2. Differentiate to find \(\frac{du}{dx}\)

  3. Rearrange to get \(dx=\)

  4. Substitute for both \(x\) and \(dx\). You might need to rearrange to make a substitution work

  5. Ensure ALL \(x\) terms have been removed, leaving only \(u\)

  6. Integrate in terms of \(u\)

  7. Re-substitute, replacing each \(u\) with \(x\)

There are some types of functions where a particular substitution is very useful, and others where multiple different substitutions can work.

Examples and Your Turns

Example

Find $$\int x\sqrt{2x+1} dx$$

Example

Find $$\int 3x^{2}\sqrt[3]{2-3x} dx$$

Your Turn

Find $$\int 3x\sqrt{1-2x} dx$$

Your Turn

Find $$\int 4x^{2}\sqrt{4+3x} dx$$

Your Turn

Find $$\int 2x\sqrt[3]{x+1} dx$$

Your Turn

Find $$\int x^{3}\sqrt[4]{1-x} dx$$

Example (Trig Odd Powers)

Find $$\int \sin^{3}x dx$$

Your Turn

Find $$\int \cos^{3}x dx$$

Example (Trig Even Powers)

Find $$\int \sin^{4}x dx$$

Your Turn

Find $$\int \cos^{4}x dx$$

Notes

To integrate \(\sin^{2}x\) use $$\cos 2\theta =1-2\sin^{2}\theta\implies \sin^{2}\theta =\frac{1}{2}\left(1-\cos 2\theta\right)$$

To integrate \(\cos^{2}x\) use $$\cos 2\theta =2\cos^{2}\theta-\implies \cos^{2}\theta =\frac{1}{2}\left(1+\cos 2\theta\right)$$

For odd powers, split into a product of power \(1\) and even power, and substitute the other trig function.

Your Turn

Find $$\int \tan^{2}x dx$$

Your Turn

Find $$\int \sin^{3}x \cos^{2}x dx$$

Your Turn

Find $$\int \sin^{4}x \cos^{7}x dx$$

Notes

For the following functions use the given substitutions

Function Substitution
\(\sqrt{a^2 - x^2}\) \(x = a \sin \theta\)
\(\sqrt{x^2 - a^2}\) \(x = a \sec \theta\)
\(\sqrt{x^2 + a^2}\) \(x = a \tan \theta\)

Examples and Your Turns

Example

Find $$\int \sqrt{25-x^{2}} dx$$

Your Turn

Find $$\int \frac{1}{\sqrt{3x^{2}-48}} dx$$

Your Turn

Find $$\int \frac{1}{\sqrt{x^{2}+2}} dx$$

Key Facts

Use this applet to generate a prompt for a Key Fact that you need to know for the course. The idea is that you should KNOW these key facts in order to be able to solve problems.

Taking it Deeper

Conceptual Questions to Consider

Describe the general process of integration by substitution.

Why must we ensure that ALL \(x\)s have been substituted, including the \(dx\)?

Common Mistakes / Misconceptions

The most common mistake is to not substitute ALL the \(x\) terms, and end up with a mixed integral in \(x\) and \(u\). Sometimes this means you have chosen the wrong substitution.

Another common error is to forget the final step: resubstitute for \(x\). Don’t leave your final answer in terms of \(u\)!

Connecting This to Other Skills

Integration by Substitution begins as a formalised version of the Reverse Chain Rule (5.4) and needs a good understanding of the Chain Rule (4.7). There are some links to Integrating More Trig Functions (5.6) as well, when we need to use Trigonometric Identities (3.12), in particular the Double Angle Fomulae (3.14).

We will see how to perform Definite Integration (5.9) with substitution soon.

Self-Reflection

What was the most challenging part of this skill for you?

What are you still unsure about that you need to review?