Integration · Lesson 1 of 3

Integration techniques

The curve from its gradient, simplifying before integrating, substitution (and changing the limits), logarithms, and splitting into partial fractions first.

  1. 1
  2. 2
  3. 3

In General Maths you integrated powers of xx, found the constant cc, and worked out definite integrals (see calculus). Further Maths expressions need a little preparation before they can be integrated. This lesson collects the four ways to prepare them.

∫ a xⁿ dx = a xn + 1 ⁄ (n + 1) + c
add 1 to the power, then divide by the new power; never forget + c (n ≠ −1)
Integrating a powerAdd 1 to the power, divide by the new power, add c

The curve from its gradient

Integrating a gradient gives the curve, up to the constant cc. A point on the curve fixes cc.

Worked example · WAEC 2011

WAEC 2011 · Paper 2 · Q10 (a)

The gradient of a curve is given by 2x−3x22x - 3x^2. Find the equation of the curve if the point (1,2)(1, 2) lies on it.

  1. Integrate the gradient

    • y=∫(2x−3x2) dx=x2−x3+c{y = \int (2x - 3x^2)\,dx = x^2 - x^3 + c}.

    Think first. Integrate 2x − 3x².

  2. Use the point

    • 2=1−1+c{2 = 1 - 1 + c}, so c=2{c = 2}.
    • The curve is y=x2−x3+2{y = x^2 - x^3 + 2}.

    Think first. Put x = 1 and y = 2.

More: the curve from its gradient

Simplify first

There is no product or quotient rule for integration. Before integrating, multiply out brackets and divide each term by a single power of xx, so that every term is a power of xx:

  • For example, x3−x2+2x2=x−1+2x−2{\frac{x^3 - x^2 + 2}{x^2} = x - 1 + 2x^{-2}}.
  • Then ∫(x−1+2x−2) dx=x22−x−2x+c{\int (x - 1 + 2x^{-2})\,dx = \frac{x^2}{2} - x - \frac2x + c}.

More: simplify, then integrate

Substitution

When a bracket is raised to a power and multiplied by the derivative of what is inside, let uu be the inside:

∫ 2x(x² + 1)³ dx: let u = x² + 1, so du = 2x dx
= ∫ u³ du = u⁴ ⁄ 4 + c = (x² + 1)⁴ ⁄ 4 + c
let u be the inside; its derivative should appear outside; change the limits too
Substitutionu = the inside; du = u′ dx; swap everything into u

For a definite integral, change the limits to values of uu as well. Then you never need to swap back.

Integration by substitutionStep through
  1. ∫ 3x²(x³ + 2)⁴ dx
∫ 3x²(x³ + 2)⁴ dxstep 0 of 4
A power of a bracket, multiplied by something. Look inside the bracket.

Worked example · WAEC 2018

WAEC 2018 · Paper 2 · Q11 (b)

Find ∫x1−x dx\displaystyle\int x\sqrt{1 - x}\,dx.

  1. Choose u

    • Let u=1−x{u = 1 - x}. Then x=1−u{x = 1 - u} and dx=−du{dx = -du}.

    Think first. What is inside the root? Write x and dx in terms of u.

  2. Swap everything into u

    • ∫x1−x dx=∫(1−u)u12(−du){\int x\sqrt{1 - x}\,dx = \int (1 - u)u^{\frac12}(-du)}.
    • =−∫(u12−u32)du{= -\int \left(u^{\frac12} - u^{\frac32}\right)du}.
  3. Integrate

    • −(23u32−25u52)+c{-\left(\frac23u^{\frac32} - \frac25u^{\frac52}\right) + c}.
    • =25u52−23u32+c{= \frac25u^{\frac52} - \frac23u^{\frac32} + c}.

    Think first. Add 1 to each power and divide by the new power.

  4. Put x back

    • 25(1−x)52−23(1−x)32+c{\frac25(1 - x)^{\frac52} - \frac23(1 - x)^{\frac32} + c}.

More: substitution

Logarithms

When the top is the derivative of the bottom, the integral is a logarithm:

∫ 1 ⁄ (ax + b) dx = (1 ⁄ a) ln|ax + b| + c
∫ f′(x) ⁄ f(x) dx = ln|f(x)| + c
when the top is the derivative of the bottom, the answer is a log
Integrals that give logs∫ f′(x) ÷ f(x) dx = ln|f(x)| + c

Worked example · WAEC 2020

WAEC 2020 · Paper 2 · Q11 (b)

