Leaving Certificate Mathematics8.5 Integration by substitution

All books

8.5 Integration by substitution — Learn

Prerequisites: Sections 8.1 to 8.4 — integration and area; Section 7.5 — the chain rule.

Objectives: recognise an integral that a substitution will simplify; choose the inner function as uu; rewrite the integral and dxdx in terms of uu; change the limits of a definite integral.

By the end of this section you can integrate a function of a function.

Substitution reverses the chain rule

The chain rule differentiates a function of a function. Substitution integrates one, by undoing the same move.

The pattern to look for is an inner function together with a multiple of its derivative:

∫f′(x) g(f(x)) dx.\int f'(x)\,g(f(x))\,dx.

Let u=f(x)u = f(x). Then du=f′(x) dxdu = f'(x)\,dx, and the integral becomes

∫g(u) du.\int g(u)\,du.

If that is simpler, the substitution has done its job.

Example 1. Find ∫2x(x2+1)3 dx\displaystyle\int 2x(x^2 + 1)^3\,dx.

Let u=x2+1u = x^2 + 1. Then dudx=2x\dfrac{du}{dx} = 2x, so du=2x dxdu = 2x\,dx, which is exactly the rest of the integrand. Then

∫2x(x2+1)3 dx=∫u3 du=u44+C=(x2+1)44+C.\int 2x(x^2 + 1)^3\,dx = \int u^3\,du = \frac{u^4}{4} + C = \frac{(x^2 + 1)^4}{4} + C.

Here CC is the constant of integration. Check by differentiating. The chain rule brings back 2x2x and the cube, so the answer is right.

Example 2. Find ∫6x(3x2+1)2 dx\displaystyle\int 6x(3x^2 + 1)^2\,dx.

Let u=3x2+1u = 3x^2 + 1. Then du=6x dxdu = 6x\,dx, so

∫6x(3x2+1)2 dx=∫u2 du=u33+C=(3x2+1)33+C.\int 6x(3x^2 + 1)^2\,dx = \int u^2\,du = \frac{u^3}{3} + C = \frac{(3x^2 + 1)^3}{3} + C.

A linear inside function

When the inside function is linear, the substitution always works, and the balancing factor is quick to find.

Example 3. Find ∫(2x+1)5 dx\displaystyle\int (2x + 1)^5\,dx.

Let u=2x+1u = 2x + 1. Then du=2 dxdu = 2\,dx, so dx=12dudx = \dfrac{1}{2}du. Then

∫(2x+1)5 dx=12∫u5 du=12×u66+C=(2x+1)612+C.\int (2x + 1)^5\,dx = \frac{1}{2}\int u^5\,du = \frac{1}{2} \times \frac{u^6}{6} + C = \frac{(2x + 1)^6}{12} + C.

The factor 12\dfrac{1}{2} balances du=2 dxdu = 2\,dx. Leaving it out is the usual error.

Example 4. Find ∫xx2+4 dx\displaystyle\int x\sqrt{x^2 + 4}\,dx.

Let u=x2+4u = x^2 + 4. Then du=2x dxdu = 2x\,dx, so x dx=12dux\,dx = \dfrac{1}{2}du, and x2+4=u1/2\sqrt{x^2 + 4} = u^{1/2}:

∫xx2+4 dx=12∫u1/2 du=12×23u3/2+C=13(x2+4)3/2+C.\int x\sqrt{x^2 + 4}\,dx = \frac{1}{2}\int u^{1/2}\,du = \frac{1}{2} \times \frac{2}{3}u^{3/2} + C = \frac{1}{3}(x^2 + 4)^{3/2} + C.

Example 5. Find ∫sin⁡3x dx\displaystyle\int \sin 3x\,dx by substituting u=3xu = 3x.

Here du=3 dxdu = 3\,dx, so dx=13dudx = \dfrac{1}{3}du:

∫sin⁡3x dx=13∫sin⁡u du=−13cos⁡u+C=−13cos⁡3x+C.\int \sin 3x\,dx = \frac{1}{3}\int \sin u\,du = -\frac{1}{3}\cos u + C = -\frac{1}{3}\cos 3x + C.

This is the same standard result as Section 8.3, reached from the other direction.

Definite integrals and the limits

For a definite integral, change the limits as well. Work out the value of uu at each end, and integrate between the new limits. Then you never need to substitute back.

Example 6. Evaluate ∫012x(x2+1)3 dx\displaystyle\int_0^1 2x(x^2 + 1)^3\,dx.

With u=x2+1u = x^2 + 1, the limits change. When x=0x = 0, u=1u = 1. When x=1x = 1, u=2u = 2. Then

∫012x(x2+1)3 dx=∫12u3 du=[u44]12=4−14=154.\int_0^1 2x(x^2 + 1)^3\,dx = \int_1^2 u^3\,du = \left[\frac{u^4}{4}\right]_1^2 = 4 - \frac{1}{4} = \frac{15}{4}.

If you forget to change the limits, you will substitute u=1u = 1 and u=2u = 2 as if they were xx-values, and the answer will be wrong.

The chapter problem

A second tank fills at a rate r(t)=4t(t2+1)3r(t) = 4t(t^2 + 1)^3 litres per minute. This is a function of a function, so a substitution finds the volume.

Let u=t2+1u = t^2 + 1. Then du=2t dtdu = 2t\,dt, so 4t dt=2 du4t\,dt = 2\,du. The limits become u=1u = 1 at t=0t = 0 and u=2u = 2 at t=1t = 1:

∫014t(t2+1)3 dt=2∫12u3 du=2[u44]12=2(4−14)=152.\int_0^1 4t(t^2 + 1)^3\,dt = 2\int_1^2 u^3\,du = 2\left[\frac{u^4}{4}\right]_1^2 = 2\left(4 - \frac{1}{4}\right) = \frac{15}{2}.

The second tank collects 7.57.5 litres. The first tank needed no substitution, because its rate was already a polynomial in tt.

Progress check

Back to the chapter problem. A second tank fills at r(t)=4t(t2+1)3r(t) = 4t(t^2 + 1)^3 litres per minute.

Choose u=t2+1u = t^2 + 1, write down dudu, and find the volume that enters between t=0t = 0 and t=1t = 1 minute. State the new limits before you integrate.

Keep your answer. The Review compares the two tanks.

You should now be able to

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.