5.11 · AHL · HL onlyPaper 1Paper 2

Standard integrals and substitution

In a minute

Read any derivative backwards and you have an integral. You'll integrate xnx^{n} for rational nn (including 1x\frac{1}{x}), sin⁡x\sin x, cos⁡x\cos x, 1cos⁡2x\frac{1}{\cos^{2}x} and ex\mathrm{e}^{x}, and find exactly. Then you'll undo the , by inspection or substitution, to find totals from rates.

You'll be able to

  • Integrate xnx^{n} for any rational nn, using ln⁡∣x∣\ln|x| when n=−1n = -1.
  • Integrate sin⁡x\sin x, cos⁡x\cos x, 1cos⁡2x\frac{1}{\cos^{2}x} and ex\mathrm{e}^{x}, and find exact values of definite integrals.
  • 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)), including g′(x)g(x)\frac{g'(x)}{g(x)}, and integrate it by inspection.
  • Integrate by substitution with u=g(x)u = g(x), changing the limits of a definite integral, and interpret totals found from rates.
Before you start3 quick questions on what this builds on
Check yourself
Write 4x\frac{4}{\sqrt{x}} as a power of xx.
Check yourself
Differentiate y=cos⁡(x3)y = \cos\left(x^{3}\right).
Check yourself
Find ∫(6x2−4x+1)dx\int \left(6x^{2} - 4x + 1\right)\mathrm{d}x.

Revise first: 1.5 Exponents and introductory logarithms, 1.9 Laws of logarithms, 1.10 Rational exponents, 2.5 Modelling with functions, 2.7 Composite and inverse functions, 3.7 Radians, arc length and sector area, 5.5 Antidifferentiation, definite integrals and area and 5.9 Differentiation rules and related rates

Standard integrals

In 5.5 you integrated whole-number powers of xx. Integration undoes differentiation, so every derivative from 5.9 read backwards gives a new integral.

The power rule works for any rational power, such as 12\frac{1}{2} or −32-\frac{3}{2}. Write roots and fractions as powers first: x=x12\sqrt{x} = x^{\frac{1}{2}} and 1x2=x−2\frac{1}{x^{2}} = x^{-2}.

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

The rule fails for n=−1n = -1: it would divide by 00. Instead, use the , ln⁡\ln. For x>0x > 0, ln⁡x\ln x differentiates to 1x\frac{1}{x}.

For x<0x < 0, the chain rule gives ddxln⁡(−x)=−1−x=1x\frac{\mathrm{d}}{\mathrm{d}x}\ln(-x) = \frac{-1}{-x} = \frac{1}{x} too. 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

Now the trig and . Each is a derivative from 5.9 read backwards. The last one comes from ddxtan⁡x=1cos⁡2x\frac{\mathrm{d}}{\mathrm{d}x}\tan x = \frac{1}{\cos^{2}x}.

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
∫1cos⁡2x dx=tan⁡x+C\int \frac{1}{\cos^{2}x}\,\mathrm{d}x = \tan x + C
In the formula booklet
∫ex dx=ex+C\int \mathrm{e}^{x}\,\mathrm{d}x = \mathrm{e}^{x} + C

All six are in the formula booklet. The trig results need xx in , because the derivatives they come from only hold in radians.

Worked exampleFind ∫(6x+2x−3sin⁡x)dx\int \left(\frac{6}{\sqrt{x}} + \frac{2}{x} - 3\sin x\right)\mathrm{d}x.

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

  1. Write each term in a standard form: 6x=6x−12\frac{6}{\sqrt{x}} = 6x^{-\frac{1}{2}}, and 2x=2×1x\frac{2}{x} = 2 \times \frac{1}{x}.
Check yourself
Find ∫4x13 dx\int 4x^{\frac{1}{3}}\,\mathrm{d}x.

A of these functions can now be found exactly, by hand. Find an FF of ff, then subtract its values at the limits:

Learn this
∫abf(x) dx=[F(x)]ab=F(b)−F(a)\int_{a}^{b} f(x)\,\mathrm{d}x = \Big[F(x)\Big]_{a}^{b} = F(b) - F(a)

This needs ff to be continuous from aa to bb. For 1x\frac{1}{x}, both limits must be on the same side of 00. The + C+\,C cancels when you subtract, so leave it out.

An exact answer keeps ln⁡\ln, π\pi and roots in it. Your GDC gives a decimal: a good check, but not an exact answer.

Worked exampleFind the exact value of ∫14(3x+2x)dx\int_{1}^{4} \left(3\sqrt{x} + \frac{2}{x}\right)\mathrm{d}x.

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

  1. Write the integrand as 3x12+2x−13x^{\frac{1}{2}} + 2x^{-1}. The second term is the n=−1n = -1 case, so it gives a log.
Check yourself
Find the exact value of ∫0π3(2cos⁡x+1cos⁡2x)dx\int_{0}^{\frac{\pi}{3}} \left(2\cos x + \frac{1}{\cos^{2}x}\right)\mathrm{d}x.
x y −4 −1 1 4 ln 4 −ln 4 y = 1/x
∫141x dx=ln⁡4\int_{1}^{4} \frac{1}{x}\,\mathrm{d}x = \ln 4. The region from −4-4 to −1-1 is its mirror image below the axis, so ∫−4−11x dx=ln⁡∣−1∣−ln⁡∣−4∣=−ln⁡4\int_{-4}^{-1} \frac{1}{x}\,\mathrm{d}x = \ln|-1| - \ln|-4| = -\ln 4.
Check yourself
Find the exact value of ∫−5−12x dx\int_{-5}^{-1} \frac{2}{x}\,\mathrm{d}x.

On Paper 2 you still integrate by hand when a question asks for an exact value. The GDC confirms the number. In context, say what the total means, with units.

Worked exampleDuring a storm, water flows into a reservoir at a rate of r(t)=3+12tr(t) = 3 + \frac{12}{t} thousand m3\text{m}^{3} per hour, for 1≤t≤81 \le t \le 8. Here tt is the time in hours since the storm began. Find the volume that flows in between t=2t = 2 and t=8t = 8. Give your answer to 3 s.f. and interpret it.

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

  1. The volume is the integral of the rate. Write it down: V=∫28(3+12t)dtV = \int_{2}^{8} \left(3 + \frac{12}{t}\right)\mathrm{d}t. This line earns the method mark.

Reversing the chain rule

Differentiate e5x−2\mathrm{e}^{5x - 2} with the and you get 5e5x−25\mathrm{e}^{5x - 2}. The 55 is the derivative of the inside, 5x−25x - 2.

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

So integrate as if the bracket were xx, then divide by aa, the number in front of xx. These forms are not 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∫1cos⁡2(ax+b) dx=1atan⁡(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 \\ \int \frac{1}{\cos^{2}(ax+b)}\,\mathrm{d}x &= \frac{1}{a}\tan(ax+b) + C\end{aligned}
Worked exampleFind ∫(32x+7−1cos⁡2(4x))dx\int \left(\frac{3}{2x + 7} - \frac{1}{\cos^{2}(4x)}\right)\mathrm{d}x.

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

  1. First term: the inside is 2x+72x + 7, so a=2a = 2. 1u\frac{1}{u} integrates to ln⁡∣u∣\ln|u|, so ∫32x+7 dx=32ln⁡∣2x+7∣\int \frac{3}{2x + 7}\,\mathrm{d}x = \frac{3}{2}\ln|2x + 7|.
Check yourself
Find ∫e1−3x dx\int \mathrm{e}^{1 - 3x}\,\mathrm{d}x.

The inside need not be linear. Differentiate (x3+2)5(x^{3} + 2)^{5}: you get 5(x3+2)4×3x2=15x2(x3+2)45(x^{3} + 2)^{4} \times 3x^{2} = 15x^{2}(x^{3} + 2)^{4}. Read backwards, ∫15x2(x3+2)4 dx=(x3+2)5+C\int 15x^{2}(x^{3} + 2)^{4}\,\mathrm{d}x = (x^{3} + 2)^{5} + C.

That integrand is a f(g(x))f(g(x)) times g′(x)g'(x), the derivative of its inside. A constant in front doesn't matter, because you can always fix a constant.

1. Find the inner function g(x)g(x): the part inside a bracket, root, power of e\mathrm{e} 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. Multiply by the constant that makes it match the integrand.

Worked exampleFind ∫8xsin⁡(x2+1)dx\int 8x\sin\left(x^{2} + 1\right)\mathrm{d}x.

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

  1. The inner function is g(x)=x2+1g(x) = x^{2} + 1, with g′(x)=2xg'(x) = 2x. The factor 8x8x is 4×2x4 \times 2x, so inspection works.
Check yourself
Find ∫6x(x2−4)5dx\int 6x\left(x^{2} - 4\right)^{5}\mathrm{d}x.

Watch for a fraction whose top is a constant times the derivative of its bottom. 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 ∫2sin⁡x5+cos⁡x dx\int \frac{2\sin x}{5 + \cos x}\,\mathrm{d}x.

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

  1. Take the bottom as g(x)=5+cos⁡xg(x) = 5 + \cos x. Its derivative is g′(x)=−sin⁡xg'(x) = -\sin x.
Worked exampleA new app is downloaded at a rate of dDdt=603t+4\frac{\mathrm{d}D}{\mathrm{d}t} = \frac{60}{3t + 4} thousand downloads per week, where tt is the time in weeks since launch. At launch, D=0D = 0. Find DD in terms of tt, and hence the number of downloads in the first 8 weeks. Comment on the model in the long run.

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

  1. The inside, 3t+43t + 4, is linear with a=3a = 3. So D=603ln⁡∣3t+4∣+C=20ln⁡(3t+4)+CD = \frac{60}{3}\ln|3t + 4| + C = 20\ln(3t + 4) + C. Since t≥0t \ge 0, 3t+4>03t + 4 > 0.

Integration by substitution

Inspection asks you to see the answer. reaches the same answer 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
∫f(g(x)) g′(x) dx=∫f(u) du,where u=g(x)\int f(g(x))\,g'(x)\,\mathrm{d}x = \int f(u)\,\mathrm{d}u, \quad \text{where } u = g(x)

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=x2+3u = x^{2} + 3 to find ∫x(x2+3)3 dx\int \frac{x}{\left(x^{2} + 3\right)^{3}}\,\mathrm{d}x.

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

  1. Let u=x2+3u = x^{2} + 3. Then dudx=2x\frac{\mathrm{d}u}{\mathrm{d}x} = 2x, so du=2x dx\mathrm{d}u = 2x\,\mathrm{d}x and x dx=12 dux\,\mathrm{d}x = \frac{1}{2}\,\mathrm{d}u.
Check yourself
Use u=cos⁡xu = \cos x to find ∫sin⁡xcos⁡3x dx\int \frac{\sin x}{\cos^{3}x}\,\mathrm{d}x.

For a definite integral, change the limits to values of uu as well: when x=ax = a, u=g(a)u = g(a). Then you never need to put xx back.

Worked exampleWater flows into a tank at a rate of r(t)=8tt2+4r(t) = \frac{8t}{t^{2} + 4} litres per minute, where tt is the time in minutes. Use the substitution u=t2+4u = t^{2} + 4 to find the exact volume that flows in during the first 6 minutes. Check it on your GDC and interpret it.

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

  1. Write down the volume: ∫068tt2+4 dt\int_{0}^{6} \frac{8t}{t^{2} + 4}\,\mathrm{d}t.
Check yourself
Use u=x2+1u = x^{2} + 1 to find the exact value of ∫02x(x2+1)2dx\int_{0}^{2} x\left(x^{2} + 1\right)^{2}\mathrm{d}x.

Common mistakes

  • Leaving out + C+\,C on an . Mark schemes withhold the final accuracy mark without it, and a later part that needs the constant can't be done.
  • Losing the number in front. ∫63x+1 dx=2ln⁡∣3x+1∣+C\int \frac{6}{3x + 1}\,\mathrm{d}x = 2\ln|3x + 1| + C: integrate as if the bracket were xx, then divide the 66 by a=3a = 3.
  • Losing the minus sign when aa is negative. ∫14−x dx=−ln⁡∣4−x∣+C\int \frac{1}{4 - x}\,\mathrm{d}x = -\ln|4 - x| + C, because the inside 4−x4 - x has a=−1a = -1.
  • Giving only a GDC decimal when the question asks for an exact value or a form such as aln⁡ba\ln b. Show the antiderivative with both limits substituted; the GDC value is only a check.
  • Using the xx-limits after switching to uu. Change both limits to uu-values, or put xx back first.

Exam tips

  • "Find" by substitution: write down both u=…u = \ldots and dudx=…\frac{\mathrm{d}u}{\mathrm{d}x} = \ldots (or du=… dx\mathrm{d}u = \ldots\,\mathrm{d}x). The method mark needs both to be seen.
  • "By inspection or otherwise" means any correct method earns the marks. Differentiate an inspection answer to check it before you move on.
  • "Find the exact value": keep ln⁡\ln, π\pi and roots. Use the laws of logarithms to reach a requested form such as aln⁡ba\ln b; more than one correct pair of values may be possible.
  • On Paper 2, write down the integral you evaluate, with its limits, before the GDC value. That set-up earns the method mark even if the final value slips.

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∫1x dx=ln⁡∣x∣+C\int \frac{1}{x}\,\mathrm{d}x = \ln|x| + C
In bookletWith xx in radians: ∫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 ∫1cos⁡2x dx=tan⁡x+C\int \frac{1}{\cos^{2}x}\,\mathrm{d}x = \tan x + C. Also ∫ex dx=ex+C\int \mathrm{e}^{x}\,\mathrm{d}x = \mathrm{e}^{x} + C.
Learn this∫abf(x) dx=F(b)−F(a)\int_{a}^{b} f(x)\,\mathrm{d}x = F(b) - F(a), where FF is any antiderivative of ff and ff is continuous from aa to bb.
Learn thisLinear inside: integrate as if ax+bax + b were xx, then divide by aa (for a≠0a \neq 0).
Learn thisInspection: when the integrand is a constant times g′(x) f(g(x))g'(x)\,f(g(x)), integrate the outer function ff with g(x)g(x) kept inside, differentiate your guess, then fix the constant.
Learn this∫g′(x)g(x) dx=ln⁡∣g(x)∣+C\int \frac{g'(x)}{g(x)}\,\mathrm{d}x = \ln|g(x)| + C
Learn thisSubstitution: let u=g(x)u = g(x) and replace g′(x) dxg'(x)\,\mathrm{d}x by du\mathrm{d}u. For a definite integral, change the limits to uu-values.

Practise this

7 past-paper questions on Techniques of integration in the AI HL bank, each with a mark scheme and a worked explanation.

Also: Integrating special functions (3)

Practise Techniques of integration →