u-Substitution

This placeholder page contains a straightforward summary of how to do u-substitution to evaluate an integral, along with examples, and then free problems for you to practice, each with a complete solution one click away.

MATHENO ESSENTIALS: u-Substitution

I. u-Substitution in Indefinite Integrals

If you were asked to evaluate the integral โˆซ๐‘’โŠก ๐‘‘ โŠก, you would probably guess that the answer is โˆซ๐‘’โŠก๐‘‘โŠก=๐‘’โŠก+๐ถ no matter what exactly is in the โŠก box. You would be correct!

Similarly, these integrals are all correct:

โˆซcosโก(โŠก)๐‘‘โŠก=sinโก(โŠก)+๐ถโˆซsinโก(โŠก)๐‘‘โŠก=โˆ’cosโก(โŠก)+๐ถโˆซ(โŠก)2๐‘‘โŠก=13(โŠก)3+๐ถ

What's crucial in each instance above is that the โ€ณ โŠก โ€ณ is identical in both the function you're integrating (๐‘’โŠก, or cosโก(โŠก), ...) and the ๐‘‘ โŠก.

For instance, this is correct:

โˆซ๐‘’5๐‘ฅ๐‘‘(5๐‘ฅ)=๐‘’5๐‘ฅ+๐ถ

By constrast, if we have ๐‘‘(๐‘ฅ) instead of ๐‘‘(5๐‘ฅ), then we don't immediately know the integral:

โˆซ๐‘’5๐‘ฅ๐‘‘๐‘ฅโ‰ ๐‘’5๐‘ฅ+๐ถ

We can check that the result on the right-hand side of the equation isn't correct because if we take its derivative, the Chain rule gives us an extra factor of 5, and so we we don't get back the integrand:

๐‘‘๐‘‘๐‘ฅ(๐‘’5๐‘ฅ+๐ถ)=๐‘’5๐‘ฅโ‹…5+0โ‰ ๐‘’5๐‘ฅ

We can, however, turn the integral โˆซ ๐‘’5๐‘ฅ๐‘‘๐‘ฅ into one we can evaluate easily by making what's known as a u-substitution. The process essentially consists of guessingโ€”yes, guessingโ€”what would be a useful variable to integrate with respect to, and then convert the integral you have into one that's entirely in terms of that variable.

We know that probably sounds abstract. As usual, it's easiest (and best) to show you how it works by working through a few examples, and then you can work through many problems to try it out for yourself. We promise that with just a little practice, you'll get good at turning the integrals you're given into ones you already know how to evaluate.

The following example illustrates.


Example 1

Find โˆซ๐‘’5๐‘ฅ ๐‘‘๐‘ฅ.

Solution.

You might think, "I know that โˆซ๐‘’๐‘ข ๐‘‘๐‘ข =๐‘’๐‘ข +๐ถ," so let's try ๐‘ข =5๐‘ฅ and see what happens.

๐‘ข=5๐‘ฅ

Then

๐‘‘๐‘ข=5๐‘‘๐‘ฅโŸน๐‘‘๐‘ฅ=15๐‘‘๐‘ข

Now let's make those substitutions into the integral:

โˆซ๐‘’(๐‘ขโž5๐‘ฅ)15๐‘‘๐‘ขโž๐‘‘๐‘ฅ=โˆซ๐‘’๐‘ข(15๐‘‘๐‘ข)=15โˆซ๐‘’๐‘ข๐‘‘๐‘ข Ah, magic: we know that integral! โˆซ๐‘’(๐‘ขโž5๐‘ฅ)15๐‘‘๐‘ขโž๐‘‘๐‘ฅ=15๐‘’๐‘ข+๐ถ=15๐‘’5๐‘ฅ+๐ถโœ“

Notice that in the last line we merely substituted back 5๐‘ฅ =๐‘ข : since the original problem was in terms of ๐‘ฅ, our final answer also needs to be in terms of ๐‘ฅ instead of ๐‘ข.

Let's check that our answer is correct:

๐‘‘๐‘‘๐‘ฅ(15๐‘’5๐‘ฅ+๐ถ)=15๐‘‘๐‘‘๐‘ฅ(๐‘’5๐‘ฅ)+0=15(๐‘’5๐‘ฅโ‹…5)=๐‘’5๐‘ฅโœ“

FAQ
Why doesn't 15โˆซ๐‘’๐‘ข ๐‘‘๐‘ข =15(๐‘’๐‘ข+๐ถ)? That is, why is your answer "+๐ถ" instead of "+15๐ถ"?

Answer: The constant +๐ถ is a placeholder for some constant, and we don't know or care what it is. By convention, we thus always write +๐ถ rather than +15๐ถ, or โˆ’๐ถ, or 2๐ถ, or anything else.

End Example 1.


