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:
x⋅f(x2) — derivative of x2 is 2x, so u=x2
eg(x)⋅g′(x) — derivative of g(x) appears
g(x)g′(x) — leads to log∣g(x)∣
Tip
If stuck, differentiate a candidate "inside" function in your head. If its derivative (up to a constant) appears, that's your u.
The Definite Integral Case
Either change the limits (when x=a, u=g(a); when x=b, u=g(b); then integrate in u), or integrate in u, substitute back, and use the original limits. Changing limits is cleaner:
Don't confuse du with Δu. du is a differential — the exact relationship du=g′(x)dx that holds inside the integral. Treat it algebraically: multiply, divide, and substitute freely.
U-substitution, taught in the CBSE Class 12 Integrals chapter as the method of substitution, is one of the very first integration techniques students learn after the standard formulas, and "integration by substitution class 12 examples" is a heavily searched revision topic. It remains equally essential for solving integral calculus problems in JEE Main and JEE Advanced.
An odd power of cos sits next to sinϕ, so substitute t=sinϕ; one cosϕ becomes dt and the rest turns into a polynomial.
Let t=sinϕ, dt=cosϕdϕ. Then cos5ϕdϕ=(1−sin2ϕ)2cosϕdϕ=(1−t2)2dt, and ϕ:0→2π gives t:0→1:
Method: Odd power of sine/cosine — peel off one factor for the differential
When one trig function appears to an odd power, split off a single factor to become du and convert the remaining even power using sin2+cos2=1.
Steps
Step 1: Locate the odd power and pick the other function as u.
If cosx has an odd power, set u=sinx (so du=cosxdx); if sinx is odd, set u=cosx.
Step 2: Reserve one factor for du and rewrite the rest.
Write cos2k+1x=(cos2x)kcosx=(1−sin2x)kcosx, turning the even remainder into a polynomial in u.
Step 3: Change the limits and integrate the polynomial.
Convert x-limits to u-limits and integrate term by term with the power rule ∫undu=n+1un+1.
Step 4: Sum the fractional-power terms over a common denominator to finish.
Common Mistakes
Mistake 1: Substituting t=sinϕ but forgetting to convert the even remaining cosines.
Why it's wrong: after peeling one cosϕ for dt, the leftover cos4ϕ must become (1−sin2ϕ)2=(1−t2)2; leaving a stray cos or ϕ makes the integral unintegrable in t. Correct approach: use cos2ϕ=1−sin2ϕ on the even part.
Mistake 2: Mishandling fractional exponents when integrating.
Why it's wrong: ∫t1/2dt=32t3/2 and ∫t9/2dt=112t11/2 — adding 1 to a half-integer power trips students up. Correct approach: apply the power rule carefully to each term and add over the common denominator 231.