Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

4.6: Substitution

( \newcommand{\kernel}{\mathrm{null}\,}\)

Learning Objectives
  • Use substitution to evaluate indefinite integrals.
  • Use substitution to evaluate definite integrals.

The Fundamental Theorem of Calculus gave us a method to evaluate integrals without using Riemann sums. The drawback of this method, though, is that we must be able to find an antiderivative, and this is not always easy. In this section we examine a technique, called integration by substitution, to help us find antiderivatives. Specifically, this method helps us find antiderivatives when the integrand is the result of a chain-rule derivative.

At first, the approach to the substitution procedure may not appear very obvious. However, it is primarily a visual task—that is, the integrand shows you what to do; it is a matter of recognizing the form of the function. So, what are we supposed to see? We are looking for an integrand of the form f[g(x)]g(x)dx. For example, in the integral

(x23)32xdx.

we have

f(x)=x3

and

g(x)=x23.

Then

g(x)=2x.

and

f[g(x)]g(x)=(x23)3(2x),

and we see that our integrand is in the correct form. The method is called substitution because we substitute part of the integrand with the variable u and part of the integrand with du. It is also referred to as change of variables because we are changing variables to obtain an expression that is easier to work with for applying the integration rules.

Substitution with Indefinite Integrals

Let u=g(x),, where g(x) is continuous over an interval, let f(x) be continuous over the corresponding range of g, and let F(x) be an antiderivative of f(x). Then,

f[g(x)]g(x)dx=f(u)du=F(u)+C=F(g(x))+C

Proof

Let f, g, u, and F be as specified in the theorem. Then

ddx[F(g(x))]=F(g(x))g(x)=f[g(x)]g(x).

Integrating both sides with respect to x, we see that

f[g(x)]g(x)dx=F(g(x))+C.

If we now substitute u=g(x), and du=g(x)dx, we get

f[g(x)]g(x)dx=f(u)du=F(u)+C=F(g(x))+C.

Returning to the problem we looked at originally, we let u=x23 and then du=2xdx.

Rewrite the integral (Equation ???) in terms of u:

(x23)3(2xdx)=u3du.

Using the power rule for integrals, we have

u3du=u44+C.

Substitute the original expression for x back into the solution:

u44+C=(x23)44+C.

We can generalize the procedure in the following Problem-Solving Strategy.

Problem-Solving Strategy: Integration by Substitution
  1. Look carefully at the integrand and select an expression g(x) within the integrand to set equal to u. Let’s select g(x). such that g(x) is also part of the integrand.
  2. Substitute u=g(x) and du=g(x)dx. into the integral.
  3. We should now be able to evaluate the integral with respect to u. If the integral can’t be evaluated we need to go back and select a different expression to use as u.
  4. Evaluate the integral in terms of u.
  5. Write the result in terms of x and the expression g(x).
Example 4.6.1: Using Substitution to Find an Antiderivative

Use substitution to find the antiderivative of 6x(3x2+4)4dx.

Solution

The first step is to choose an expression for u. We choose u=3x2+4 because then du=6xdx and we already have du in the integrand. Write the integral in terms of u:

6x(3x2+4)4dx=u4du.

Remember that du is the derivative of the expression chosen for u, regardless of what is inside the integrand. Now we can evaluate the integral with respect to u:

u4du=u55+C=(3x2+4)55+C.

Analysis

We can check our answer by taking the derivative of the result of integration. We should obtain the integrand. Picking a value for C of 1, we let y=15(3x2+4)5+1. We have

y=15(3x2+4)5+1,

so

y=(15)5(3x2+4)46x=6x(3x2+4)4.

This is exactly the expression we started with inside the integrand.

Exercise 4.6.1

Use substitution to find the antiderivative of 3x2(x33)2dx.

Hint

Let u=x33.

Answer

3x2(x33)2dx=13(x33)3+C

Sometimes we need to adjust the constants in our integral if they don’t match up exactly with the expressions we are substituting.

Example 4.6.2: Using Substitution with Alteration

Use substitution to find the antiderivative of zz25dz.

Solution

