Connection to the Chain Rule
Chain rule review: for composite functions, the derivative is
dxd[f(g(x))]=f′(g(x))⋅g′(x)That’s the derivative of the outside times the derivative of the inside.
U-substitution is the reverse process, for integrals involving composite functions.
When to Use U-Substitution
Rule of thumb: if taking the derivative would require the chain rule, then taking the integral requires u-substitution.
The integrand is the expression being integrated, meaning everything between the
∫ and the
dx:
∫integrandf(x)dx
The U-Substitution Method
Basic Procedure
- Choose u: let u be the inside function, usually the inner part of a composite
- Find du: take the derivative, dxdu= derivative of u, then solve for dx: dx=derivativedu
- Substitute: replace all the x terms with u and dx with the expression from step 2
- Integrate: integrate with respect to u
- Back-substitute: replace u with the original expression in terms of x
Note: the letter
u is just convention. Any letter works.
Example 1: Basic U-Substitution
Evaluate
∫(3x−4)5dx.
u=3x−4Step 2: Find
du and solve for
dx.
dxdu=3⇒du=3dx⇒dx=3duStep 3: Substitute.
∫(3x−4)5dx=∫u5⋅3duStep 4: Integrate.
=31∫u5du=31⋅6u6+C=18u6+CStep 5: Back-substitute.
=18(3x−4)6+C
Example 2: When Terms Cancel
Evaluate
∫6x2(x3+4)5dx.
u=x3+4Why this choice? The derivative will be
3x2, which will cancel with the
6x2 already sitting in the integrand.
Step 2: Find
du and solve for
dx.
dxdu=3x2⇒du=3x2dx⇒dx=3x2duStep 3: Substitute.
∫6x2⋅u5⋅3x2duStep 4: Simplify, and the
x2 terms cancel.
=∫36u5du=2∫u5duStep 5: Integrate.
=2⋅6u6+C=3u6+CStep 6: Back-substitute.
=3(x3+4)6+CKey insight: the
x terms from the original integrand should cancel with terms from
dx. That’s your signal that you picked the right
u.
Example 3: With Square Roots
Evaluate
∫x(x−1)2dx.
u=x−1dxdu=2x1⇒du=2x1dx⇒dx=2xduStep 3: Substitute.
∫xu2⋅2xduStep 4: Cancel, since the
x terms drop out.
=∫2u2duStep 5: Integrate.
=2⋅3u3+C=32u3+CStep 6: Back-substitute.
=32(x−1)3+C
Example 4: Exponential with Trig
Evaluate
∫sin(x)ecos(x)dx.
Test the choices:
Bad choice: u=sin(x), which gives
du=cos(x)dx. That won’t cancel the
sin(x) in front.
Good choice: u=cos(x), which gives
du=−sin(x)dx. That WILL cancel with the
sin(x) in the integrand.
Solution:
u=cos(x),du=−sin(x)dx,dx=−sin(x)duSubstitute:
∫sin(x)⋅eu⋅−sin(x)du=∫−eudu=−eu+C=−ecos(x)+C
Double U-Substitution
Sometimes you need u-substitution twice in the same problem.
Example: ∫cot(3x)dx
First substitution:
u=3x,du=3dx,dx=3du∫cot(3x)dx=31∫cot(u)duProblem: we don’t have a formula for
∫cot(u)du.
Solution: rewrite cotangent.
∫cot(u)du=∫sin(u)cos(u)duSecond substitution (the “w” substitution):
w=sin(u),dw=cos(u)du,du=cos(u)dw∫sin(u)cos(u)du=∫wcos(u)⋅cos(u)dw=∫w1dw=ln∣w∣+C=ln∣sin(u)∣+C=ln∣sin(3x)∣+CFinal answer:
∫cot(3x)dx=31ln∣sin(3x)∣+C
Advanced Technique: Solving for x
Sometimes you have to solve the
u equation for
x.
Example: ∫x+1xdx
Substitution:
u=x+1,du=dxProblem: there’s still an
x in the numerator after substituting.
Solution: solve for
x in terms of
u.
u=x+1⟹x=u−1Substitute everything:
∫x+1xdx=∫uu−1duSeparate the fraction:
=∫(uu−u1)du=∫(u1/2−u−1/2)duIntegrate:
=3/2u3/2−1/2u1/2+C=32u3/2−2u1/2+CBack-substitute:
=32(x+1)3/2−2(x+1)1/2+C
Recognizing Inverse Trig (Not U-Substitution)
Problem: ∫1−4x21dx Common mistake: trying
u=1−4x2, which gives
du=−8xdx. But there’s no
x in the numerator to cancel with, so this goes nowhere.
Correct approach: recognize the inverse trig pattern. Rewrite as
1−(2x)21This matches the pattern
1−u21, which integrates to
sin−1(u).
Solution:
u=2x,du=2dx,dx=2du∫1−u21⋅2du=21sin−1(u)+C=21sin−1(2x)+C
U-Substitution with Definite Integrals
For definite integrals, change the limits of integration instead of back-substituting.
Procedure
- Do the u-substitution as usual
- Convert the limits: plug the original limits into u=g(x) to get the new limits
- Integrate with respect to u using the new limits
- Evaluate, with no need to substitute back
Example: ∫02t2t3+1dt
Step 1: Substitution.
u=t3+1,du=3t2dt,dt=3t2duStep 2: Change the limits.
When
t=0:
u=03+1=1When
t=2:
u=23+1=9New limits: from 1 to 9.
Step 3: Substitute and simplify.
∫02t2⋅u⋅3t2du=∫1931u1/2duStep 4: Integrate.
=31⋅3/2u3/219=92u3/219Step 5: Evaluate using the new limits.
=92[93/2−13/2]=92[27−1]=92(26)=952Key advantage: no need to convert back to
t, because you changed the limits.
Example 2: ∫0π/2sin3(x)cos(x)dx
Substitution:
u=sin(x),du=cos(x)dxChange the limits:
When
x=0:
u=sin(0)=0When
x=2π:
u=sin(2π)=1New limits: from 0 to 1.
Integrate:
∫01u3du=4u401=41−0=41
Key Takeaways
- U-substitution reverses the chain rule for integration
- When to use it: if the derivative would need the chain rule, the integral needs u-sub
- Choose u to be the inside function of a composite
- Check your choice: the derivative of u should cancel with existing terms
- Always solve for dx: dx=derivative of udu
- Terms should cancel. After substituting, all the x terms should be gone
- Back-substitute to replace u with the original expression for indefinite integrals
- For definite integrals, change the limits instead of back-substituting
- Double substitution is sometimes needed for harder problems (the w-substitution)
- Solve for x when needed, using u=g(x) to write x in terms of u
- Not everything is u-sub. Some patterns are inverse trig formulas, so learn the difference
- Think ahead: before choosing u, check whether its derivative will actually help you cancel