How do I do u substitution?
Name the inner part, replace everything with u, integrate and go back to x.
Example
∫xex2dx
Answer: ex22+C
Try it yourself: ∫2xcos(x2)dx
Why do I need this?
When an integral has a composite function and the derivative of its inner part, substitution turns it into a direct integral.
The idea
The derivative of a composite function contains the derivative of its inner part. Naming the inner part u makes the integral simple.
Step by step
Think first
Look for an inner part whose derivative almost appears in the problem too.
Why? Here x squared sits inside e, and the x beside it is almost its derivative.
Name the inner part
Call the inner part u and compute its derivative.
u=x2du=2xdx⇒xdx=du2Rewrite
Replace everything with u, and what is left, x dx, becomes half of du.
∫eu·12duIntegrate and go back
Integrate in u and put x back in place of u.
12eu+C=ex22+CWhy? Check: the derivative of the result brings back the original problem.
More cases and examples
A definite integral
With limits, put them into the finished result, after going back to x.
∫01xex2dx=[ex22]01=e2−12=e−12
The rule
Substitution
When to use it: The derivative of the inner part appears as a factor, up to a number.
- g(x)the inner part
- ua new name for the inner part
- dx,duthe small step in x and in u
Watch out: If a different x is left over, substitution fails and parts may work.
Common mistakes
- Wrong∫xex2dx=ex2+CRight∫xex2dx=ex22+C
The half is missing: du is 2x dx, so x dx is half of du.
- Wrong∫xex2dx=x22·ex2Right∫xex2dx=ex22+C
There is no product rule for integrals; use a substitution.