Let's consider another example.


Example 2

Find โˆซcosโก(๐‘ฅ2) ๐‘ฅ ๐‘‘๐‘ฅ.

Solution.

You might think, "I know that โˆซcosโก(๐‘ข) ๐‘‘๐‘ข =sinโก(๐‘ข) +๐ถ, so let's try ๐‘ข =๐‘ฅ2 and see what happens." If you were thinking something similar, you're on the right track!

That is, let

๐‘ข=๐‘ฅ2

Then

๐‘‘๐‘ข=2๐‘ฅ๐‘‘๐‘ฅโŸน๐‘ฅ๐‘‘๐‘ฅ=12๐‘‘๐‘ข

Note that it's fortunate that the original integrand has that "extra" ๐‘ฅ in it: we need that ๐‘ฅ in order to make the substitution ๐‘ฅ ๐‘‘๐‘ฅ =12๐‘‘๐‘ข. In fact if that ๐‘ฅ weren't there, we'd be stuck and couldn't proceed. (But then you wouldn't be given the integral โˆซcosโก(๐‘ฅ2) ๐‘‘๐‘ฅ, because we can't solve it with the tools we have. We need that "extra" ๐‘ฅ there.)

Let's make the substitution ๐‘ข =๐‘ฅ2 into our original integral and see what happens:

โˆซcosโก(๐‘ขโž๐‘ฅ2)(12๐‘‘๐‘ขโž๐‘ฅ๐‘‘๐‘ฅ)=โˆซcosโก(๐‘ข)(12๐‘‘๐‘ข)=12โˆซcosโก(๐‘ข)๐‘‘๐‘ขAh, again we know that integral:  โˆซcosโก(๐‘ขโž๐‘ฅ2)(12๐‘‘๐‘ขโž๐‘ฅ๐‘‘๐‘ฅ)=12sinโก(๐‘ข)+๐ถ=12sinโก(๐‘ฅ2)+๐ถโœ“

Again in the last step we substituted for ๐‘ข in terms of ๐‘ฅ (๐‘ข=๐‘ฅ2) so our final answer is in terms of ๐‘ฅ instead of ๐‘ข.

Let's check that our answer is correct:

๐‘‘๐‘‘๐‘ฅ(12sinโก(๐‘ฅ2)+๐ถ)=12๐‘‘๐‘‘๐‘ฅsinโก(๐‘ฅ2)+0=12cosโก(๐‘ฅ2)โ‹…๐‘‘๐‘‘๐‘ฅ(๐‘ฅ2)=12cosโก(๐‘ฅ2)โ‹…(2๐‘ฅ)=cosโก(๐‘ฅ2)๐‘ฅโœ“

End Example 2.


The upshot: As you can see, making a u-substitution can quickly turn an integral you don't immediately know into one that you do. To do so, guess what a good choice for ๐‘ข is, and then see what happens.

II. u-Substitution in Definite Integrals

If you're given a definite integral (with limits of integration), then it's easiest to convert those ๐‘ฅ values into their equivalent ๐‘ข values and then complete the calculation in terms of ๐‘ข. The following example illustrates.


Example 3

Find โˆซ10๐‘’5๐‘ฅ ๐‘‘๐‘ฅ.

Solution.

As in Example 1 above, let ๐‘ข =5๐‘ฅ :

๐‘ข=5๐‘ฅ๐‘‘๐‘ข=5๐‘‘๐‘ฅโŸน๐‘‘๐‘ฅ=15๐‘‘๐‘ข

We must also convert the limits of integration to be in terms of ๐‘ข :

๐‘ข=5๐‘ฅWhen ๐‘ฅ=0:๐‘ข=5(0)=0When ๐‘ฅ=1:๐‘ข=5(1)=5

Now let's make those substitutions into the integral, simultaneously also changing the limits of integration:

โˆซ10๐‘’(๐‘ขโž5๐‘ฅ)15๐‘‘๐‘ขโž๐‘‘๐‘ฅ=โˆซ50๐‘’๐‘ข(15๐‘‘๐‘ข)=15โˆซ50๐‘’๐‘ข๐‘‘๐‘ข=15[๐‘’๐‘ข]50=15[๐‘’5โˆ’๐‘’0]=15[๐‘’5โˆ’1]โœ“

As you can see, with this approach we don't have to convert anything back to ๐‘ฅ: once we make the u-substitution, we do all the rest in terms of ๐‘ข.

End Example 3.

There are many more example problems below so you can get the hang of how to do u-substititions.

