5.10 · SLPaper 1Paper 2

Indefinite integration and substitution

In a minute

Read any derivative backwards and you have an integral. You'll integrate xnx^{n}, sin⁡x\sin x, cos⁡x\cos x, ex\mathrm{e}^{x} and 1x\frac{1}{x}, then the same with ax+bax + b inside. Then you'll undo the chain rule, by or .

You'll be able to

  • Integrate xnx^{n} for any rational n≠−1n \neq -1, and sin⁡x\sin x, cos⁡x\cos x, ex\mathrm{e}^{x} and 1x\frac{1}{x}.
  • Integrate any of these with a linear expression ax+bax + b inside, by dividing by aa.
  • Spot an integrand of the form k g′(x) f(g(x))k\,g'(x)\,f(g(x)) and integrate it by .
  • Integrate the same kind of integrand by , letting u=g(x)u = g(x).
Before you start3 quick questions on what this builds on
Check yourself
Find ∫(3x2−4x3)dx\int \left(3x^{2} - \frac{4}{x^{3}}\right)\mathrm{d}x.
Check yourself
Differentiate y=sin⁡(4x)y = \sin(4x).
Check yourself
Differentiate y=ln⁡(5x)y = \ln(5x).

Revise first: 5.5 Antidifferentiation, definite integrals and area and 5.6 Differentiation rules and standard functions

Five standard integrals

Integration undoes differentiation, so every derivative you know gives an integral. Read it backwards: ddx(sin⁡x)=cos⁡x\frac{\mathrm{d}}{\mathrm{d}x}(\sin x) = \cos x, so ∫cos⁡x dx=sin⁡x+C\int \cos x\,\mathrm{d}x = \sin x + C.

The power rule from 5.5 works for any rational power, such as 12\frac{1}{2} or −23-\frac{2}{3}, except −1-1.

In the formula booklet
∫xn dx=xn+1n+1+C,n≠−1\int x^{n}\,\mathrm{d}x = \frac{x^{n+1}}{n+1} + C, \quad n \neq -1

Write roots as powers first: x=x12\sqrt{x} = x^{\frac{1}{2}} and 1x3=x−13\frac{1}{\sqrt[3]{x}} = x^{-\frac{1}{3}}. Dividing by a fraction such as 32\frac{3}{2} is the same as multiplying by 23\frac{2}{3}.

Now the trig and exponential functions. Read each derivative from 5.6 backwards.

In the formula booklet
∫sin⁡x dx=−cos⁡x+C\int \sin x\,\mathrm{d}x = -\cos x + C
In the formula booklet
∫cos⁡x dx=sin⁡x+C\int \cos x\,\mathrm{d}x = \sin x + C
In the formula booklet
∫ex dx=ex+C\int \mathrm{e}^{x}\,\mathrm{d}x = \mathrm{e}^{x} + C

All of these are in the formula booklet. Watch the sign on sin⁡x\sin x: since cos⁡x\cos x differentiates to −sin⁡x-\sin x, it is −cos⁡x-\cos x that differentiates to sin⁡x\sin x. As everywhere in calculus, xx is in radians.

The power rule fails for 1x=x−1\frac{1}{x} = x^{-1}: it would divide by −1+1=0-1 + 1 = 0. But ln⁡x\ln x differentiates to 1x\frac{1}{x}.

ln⁡x\ln x needs x>0x > 0, but 1x\frac{1}{x} exists for x<0x < 0 too. There, the chain rule gives ddxln⁡(−x)=−1−x=1x\frac{\mathrm{d}}{\mathrm{d}x}\ln(-x) = \frac{-1}{-x} = \frac{1}{x}. The modulus ∣x∣|x|, the size of xx without its sign, covers both cases.

In the formula booklet
∫1x dx=ln⁡∣x∣+C\int \frac{1}{x}\,\mathrm{d}x = \ln|x| + C
The graph of y = ln of the modulus of x, with tangents at x = 2 and x = -2 x y O 1 −1 gradient ½ gradient −½ y = ln|x|
The gradient of y=ln⁡∣x∣y = \ln|x| is 1x\frac{1}{x} on both branches: positive on the right, negative on the left.
Worked exampleFind ∫(4x+3x−2cos⁡x)dx\int \left(4\sqrt{x} + \frac{3}{x} - 2\cos x\right)\mathrm{d}x.

Try it first, then reveal one step at a time.

  1. Write the root as a power, 4x124x^{\frac{1}{2}}, then integrate term by term.
