### "U-substitution": The first option for difficult integrals

Integration by substitution, also called "u-substitution" (because many people who do calculus use the letter u when doing it), is the first thing to try when doing integrals that can't be solved "by eye" as simple antiderivatives.

The idea is to temporarily replace a part of the integral something more simple, perform the integral and re-substitute at the end. You need to work at integration by substitution to build up some intuition about it, but it will happen. Its best just to learn this by example, so here we go:

### Example 1

#### Integrate

Solution: This is an integral we already know. If we simply divide the numerator into the denominator of the integrand, we get

Pretty easy. But let's do it again by substitution as a way of figuring the method out.

The substitution is

Now we rearrange a bit:

Now plugging in du/2 for x·dx and u for x2, we can solve the integral

Solving this particular integral by u-substitution turns out to be a little more difficult than just doing it the regular way, but the technique will be the only thing that will allow you to integrate many kinds of functions.

Now let's apply u-substitution to some more difficult integrands.

The real trick to integration by u-substitution is keeping track of the constants that appear as a result of the substitution. These have to be accounted for, such as the multiplication by ½ in the first example. Watch for that in the examples below.

### Example 2

#### Integrate:

Solution: Here's a kind of integral you'll get used to recognizing as a good candidate for u-substitution. Notice that the power of x in the denominator is one greater than that of the numerator. We'll make this substitution:

The resulting new integral is

Re-substitution for u gives

### Example 3

#### Integrate

The trick here is to express the tangent function as a ratio of sine and cosine functions:

Then we can make this substitution:

How do we know to make that substitution? Intuition mostly, but if you guess wrong and let u = sin(x), you'll run into a brick wall, but did it really hurt? Probably not. Just try the other way. You didn't hurt the problem; it doesn't have feelings. The resulting simplified integral is

Now we can re-substitute u = cos(x) to get the result.

That's a handy result and one you might want to keep close by. It's good to know the integral of tan(x):

It's always worth a try when working integrals of trig functions to rewrite them using the trig. identities you remember.

### Example 4

#### Integrate

Solution: This is a great example of an integrand that contains powers of the independent variable that are one apart, x2 and x3. That's always a good candidate for u-substitution.

The simplified integral and its solution are

Re-substituting for u gives us:

Whenever the integrand contains powers of x of n and n+1, try substitution.

### Example 5

#### Integrate

Solution: In this example, consider the relationship between the derivative of ln(x) and 1/x. It's a good clue about how to do the substitution:

The resulting integral couldn't be simpler:

Re-substitution of ln(x) for u gives us the result:

You can confirm that this, or any of the integrals we've done here are correct by taking the derivative of the result. By the fundamental theorem of calculus, you should get the integrand back.

### Example 6

#### U-substitution with definite integrals: Changing limits

Consider the definite integral

Solution: The difference in powers between the term containing x3 and the x2 in the numerator suggests this substitution:

Plugging in we get the simplified integral

Re-substitution of u = 2 - x3 gives

Evaluating at the limits is always a little tedious; it gives

There is a simpler way

We can stop at the stage where we've solved the simplified integral in terms of u, and simply recalculate the limits in terms of u

The new limits are calculated in this manner. We know that u = 2 - x3, so when x = 1 (our lower limit), u = 1, and when x = 3 (our upper limit), u = -25:

That gives us a new set of limits to evaluate, but this time we leave x behind and work with u:

The result is a little simpler to calculate.

This trick is almost always a simplification, and it's worth learning.

### Example 7

#### Integrate

Solution: Here is the (by now, hopefully) obvious substitution:

Now we can quickly change the limits of integration, too, and just stick with u from here on:

The simplified integral is

and the arithmetic of evaluating the limits goes like this.

See if you can do it by re-substitution of 2x-3 or u and use the original limits. The result should be the same.

### Practice problems

Solve the following indefinite and definite integrals.

### Three video examples

Here are three different examples of integration by U-substitution, spanning simple functions, logs and trigonometric functions. The trickiest things about U-substitution are (1) figuring out what to substitute – that's mostly trial-and-error and developing an intuition, and (2) figuring out how to properly substitute for the part that has "dx" in it.