Practice Problem #1
(a)
Find โˆซ(5๐‘ฅ+27)98๐‘‘๐‘ฅ.
(b)
Find โˆซ10(5๐‘ฅ+27)98๐‘‘๐‘ฅ.
Practice Problem #2
Find โˆซsinโก(2๐‘ฅโˆ’2)๐‘‘๐‘ฅ.
Practice Problem #3
(a)
Find โˆซโˆš3๐‘ฅ+2๐‘‘๐‘ฅ.
(b)
Find โˆซ31โˆš3๐‘ฅ+2๐‘‘๐‘ฅ.
Practice Problem #4
Find โˆซ๐‘‘๐‘ฅ3โˆš6๐‘ฅโˆ’5๐‘‘๐‘ฅ.
Practice Problem #5
Find โˆซsec2โก(๐‘ฅ5)๐‘‘๐‘ฅ.
Practice Problem #6
Find โˆซ๐‘ฅ(๐‘ฅ2+3)9๐‘‘๐‘ฅ.
Practice Problem #7
Find โˆซ(๐‘ฅ3โˆ’2๐‘ฅ2)5(3๐‘ฅ2โˆ’4๐‘ฅ)๐‘‘๐‘ฅ.
Practice Problem #8
Find โˆซcosโก(๐‘’๐‘ฅ)๐‘’๐‘ฅ๐‘‘๐‘ฅ.
Practice Problem #9
Find โˆซsecโก(๐‘’๐‘ฅ)tanโก(๐‘’๐‘ฅ)๐‘’๐‘ฅ๐‘‘๐‘ฅ.
Practice Problem #10
Find โˆซcosโกโˆš๐‘ฅโˆš๐‘ฅ๐‘‘๐‘ฅ.
Practice Problem #11
Find โˆซsinโก๐‘ฅcosโก๐‘ฅ๐‘‘๐‘ฅ.
Practice Problem #12
Find โˆซtanโก๐‘ฅsec2โก๐‘ฅ๐‘‘๐‘ฅ.
Practice Problem #13
Find โˆซโˆšcotโก๐‘ฅcsc2โก๐‘ฅ๐‘‘๐‘ฅ.
Practice Problem #14
(a)
Find โˆซ๐‘‘๐‘ฅ๐‘ฅ(lnโก๐‘ฅ)2 ๐‘‘๐‘ฅ.
(b)
Evaluate โˆซ๐‘’2๐‘’๐‘‘๐‘ฅ๐‘ฅ(lnโก๐‘ฅ)2๐‘‘๐‘ฅ.
Practice Problem #15
Find โˆซcscโก(๐œ‹๐‘ฅ)cotโก(๐œ‹๐‘ฅ) ๐‘‘๐‘ฅ.
Practice Problem #16
Evaluate โˆซ๐œ‹/40๐‘’tanโก๐‘ฅsec2โก๐‘ฅ๐‘‘๐‘ฅ.
Practice Problem #17
Evaluate โˆซ10๐‘’๐‘ฅ+2๐‘ฅ๐‘’๐‘ฅ+๐‘ฅ2๐‘‘๐‘ฅ.

Less clear u-substitutions

The first u-substitution problems you'll encounter will probably be like the ones above, where (with practice) you'll come to recognize what u should be to turn the integral into one you know how to evaluate. For example, all of the ones above where you end up with something like โˆซ๐‘’๐‘ข ๐‘‘๐‘ข, โˆซcosโก(๐‘ข) ๐‘‘๐‘ข, and so forth.

In other problems, though, you'll look at the integral and think, "I don't recognize what to do here." That thought itself is a clue that you should try a u-substitution. Again, you have to just guess what u is, and then proceed and see what happens; if one approach doesn't work, make a different guess for what u is and then try again.

The following problems illustrate.

Practice Problem #18
Find โˆซ๐‘ฅโˆš๐‘ฅโˆ’3๐‘‘๐‘ฅ.
Practice Problem #19
Find โˆซ๐‘ฅโˆš๐‘ฅ+5๐‘‘๐‘ฅ.
Practice Problem #20
Find โˆซ3(๐‘ฅ3โˆ’2)1/4๐‘ฅ5๐‘‘๐‘ฅ.
Practice Problem #21
Find โˆซโˆš1+โˆš๐‘ฅ๐‘‘๐‘ฅ.
Practice Problem #22
If ๐‘“ is continuous and โˆซ30๐‘“(๐‘ฅ)๐‘‘๐‘ฅ=5, find โˆซ10๐‘“(3๐‘ฅ)๐‘‘๐‘ฅ.
Practice Problem #23
If ๐‘“ is continuous and โˆซ251๐‘“(๐‘ฅ)๐‘‘๐‘ฅ=9, find โˆซ51๐‘ฅ๐‘“(๐‘ฅ2)๐‘‘๐‘ฅ.
  • What questions do you have about the solutions above?
  • Which ones are giving you the most trouble?
  • What other integration problems are you trying to work through for your class?

If you post on our Forum, we'll do our best to help!