5.10 Integration by Substitution
1. The Method of Substitution
Integration by substitution (called $u$-substitution) is a technique used to evaluate integrals of composite functions. It is the reverse process of the Chain Rule for differentiation. We use this method when an integrand contains a function alongside its derivative.
The Substitution Formula:
The goal is to replace $x$ and $dx$ from the original integral and obtain a simpler integral in terms of $u$ and $du$.
- Choose a substitution $u=g(x)$. The criterion is that $g'(x)$ must exist in the integral as a factor.
- Find the derivative: $\dfrac{du}{dx} = g'(x) \implies dx = \dfrac{du}{g'(x)}$.
- Express the initial integral in terms of $u$ and $du$.
- Evaluate the new integral with respect to $u$.
- Replace $u$ with $g(x)$ in the final result.
EXAMPLE 1
Evaluate $I = \int 3x^2(x^3+5)^7 dx$.
We let $u = x^3+5$ because the derivative $3x^2$ exists as a factor inside the integral.
- Let $u = x^3+5$.
- Then $\dfrac{du}{dx} = 3x^2 \implies dx = \dfrac{du}{3x^2}$.
- Substitute these into the integral:
Evaluate the new integral:
Replace $u$ with $x^3+5$:
EXAMPLE 2
Find $I = \int x\sqrt{x^2+3}dx$ by using the substitution $u=x^2+3$.
Let $u=x^2+3$, then $\dfrac{du}{dx} = 2x \implies dx = \dfrac{du}{2x}$.
EXAMPLE 3
Find $I = \int \dfrac{2x+\cos x}{x^2+\sin x}dx$.
The derivative of the denominator is the numerator. Let $u = x^2+\sin x$, then $\dfrac{du}{dx} = 2x+\cos x \implies dx = \dfrac{du}{2x+\cos x}$.
EXAMPLE 4
Find $I_1 = \int (\ln x)^2 \dfrac{1}{x} dx$, $I_2 = \int \dfrac{1}{x(\ln x)^2} dx$, and $I_3 = \int \dfrac{1}{x\ln x} dx$.
For all three integrals, let $u = \ln x$. Then $\dfrac{du}{dx} = \dfrac{1}{x} \implies dx = x du$.
EXAMPLE 5
A modification is needed to achieve the required form. Find $I = \int \dfrac{x}{x^2+4} dx$.
The derivative of $x^2+4$ is $2x$, not $x$. We can adjust the integral:
Let $u = x^2+4 \implies \dfrac{du}{dx} = 2x \implies dx = \dfrac{du}{2x}$.
EXAMPLE 6
Apply the substitution rule to evaluate the following integrals:
- $\int e^{3x}dx = \mathbf{\dfrac{e^{3x}}{3} + c}$
- $\int e^{-5x+2}dx = \mathbf{\dfrac{e^{-5x+2}}{-5} + c}$
- $\int \sin(2x+1)dx = \mathbf{-\dfrac{\cos(2x+1)}{2} + c}$
- $\int \cos(5-x)dx = \dfrac{\sin(5-x)}{-1} + c = \mathbf{-\sin(5-x) + c}$
- $\int \dfrac{1}{7x+3}dx = \mathbf{\dfrac{\ln|7x+3|}{7} + c}$
- $\int \dfrac{1}{x-3}dx = \mathbf{\ln|x-3| + c}$
- $\int (3x+5)^5 dx = \dfrac{(3x+5)^6}{6 \cdot 3} + c = \mathbf{\dfrac{(3x+5)^6}{18} + c}$
- $\int \dfrac{1}{(3x+5)^4} dx = \int (3x+5)^{-4} dx = \dfrac{(3x+5)^{-3}}{-3 \cdot 3} + c = \mathbf{-\dfrac{1}{9(3x+5)^3} + c}$
- $\int \sqrt{3x+5} dx = \int (3x+5)^{1/2} dx = \dfrac{(3x+5)^{3/2}}{(3/2) \cdot 3} + c = \mathbf{\dfrac{2(3x+5)^{3/2}}{9} + c}$
2. Useful Trigonometric Formulas
| $\sin^2 x = \dfrac{1-\cos(2x)}{2}$ |
| $\cos^2 x = \dfrac{1+\cos(2x)}{2}$ |
| $\sin(2x) = 2\sin x \cos x$ |
| $\cos(2x) = \cos^2 x - \sin^2 x = 1 - 2\sin^2 x = 2\cos^2 x - 1$ |
| $\sin^2 x + \cos^2 x = 1$ |
| $1 + \tan^2 x = \dfrac{1}{\cos^2 x} = \sec^2 x$ |
EXAMPLE 7
Find $I = \int \cos^2 x dx$ by using the double angle formula $\cos^2 x = \dfrac{1+\cos(2x)}{2}$.