Navigation: Wiki Home > Skills > u-Substitution (Indefinite)
The chain rule tells us how to differentiate compositions: $\frac{d}{dx}[F(g(x))] = F'(g(x)) \cdot g'(x)$. But what if we're given an integral that looks like $\int f(g(x)) g'(x)\,dx$? We need to "undo" the chain rule.
u-Substitution is the technique that reverses this process. By introducing a new variable $u = g(x)$, we transform a complicated integral into a simpler one.
This is the foundational integration technique—used more frequently than any other method in first-year calculus.
| Property | Value |
|---|---|
| Section | Stewart 4.5 |
| Course | MATH162 |
| Difficulty | Intermediate |
| Time | ~20 minutes |
Theorem: If $u = g(x)$ is a differentiable function whose range is an interval $I$ and $f$ is continuous on $I$, then
$$\boxed{\int f(g(x)) g'(x) \, dx = \int f(u) \, du}$$
The substitution rule is simply the chain rule in reverse:
$$\frac{d}{dx}[F(g(x))] = F'(g(x)) \cdot g'(x)$$
Integrating both sides:
$$F(g(x)) = \int F'(g(x)) \cdot g'(x) \, dx$$
If we let $f = F'$ and $u = g(x)$, then $du = g'(x)\,dx$, and:
$$\int f(g(x)) g'(x) \, dx = F(g(x)) = F(u) = \int f(u) \, du$$
Step 1: Choose $u$
Step 2: Find $du$
Step 3: Substitute
Step 4: Integrate
Step 5: Back-substitute
If the derivative of your $u$ appears with a different constant factor, adjust:
$$\int x^3 \cos(x^4 + 2)\,dx$$
Let $u = x^4 + 2$. Then $du = 4x^3\,dx$, so $x^3\,dx = \frac{1}{4}du$.
$$\int x^3 \cos(x^4 + 2)\,dx = \frac{1}{4}\int \cos u\,du = \frac{1}{4}\sin u + C = \frac{1}{4}\sin(x^4 + 2) + C$$
| Pattern | Choose $u$ as... |
|---|---|
| $\int f(ax + b)\,dx$ | $u = ax + b$ |
| $\int g(x) \cdot f(g(x)^n)\,dx$ where $g'$ appears | $u = g(x)$ |
| $\int (\text{inside})^n \cdot (\text{derivative of inside})\,dx$ | $u = \text{inside}$ |
| $\int \frac{g'(x)}{g(x)}\,dx$ | $u = g(x)$ (gives $\ln\vert u\vert $) |
After substitution, all $x$-terms must be eliminated. If you have leftover $x$'s, either:
Find $\int 2x\sqrt{1 + x^2}\,dx$.
Choose $u$: Let $u = 1 + x^2$ (the expression under the radical).
Find $du$: $du = 2x\,dx$
Substitute: $$\int 2x\sqrt{1 + x^2}\,dx = \int \sqrt{u}\,du = \int u^{1/2}\,du$$
Integrate: $$= \frac{u^{3/2}}{3/2} + C = \frac{2}{3}u^{3/2} + C$$
Back-substitute: $$= \frac{2}{3}(1 + x^2)^{3/2} + C$$
Find $\int \cos(5x)\,dx$.
Choose $u$: Let $u = 5x$.
Find $du$: $du = 5\,dx$, so $dx = \frac{1}{5}du$.
Substitute and integrate: $$\int \cos(5x)\,dx = \int \cos u \cdot \frac{1}{5}\,du = \frac{1}{5}\sin u + C = \frac{1}{5}\sin(5x) + C$$
Find $\int x^5\sqrt{1 + x^2}\,dx$.
Choose $u$: Let $u = 1 + x^2$, so $du = 2x\,dx$.
Handle the extra $x^4$: Since $u = 1 + x^2$, we have $x^2 = u - 1$, so $x^4 = (u-1)^2$.
Rewrite: $$\int x^5\sqrt{1 + x^2}\,dx = \int x^4 \cdot \sqrt{1 + x^2} \cdot x\,dx = \int (u-1)^2 \sqrt{u} \cdot \frac{1}{2}\,du$$
Expand and integrate: $$= \frac{1}{2}\int (u^2 - 2u + 1)u^{1/2}\,du = \frac{1}{2}\int (u^{5/2} - 2u^{3/2} + u^{1/2})\,du$$
$$= \frac{1}{2}\left[\frac{2}{7}u^{7/2} - \frac{4}{5}u^{5/2} + \frac{2}{3}u^{3/2}\right] + C$$
$$= \frac{1}{7}(1+x^2)^{7/2} - \frac{2}{5}(1+x^2)^{5/2} + \frac{1}{3}(1+x^2)^{3/2} + C$$
Evaluate each integral:
Evaluate each integral:
Evaluate each integral:
Evaluate $\displaystyle\int x\sqrt{2x + 1}\,dx$.
Evaluate $\displaystyle\int \sqrt{2x+1}\,dx$ using two different substitutions:
Verify both give the same answer.
A student tries to evaluate $\int e^{x^2}\,dx$ using substitution with $u = x^2$:
$$u = x^2, \quad du = 2x\,dx$$
$$\int e^{x^2}\,dx = \frac{1}{2x}\int e^u\,du = \frac{e^{x^2}}{2x} + C$$
What is wrong with this calculation?
Explain why $\int f(g(x))g'(x)\,dx = F(g(x)) + C$ where $F' = f$.
Use the chain rule to verify your answer by differentiating the right-hand side.
The Disguised Package Analogy:
Imagine you receive a package wrapped in multiple layers. To see what's inside, you unwrap layer by layer.
Similarly, $\int 2x\sqrt{1+x^2}\,dx$ has a "package" $(1+x^2)$ wrapped in a square root, multiplied by packaging tape $2x\,dx$. The substitution $u = 1 + x^2$ unwraps the package, revealing the simple $\int \sqrt{u}\,du$ inside.
Looking back:
Looking ahead:
| Previous | Up | Next |
|---|---|---|
| Complete Curve Sketch | Skills Index | u-Substitution (Definite) |
Last updated: 2026-01-22