Section 6.2: The Indefinite Integral: Using Substitution

(Based on Section 6.2 in Calculus Applied to the Real World, or Section 13.2 inFinite Mathematics and Calculus Applied to the Real World. )

Note This page should be inside a frame. If you got here directly from the outside world and see no frames, press this little green button --> to bring up the frames that will allow you to properly navigate this tutorial and site.

To understand this section, you should be familiar with antiderivatives. Press the "prev" button on the sidebar to go to the tutorial on antiderivatives.

For best viewing, adjust the window width to at least the length of the line below.

Substitution

The technique of substitution or change of variables comes from the chain rule for derivatives. In the following example, we evaluate the integral

5x(2x2+1)3 dx
to illustrate the main steps in changing a variable through substitution. First, we must decide what function to represent as u. Let us follow the advice in Example 2 on p. 444 in Calculus Applied to the Real World, or p. 942 inFinite Mathematics and Calculus Applied to the Real World.
Take u to be an expression that is being raised to a power.
Thus, we take
u = 2x2+1.

We now follow a fairly mechanical step-by-step procedure:

Step 1:
Calculate the derivative of u, and then solve for "dx."

We usually put this calculation in a little box to separate it from the calculation of the integral.

u=2x2+1
du

dx
=4x
dx=
1

4x
du
Step 2:
Substitute the expression for u in the original integral, and also substitute for dx.
5x(2x2+1)3 dx = 5x(u)3
1

4x
du
Step 3:
Eliminate the variable x, leaving an integral in u only.

Often, as happens here, all the x's will cancel leaving an expression in u only. (Sometimes, they do not -- see below )

5x(u)3
1

4x
du = 5(u)3
1

4
du
Step 4:
Simplify the integrand.

Here, we can slip the constant 5/4 outside the integral sign.

5(u)3
1

4
du =
5

4
u3du
Step 5:
Evaluate the simplified integral.

Important: Do not substitute back for u until after this step.

5

4
u3du =
5

4
u2

2
+ C
=
5u2

8
+ C
Final Step:
Substitute back for u to obtain the result.
5x(2x2+1)3dx =
5(2x2+1)2

8
+ C

The following sequence of multiple choice questions will take you through another example, similar to Exercise 5 on p. 451 in Calculus Applied to the Real World, or p. 949 inFinite Mathematics and Calculus Applied to the Real World.

To evaluate 4x(3x2+3)1/2 dx, the substitution that results in the simplest integral is u = ?

x 3x2 3x2+3
4x(3x2+3)1/2

Using the correct subsitution above, the expression for dx in terms of du is ?

dx = 6u dx dx = 6x du dx =
1

6x
du
dx =
1

6
x du

Making the correct substitutions above transforms the integral 4x(3x2+3)1/2 dx to which of following?

2

3
u1/2 du 4x u1/2 dx 4x u1/2 du
4u(u1/2) du

The next step is:

substitute for u substitute for "du"
go to the movies evaluate the integral

The final answer is

4

9
(3x2+3)3/2 + C (3x2+3)3/2 + C 2

9
u3/2 + C
2

3
(3x2+3)1/2 + C

Here is one for you to try on your own. (Use standard computer format; for example, write 4x2+1 as either 4*x^2 + 1 or 4x^2 + 1; spaces are optional. go to the function evaluating tool to see more examples.)

Consider the integral

An appropriate substitution is:

After substituting, the integral becomes:

The final answer is:
2x1

(2x22x+5)3
dx =

Sometimes, rather than an expression raised to a power, we have a number (such as e) raised to an expression. In such cases, the following advice is often useful:

Take u to be an expression that appears in the exponent.
The following example is similar to Example 3 on p. 446 in Calculus Applied to the Real World, or p. 944 inFinite Mathematics and Calculus Applied to the Real World. .

Note To review integrals of exponential functions, press the "prev" button on the sidebar to go to the tutorial on antiderivatives.

For the integral 3x2ex3+4 dx, a suitable substitution would be u = ?

3x2ex3+4 3x2 x3+4
ex3+4

Using the above substitution, we find 3x2ex3+4 dx = ?

3x2ex3+4 + C x3ex4/4+4x + C x3ex3+4 + C
ex3+4 + C

Question
This is all very well, but what do I do if the x's do not cancel?

Answer
Let us go through one such example and see...

The substitution u = 2x1 in the integral 3x(2x1)1/2 dx yields:

3xu1/2 du
3

2
xu1/2 du
3x

2
u1/2 du
3

2
u1/2 du

Now, to eliminate any remaining x's, we so the following:

Go back to the equation that gives u as a function of x, and solve it for x.

Here,

u = 2x1,
so solving for x gives
x = (u+1)/2.

Substituting this into the integral and completing the calculation yields:

3

10
(2x1)5/2+1

2
(2x1)3/2+ C
1

2
(2x1)2

2
+ 1 (2x1)3/2+ C
1

2
(2x1)5/2

5
+ 1 (2x1)3+ C

You now have several options

Last Updated: July, 1997
Copyright © 1997 Stefan Waner and Steven R. Costenoble