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.
Concept: U Substitution (Trigonometric Substitution)
The expression 4−x2 suggests the substitution x=2sinθ, because 4−x2=4−4sin2θ=4cos2θ, and 4−x2=2∣cosθ∣. For −2π≤θ≤2π, cosθ≥0, so the absolute value drops.
Steps:
Let x=2sinθ, so dx=2cosθdθ. Then
4−x2=4−4sin2θ=2cosθ.
The integral becomes
∫4−x2dx=∫(2cosθ)(2cosθdθ)=4∫cos2θdθ.
Use cos2θ=21+cos2θ:
4∫21+cos2θdθ=2∫(1+cos2θ)dθ=2θ+sin2θ+C.
Back-substitute: θ=arcsin(x/2), and sin2θ=2sinθcosθ=2⋅2x⋅24−x2=2x4−x2.
Thus the antiderivative is
2arcsin(2x)+2x4−x2+C.
✓Final answer
The integral is 2arcsin(2x)+2x4−x2+C.
The integral ∫4−x2dx is solved by trigonometric substitution x=2sinθ, which transforms the square root into 2cosθ. After integrating ∫4cos2θdθ and back-substituting, the result is 2x4−x2+2sin−12x+C.
The key insight: when you see a2−x2, think of the Pythagorean identity 1−sin2θ=cos2θ. The expression under the square root is begging to become a perfect square of a cosine. That’s the heart of trigonometric substitution — it turns an algebraic square root into a clean trigonometric function.
Here, a=2, so 4−x2=22−x2. The substitution x=2sinθ will make 4−x2=4−4sin2θ=4cos2θ, and the square root becomes 2∣cosθ∣. For the principal range θ∈[−π/2,π/2], cosθ≥0, so we can drop the absolute value.
Let’s work through it.
Set up the substitution.
Let x=2sinθ, so dx=2cosθdθ.
Then 4−x2=4−4sin2θ=4(1−sin2θ)=4cos2θ=2∣cosθ∣.
For θ∈[−π/2,π/2], cosθ≥0, so 4−x2=2cosθ.
Rewrite the integral.
∫4−x2dx=∫(2cosθ)⋅(2cosθdθ)=∫4cos2θdθ.
Integrate cos2θ.
Use the double-angle identity: cos2θ=21+cos2θ.
∫4cos2θdθ=4∫21+cos2θdθ=2∫(1+cos2θ)dθ.
This gives 2(θ+21sin2θ)+C=2θ+sin2θ+C.
Simplify sin2θ.
sin2θ=2sinθcosθ. So the integral becomes 2θ+2sinθcosθ+C.
A common mistake is forgetting the dx transformation. When you substitute x=2sinθ, you must also replace dx with 2cosθdθ — not just swap x for sinθ and leave dx unchanged. That would give a completely wrong integral.
Tip
If you ever forget the double-angle trick for cos2θ, you can also integrate by parts on ∫4−x2dx directly — but the trigonometric substitution is cleaner and less error-prone. Memorise the three standard forms: a2−x2 (sine sub), a2+x2 (tangent sub), x2−a2 (secant sub).
✓Final answer
The integral evaluates to 2x4−x2+2sin−12x+C.
Method: Trigonometric Substitution for a2−x2
Use this when the integrand contains a2−x2: a sine substitution turns the root into a plain cosine, removing the radical.
Steps
Step 1: Match the pattern and substitute.
Recognise a2−x2 and set x=asinθ, so dx=acosθdθ. Then
a2−x2=a2cos2θ=acosθ,
using 1−sin2θ=cos2θ.
Step 2: Reduce to a power-reduction integral.
The integral becomes ∫a2cos2θdθ; apply cos2θ=21+cos2θ to integrate.
Step 3: Back-substitute using a right triangle.
Convert θ and sin2θ=2sinθcosθ back to x via sinθ=ax and cosθ=aa2−x2:
∫a2−x2dx=2xa2−x2+2a2sin−1ax+C.
Common Mistakes
Mistake 1: Using x=atanθ for a2−x2.
Why it's wrong: the tangent substitution suits a2+x2; for a2−x2 you need x=asinθ. Correct approach: match the substitution to the sign inside the root.
Mistake 2: Forgetting dx=acosθdθ.
Why it's wrong: omitting the acosθ factor drops part of the integrand. Correct approach: differentiate x=asinθ and substitute for dx too.
Mistake 3: Failing to convert sin2θ back to x.
Why it's wrong: the answer must be in x; leaving θ or sin2θ is incomplete. Correct approach: use the reference triangle to rewrite everything in x.