Integration by substitution
The idea of integration by substitution is to perform a change of variables in order to transform a complicated into one which is simpler to integrate. We usually perform a substitution on integrals of chains and so integration by substitution is often thought of as the reverse process to the chain rule.
The Steps of Integration by Substitution
Recall from the further integration page that the integral of is . We use this to illustrate how to perform the steps of integration by substitution on the integral .
- Choose u. Choose the function of which you would like to replace. Change all terms in the integrand for terms. For this example, we choose .
- Replace dx. Using your choice of , find an expression for . Rearrange this to find an expression for . In the example above, and so . It follows that .
- Change the Limits. Of course, if it is a indefinite integral then you may skip this step as there are no limits. However, definite integrals have limits that we must also change. The limits on the original integral are -limits and so we must change them to -limits. Since , if then and if then .
- Integrate. We may now perform the integration:
Note that we transformed the integral to one that we could integrate immediately. Recall that we saw how to integrate by inspection in further integration. It is also possible to integrate functions of a linear variable (such as ) by inspection or by using substitution – see Example 1.
We can use integration by substitution for more complicated functions. Consider . By choosing the substitution , we have and so . There are no limits to change and the integral becomes . Normally we would have to deal with the additional terms but in this case we can see that the derivative cancels. The integral becomes . Notice that for definite integrals we must change the function back to being in terms of . We can differentiate to check the above integral. We use the chain rule to get as expected. This is why integration by substitution can be thought of as the reverse of chain rule differentiation. In other integrals, the derivative will also cancel if we can see a multiple of the derivative in the integrand – see Example 2. If there is still a function, even after cancelling any derivatives, this function of will also have to be replaced for a function of – see Example 3.
Integrals of the form f'(x)/f(x)
Some schools (or other institutions) like to teach the following as separate from integration by substitution along with the reverse chain rule as seen above:
This states that if we integrate a fraction where a function is the denominator and its derivative is the numerator then the result will be the natural log of that function (+c). We can show this using integration by substitution as follows:
- Choose .
- The derivative is given by and so .
- There are no limits to replace in this case.
- The integral becomes: .
Notice how the derivative cancelled in a very similar way to the example above. This is simply another application of integration by substitution. See Example 4.
Integrating curves defined parametrically
We can also consider parametric integration to be another application of integration by substitution. Suppose we are given the parametric equations and (see more on parametric equations). Any integral of the form can be written in terms of parameter :
- The integrand is simply which can be written as .
- This is not a function of but we can obtain an expression for by differentiating with respect to , and so .
- The -limits can be changed to -limits using the equation .
- The integral is transformed as follows: .
See Example 5.