Integration by substitution
Substitution is a very powerful method of integration. While integrating, we replace part of the function with another expression, integrate, and then substitute back.
The basic formula
Let f be a function and F its antiderivative (a function whose derivative is the original function; at A level simply “an integral” of it) on the interval J. Let ϕ be a real function that is differentiable on the interval I and satisfies ϕ(I) ⊆ J. Then
How did we get from the left-hand side to the right-hand side?
We will use this theorem by choosing the substitution x = ϕ(t) and changing the variable of integration – from dt we get dx. The derivative of x with respect to t is
Since F is an antiderivative of f by assumption, we can replace the whole integral with F:
Finally, we reverse the substitution: instead of x we write the original ϕ(t):
That gives us the equality from the start:
This is roughly how we will use the theorem.
First example
Work out this integral:
We know the formula for the integral of sin x (or here sin t), but we don’t know a formula for sin 6t. So we use a substitution. We will substitute x = 6t. By the formula above,
where x = ϕ(t). In our case f = sin and ϕ(t) = 6t. So by the formula we have
where x = 6t. The problem is that we want the integral of sin 6t, not of (sin 6t) · (6t)′. What can we do about this? Let’s try differentiating the function 6t. We get:
The number six is a constant, so we can take it out in front of the whole integral:
Now we divide the whole equation by six:
On the left-hand side we now have the original function that we wanted to integrate at the start. All that remains is to work out the integral on the right-hand side. The integral of sin x is −cos x:
And we substitute 6t back in for x:
And that is the final result.
First example, made simpler
The previous method was correct, but substitutions are usually written a little differently. Here is the question again:
We write the substitution in brackets after the integral like this:
On the first line we write our substitution, that is x = 6t. Now we differentiate both sides: the left side with respect to x and the right side with respect to t. On the second line of the first column we will always have dx, because the derivative of x is always 1. So dx just shows that we differentiated with respect to x.
We differentiate the right-hand side in the usual way with respect to t. We get (6t)′ = 6 and add dt, because we differentiated with respect to t. To make our work easier, we can also write dt on its own on the next line:
In the next step we carry out the substitution itself. What do we replace with what? We want x in place of 6t, so that is the first substitution. Because we are putting the new variable x into the function, we must change dt as well. In place of dt we therefore substitute the value we got on the third line, that is dx/6.
To recap: in place of 6t we write x (first line) and in place of dt we write dx/6 (third line). We get:
From here the method is completely routine. We take the six out in front of the integral:
We integrate the sine:
And we substitute 6t back in for x:
Second example
Work out this integral using substitution:
You could probably find the integral of tan in a table of standard integrals, but we can just as well work it out ourselves. First we write tan as the quotient sin/cos:
We choose the substitution x = cos t. We get:
Now we make dt the subject:
Now we can substitute into the integral. In place of cos t we write x and in place of dt we write −dx/sin t.
A small problem is that the old variable of integration t is still in the expression, inside the sine. Fortunately, the two sines cancel and we are left with:
Let’s rewrite this a little to get a nicer expression. We move dx to the right of the fraction and write a one in the numerator. We move the minus sign in front of the integral:
We already know the integral of 1/x: it is a logarithm. So we get:
Finally, we substitute the original cos t back in for x.
Third example
Work out this integral using substitution:
It may confuse you that the integrand contains two variables: x and t. That doesn’t matter at all, because dt tells us that we are integrating with respect to t, so x behaves like a constant. So let’s not panic and simply move x in front of the integral:
We don’t have many formulae for sin3, but there is something for sin2, so we rewrite the function like this:
Now we rewrite sin2 using the identity sin2t = (1 − cos2t). We get the integral:
Now we substitute. The letter x is already taken, so we use y, for example. We choose y = cos t
We make dt the subject:
And we substitute into the integral:
Again the sines cancel nicely:
We can split this integral into two integrals:
These are both standard integrals:
Now we substitute the original cos t back in for y:
That is the final result.
Chapters: Integral, Integration by parts, Integration by substitution, Definite integral