Check yourself
Find ∫5x23 dx\int 5x^{\frac{2}{3}}\,\mathrm{d}x.
Check yourself
Find ∫(4sin⁡x−2x)dx\int \left(4\sin x - \frac{2}{x}\right)\mathrm{d}x.
Worked exampleExam style, as in 5.5: a curve with gradient dydx=2ex−3sin⁡x\frac{\mathrm{d}y}{\mathrm{d}x} = 2\mathrm{e}^{x} - 3\sin x goes through (0,8)(0, 8). Find its equation.

Try it first, then reveal one step at a time.

  1. Integrate each term, with the constant: y=2ex−3(−cos⁡x)+C=2ex+3cos⁡x+Cy = 2\mathrm{e}^{x} - 3(-\cos x) + C = 2\mathrm{e}^{x} + 3\cos x + C.
Check yourself
Given f′(x)=6ex−4cos⁡xf'(x) = 6\mathrm{e}^{x} - 4\cos x and f(0)=10f(0) = 10, find the value of the , CC.

A linear expression inside

Differentiate sin⁡(5x−2)\sin(5x - 2) with the chain rule and you get 5cos⁡(5x−2)5\cos(5x - 2). The 55 is the derivative of the inside, 5x−25x - 2.

So integrating cos⁡(5x−2)\cos(5x - 2) must undo that factor of 55. Divide by it: ∫cos⁡(5x−2) dx=15sin⁡(5x−2)+C\int \cos(5x - 2)\,\mathrm{d}x = \frac{1}{5}\sin(5x - 2) + C.

So integrate as if the bracket were xx, then divide by aa, the number in front of xx. These forms aren't in the booklet; they all follow from that one idea.

Learn this
∫(ax+b)n dx=(ax+b)n+1a(n+1)+C,n≠−1∫1ax+b dx=1aln⁡∣ax+b∣+C∫eax+b dx=1aeax+b+C∫sin⁡(ax+b) dx=−1acos⁡(ax+b)+C∫cos⁡(ax+b) dx=1asin⁡(ax+b)+C\begin{aligned}\int (ax+b)^{n}\,\mathrm{d}x &= \frac{(ax+b)^{n+1}}{a(n+1)} + C, \quad n \neq -1 \\\int \frac{1}{ax+b}\,\mathrm{d}x &= \frac{1}{a}\ln|ax+b| + C \\\int \mathrm{e}^{ax+b}\,\mathrm{d}x &= \frac{1}{a}\mathrm{e}^{ax+b} + C \\\int \sin(ax+b)\,\mathrm{d}x &= -\frac{1}{a}\cos(ax+b) + C \\\int \cos(ax+b)\,\mathrm{d}x &= \frac{1}{a}\sin(ax+b) + C\end{aligned}
Worked exampleFind ∫cos⁡(4x−1) dx\int \cos(4x - 1)\,\mathrm{d}x.

Try it first, then reveal one step at a time.

  1. The inside is 4x−14x - 1. It is linear, with a=4a = 4.
Check yourself
Find ∫sin⁡(x3)dx\int \sin\left(\frac{x}{3}\right)\mathrm{d}x.
Worked exampleFind ∫(63x+2−4e−2x)dx\int \left(\frac{6}{\sqrt{3x + 2}} - 4\mathrm{e}^{-2x}\right)\mathrm{d}x.

Try it first, then reveal one step at a time.

  1. Write the first term as a power: 63x+2=6(3x+2)−12\frac{6}{\sqrt{3x + 2}} = 6(3x + 2)^{-\frac{1}{2}}. Its inside is 3x+23x + 2, so a=3a = 3.
Check yourself
Find ∫14x+3 dx\int \frac{1}{4x + 3}\,\mathrm{d}x.

Your GDC can't find an indefinite integral. On Paper 2 you integrate by hand, then use it for the numbers.

Worked exampleA function ff is defined for x>0x > 0, with f′(x)=3x+e0.5xf'(x) = \frac{3}{x} + \mathrm{e}^{0.5x} and f(2)=4f(2) = 4. Use your calculator to find f(5)f(5). Give your answer to 3 s.f.

Try it first, then reveal one step at a time.

  1. Integrate term by term. In e0.5x\mathrm{e}^{0.5x}, a=0.5a = 0.5, and dividing by 0.50.5 doubles: f(x)=3ln⁡x+2e0.5x+Cf(x) = 3\ln x + 2\mathrm{e}^{0.5x} + C. You can write ln⁡x\ln x for ln⁡∣x∣\ln|x| because x>0x > 0.

Reversing the chain rule

Differentiate (x2+4)3(x^{2} + 4)^{3} with the chain rule: 3(x2+4)2×2x=6x(x2+4)23(x^{2} + 4)^{2} \times 2x = 6x(x^{2} + 4)^{2}. Read that backwards and you have an integral: ∫6x(x2+4)2 dx=(x2+4)3+C\int 6x(x^{2} + 4)^{2}\,\mathrm{d}x = (x^{2} + 4)^{3} + C.

