# 6.2 Integration by Substitution

## 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 [latex]f\left[g(x)\right]{g}^{\prime }(x)dx.[/latex] For example, in the integral [latex]\int {({x}^{2}-3)}^{3}2xdx,[/latex] we have [latex]f(x)={x}^{3},g(x)={x}^{2}-3,[/latex] and [latex]g\text{'}(x)=2x.[/latex] Then,

$$f\left[g(x)\right]{g}^{\prime }(x)={({x}^{2}-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 [latex]u[/latex] 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 [latex]u=g(x),,[/latex] where [latex]{g}^{\prime }(x)[/latex] is continuous over an interval, let [latex]f(x)[/latex] be continuous over the corresponding range of [latex]g[/latex], and let [latex]F(x)[/latex] be an antiderivative of [latex]f(x).[/latex] Then,

$$\begin{array}{cc}\int f\left[g(x)\right]{g}^{\prime }(x)dx\hfill & =\int f(u)du\hfill \\ & =F(u)+C\hfill \\ & =F(g(x))+C.\hfill \end{array}$$

# Proof

Let [latex]f[/latex], [latex]g[/latex], [latex]u[/latex], and *F* be as specified in the theorem. Then

$$\begin{array}{cc}\frac{d}{dx}F(g(x))\hfill & ={F}^{\prime }(g(x)){g}^{\prime }(x)\hfill \\ & =f\left[g(x)\right]{g}^{\prime }(x).\hfill \end{array}$$

Integrating both sides with respect to [latex]x[/latex], we see that

$$\int f\left[g(x)\right]{g}^{\prime }(x)dx=F(g(x))+C.$$

If we now substitute [latex]u=g(x),[/latex] and [latex]du=g\text{'}(x)dx,[/latex] we get

$$\begin{array}{cc}\int f\left[g(x)\right]{g}^{\prime }(x)dx\hfill & =\int f(u)du\hfill \\ & =F(u)+C\hfill \\ & =F(g(x))+C.\hfill \end{array}$$

Returning to the problem we looked at originally, we let [latex]u={x}^{2}-3[/latex] and then [latex]du=2xdx.[/latex] Rewrite the integral in terms of [latex]u[/latex]:

$${\int \underset{u}{\underbrace{({x}^{2}-3)}}}^{3}\underset{du}{\underbrace{(2xdx)}}=\int {u}^{3}du.$$

Using the power rule for integrals, we have

$$\int {u}^{3}du=\frac{{u}^{4}}{4}+C.$$

Substitute the original expression for [latex]x[/latex] back into the solution:

$$\frac{{u}^{4}}{4}+C=\frac{{({x}^{2}-3)}^{4}}{4}+C.$$

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

## Problem-Solving Strategy: Integration by Substitution

- Look carefully at the integrand and select an expression [latex]g(x)[/latex] within the integrand to set equal to [latex]u[/latex]. Let’s select [latex]g(x).[/latex] such that [latex]{g}^{\prime }(x)[/latex] is also part of the integrand.
- Substitute [latex]u=g(x)[/latex] and [latex]du={g}^{\prime }(x)dx.[/latex] into the integral.
- We should now be able to evaluate the integral with respect to [latex]u.[/latex] If the integral can’t be evaluated we need to go back and select a different expression to use as [latex]u[/latex].
- Evaluate the integral in terms of [latex]u.[/latex]
- Write the result in terms of [latex]x[/latex] and the expression [latex]g(x).[/latex]

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

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, [latex]u[/latex] should be the only variable in the integrand. In some cases, this means solving for the original variable in terms of [latex]u[/latex]. This technique should become clear in the next example.

## 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 [latex]u=g(x)[/latex] and let [latex]{g}^{\text{′}}[/latex] be continuous over an interval [latex]\left[a,b\right],[/latex] and let [latex]f[/latex] be continuous over the range of [latex]u=g(x).[/latex] Then,

$${\int }_{a}^{b}f(g(x)){g}^{\prime }(x)dx={\int }_{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 [latex]F(x)[/latex] is an antiderivative of [latex]f(x),[/latex] we have

$$\int f(g(x)){g}^{\prime }(x)dx=F(g(x))+C.$$

Then

$$\begin{array}{cc}{\int }_{a}^{b}f\left[g(x)\right]{g}^{\prime }(x)dx\hfill & ={F(g(x))|}_{x=a}^{x=b}\hfill \\ & =F(g(b))-F(g(a))\hfill \\ & ={F(u)|}_{u=g(a)}^{u=g(b)}\hfill \\ \\ \\ & ={\int }_{g(a)}^{g(b)}f(u)du,\hfill \end{array}$$

and we have the desired result.

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 [latex]u[/latex] after we find the antiderivative, which means that we do not have to change the limits of integration. These two approaches are shown below.