# Derivatives Using U-Substitution Homework

## U Substitution

### Written by tutor Michael B.

## Introduction

By now, you have seen one or more of the basic rules of integration. These rules are so important and commonly used that many calculus books have these formulas listed on their inside front and/or back covers. Here are a few of them (you may not have learned all of these yet):

These rules are so commonly published, and yet there is a subtle and misleading point about them that very few books seem to discuss. And it is unfortunate because this issue could be so easily clarified if only the books would publish the same formulas in the ever-so-slightly different form shown below.

See the difference? Well, the second set of equations uses the variable 'u' instead of 'x'.

*"But,"* I hear you say, *"there isn't any real difference. The choice of a variable in any equation is arbitrary. It shouldn't matter that I write 'u' instead of 'x', right?"* And yes, you would be right. However, the fact that these are supposed to be general rules conflicts with the fact that most functions that we write already use the variable 'x'. It's not that the typically published general equations are wrong, it's just that they aren't conducive to passing along one of the most critical rules that you must follow when performing integration problems, and that is the fact that **you are ONLY allowed to integrate according to the KNOWN rules of integration.**

*"But,"* you further protest, *"I know for a fact it's possible to integrate some expressions even though they aren't written as rules."* Again, you would be correct. But what most often is happening in those situations is that some steps are not being displayed, because after a certain amount of experience and practice, those steps are considered trivial, and it is often assumed that the reader understands how the rules were applied to perform the integration. Those hidden steps make all the difference when you are learning how to integrate. So let me restate the most important integration rule of all: **you are ONLY allowed to integrate expressions that EXACTLY match the KNOWN rules of integration, and no others.** In other words, until you gain experience, if what you are trying to integrate doesn't exactly match a known rule of integration, you cannot integrate it.

So, what does all this have to do with "**U-Substitution**"? Well, U-Substitution is one of the most common methods that can be used to transform a problem that doesn't exactly match a known rule of integration to one that does, without changing the essence of the problem. Then, because there is an exact match, you can perform the integration.

This concept shouldn't be all that strange, actually. U-substitution is only one transformation technique, and in fact, you probably have already used other techniques of transformation to solve integration problems that haven't required the U-Substitution method. Here's an example:

So this doesn't look too hard. But before we integrate it, let's revisit the most important rule. Have you ever seen a published rule that describes how to integrate exactly "(x+1)²"? Probably not! Therefore, according to the most important rule, this expression cannot be integrated. But the most important rule doesn't say that we cannot transform the expression into an equivalent form that *can* be integrated. We can do this quite easily by FOILing the (x+1)(x+1)dx expression, which results in (x² + 2x + 1)dx. But wait a moment, there's no published rule that specifies how to integrate (x² + 2x + 1)dx either! But now we can utilize the properties of integrals to split this up into three integrals, extract constants, and then each integral *does* exactly match a rule - the Power Rule of integrals specifically:

Therefore,

The astute reader will point out a difficulty with this approach, however. What if we weren't just squaring (x+1), but raising it to the 215th power? Surely, there must be an easier way to integrate (x+1)^{215} than expanding the polynomial! And yes, there is -- this is where U-substitution comes in. To put it succinctly, U-Substitution allows you, in some cases, to make the integration problem at hand look like one of the known integration rules. Just as FOILing (x+1)² doesn't change the expression, neither does U-substitution, from a naive standpoint. U-Substitution can be a very powerful method of transformations, and it isn't hard, but it does have some quirks that we must be careful to handle properly.

## Performing U-substitution

I started this article by spurning the traditional method presenting integration formulas with x's instead of u's. The reason for this, although it is somewhat contrived, is beause it makes it difficult to understand why we need to learn u-substitution. The ultimate goal of the U-Substitution technique is to write an expression for u as a function of x that simplifies the integral, resulting in an expression that exactly maps to one of the known rules of integration, while still accounting for the details that calculus imposes on such an action. This technique is also often called the "change of variable" technique, because we are essentially replacing expressions of 'x' with expressions of 'u'. But it's not as simple as changing x's into u's - to do so is considered a trivial change, and ultimately doesn't transform the problem at all.

Let's return to the example above, and see how we can perform the same integration using the U-substitution technique. If we look at the Power Rule for integration, by saying "something" instead of "u" or "x", it might be read aloud as "the integral of *something* raised to a power n is equal to the *something* raised to the power n+1 all divided by n+1." Well, the (x+1) is a "something" isn't it?

So since we are free to assign anything we want to a variable, we could assign u=x+1. Then, we might naively write:

The reason that the second integral is identified as bad is because you cannot (in the context of this discussion of U-Substitution) integrate a variable 'u' with a 'dx'. An integral with "u's" must be matched up with "du's". So how do we get a "du" instead of a "dx"? This is accomplished by taking the derivative of u with respect to x:

Because du=dx (or equivalently, dx=du), we can now properly write the integral in terms of u and du, complete the integration, and then we re-substitute the expression we chose for u back into the equation to complete the solution:

