uSubstitution — How to Change Variables in Integrals
Copyright © 2002–2022 by Stan Brown, BrownMath.com
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 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. There’s no need to convert from u back to x. 
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 is essential. 

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, makes 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/