Calculus Volume 1

# 5.5Substitution

Calculus Volume 15.5 Substitution

### Learning Objectives

• 5.5.1. Use substitution to evaluate indefinite integrals.
• 5.5.2. 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.f[g(x)]g′(x)dx.$ For example, in the integral $∫(x2−3)32xdx,∫(x2−3)32xdx,$ we have $f(x)=x3,g(x)=x2−3,f(x)=x3,g(x)=x2−3,$ and $g'(x)=2x.g'(x)=2x.$ Then,

$f[g(x)]g′(x)=(x2−3)3(2x),f[g(x)]g′(x)=(x2−3)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.

Theorem 5.7

#### Substitution with Indefinite Integrals

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

$∫f[g(x)]g′(x)dx=∫f(u)du=F(u)+C=F(g(x))+C.∫f[g(x)]g′(x)dx=∫f(u)du=F(u)+C=F(g(x))+C.$
5.19

### Proof

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

$ddxF(g(x))=F′(g(x))g′(x)=f[g(x)]g′(x).ddxF(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.∫f[g(x)]g′(x)dx=F(g(x))+C.$

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

$∫f[g(x)]g′(x)dx=∫f(u)du=F(u)+C=F(g(x))+C.∫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=x2−3u=x2−3$ and then $du=2xdx.du=2xdx.$ Rewrite the integral in terms of u:

$∫(x2−3)︸u3(2xdx)︸du=∫u3du.∫(x2−3)︸u3(2xdx)︸du=∫u3du.$

Using the power rule for integrals, we have

$∫u3du=u44+C.∫u3du=u44+C.$

Substitute the original expression for x back into the solution:

$u44+C=(x2−3)44+C.u44+C=(x2−3)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)g(x)$ within the integrand to set equal to u. Let’s select $g(x).g(x).$ such that $g′(x)g′(x)$ is also part of the integrand.
2. Substitute $u=g(x)u=g(x)$ and $du=g′(x)dx.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).g(x).$

### Example 5.30

#### Using Substitution to Find an Antiderivative

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

Checkpoint 5.25

Use substitution to find the antiderivative $∫3x2(x3−3)2dx.∫3x2(x3−3)2dx.$

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

### Example 5.31

#### Using Substitution with Alteration

Use substitution to find $∫zz2−5dz.∫zz2−5dz.$

Checkpoint 5.26

Use substitution to find $∫x2(x3+5)9dx.∫x2(x3+5)9dx.$

### Example 5.32

#### Using Substitution with Integrals of Trigonometric Functions

Use substitution to evaluate the integral $∫sintcos3tdt.∫sintcos3tdt.$

Checkpoint 5.27

Use substitution to evaluate the integral $∫costsin2tdt.∫costsin2tdt.$

Sometimes we need to manipulate an integral in ways that are more complicated than just multiplying or dividing by a constant. We need to eliminate all the expressions within the integrand that are in terms of the original variable. When we are done, u should be the only variable in the integrand. In some cases, this means solving for the original variable in terms of u. This technique should become clear in the next example.

### Example 5.33

#### Finding an Antiderivative Using u-Substitution

Use substitution to find the antiderivative $∫xx−1dx.∫xx−1dx.$

Checkpoint 5.28

Use substitution to evaluate the indefinite integral $∫cos3tsintdt.∫cos3tsintdt.$

### 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.

Theorem 5.8

#### Substitution with Definite Integrals

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

$∫abf(g(x))g′(x)dx=∫g(a)g(b)f(u)du.∫abf(g(x))g′(x)dx=∫g(a)g(b)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)F(x)$ is an antiderivative of $f(x),f(x),$ we have

$∫f(g(x))g′(x)dx=F(g(x))+C.∫f(g(x))g′(x)dx=F(g(x))+C.$

Then

