The rule
Let u = g(x), where g′(x) is continuous on an interval. Then
where F is an antiderivative of f. In practice: replace g(x) with u and g′(x) dx with du.
How to choose u
- Look for an expression g(x) inside the integrand whose derivative g′(x) also appears (up to a constant factor). Common choices: the inside of a power, a root, an exponent or a trig function.
- Set u = g(x) and compute du = g′(x) dx.
- Rewrite the whole integral in terms of u. No x should be left.
- If the new integral isn't easier, try a different u.
- Integrate, then write the answer in terms of x.
Example 1: ∫ 6x(3x² + 4)4 dx
- The inside of the power is 3x² + 4, and its derivative 6x is right there. Let u = 3x² + 4, so du = 6x dx.
- The integral becomes ∫ u4 du.
- Integrate: u5/5 + C.
- Substitute back: (3x² + 4)5/5 + C.
Example 2: ∫ z√(z² − 5) dz (adjusting a constant)
- Let u = z² − 5, so du = 2z dz. The integrand has z dz, not 2z dz, so z dz = (1/2) du.
- The integral becomes (1/2) ∫ u1/2 du.
- Integrate: (1/2) · (2/3) u3/2 = (1/3) u3/2 + C.
- Answer: (1/3)(z² − 5)3/2 + C.
You can fix a missing constant factor this way, but not a missing variable. If the integrand were √(z² − 5) with no z outside, this u wouldn't work.
Example 3: ∫ x / √(x − 1) dx (solving for x)
- Let u = x − 1, so du = dx. The leftover x in the numerator is written in terms of u: x = u + 1.
- The integral becomes ∫ (u + 1) / u1/2 du = ∫ (u1/2 + u−1/2) du.
- Integrate: (2/3) u3/2 + 2u1/2 + C.
- Factor and substitute back: (2/3) u1/2(u + 3) = (2/3)√(x − 1)(x + 2) + C.
Definite integrals: change the limits
For a definite integral, convert the limits to u-values too, and you never have to substitute back:
Example 4: ∫01 x²(1 + 2x³)5 dx
- Let u = 1 + 2x³, so du = 6x² dx and x² dx = (1/6) du.
- Change the limits: when x = 0, u = 1; when x = 1, u = 3.
- The integral becomes (1/6) ∫13 u5 du = (1/6) · [u6/6] from 1 to 3 = (1/36)(729 − 1).
- Answer: 728/36 = 182/9 ≈ 20.22.
One more: for ∫01 x e4x² + 3 dx, let u = 4x² + 3 (limits 3 to 7) and x dx = (1/8) du. The result is (e7 − e3)/8 ≈ 134.568.
Common mistakes
- Leaving some x in the integral after substituting.
- Forgetting to convert dx to du, including the constant.
- Changing the variable but keeping the old x-limits on a definite integral.
- Dropping the + C on an indefinite integral.
Check answers with the integral calculator, approximate definite integrals with the Riemann sum calculator, or differentiate your answer with the derivative calculator to confirm you get the integrand back. For integrals with √(a² − x²) and similar, see trig substitution.
Source: OpenStax Calculus Volume 1, 5.5 Substitution.
Every worked example on this page was checked with Calcist's own engine and an independent reference.