# Change of Variables or Substitution

In this section, we will discuss one of the most powerful techniques for finding antiderivatives. If we think of the process of antidifferentiation as reversing the process of differentation, this technique is what reverses derivatives computed with the Chain Rule.

An example

We'll begin by looking at an example. Suppose we want to evaluate a definite integral where f is some continuous function which is given to us. Let's also suppose that the variable u is related to another variable x by the relationship . Our goal will be to write the definite integral in terms of an integral in the variable x .

As is typical, let's think of this by dividing the interval into n pieces. This means we form the points

Now, since we have the points defined by which says that

and in particular, and . This brings us to our first observation: whereas we integrate over the region in the u variable, we integrate over the region in the x variable.

Now we have that

In other words,

Observations:

• The endpoints of the definite integral have changed. On the left, they are and while on the right, they are and .
• There is a factor of 2 which appears in the integrand on the right hand side. In the calculation, you will see that this results from the fact that the rectangles have different widths. In essence, the width of the u-rectangles are twice as wide as the x-rectangles. This is recorded in the fact that

• The function integrated in the u variable is merely f while in the x variable, we integrate the composite .

As we will see, these are common phenomena in what follows. We can understand them graphically using the following demonstrations. First, we'll study the relationship of u and x .

Notice how the rectangles in the x variable are half as wide as the corresponding rectangles in the u variable. You can also see how the endpoints in the two variables are different from one another.

The effect of this stretching is seen below: the integral we are trying to compute, , is the area under the curve on the right. In terms of the graph on the left, the area is much different because of the scaling between the two variables.

More generally

Here we'll consider a more general situation where u is again a function of x ---that is, . The endpoints of the regions we'll consider are related by and . We will compute the integral in terms of the x variable.

As always, break the interval into n pieces:

where . Now we will relate this to the u variable:

Now here is the important thing to notice: if n is very large, then the points are very close to one another. This means that

This effect may be seen in the demonstration below. Notice that the width of the rectangles in the x variable are uniform. However, in the u variable, they are stretched. This stretching is precisely measured by the derivative .

So now we arrive at

Again, we see that the endpoints are changed and there is a new factor of which records the stretching of the rectangles between the two variables. We will often express this stretching by saying

You can again see how the definite integral is affected by the change of variables.

Examples

The way in which this observation is used is very powerful. In general, we can use it if we have a complicated integral in the x . By making a good choice for the substitution , we can simplify the integral. Let's see this in a few examples:

1. Example 1:

Here we'll use the substitution . Then we see that or . Also, when , we have and when we have .

In this example, we have been able to convert a definite integral into another one whose antiderivative is immediately known to us.

2. Example 2: .

The trick is to try a substitution which will make the integral look like one of the ones on our list of functions whose antiderivative we know. Let's try the substitution . Then or .

Now it follows that

3. Example 3: Now we'll just look at some indefinite integrals. This just means finding the antiderivative rather than evaluating a definite integral. We will first consider: .

The tricky thing about making a substitution is that you need to identify some part of the integrand which looks like the derivative of some other part. When you look at the integrand above, notice that x , which appears in the numerator, is closely related to the derivative of the denominator. For that reason, let's try the substitution .

Then or . This means that

4. Example 4: .

Here, you might recognize that the which occurs in the numerator is related to the derivative of the denominator. So let's try the substitution: .

Then and so

5. Example 5: . Let's try the substitution . In that case, so that

6. Example 6: . Here the substitution works nicely since . Then

7. Example 7: . The trick here is to rewrite the integrate as a perfect square: . We can then find the antiderivative by the substitution: where .

8. Example 8: . Guided by our experience with the last example, we will complete the square. This means we will rewrite:

Then we will use the substitution so that

9. Example 9: . This example is pretty similar to the previous one so we'll just show the idea:

After reading the examples above, if you feel that this method requires a certain amount of guessing and luck, then you've got the idea. However, with experience, you will quickly see how to make educated guesses and it will go much more smoothly. Don't be afraid to make some mistakes as you go along, provided you think about what went wrong when you do make a mistake. Remember that you can always check your answer by differentiating.

Relations to the Chain Rule

We have shown you this method by thinking about a definite integral and measuring how the width of rectangles change under a change of variables. However, the Fundamental Theorem of Calculus tells us that integration is the same as reversing the process of differentiation. Consequently, this method should be, and is, related to a well known fact about derivatives.

If G is the antiderivative of f , this means that . In other words,

However, if we also have , then

In other words, is an antiderivative of too. This leads to the relationship that we have already found: