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.
The key idea is U Substitution: the numerator 2x is exactly the derivative of the denominator 1+x2, so we set u=1+x2.
Step 1: Let u=1+x2. Then du=2xdx.
Step 2: The integral becomes
∫1+x22xdx=∫u1du.
Step 3: Integrate: ∫u1du=log∣u∣+C.
Step 4: Substitute back u=1+x2. Since 1+x2>0 for all real x, the absolute value is unnecessary.
✓Final answer
The integral is log(1+x2)+C.
The integral ∫1+x22xdx is a classic logarithmic form because the numerator is exactly the derivative of the denominator. Using the substitution u=1+x2, the integral simplifies to log∣1+x2∣+C, or simply log(1+x2)+C since the denominator is always positive.
Why this works: the "derivative on top" pattern
When you see a fraction where the numerator is a constant multiple of the derivative of the denominator, you're looking at a logarithmic integral. The general rule is:
∫f(x)f′(x)dx=log∣f(x)∣+C
Here, the denominator is 1+x2. Its derivative is 2x, which is exactly the numerator. That's the green light — we can jump straight to the natural log.
Step-by-step solution
Spot the pattern.
Let u=1+x2. Then du=2xdx. The numerator 2xdx is precisely du, so the integral becomes:
∫1+x22xdx=∫udu
Integrate the simple form.
The integral ∫udu is one of the most basic results in calculus:
∫udu=log∣u∣+C
Substitute back.
Replace u with 1+x2:
log∣1+x2∣+C
Simplify the absolute value (optional but tidy).
Since x2≥0, we have 1+x2≥1>0 for all real x. The absolute value bars are unnecessary:
log(1+x2)+C
Tip
You can also do this mentally: "derivative of bottom is on top" → answer is log(bottom)+C. No substitution writing needed once you're comfortable.
Watch out
A common mistake is to treat 1+x22x as a quotient and try to use the quotient rule backwards — that's for differentiation, not integration. The substitution method is the correct path here.
✓Final answer
The integral evaluates to log(1+x2)+C.
Method: Recognise the f(x)f′(x) log pattern (u-substitution)
Use this when the numerator is (a constant times) the derivative of the denominator, such as 1+x22x where 2x=dxd(1+x2).
Steps
Step 1: Test whether the top is the derivative of the bottom.
Differentiate the denominator; if the numerator matches it (up to a constant factor), the integral is a logarithm.
Step 2: Substitute u= denominator.
Let u=1+x2, so du=2xdx. The integral becomes ∫udu.
Step 3: Integrate and back-substitute.
∫udu=log∣u∣+C⇒log(1+x2)+C.
More generally ∫f(x)f′(x)dx=log∣f(x)∣+C — spotting this pattern saves the full substitution.
Common Mistakes
Mistake 1: Trying the power rule on 1+x21.
Why it's wrong: 1+x2 is not a single power of x, so n+1xn+1 does not apply. Correct approach: notice the numerator 2x is the derivative of 1+x2 and substitute.
Mistake 2: Missing the ff′ structure.
Why it's wrong: overlooking that 2x=dxd(1+x2) leads to a stuck attempt. Correct approach: ∫f(x)f′(x)dx=log∣f(x)∣+C, giving log(1+x2)+C.
Mistake 3: Writing 21log(1+x2) or similar extra factor.
Why it's wrong: here du=2xdx matches the numerator exactly, so no 21 is needed. Correct approach: check that du equals the numerator before inserting any constant.