The chain rule differentiates composite functions: the derivative of sin(x2) is cos(x2)⋅2x — differentiate the outer function, then multiply by the derivative of the inside. Integration asks the reverse: given cos(x2)⋅2x, find the original function. That's what u substitution does — it reverses the chain rule.
The Core Intuition
When an integral looks like "a function times the derivative of its inside," substitute the inside with u and the derivative of the inside with du. Consider:
∫2xcos(x2)dx
Here 2x is the derivative of x2, and x2 is the inside of cos(x2). Let u=x2, so du=2xdx:
∫cos(u)du=sin(u)+C=sin(x2)+C
Check: the derivative of sin(x2) is cos(x2)⋅2x.
The Precise Statement
∫f(g(x))⋅g′(x)dx=∫f(u)duwhere u=g(x),du=g′(x)dx
Valid provided g is differentiable and the resulting integral in u is simpler.
The Step-by-Step Method
Identify a function g(x) whose derivative g′(x) also appears (possibly up to a constant factor).
Setu=g(x), compute du=g′(x)dx.
Rewrite the entire integral in u and du — every x and dx must be replaced.
Integrate with respect to u.
Substitute backu=g(x).
Watch out
You cannot mix variables. If any x remains after substitution, you chose the wrong u (or must solve for x in terms of u — rare).
A Second Example (with a constant factor)
Evaluate ∫xx2+1dx. Let u=x2+1, so xdx=21du:
∫u⋅21du=21⋅32u3/2+C=31(x2+1)3/2+C
When Does It Work?
When the integrand is something times the derivative of something inside. Common patterns:
Split x+2=−21(4−2x)+4; the first part is a u-substitution giving −4x−x2, the second a standard arcsine giving 4arcsin(2x−2). Result: −4x−x2+4arcsin(2x−2)+C.
Setting up
A square root of a quadratic invites completing the square:
4x−x2=−(x2−4x)=−((x−2)2−4)=4−(x−2)2.
So 4x−x2=4−(x−2)2, the classic a2−u2 shape with a=2.
The numerator split
The derivative of the radicand is dxd(4x−x2)=4−2x. We peel that off the numerator: solve x+2=A(4−2x)+B. Matching x: 1=−2A⇒A=−21; matching constants: 2=4A+B=−2+B⇒B=4. Hence
Same split as any linear-over-root problem, but because the x2 coefficient is negative the constant piece becomes an inverse sine, and the derivative of the radicand carries a leading minus sign.
Steps
Step 1: Split the numerator. For Q(x)=c+bx−x2, note Q′(x)=b−2x; write the numerator as λ(b−2x)+μ.
Why it's wrong: the derivative of 4x−x2 is 4−2x, so x+2=−21(4−2x)+4; missing the minus flips the Q term's sign. Correct approach: differentiate the radicand exactly (with its minus) before matching.
Mistake 2: Using a log form for the constant part.
Why it's wrong: the negative x2 term gives a2−u2, hence sin−1. Correct approach: complete the square and check you have a2−u2, not u2±a2. …