BrownMath.com → Calculus → u-Substitution
Updated 20 Oct 2020

# u-Substitution — How to Change Variables in Integrals

Copyright © 2002–2022 by Stan Brown, BrownMath.com

Summary: Substitution is a hugely powerful technique in integration. Though the steps are similar for definite and indefinite integrals, there are two differences, and many students seem to have trouble keeping them straight. This page sorts them out in a convenient table, followed by a side-by-side example.

## The Procedure

Just to keep things simple we’ll assume the original variable is x. Naturally the same steps will work for any variable of integration.

Indefinite Integrals Definite Integrals Define u for your change of variables. (Usually u will be the inner function in a composite function.) Differentiate u to find du, and solve for dx. Substitute in the integrand and simplify. (nothing to do) Use the substitution to change the limits of integration. Be careful not to reverse the order. Example: if u = 3−x² then becomes . If x still occurs anywhere in the integrand, take your definition of u from step 1, solve for x in terms of u, substitute in the integrand, and simplify. Integrate. Substitute back for u, so that your answer is in terms of x. Evaluate with u at the upper and lower new limits, and subtract. There’s no need to convert from u back to x.

## An Example

Here’s a complete example, with indefinite and definite integrals shown in parallel.

Indefinite Integral Definite Integral  u = x³−5 (inner function) du = 3x² dx dx = du / (3x²)  After the substitution, u is the variable of integration, not x. But the limits have not yet been put in terms of u, and this is essential. (nothing to do) u = x³−5 x = −1 gives u = −6; x = 1 gives u = −4 The integrand still contains x (in the form x³). Use the equation from step 1, u = x³−5, and solve for x³ = u+5.  u6 + 6u5 + C= (u+6)u5 + C (Factoring, though not strictly necessary, makes the next step easier.) (x³−5+6)(x³−5)5 + C = (x³+1)(x³−5)5 + C (Answer) (−4+6)(−4)5 − (−6+6)(−6)5 = 2(−1024) − 0 = −2048 (Answer)