$∫abf[g(x)]g′(x)dx=F(g(x))|x=ax=b=F(g(b))−F(g(a))=F(u)|u=g(a)u=g(b)=∫g(a)g(b)f(u)du,∫abf[g(x)]g′(x)dx=F(g(x))|x=ax=b=F(g(b))−F(g(a))=F(u)|u=g(a)u=g(b)=∫g(a)g(b)f(u)du,$
5.20

and we have the desired result.

### Example 5.34

#### Using Substitution to Evaluate a Definite Integral

Use substitution to evaluate $∫01x2(1+2x3)5dx.∫01x2(1+2x3)5dx.$

Checkpoint 5.29

Use substitution to evaluate the definite integral $∫−10y(2y2−3)5dy.∫−10y(2y2−3)5dy.$

### Example 5.35

#### Using Substitution with an Exponential Function

Use substitution to evaluate $∫01xe4x2+3dx.∫01xe4x2+3dx.$

Checkpoint 5.30

Use substitution to evaluate $∫01x2cos(π2x3)dx.∫01x2cos(π2x3)dx.$

Substitution may be only one of the techniques needed to evaluate a definite integral. All of the properties and rules of integration apply independently, and trigonometric functions may need to be rewritten using a trigonometric identity before we can apply substitution. Also, we have the option of replacing the original expression for u after we find the antiderivative, which means that we do not have to change the limits of integration. These two approaches are shown in Example 5.36.

### Example 5.36

#### Using Substitution to Evaluate a Trigonometric Integral

Use substitution to evaluate $∫0π/2cos2θdθ.∫0π/2cos2θdθ.$

### Section 5.5 Exercises

254.

Why is u-substitution referred to as change of variable?

255.

2. If $f=g∘h,f=g∘h,$ when reversing the chain rule, $ddx(g∘h)(x)=g′(h(x))h′(x),ddx(g∘h)(x)=g′(h(x))h′(x),$ should you take $u=g(x)u=g(x)$ or $u=h(x)?u=h(x)?$

In the following exercises, verify each identity using differentiation. Then, using the indicated u-substitution, identify f such that the integral takes the form $∫f(u)du.∫f(u)du.$

256.

$∫xx+1dx=215(x+1)3/2(3x−2)+C;u=x+1∫xx+1dx=215(x+1)3/2(3x−2)+C;u=x+1$

257.

For $x>1:∫x2x−1dx=215x−1(3x2+4x+8)+C;u=x−1x>1:∫x2x−1dx=215x−1(3x2+4x+8)+C;u=x−1$

258.

$∫x4x2+9dx=112(4x2+9)3/2+C;u=4x2+9∫x4x2+9dx=112(4x2+9)3/2+C;u=4x2+9$

259.

$∫x4x2+9dx=144x2+9+C;u=4x2+9∫x4x2+9dx=144x2+9+C;u=4x2+9$

260.

$∫x(4x2+9)2dx=−18(4x2+9);u=4x2+9∫x(4x2+9)2dx=−18(4x2+9);u=4x2+9$

In the following exercises, find the antiderivative using the indicated substitution.

261.

$∫(x+1)4dx;u=x+1∫(x+1)4dx;u=x+1$

262.

$∫(x−1)5dx;u=x−1∫(x−1)5dx;u=x−1$

263.

$∫(2x−3)−7dx;u=2x−3∫(2x−3)−7dx;u=2x−3$

264.

$∫(3x−2)−11dx;u=3x−2∫(3x−2)−11dx;u=3x−2$

265.

$∫xx2+1dx;u=x2+1∫xx2+1dx;u=x2+1$

266.

$∫x1−x2dx;u=1−x2∫x1−x2dx;u=1−x2$

267.

$∫(x−1)(x2−2x)3dx;u=x2−2x∫(x−1)(x2−2x)3dx;u=x2−2x$

268.

$∫(x2−2x)(x3−3x2)2dx;u=x3–3x2∫(x2−2x)(x3−3x2)2dx;u=x3–3x2$

