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.
Each integrand is an inner function times (a constant multiple of) its own derivative — a u-substitution.
(i)u=mx,du=mdx: ∫sinmxdx=−m1cosmx+C.
(ii)u=x2+1,du=2xdx: ∫2xsin(x2+1)dx=−cos(x2+1)+C.
(iii)u=tanx, so du=2xsec2xdx, giving xsec2xdx=2du:
A u-substitution reverses the chain rule: if the integrand is f(g(x))g′(x), set u=g(x), du=g′(x)dx, and integrate f(u). In each part, find the inner function whose derivative is present (perhaps up to a constant).
(i) ∫sinmxdx
Let u=mx, so du=mdx, i.e. dx=mdu:
∫sinmxdx=m1∫sinudu=−m1cosu+C=−mcosmx+C.
Check: dxd(−mcosmx)=sinmx.
(ii) ∫2xsin(x2+1)dx
Here u=x2+1 has du=2xdx — exactly the factor present:
∫sinudu=−cosu+C=−cos(x2+1)+C.
(iii) ∫xtan4xsec2xdx
Take u=tanx. Then
du=sec2x⋅2x1dx⇒xsec2xdx=2du.
The integrand is tan4x⋅xsec2xdx=u4⋅2du, so
∫2u4du=52u5+C=52tan5x+C.
(iv) ∫1+x2sin(tan−1x)dx
Let u=tan−1x, so du=1+x2dx:
∫sinudu=−cosu+C=−cos(tan−1x)+C.
A right triangle with opposite x, adjacent 1, hypotenuse 1+x2 gives cos(tan−1x)=1+x21, so this is also −1+x21+C.
Use this for any integrand that is a composite function multiplied by (a constant times) the derivative of its inner part.
Steps
Step 1: Identify the inner function g(x).
Look for a function whose derivative is present in the integrand. Candidates: the argument of a trig function (mx, x2+1), or a nested expression such as tanx or tan−1x.
Step 2: Set u=g(x) and compute du.
Then du=g′(x)dx. Confirm the remaining factor in the integrand is du up to a constant. For u=mx, du=mdx, so a m1 is pulled out.
Step 3: Integrate in u and restore x.
The integral reduces to a standard form in u (e.g. ∫sinudu=−cosu, ∫u4du=5u5). Finish by back-substituting u=g(x) and adding C.
Common Mistakes
Mistake 1: Omitting the m1 in ∫sinmxdx.
Why it's wrong: du=mdx introduces a m1; forgetting it gives −cosmx instead of −mcosmx. Correct approach: always divide by the constant from du.
Mistake 2: Missing the "hidden" du in xsec2x.
Why it's wrong: with u=tanx, du=2xsec2xdx, so the whole factor is exactly 2du. Correct approach: differentiate the composite inner function fully before deciding the substitution.
Mistake 3: Not simplifying −cos(tan−1x).
Why it's wrong: leaving it unsimplified hides the neat closed form −1+x21. Correct approach: use cos(tan−1x)=1+x21.