It worked because the integrand holds an inner function, g(x)=x2+4g(x) = x^{2} + 4, and its derivative, 2x2x, as a factor. A constant in front doesn't matter: you can always fix a constant.

Finding the answer this way, by spotting it, is called . Here is the method.

1. Find the inner function g(x)g(x): the part inside a bracket, root, exponent or trig function.

2. Check that g′(x)g'(x) is a factor of the rest, up to a constant.

3. Guess: integrate the outer function, keeping g(x)g(x) inside it unchanged.

4. Differentiate your guess. Then multiply by whatever constant makes it match the integrand.

Worked exampleFind ∫x(x2−3)4 dx\int x(x^{2} - 3)^{4}\,\mathrm{d}x.

Try it first, then reveal one step at a time.

  1. The inner function is g(x)=x2−3g(x) = x^{2} - 3, with g′(x)=2xg'(x) = 2x. The factor xx is g′(x)g'(x) times the constant 12\frac{1}{2}, so inspection works.
Check yourself
Find ∫6xsin⁡(x2)dx\int 6x\sin\left(x^{2}\right)\mathrm{d}x.

Watch for a fraction whose top is the derivative of its bottom, g′(x)g(x)\frac{g'(x)}{g(x)}. The outer function is 1u\frac{1}{u}, which integrates to ln⁡∣u∣\ln|u|.

Learn this
∫g′(x)g(x) dx=ln⁡∣g(x)∣+C\int \frac{g'(x)}{g(x)}\,\mathrm{d}x = \ln|g(x)| + C
Worked exampleFind ∫sin⁡xcos⁡x dx\int \frac{\sin x}{\cos x}\,\mathrm{d}x.

Try it first, then reveal one step at a time.

  1. Take the bottom as g(x)=cos⁡xg(x) = \cos x. Its derivative is g′(x)=−sin⁡xg'(x) = -\sin x.
Check yourself
Find ∫6x2x3+5 dx\int \frac{6x^{2}}{x^{3} + 5}\,\mathrm{d}x.

Integration by substitution

Inspection asks you to see the answer. When you can't, does the same job one written step at a time. You rename the inner function as a single letter, uu.

Let u=g(x)u = g(x). Then dudx=g′(x)\frac{\mathrm{d}u}{\mathrm{d}x} = g'(x), which you write as du=g′(x) dx\mathrm{d}u = g'(x)\,\mathrm{d}x. So the piece g′(x) dxg'(x)\,\mathrm{d}x in the integral becomes du\mathrm{d}u.

Learn this
∫k g′(x) f(g(x)) dx=k∫f(u) du,where u=g(x)\int k\,g'(x)\,f(g(x))\,\mathrm{d}x = k\int f(u)\,\mathrm{d}u, \quad \text{where } u = g(x)

This is shorthand, but the chain rule result in the last section guarantees the answer.

1. Choose uu: the inner function g(x)g(x).

2. Find dudx\frac{\mathrm{d}u}{\mathrm{d}x}, then write du\mathrm{d}u in terms of dx\mathrm{d}x.

3. Rewrite the whole integral in terms of uu. No xx may be left, not even in dx\mathrm{d}x.

4. Integrate with respect to uu, then put u=g(x)u = g(x) back and add + C+\,C.

Worked exampleUse the substitution u=x3+2u = x^{3} + 2 to find ∫3x2x3+2 dx\int 3x^{2}\sqrt{x^{3} + 2}\,\mathrm{d}x.

Try it first, then reveal one step at a time.

  1. Let u=x3+2u = x^{3} + 2. Then dudx=3x2\frac{\mathrm{d}u}{\mathrm{d}x} = 3x^{2}, so du=3x2 dx\mathrm{d}u = 3x^{2}\,\mathrm{d}x.
Worked exampleFind ∫cos⁡x(2+sin⁡x)3 dx\int \frac{\cos x}{(2 + \sin x)^{3}}\,\mathrm{d}x.

Try it first, then reveal one step at a time.

  1. The bracket holds the inner function. Let u=2+sin⁡xu = 2 + \sin x. Then dudx=cos⁡x\frac{\mathrm{d}u}{\mathrm{d}x} = \cos x, so du=cos⁡x dx\mathrm{d}u = \cos x\,\mathrm{d}x.
Check yourself
Find ∫xx2+9 dx\int \frac{x}{\sqrt{x^{2} + 9}}\,\mathrm{d}x.
Check yourself
Find ∫sin⁡x (cos⁡x)4 dx\int \sin x\,(\cos x)^{4}\,\mathrm{d}x.

Common mistakes

  • Differentiating instead of integrating. ∫e3x dx\int \mathrm{e}^{3x}\,\mathrm{d}x is 13e3x+C\frac{1}{3}\mathrm{e}^{3x} + C, not 3e3x3\mathrm{e}^{3x}: integrating divides by aa.
  • Losing a minus sign. ∫sin⁡x dx=−cos⁡x+C\int \sin x\,\mathrm{d}x = -\cos x + C and ∫e−x dx=−e−x+C\int \mathrm{e}^{-x}\,\mathrm{d}x = -\mathrm{e}^{-x} + C. Differentiate your answer to catch it.
  • Multiplying by aa when aa is a fraction. The inside of cos⁡(x2)\cos\left(\frac{x}{2}\right) has a=12a = \frac{1}{2}, so ∫cos⁡(x2)dx=2sin⁡(x2)+C\int \cos\left(\frac{x}{2}\right)\mathrm{d}x = 2\sin\left(\frac{x}{2}\right) + C.
  • Using the power rule on 1x\frac{1}{x}, which divides by zero. ∫1x dx=ln⁡∣x∣+C\int \frac{1}{x}\,\mathrm{d}x = \ln|x| + C.
  • Leaving out + C+\,C. The answer is incomplete, and a later part that needs the constant can't be done.

Exam tips

  • On a "find" question, write the integrand in the form you integrate, such as 6(3x+2)−126(3x + 2)^{-\frac{1}{2}}. That line shows your method even if the last step slips.
  • "By inspection or otherwise" means any correct method earns the marks. If you use substitution, write down u=…u = \ldots and du=…\mathrm{d}u = \ldots.
  • On Paper 1, leave answers exact, such as 3−ln⁡23 - \ln 2. On Paper 2, write down what you evaluate, keep CC unrounded, and give the final value to 3 s.f.

Key takeaways

In booklet∫xn dx=xn+1n+1+C,n≠−1\int x^{n}\,\mathrm{d}x = \frac{x^{n+1}}{n+1} + C, \quad n \neq -1
In booklet∫sin⁡x dx=−cos⁡x+C\int \sin x\,\mathrm{d}x = -\cos x + C
In booklet∫cos⁡x dx=sin⁡x+C\int \cos x\,\mathrm{d}x = \sin x + C
In booklet∫ex dx=ex+C\int \mathrm{e}^{x}\,\mathrm{d}x = \mathrm{e}^{x} + C
In booklet∫1x dx=ln⁡∣x∣+C\int \frac{1}{x}\,\mathrm{d}x = \ln|x| + C
Learn this∫(ax+b)n dx=(ax+b)n+1a(n+1)+C,n≠−1∫1ax+b dx=1aln⁡∣ax+b∣+C∫eax+b dx=1aeax+b+C∫sin⁡(ax+b) dx=−1acos⁡(ax+b)+C∫cos⁡(ax+b) dx=1asin⁡(ax+b)+C\begin{aligned}\int (ax+b)^{n}\,\mathrm{d}x &= \frac{(ax+b)^{n+1}}{a(n+1)} + C, \quad n \neq -1 \\\int \frac{1}{ax+b}\,\mathrm{d}x &= \frac{1}{a}\ln|ax+b| + C \\\int \mathrm{e}^{ax+b}\,\mathrm{d}x &= \frac{1}{a}\mathrm{e}^{ax+b} + C \\\int \sin(ax+b)\,\mathrm{d}x &= -\frac{1}{a}\cos(ax+b) + C \\\int \cos(ax+b)\,\mathrm{d}x &= \frac{1}{a}\sin(ax+b) + C\end{aligned}
Learn this∫g′(x)g(x) dx=ln⁡∣g(x)∣+C\int \frac{g'(x)}{g(x)}\,\mathrm{d}x = \ln|g(x)| + C
In booklet∫sin⁡x dx=−cos⁡x+C\int \sin x\,\mathrm{d}x = -\cos x + C, ∫cos⁡x dx=sin⁡x+C\int \cos x\,\mathrm{d}x = \sin x + C and ∫ex dx=ex+C\int \mathrm{e}^{x}\,\mathrm{d}x = \mathrm{e}^{x} + C.
Learn thisLinear inside: integrate as if ax+bax + b were xx, then divide by aa.
Learn thisFor k g′(x) f(g(x))k\,g'(x)\,f(g(x)): guess F(g(x))F(g(x)), differentiate it, then fix the constant.
Learn thisSubstitution: let u=g(x)u = g(x), replace g′(x) dxg'(x)\,\mathrm{d}x by du\mathrm{d}u, integrate, then put g(x)g(x) back.
Learn thisEvery indefinite integral ends + C+\,C. Check it by differentiating.

Practise this

13 past-paper questions on 5.10 in the AA HL bank, each with a mark scheme and a worked explanation.

Practise 5.10 →