269.

$∫cos3θdθ;u=sinθ∫cos3θdθ;u=sinθ$ $(Hint:cos2θ=1−sin2θ)(Hint:cos2θ=1−sin2θ)$

270.

$∫sin3θdθ;u=cosθ∫sin3θdθ;u=cosθ$ $(Hint:sin2θ=1−cos2θ)(Hint:sin2θ=1−cos2θ)$

In the following exercises, use a suitable change of variables to determine the indefinite integral.

271.

$∫x(1−x)99dx∫x(1−x)99dx$

272.

$∫t(1−t2)10dt∫t(1−t2)10dt$

273.

$∫(11x−7)−3dx∫(11x−7)−3dx$

274.

$∫(7x−11)4dx∫(7x−11)4dx$

275.

$∫cos3θsinθdθ∫cos3θsinθdθ$

276.

$∫sin7θcosθdθ∫sin7θcosθdθ$

277.

$∫cos2(πt)sin(πt)dt∫cos2(πt)sin(πt)dt$

278.

$∫sin2xcos3xdx∫sin2xcos3xdx$ $(Hint:sin2x+cos2x=1)(Hint:sin2x+cos2x=1)$

279.

$∫tsin(t2)cos(t2)dt∫tsin(t2)cos(t2)dt$

280.

$∫t2cos2(t3)sin(t3)dt∫t2cos2(t3)sin(t3)dt$

281.

$∫x2(x3−3)2dx∫x2(x3−3)2dx$

282.

$∫x31−x2dx∫x31−x2dx$

283.

$∫y5(1−y3)3/2dy∫y5(1−y3)3/2dy$

284.

$∫cosθ(1−cosθ)99sinθdθ∫cosθ(1−cosθ)99sinθdθ$

285.

$∫(1−cos3θ)10cos2θsinθdθ∫(1−cos3θ)10cos2θsinθdθ$

286.

$∫(cosθ−1)(cos2θ−2cosθ)3sinθdθ∫(cosθ−1)(cos2θ−2cosθ)3sinθdθ$

287.

$∫(sin2θ−2sinθ)(sin3θ−3sin2θ)3cosθdθ∫(sin2θ−2sinθ)(sin3θ−3sin2θ)3cosθdθ$

In the following exercises, use a calculator to estimate the area under the curve using left Riemann sums with 50 terms, then use substitution to solve for the exact answer.

288.

[T] $y=3(1−x)2y=3(1−x)2$ over $[0,2][0,2]$

289.

[T] $y=x(1−x2)3y=x(1−x2)3$ over $[−1,2][−1,2]$

290.

[T] $y=sinx(1−cosx)2y=sinx(1−cosx)2$ over $[0,π][0,π]$

291.

[T] $y=x(x2+1)2y=x(x2+1)2$ over $[−1,1][−1,1]$

In the following exercises, use a change of variables to evaluate the definite integral.

292.

$∫01x1−x2dx∫01x1−x2dx$

293.

$∫01x1+x2dx∫01x1+x2dx$

294.

$∫02t25+t2dt∫02t25+t2dt$

295.

$∫01t21+t3dt∫01t21+t3dt$

296.

$∫0π/4sec2θtanθdθ∫0π/4sec2θtanθdθ$

297.

$∫0π/4sinθcos4θdθ∫0π/4sinθcos4θdθ$

In the following exercises, evaluate the indefinite integral $∫f(x)dx∫f(x)dx$ with constant $C=0C=0$ using u-substitution. Then, graph the function and the antiderivative over the indicated interval. If possible, estimate a value of C that would need to be added to the antiderivative to make it equal to the definite integral $F(x)=∫axf(t)dt,F(x)=∫axf(t)dt,$ with a the left endpoint of the given interval.

298.

[T] $∫(2x+1)ex2+x−6dx∫(2x+1)ex2+x−6dx$ over $[−3,2][−3,2]$

