Integration by u-substitution

U-substitution is one of the more common methods of integration. It allows us to find the anti-derivative of fairly complex functions that simpler tricks wouldn’t help us with. The best way to think of u-substitution is that its job is to undo the chain rule.

That’s all we’re really doing.

It’s not too complicated when you think of it that way. Although, the execution isn’t always that simple. But I’ll show you 6 simple steps that will help you solve any u-substitution problem!

1. Picking our u

A u-substitution problem will start out similarly to an integration by parts problem. With any u-substitution problem the first thing you will need to do is decide what piece of the function you will call u. This is the most important piece of the process, and really the only part where there are options to choose from. However, there’s a simple trick to make sure you’re selecting the u correctly.

When deciding which part of your function to call u, you will want to look for a piece of your function that you can see that piece’s derivative somewhere else in the function. That sounds a little strange, but let me give you an example.

Say we have some function like f(x)=x(x^2+5)^3. We want to look for a small piece of this function that also has its own derivative somewhere else in the function.

So we might say u=x^2+5 because the derivative of x^2+5 is just 2x. Notice, our function contains an x, not a 2x, but it’s fine if the derivative differs by a constant like this. It’s easy to deal with the constant here, but it’s important that it’s an x term.

A quick note on substitution

Choosing the correct u in these problems is the most challenging part. It’s not always simple to see what the u should be, so it’s important to be willing to try different things and see what happens.

You may end up needing to pick a u to go a few steps into the problem and realize it won’t work, then go back and pick another u. I know this process can be frustrating at times, we’ve all been there, but sometimes trial and error is required in learning new math concepts. So I urge you to stay persistent and keep picking different parts of the function for u.

If you try calling every possible piece of the function u, and work through the next few steps only to find that none of them will work, you likely need to either use some uncommon trick or find the derivative using another method besides u-substitution. I will get into some of the uncommon tricks in a later post.

2. Finding du

Once you have decided which piece of your function will be u, you then need to calculate du. This should be fairly simple.

All you have to do to find du is take the derivative of u then multiply it all by dx. This will sometimes require the use of the chain rule, product rule, or quotient rule, but usually you will just need the power rule.

Let’s think back to our previous example, finding the antiderivative of y=x(x^2+5)^3. Remember, we decided that we would use u=x^2+5. Therefore, to find du we should take it’s derivative and multiply by dx. This means if

$$u=x^2+5, \ then$$

$$du=2x \ dx.$$

3. Solve for dx

Now we have determined which part of our function we will call u and we found du. However, what we really want is to find dx. This will be easier to work with when we do our substitution into the original function.

All we need to do to find dx is take our equation for du and isolate the dx. In this example, this will be very easy.

$$du=2x \ dx$$

$$\frac{du}{2x}=dx$$

4. Substitute back into the original function

Going back to the function we are trying to find the antiderivative of, we will first write this in integral form.

$$\int x(x^2+5)^3 dx$$

Now we just need to substitute our u and dx back into this integral. This requires replacing the x^2+5 with u, and replacing dx with \frac{du}{2x}. This gives us

$$\int x(u)^3 \frac{du}{2x}$$

After making these two substitutions we should be able to do some simplifying that will cancel out any remaining x‘s. Simplifying this integral should leave us with

$$\int \frac{1}{2}u^3 du.$$

And since we can pull constants out of an integral, this can also be written as

$$\frac{1}{2} \int u^3 du.$$

5. Integrate with respect to u

Looking at the above integral, we can see that we no longer have an x in the problem. We have rewritten everything in terms of u. Since our integral contains only u and du, instead of x and dx, we can integrate with respect to u. This simply means that we are taking the antiderivative of the function g(u)=u^3 where u is our variable.

Notice, this integral is much simpler than the one we started with. All we need to find this one is the power rule for antiderivatives.

$$\frac{1}{2} \int u^3 du$$

$$\frac{1}{2} \cdot \frac{1}{4}u^4$$

$$\frac{1}{8} u^4$$

Now the hard part is over, we found the antiderivative. But unfortunately we aren’t quite done yet. We can’t say that \frac{1}{8}u^4 is the antiderivative of f(x)=x(x^2+5)^3. This doesn’t really have any meaning because they are using two different variables. Instead we need to write the answer in terms of x, since that’s what we started with.

6. Substitute x back in

We are almost done now that we found the antiderivative. We just need to write it in terms of x so that our answer actually is the antiderivative of the function we started with. Since we already found the antiderivative in terms of u, and we know u in terms of x, we can simply substitute in for u.

We decided back in step 1 that

$$u=x^2+5$$

and we also found out that our antiderivative in terms of u is

$$\frac{1}{8}u^4.$$

Therefore, we can plug x^2+5 in for u to find that the antiderivative of f(x)=x(x^2+5)^3 is

$$F(x)= \frac{1}{8}(x^2+5)^4 + c.$$

And that’s it! You can apply these 6 steps to solve any u-substitution problem.

I hope this lesson helps, but if there’s still a topic you’d like to learn about take a look at some of my other lessons and problem solutions. If you can’t find the topic or question you’re looking for just let me know by emailing me at jakesmathlessons@gmail.com!

I also encourage you to join my email list! Just enter your name and email below and I’ll let send you my calc 1 study guide as a bonus to help you survive calculus!