Rewrite the integral as z(z25)1/2dz. Let u=z25 and du=2zdz. Now we have a problem because du=2zdz and the original expression has only zdz. We have to alter our expression for du or the integral in u will be twice as large as it should be. If we multiply both sides of the du equation by 12. we can solve this problem. Thus,

u=z25

du=2zdz

12du=12(2z)dz=zdz.

Write the integral in terms of u, but pull the 12 outside the integration symbol:

z(z25)1/2dz=12u1/2du.

Integrate the expression in u:

12u1/2du=(12)u3/232+C=(12)(23)u3/2+C=13u3/2+C=13(z25)3/2+C

Exercise 4.6.2

Use substitution to find the antiderivative of x2(x3+5)9dx.

Hint

Multiply the du equation by 13.

Answer

x2(x3+5)9dx=(x3+5)1030+C

Substitution for Definite Integrals

Substitution can be used with definite integrals, too. However, using substitution to evaluate a definite integral requires a change to the limits of integration. If we change variables in the integrand, the limits of integration change as well.

Substitution with Definite Integrals

Let u=g(x) and let g be continuous over an interval [a,b], and let f be continuous over the range of u=g(x). Then,

baf(g(x))g(x)dx=g(b)g(a)f(u)du.

Although we will not formally prove this theorem, we justify it with some calculations here. From the substitution rule for indefinite integrals, if F(x) is an antiderivative of f(x), we have

f(g(x))g(x)dx=F(g(x))+C.

Then

baf[g(x)]g(x)dx=F(g(x))|x=bx=a=F(g(b))F(g(a))=F(u)|u=g(b)u=g(a)=g(b)g(a)f(u)du

and we have the desired result.

Example 4.6.3: Using Substitution to Evaluate a Definite Integral

Use substitution to evaluate 10x2(1+2x3)5dx.

Solution

Let u=1+2x3, so du=6x2dx. Since the original function includes one factor of x2 and du=6x2dx, multiply both sides of the du equation by 1/6. Then,

du=6x2dxbecomes16du=x2dx.

To adjust the limits of integration, note that when x=0,u=1+2(0)=1, and when x=1,u=1+2(1)=3.

Then

10x2(1+2x3)5dx=1631u5du.

Evaluating this expression, we get

1631u5du=(16)(u66)|31=136[(3)6(1)6]=1829.

Exercise 4.6.3

Use substitution to evaluate the definite integral 01y(2y23)5dy.

Hint

Use the steps from Example 4.6.3 to solve the problem.

Answer

01y(2y23)5dy=913

Exercise 4.6.4

Use substitution to evaluate 402x+1dx.

Hint

Use the process from Example 4.6.3 to solve the problem.

Answer

402x+1dx=263

Example 4.6.5: Using Substitution with an Exponential Function

Use substitution to evaluate 10xe4x2+3dx.

Solution

Let u=4x3+3. Then, du=8xdx. To adjust the limits of integration, we note that when x=0,u=3, and when x=1,u=7. So our substitution gives

10xe4x2+3dx=1873eudu=18eu|73=e7e38134.568

Just a quick note: It is possible to evaluate a definite integral using substitution without actually changing the bounds to values for "u." To do this, begin by evaluating the indefinite integral. After you have evaluated the indefinite integral using u-substitution, and expressed the result in terms of the original variable, evaluate that final result with the original bounds. This process will yield the same result. In the video below, a definite integral is evaluated using both methods, so that you can compare.

Key Concepts

  • Substitution is a technique that simplifies the integration of functions that are the result of a chain-rule derivative. The term ‘substitution’ refers to changing variables or substituting the variable u and du for appropriate expressions in the integrand.
  • When using substitution for a definite integral, we also have to change the limits of integration.

Key Equations

  • Substitution with Indefinite Integrals f[g(x)]g(x)dx=f(u)du=F(u)+C=F(g(x))+C
  • Substitution with Definite Integrals baf(g(x))g(x)dx=g(b)g(a)f(u)du

Glossary

change of variables
the substitution of a variable, such as u, for an expression in the integrand
integration by substitution
a technique for integration that allows integration of functions that are the result of a chain-rule derivative

This page titled 4.6: Substitution is shared under a CC BY-NC-SA 1.0 license and was authored, remixed, and/or curated by Gilbert Strang & Edwin “Jed” Herman via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?