299.

[T] $∫cos(ln(2x))xdx∫cos(ln(2x))xdx$ on $[0,2][0,2]$

300.

[T] $∫3x2+2x+1x3+x2+x+4dx∫3x2+2x+1x3+x2+x+4dx$ over $[−1,2][−1,2]$

301.

[T] $∫sinxcos3xdx∫sinxcos3xdx$ over $[−π3,π3][−π3,π3]$

302.

[T] $∫(x+2)e−x2−4x+3dx∫(x+2)e−x2−4x+3dx$ over $[−5,1][−5,1]$

303.

[T] $∫3x22x3+1dx∫3x22x3+1dx$ over $[0,1][0,1]$

304.

If $h(a)=h(b)h(a)=h(b)$ in $∫abg'(h(x))h(x)dx,∫abg'(h(x))h(x)dx,$ what can you say about the value of the integral?

305.

Is the substitution $u=1−x2u=1−x2$ in the definite integral $∫02x1−x2dx∫02x1−x2dx$ okay? If not, why not?

In the following exercises, use a change of variables to show that each definite integral is equal to zero.

306.

$∫0πcos2(2θ)sin(2θ)dθ∫0πcos2(2θ)sin(2θ)dθ$

307.

$∫0πtcos(t2)sin(t2)dt∫0πtcos(t2)sin(t2)dt$

308.

$∫01(1−2t)dt∫01(1−2t)dt$

309.

$∫011−2t(1+(t−12)2)dt∫011−2t(1+(t−12)2)dt$

310.

$∫0πsin((t−π2)3)cos(t−π2)dt∫0πsin((t−π2)3)cos(t−π2)dt$

311.

$∫02(1−t)cos(πt)dt∫02(1−t)cos(πt)dt$

312.

$∫π/43π/4sin2tcostdt∫π/43π/4sin2tcostdt$

313.

Show that the average value of $f(x)f(x)$ over an interval $[a,b][a,b]$ is the same as the average value of $f(cx)f(cx)$ over the interval $[ac,bc][ac,bc]$ for $c>0.c>0.$

314.

Find the area under the graph of $f(t)=t(1+t2)af(t)=t(1+t2)a$ between $t=0t=0$ and $t=xt=x$ where $a>0a>0$ and $a≠1a≠1$ is fixed, and evaluate the limit as $x→∞.x→∞.$

315.

Find the area under the graph of $g(t)=t(1−t2)ag(t)=t(1−t2)a$ between $t=0t=0$ and $t=x,t=x,$ where $0 and $a>0a>0$ is fixed. Evaluate the limit as $x→1.x→1.$

316.

The area of a semicircle of radius 1 can be expressed as $∫−111−x2dx.∫−111−x2dx.$ Use the substitution $x=costx=cost$ to express the area of a semicircle as the integral of a trigonometric function. You do not need to compute the integral.

317.

The area of the top half of an ellipse with a major axis that is the x-axis from $x=ax=a$ to a and with a minor axis that is the y-axis from $y=−by=−b$ to b can be written as $∫−aab1−x2a2dx.∫−aab1−x2a2dx.$ Use the substitution $x=acostx=acost$ to express this area in terms of an integral of a trigonometric function. You do not need to compute the integral.

318.

[T] The following graph is of a function of the form $f(t)=asin(nt)+bsin(mt).f(t)=asin(nt)+bsin(mt).$ Estimate the coefficients a and b, and the frequency parameters n and m. Use these estimates to approximate $∫0πf(t)dt.∫0πf(t)dt.$

319.

[T] The following graph is of a function of the form $f(x)=acos(nt)+bcos(mt).f(x)=acos(nt)+bcos(mt).$ Estimate the coefficients a and b and the frequency parameters n and m. Use these estimates to approximate $∫0πf(t)dt.∫0πf(t)dt.$