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

$$\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 $f$, $g$, $u$, 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 $x$, we see that

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

If we now substitute $u=g(x),$ and $du=g\text{'}(x)dx,$ 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 $u={x}^{2}-3$ and then $du=2xdx.$ Rewrite the integral in terms of $u$:

$${\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 $x$ 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

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}^{\prime }(x)$ is also part of the integrand.
2. Substitute $u=g(x)$ and $du={g}^{\prime }(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).$

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, $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.

## 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}^{\text{′}}$ be continuous over an interval $\left[a,b\right],$ and let $f$ be continuous over the range of $u=g(x).$ 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 $F(x)$ is an antiderivative of $f(x),$ 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 $u$ after we find the antiderivative, which means that we do not have to change the limits of integration. These two approaches are shown below.

## License

Techniques of Calculus 1 by Larry Musolino is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where otherwise noted.