Evaluate ∫−π2π24cos⁡θ3+2sin⁡θ dθ\displaystyle\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}} \frac{4\cos\theta}{3 + 2\sin\theta}\,d\theta (4 d.p.).

  1. Choose u

    • Let u=3+2sin⁡θ{u = 3 + 2\sin\theta}, so du=2cos⁡θ dθ{du = 2\cos\theta\,d\theta}.
    • The top, 4cos⁡θ dθ{4\cos\theta\,d\theta}, is 2 du{2\,du}.

    Think first. The bottom is 3 + 2 sin θ. What is its derivative?

  2. Change the limits

    • θ=−π2{\theta = -\frac\pi2}: u=3−2=1{u = 3 - 2 = 1}.
    • θ=π2{\theta = \frac\pi2}: u=3+2=5{u = 3 + 2 = 5}.

    Think first. Work out u at θ = −π/2 and θ = π/2.

  3. Integrate

    • ∫152u du=[2ln⁡u]15{\int_1^5 \frac2u\,du = [2\ln u]_1^5}.
    • =2ln⁡5−2ln⁡1=2ln⁡5≈3.2189{= 2\ln5 - 2\ln1 = 2\ln5 \approx 3.2189}.

Partial fractions first

A fraction with a factorised bottom can’t be integrated as it stands. Split it into partial fractions (see partial fractions), then integrate each piece: Ax+a\frac{A}{x + a} gives a log, and B(x+a)2\frac{B}{(x + a)^2} gives a power.

Worked example · WAEC 2017

WAEC 2017 · Paper 2 · Q2

Evaluate ∫13x−1(x+1)2 dx\displaystyle\int_1^3 \frac{x - 1}{(x + 1)^2}\,dx (3 d.p.).

  1. Partial fractions

    • x−1(x+1)2=Ax+1+B(x+1)2{\frac{x - 1}{(x + 1)^2} = \frac{A}{x + 1} + \frac{B}{(x + 1)^2}}, so x−1=A(x+1)+B{x - 1 = A(x + 1) + B}.
    • Put x=−1x = -1: B=−2{B = -2}. Compare the xx terms: A=1{A = 1}.

    Think first. Write x − 1 = A(x + 1) + B.

  2. Integrate each piece

    • ∫1x+1 dx=ln⁡(x+1){\int \frac{1}{x + 1}\,dx = \ln(x + 1)}.
    • ∫−2(x+1)−2 dx=2x+1{\int -2(x + 1)^{-2}\,dx = \frac{2}{x + 1}}.
    • So the integral is [ln⁡(x+1)+2x+1]13{\left[\ln(x + 1) + \frac{2}{x + 1}\right]_1^3}.
  3. The limits

    • At x=3x = 3: ln⁡4+12{\ln4 + \frac12}. At x=1x = 1: ln⁡2+1{\ln2 + 1}.
    • Subtract: ln⁡4−ln⁡2−12=ln⁡2−12{\ln4 - \ln2 - \frac12 = \ln2 - \frac12}.
    • ≈0.6931−0.5=0.193{\approx 0.6931 - 0.5 = 0.193}.

Your turn

WAEC 2016 · Paper 2 · Q9

  1. (a)

    Express x+6(x+1)3\dfrac{x + 6}{(x + 1)^3} in partial fractions.

  2. (b)

    Use the answer in (a) to evaluate ∫12x+6(x+1)3 dx\displaystyle\int_1^2 \frac{x + 6}{(x + 1)^3}\,dx.

Worked solution (try it first)

(a)

  1. Write Ax+1+B(x+1)2+C(x+1)3\dfrac{A}{x + 1} + \dfrac{B}{(x + 1)^2} + \dfrac{C}{(x + 1)^3} and multiply through: x+6=A(x+1)2+B(x+1)+Cx + 6 = A(x + 1)^2 + B(x + 1) + C.
  2. Put x=−1x = -1: 5=C5 = C.
  3. The x2x^2 terms: 0=A0 = A.
  4. The xx terms: 1=2A+B1 = 2A + B, so B=1B = 1.
  5. So the answer is 1(x+1)2+5(x+1)3\dfrac{1}{(x + 1)^2} + \dfrac{5}{(x + 1)^3}.

(b)

  1. Integrate each piece: ∫(x+1)−2 dx=−1x+1\displaystyle\int (x + 1)^{-2}\,dx = -\frac{1}{x + 1} and ∫5(x+1)−3 dx=−52(x+1)2\displaystyle\int 5(x + 1)^{-3}\,dx = -\frac{5}{2(x + 1)^2}.
  2. At x=2x = 2: −13−518=−1118-\frac13 - \frac{5}{18} = -\frac{11}{18}.
  3. At x=1x = 1: −12−58=−98-\frac12 - \frac58 = -\frac98.
  4. Subtract: −1118+98=−44+8172-\frac{11}{18} + \frac98 = \frac{-44 + 81}{72}
    =3772= \frac{37}{72}
    ≈0.514\approx 0.514.

Report a problem with this question