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:
The key idea is to rewrite the integrand using the sine addition formula so that the expression simplifies to a form involving cotx, then use the substitution t=cotx to reduce the integral to a standard form. The final result is −2cosecαsin(x+α)/sinx+C.
Why U Substitution Works Here
When you see an integrand with sin3x and sin(x+α), your first instinct might be to expand sin(x+α) using the addition formula. That’s exactly what we need — but the trick is to notice that the product sin3x⋅sin(x+α) can be rewritten in a way that reveals a hidden derivative.
The expression sin3xsin(x+α)1 looks messy, but if we factor out sin4x from the product inside the square root, we get something like sin2xsin(x+α)/sinx. That ratio sinxsin(x+α) simplifies to cosα+cotxsinα, which is a linear function of cotx. And the derivative of cotx is −csc2x, which appears naturally when we manipulate the integrand.
So the plan is: rewrite the integrand so that it becomes a function of cotx times −csc2x, then substitute t=cotx.
Step-by-Step Solution
Rewrite the integrand using the sine addition formula
Method: Factor sin4x out of the radical to expose a cotx substitution
Use this for integrands like sin3xsin(x+α)1: expanding the shifted sine and factoring a power of sinx turns everything into a function of cotx times csc2x.
Steps
Step 1: Expand the shifted sine.
sin(x+α)=sinxcosα+cosxsinα, so sin3xsin(x+α)=sin4x(cosα+cotxsinα).
Mistake 1: Not factoring sin4x out of the radical.
Why it's wrong: without writing sin3xsin(x+α)=sin2xcosα+cotxsinα, the cotx substitution never appears. Correct approach: expand sin(x+α) and factor sin4x.
Mistake 2: Dropping the minus from d(cotx)=−csc2xdx.
Why it's wrong: it flips the sign of the final result. Correct approach: substitute csc2xdx=−dt. …