We motivate this section with an example. Let . We can compute using the Chain Rule. It is:
Now consider this: What is ? We have the answer in front of us;
How would we have evaluated this indefinite integral without starting with as we did?
This section explores integration by substitution. It allows us to “undo the Chain Rule.” Substitution allows us to evaluate the above integral without knowing the original function first.
The underlying principle is to rewrite a “complicated” integral of the form as a not-so-complicated integral . We’ll formally establish later how this is done. First, consider again our introductory indefinite integral, . Arguably the most “complicated” part of the integrand is . We wish to make this simpler; we do so through a substitution. Let . Thus
We have established as a function of , so now consider the differential of :
Keep in mind that and are multiplied; the is not “just sitting there.” ††margin: Note: Recall from Section 4.3 that the differential of , denoted , is any nonzero real number. If is a function of , then the differential of , denoted , is defined by .
Return to the original integral and do some substitutions through algebra:
One might well look at this and think “I (sort of) followed how that worked, but I could never come up with that on my own,” but the process is learnable. This section contains numerous examples through which the reader will gain understanding and mathematical maturity enabling them to regard substitution as a natural tool when evaluating integrals.
We stated before that integration by substitution “undoes” the Chain Rule. Specifically, let and be differentiable functions and consider the derivative of their composition:
Thus
Integration by substitution works by recognizing the “inside” function and replacing it with a variable. By setting , we can rewrite the derivative as
Since , we can rewrite the above integral as
This concept is important so we restate it in the context of a theorem.
Let and be differentiable functions, where the range of is an interval contained in the domain of . Then
If , then and
The point of substitution is to make the integration step easy. Indeed, the step looks easy, as the antiderivative of the derivative of is just , plus a constant. The “work” involved is making the proper substitution. There is not a step-by-step process to memorize; rather, experience will be your guide. To gain experience, we now embark on many examples.
Watch the video:
Integration by U-Substitution (Indefinite Integral) from https://youtu.be/li1SMPsqNuw
Evaluate .
SolutionKnowing that substitution is related to the Chain Rule, we choose to let be the “inside” function of . (This is not always a good choice, but it is often the best place to start.)
Let , hence . The integrand has an term, but not a term. (Recall that multiplication is commutative, so the does not physically have to be next to for there to be an term.) We can divide both sides of the expression by 2:
We can now substitute.
Thus . We can check our work by evaluating the derivative of the right hand side.
Evaluate .
SolutionAgain let replace the “inside” function. Letting , we have . Since our integrand does not have a term, we can divide the previous equation by to obtain . We can now substitute.
We can again check our work through differentiation.
The previous example exhibited a common, and simple, type of substitution. The “inside” function was a linear function (in this case, ). When the inside function is linear, the resulting integration is very predictable, so that we can say
For example, . Our next example can use this idea, but we will only employ it after going through all of the steps.
Evaluate .
SolutionView this as a composition of functions , where and . Employing our understanding of substitution, we let , the inside function. Thus . The integrand lacks a ; hence divide the previous equation by to obtain . We can now evaluate the integral through substitution.
Not all integrals that benefit from substitution have a clear “inside” function. Several of the following examples will demonstrate ways in which this occurs.
Evaluate .
SolutionThere is not a composition of function here to exploit; rather, just a product of functions. Do not be afraid to experiment; when given an integral to evaluate, it is often beneficial to think “If I let be this, then must be that …” and see if this helps simplify the integral at all.
In this example, let’s set . Then , which we have as part of the integrand. The substitution becomes very straightforward:
One would do well to ask “What would happen if we let ?” The result is just as easy to find, yet looks very different. The challenge to the reader is to evaluate the integral letting and discover why the answer is the same, yet looks different.
Our examples so far have required “basic substitution.” The next example demonstrates how substitutions can be made that often strike the new learner as being “nonstandard.”
Evaluate .
SolutionRecognizing the composition of functions, set . Then , giving what seems initially to be a simple substitution. But at this stage, we have:
We cannot evaluate an integral that has both an and an in it. We need to convert the to an expression involving just .
Since we set , we can also state that . Thus we can replace in the integrand with . It will also be helpful to rewrite as .
Checking your work is always a good idea. In this particular case, some algebra will be needed to make one’s answer match the integrand in the original problem.
Evaluate .
SolutionThis is another example where there does not seem to be an obvious composition of functions. The line of thinking used in Example 5.5.5 is useful here: choose something for and consider what this implies must be. If can be chosen such that also appears in the integrand, then we have chosen well.
Choosing makes ; that does not seem helpful. However, setting makes , which is part of the integrand. Thus:
The final answer is interesting; the natural log of the natural log. Take the derivative to confirm this answer is indeed correct.
Section 8.2 delves deeper into integrals of a variety of trigonometric functions; here we use substitution to establish a foundation that we will build upon.
The next three examples will help fill in some missing pieces of our antiderivative knowledge. We know the antiderivatives of the sine and cosine functions; what about the other standard functions tangent, cotangent, secant and cosecant? We discover these next.
Evaluate
SolutionThe previous paragraph established that we did not know the antiderivatives of tangent, hence we must assume that we have learned something in this section that can help us evaluate this indefinite integral.
Rewrite as . While the presence of a composition of functions may not be immediately obvious, recognize that is “inside” the function. Therefore, we see if setting returns usable results. We have that , hence . We can integrate:
Some texts prefer to bring the inside the logarithm as a power of , as in:
Thus the result they give is . These two answers are equivalent.
Evaluate .
SolutionThis example employs a wonderful trick: multiply the integrand by “1” so that we see how to integrate more clearly. In this case, we write “1” as
This may seem like it came out of left field, but it works beautifully. Consider:
Now let ; this means , which is our numerator. Thus: | ||||
We can use similar techniques to those used in Examples 5.5.7 and 5.5.8 to find antiderivatives of and (which the reader can explore in the exercises.) We summarize our results here.
It is common to be reluctant to manipulate the integrand of an integral; at first, our grasp of integration is tenuous and one may think that working with the integrand will improperly change the results. Integration by substitution works using a different logic: as long as equality is maintained, the integrand can be manipulated so that its form is easier to deal with. The next example demonstrates a common way in which using algebra first makes the integration easier to perform.
Evaluate with, and without, substitution.
SolutionWe already know how to integrate this particular example. Rewrite as and simplify the fraction:
We can now integrate using the Power Rule:
This is a perfectly fine approach. We demonstrate how this can also be solved using substitution as its implementation is rather clever.
Let ; therefore
This gives us . What are we to do with the other terms? Since , we have and . We can then replace and with appropriate powers of . We thus have
which is obviously the same answer we obtained before. In this situation, substitution is arguably more work than our other method. The fantastic thing is that it works. It demonstrates how flexible integration is.
So far this section has focused on learning a new technique for finding antiderivatives. In practice, we will frequently be interested in finding definite integrals. We can use this antiderivative to evaluate the definite integral, but there is a more efficient method.
At its heart, (using the notation of Theorem 5.5.1) substitution converts integrals of the form into an integral of the form with the substitution of . The following theorem states how the bounds of a definite integral can be changed as the substitution is performed.
Let and be differentiable functions, where the range of is an interval that is contained in the domain of . Then
In effect, Theorem 5.5.3 states that once you convert to integrating with respect to , you do not need to switch back to evaluating with respect to . A few examples will help one understand.
Evaluate using Theorem 5.5.3.
SolutionObserving the composition of functions, let , hence . As does not appear in the integrand, divide the latter equation by 3 to get .
By setting , we are implicitly stating that . Theorem 5.5.3 states that the new lower bound is ; the new upper bound is . We now evaluate the definite integral:
Notice how once we converted the integral to be in terms of , we never went back to using .
The graphs in Figure 5.5.1 tell more of the story. In (a) the area defined by the original integrand is shaded, whereas in (b) the area defined by the new integrand is shaded. In this particular situation, the areas look very similar; the new region is “shorter” but “wider,” giving the same area.
Evaluate using Theorem 5.5.3.
SolutionWe saw the corresponding indefinite integral in Example 5.5.4. In that example we set but stated that we could have let . For variety, we do the latter here.
Let , giving and hence . The new upper bound is ; the new lower bound is . Note how the lower bound is actually larger than the upper bound now. We have
(switch bounds & change sign) | ||||
In Figure 5.5.2 we have again graphed the two regions defined by our definite integrals. Unlike the previous example, they bear no resemblance to each other. However, Theorem 5.5.3 guarantees that they have the same area.
Evaluate using Theorem 5.5.3.
SolutionWe note the composition of functions and let , hence . We divide the differential by 2 to get .
Setting , we find that the new lower bound is ; the new upper bound is . We now evaluate:
Substitution “undoes” what derivative rule?
T/F: One can sometimes use algebra to rewrite the integrand of an integral to make it easier to evaluate.
In Exercises 3–56, evaluate the indefinite integral.
. Do not just refer to Theorem 5.5.2 for the answer; justify it through Substitution.
. Do not just refer to Theorem 5.5.2 for the answer; justify it through Substitution.
In Exercises 57–66, evaluate the definite integral.