uSubstitution — Changing Variables in Integrals
Copyright © 2002–2019 by Stan Brown
Copyright © 2002–2019 by Stan Brown
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 sidebyside example.
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  

1  Define u for your change of variables. (Usually u will be the inner function in a composite function.)  
2  Differentiate u to find du, and solve for dx.  
3  Substitute in the integrand and simplify.  
4  (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 . 
5  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.  
6  Integrate.  
7  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. 
Here’s a complete example, with indefinite and definite integrals shown in parallel.
Indefinite Integral

Definite Integral



1  u = x³−5 (inner function)  
2  du = 3x² dx
dx = du / (3x²)  
3  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 must be shown. 

4  (nothing to do)  u = x³−5 x = −1 gives u = −6; x = 1 gives u = −4 
5  The integrand still contains x (in the form x³). Use the equation from step 1, u = x³−5, and solve for x³ = u+5.  
6  u^{6} + 6u^{5} + C = (u+6)u^{5} + C 

(Factoring, though not strictly necessary, will make the next step easier.)  
7  (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) 
Updates and new info: https://BrownMath.com/calc/