Integration by Substitution
Integration by Substitution
It is very likely that you have used Integration by Substitution before on relatively simple integrals
(such as the basic example below) without realising that the framework can also be used for the more
difficult examples presented below.
Using our substitution criteria above for u(x) we see that that u(x) = (2x + 7) will be our choice for
the substitution variable as:
du du
u(x) = (2x + 7) =⇒ =2 =⇒ = dx
dx 2
Now substituting this along with u(x) = (2x + 7) into the the original integral (in terms of x and
dx) allows us to change to a new integral in terms of u and du.
Z Z Z
du 1
cos(2x + 7) dx = cos(u) = cos(u) du
2 2
We can now evaluate this using the usual basic integral techniques and substituting back in u(x),
where u(x) is our original substitution u(x) = (2x + 7) we get:
Z
1 1 1
cos(u) du = (sin(u)) + C = sin(u) + C
2 2 2
Z
1
cos(2x + 7) dx = sin(2x + 7) + C
2
1
Try checking that this answer is correct by differentiating the final answer sin(2x + 7) + C .
2
Z
3
Difficult Example: dx
x(ln(x))2
Using our substitution criteria above for u(x) we see that that u(x) = ln(x) will be our choice for the
substitution variable as:
du 1 dx
u(x) = ln(x) =⇒ = =⇒ du =
dx x x
Now substituting this along with u(x) = ln(x) into the the original integral (in terms of x and dx)
allows us to change to a new integral in terms of u and du.
Z Z Z Z
3 1 (dx) 1 1
2
dx = 3 2
=⇒ 3 2
(du) = 3 du
x(ln(x)) (ln(x)) x (u) u2
We can now evaluate this using the usual basic integral (integration) techniques:
Z Z −1
1 −2 u 3
3 2
du = 3 u du = 3 +C = − +C
u −1 u
We can now move back to the starting variable x by substituting back in u(x), where u(x) is our
original substitution u(x) = ln(x). Hence the final solution is given by:
Z Z
3 1 3 3
2
dx = 3 2
du = − + C = − +C
x(ln(x)) u u ln(x)
Z
3 3
dx = − +C
x(ln(x))2 ln(x)
3
Try checking that this answer is correct by differentiating the final answer − +C
ln(x)
Z 1
x
Definite Integral Example with Limits: dx
0 (3x2 + 5)4
Using our substitution criteria above for u(x) we see that that u(x) = (3x2 + 5) will be our choice
for the substitution variable as:
du du
u(x) = (3x2 + 5) =⇒ = 6x =⇒ = x dx
dx 6
Now substituting this along with u(x) = (3x2 +5) into the the original integral (in terms of x and dx)
allows us to change to a new integral in terms of u and du. As we have a definite integral we must
also change the limits to the new substitution variable u(x). x = 0 gives u(x = 0) = (3(0)2 + 5) = 5
and x = 1 gives u(x = 1) = (3(1)2 + 5) = 8. This gives:
Z 1 Z 1 Z 8
1 8 1
Z
x 1 (x dx) 1 du
2 4
dx = 2 4
=⇒ 4
= du
0 (3x + 5) 0 (3x + 5) 1 5 (u) 6 6 5 u4
We can now evaluate this using the usual basic integral (integration) techniques:
1 8 1 1 8 −4 1 u−3 8
Z Z
1 8
du = u du = = −
6 5 u4 6 6 −3 5 18u3 5
5
1 8 1 1 43
− = − − − = ≈ 0.00033594
18u3 5 18(8)3 18(5)3 128000