Note that this answer is *exactly the same* as the answer we previously obtained by FOILing (x+1)² although it may not immediately appear so. If we expand the (x+1)^{3} that we obtained with the U-Substitution method, we would obtain x^{3}+3x²+3x+1, which when we divide all of those terms by 3, we obtain (1/3)x^{3}+x²+x+(1/3). It might appear that the answer we obtained by FOILing is missing the constant 1/3, but in fact this is OK because both of the integrals contain the "unknown constant C". The fact that the 1/3 term is missing simply means that it is accounted for in the C from the FOILed version of the integral. In other words, the two C's are different, and the difference exactly accounts for the missing constant.

** Note:** Quite often, choosing the correct u is more an art than science. Sometimes you might choose a u only to find that you can't make the substitution look like a known integral. Perhaps you need to choose a different u, or perhaps you need to do something a bit different.

## A more interesting example #1

The example given above was a bit trivial, because of the fact that we determined that dx=du. Let us now examine a more interesting example in which this is not the case. In this process, we will now see that the choice of 'u' must be carefully chosen so that our du exactly accounts for all of the other variable components of the integral.

As with all U-Substitution problems, our objective is to pick an expression of x that we can assign to u, and more specifically, one for which the derivative of u covers any remaining variable portions of the integral that are not covered by u. When dealing with polynomial expressions, this often means that we choose the higher degree of two polynomials, since the derivative of polynomials always results in a polynomial of lower degree. In this example, therefore, the natural choice would be u = x^{4}+2x^{2}+5, and therefore du = (4x^{3}+8x)dx = 4(x^{3}+2x)dx. This expression of du contains the term (x^{3}+2x)dx, which is the portion of the integral that is not replaced by our choice of 'u'. However, it also contains a constant term 4, but this is ok, because the constant can be moved in front of the integral, and our replacements for u and du now exactly cover the expressions of x and dx. We cannot ignore the constant term, but it does not cause a problem. Here is the final solution:

## Back-substitution

Occasionally, you might find after choosing a u and solving for du that you have a power of x remaining. For example, consider the following example:

In this case, you can choose u=2x+1, and then du=2dx. But what about the x that remains? We can solve this by solving the u equation for x!

This allows us to distribute the u^{½} thru the term (u+1), and then we simply continue the integration using the power rule:

## Definite Integrals - transforming the limits

In all of our examples above, the integrals have been indefinite integrals - in other words, integrals without limits of integration (the "a" and "b" in the statement "the integral from a to b"). When there are limits, and we need to use U-Substitution, there are a few things we need to keep in mind:

- The limits are not the same when you write the integral with u's instead of x's
- The limits, therefore, should either be dropped (as if we are performing an indefinite integral), or written in terms of u
- If you choose to write the limits in terms of u, then simply apply the equation you assigned to u to determine the new limits
- If you choose to write the limits in terms of u, then after performing the integration, you can directly substitute the u limits into the u-version of the integral - there is no need to re-substitute x's back in for the u's! Otherwise, you must evaluate the integral with the original x limits.

That last point can help to save a lot of time when you are performing U-subtitution with definite integrals. The next example demonstrates that both methods provide the same answer:

Notice how, when plugging in the original x limits, the first step is exactly the same operation ("x+1") that you perform when transforming the limits. This is why the two methods are exactly equivalent, but the 'limits transformation' method simply allows you to avoid having to resubstitute the original x expression back into the integral, which helps to eliminate mistakes. Also notice that when writing the integral in Method 2, I did not write the limits of integration even for the x integral, because it wouldn't be proper to say that a definite integral of x is equal to an indefinite integral of u.

## Pattern-matching your du

When choosing your u, remember that your du must also be in the equation, and must *exactly* account for the remaining variable terms of x. You cannot add new variables, nor can you (in most cases) add additive constants to the integral to make it match. (You can more easily add multiplicative constants as needed by simultaneously applying the reciprocal so that the resulting equation is the same). That does not necessarily mean that the intregral can't be done, but the U-substitution technique is strict in that you must exactly match up the u and du to the x and dx terms. Here's an example of a problem that can't be done *directly* with U-Substitution, but can be performed with a little bit of work ahead of time.

Your initial instinct for the first step to solve this problem may be to set u=x²+1. However, if you do that, then du=2x·dx, and therefore the resulting substitution would look like this:

Returning to the idea of the 'most important rule', clearly, this integral does not match any of the known integration rules because of that little '+1' that is stuck in the numerator. You might argue that we could split this integral into two integrals, one for du/u, and one for 1/u, but then the second integral doesn't even have a du with which to integrate, so that doesn't work.

But as I mentioned initially, the fact that U-Substitution doesn't work *directly* doesn't mean that the integration can't be performed. It just takes a bit of algebraic manipulation first:

After performing this algebraic step, the first integral can now be handled easily by U-substitution (the detailed steps are left to the reader as an exercise, hint: u=x²+1), and the second integral is a known integration rule, so no U-Substitution is necessary:

## Exercises

Use U-substitution to evaluate each of the following integrals and confirm that the equation is true. You may need to use additional techniques discussed above or other math identities to solve some of these.

Он вошел. Сьюзан стояла перед ним, промокшая, взъерошенная, в его пиджаке, накинутом на плечи. Она выглядела как первокурсница, попавшая под дождь, а он был похож на студента последнего курса, одолжившего ей свою куртку.

## 0 thoughts on “Derivatives Using U-Substitution Homework”

-->