Q.Integrate the following function: x+xlogx1
Concept understanding — U Substitution
U Substitution: The Reverse Chain Rule
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).
- Set u=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 back u=g(x).
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)∣
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:
∫x=0x=12xcos(x2)dx=∫u=0u=1cos(u)du=sin(1)−sin(0)=sin(1)
Common Mistake to Avoid
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 — noticing that the derivative of logx appears in the denominator.
Let u=logx. Then du=x1dx. The denominator x+xlogx=x(1+logx)=x(1+u).
The integral becomes:
∫x(1+u)1dx=∫1+u1du
Integrating:
∫1+u1du=log∣1+u∣+C
Substitute back u=logx:
log∣1+logx∣+C
The integral is log∣1+logx∣+C.
The key idea is to factor x from the denominator and then use the substitution u=1+logx, which simplifies the integral to ∫udu=log∣u∣+C. The final result is log∣1+logx∣+C.
We start with the integral:
∫x+xlogx1dx
The denominator has a common factor of x in both terms. Factor it out:
∫x(1+logx)1dx
Now, why would we think of substitution here? The expression 1+logx appears inside the denominator, and its derivative is x1, which is also present in the integrand. This is the classic signal for a u-substitution: when you see a function and its derivative (up to a constant factor) multiplied together.
Let u=1+logx. Then differentiate:
dxdu=x1⇒du=x1dx
The integral becomes:
∫x(1+logx)1dx=∫u1du
This is a standard integral:
∫u1du=log∣u∣+C
Now substitute back u=1+logx:
log∣1+logx∣+C
A common mistake is to forget the absolute value in the logarithm. Since logx is defined only for x>0, and 1+logx could be negative for 0<x<e−1, the absolute value is necessary for the general antiderivative. However, if the domain is restricted to x>e−1, you can drop the absolute value.
Notice that we didn't need to expand or simplify anything beyond factoring. The substitution u=1+logx works because the derivative of logx is 1/x, which cancels the x in the denominator perfectly. This is a textbook example of the "function-derivative" pattern.
The integral evaluates to log∣1+logx∣+C.
Method: Factor the denominator first, then substitute
Use this when a denominator can be factored to expose a g(x) whose derivative appears — here x+xlogx=x(1+logx).
Steps
Step 1: Factor to reveal the hidden structure.
x+xlogx1=x(1+logx)1=x1⋅1+logx1.
Step 2: Substitute the bracket.
Let u=1+logx; then du=x1dx, exactly the leftover x1dx. The integral becomes ∫udu.
Step 3: Integrate to a logarithm and back-substitute.
∫udu=log∣u∣+C⇒log∣1+logx∣+C.
Factoring is the move students miss — without it the x1dx pattern stays hidden.
Common Mistakes
Mistake 1: Not factoring the denominator.
Why it's wrong: x+xlogx looks unfamiliar, but factoring to x(1+logx) reveals the x1 needed for substitution. Correct approach: always try to factor before deciding an integral is hard.
Mistake 2: Substituting u=logx instead of u=1+logx.
Why it's wrong: after factoring you have 1+logx1, so the cleaner substitution is u=1+logx (also giving du=x1dx). Correct approach: let u be the full bracket in the denominator.
Mistake 3: Forgetting the absolute value in the log.
Why it's wrong: ∫udu=log∣u∣+C. Correct approach: write log∣1+logx∣+C.
Showing the 12 most recent of 32 on this concept.
- KEAM 2026Set eng-2026-04184 marksMCQQ.∫sinx+cosxsecxsecxdx= (A) 2(tanx−loge(tanx+1))+C (B) 2(tanx+loge(tanx+1))+C (C) 2tanx−loge(tanx+1)+C (D) 2tanx+loge(tanx+1)+C (E) tanx−loge(tanx+1)+C
›Reveal solutionSolution
Factor sinx+cosx=cosx(tanx+1) to reduce the integrand to tanx+1sec2x; substituting u=tanx gives option (A).
Write the denominator as sinx+cosx=cosx(tanx+1). The numerator is secxsecx=cos−3/2x, so
cosx(tanx+1)cos−3/2x=tanx+1cos−2x=tanx+1sec2x.
Let t=tanx, dt=sec2xdx, then u=t, t=u2, dt=2udu:
∫t+1dt=∫u+12udu=2∫(1−u+11)du=2(u−log(u+1))+C.
Thus the integral is 2(tanx−log(tanx+1))+C.
✓Final answerThe correct option is (A).
- KEAM 2025Set eng-2025-04274 marksMCQQ.∫2−sin2θcosθdθ= (A) 21log2+sinθ2−sinθ+C (B) 21log2−sinθ2+sinθ+C (C) log2−sinθ2+sinθ+C (D) 21log2−sinθ2+sinθ+C (E) 221log2−sinθ2+sinθ+C
›Reveal solutionSolution
Substitution u=sinθ gives ∫2−u2du=221log2−sinθ2+sinθ+C.
Let u=sinθ, so du=cosθdθ. The integral becomes
∫2−u2du=∫(2)2−u2du.
Using the standard result ∫a2−u2du=2a1loga−ua+u+C with a=2:
=221log2−u2+u+C=221log2−sinθ2+sinθ+C.
✓Final answerThe correct option is (E).
- KEAM 2026Set eng-2026-04194 marksMCQQ.∫1+x2sin(cot−1x)dx is equal to (A) −cos(cot−1x)+C (B) cos(cot−1x)+C (C) 1+x2cos(cot−1x)+C (D) 2cos(cot−1x)+C (E) 1+x2−cos(cot−1x)+C
›Reveal solutionSolution
Substitute u=cot−1x so du=−1+x2dx.
Let u=cot−1x⇒du=−1+x2dx, i.e. 1+x2dx=−du.
∫1+x2sin(cot−1x)dx=∫sinu(−du)=−(−cosu)+C=cosu+C.
Back-substituting, =cos(cot−1x)+C.
✓Final answerThe correct option is (B).
- KEAM 2025Set eng-2025-04234 marksMCQQ.∫ex(x2−2)cos(ex(x2−2x))dx= (A) sin(ex(x2−2x))+C (B) sin(ex(x2−2))+C (C) x2exsin(ex(x2−2))+C (D) exsin(ex(x2−2))+C (E) exsin(x2ex−2xex)+C
›Reveal solutionSolution
Since d/dx[e^x(x^2-2x)] = e^x(x^2-2), the integral is sin(e^x(x^2-2x)) + C.
Concept and Intuition
Look for the outer function's argument, g(x) = e^x(x^2-2x), and check whether the rest of the integrand is exactly g'(x); if so the integral is a direct substitution.
Step-by-Step Solution
- Let g(x) = e^x(x^2 - 2x).
- g'(x) = e^x(x^2-2x) + e^x(2x-2) = e^x(x^2 - 2), which is exactly the prefactor.
- So the integrand is cos(g)*g' dx, and integral cos(g) dg = sin(g) + C.
- Result: sin(e^x(x^2-2x)) + C.
Common Mistakes
- Confusing the argument (x^2-2x) with the prefactor (x^2-2).
✓Final answerThe correct option is (A) — sin(e^x(x^2-2x)) + C.
ANSWER: A
- KEAM 2025Set eng-2025-04264 marksMCQQ.∫0π/21+sinx1dx= (A) 2 (B) 21 (C) 41 (D) 1 (E) 0
›Reveal solutionSolution
Rationalise the denominator, integrate sec2x−secxtanx.
Multiply numerator and denominator by 1−sinx:
1+sinx1=1−sin2x1−sinx=cos2x1−sinx=sec2x−secxtanx.
Antiderivative is tanx−secx=cosxsinx−1. Evaluating from 0 to 2π: at x→2π the value →0; at x=0 it is 0−1=−1. Thus the integral =0−(−1)=1.
✓Final answerThe correct option is (D).
- KEAM 2026Set eng-2026-04194 marksMCQQ.∫(13+36sin2tsint+cost)dt is equal to (A) 841log7−6(sint−cost)7+6(sint−cost)+C (B) 811log7−6(sint−cost)7+6(sint−cost)+C (C) 841log7+6(sint−cost)7−6(sint−cost)+C (D) 481log7−6(sint−cost)7+6(sint−cost)+C (E) 641log7−6(sint−cost)7+6(sint−cost)+C
›Reveal solutionSolution
Let u=sint−cost; the numerator becomes du and 13+36sin2t=49−36u2, giving a standard a2−k2u2du integral.
Set u=sint−cost. Then
du=(cost+sint)dt,
which is exactly the numerator, and
u2=1−2sintcost=1−sin2t⇒sin2t=1−u2.
So the denominator is
13+36sin2t=13+36(1−u2)=49−36u2.
Hence
∫49−36u2du=∫72−(6u)2du.
Using ∫a2−k2u2du=2ak1loga−kua+ku with a=7,k=6,
=2⋅7⋅61log7−6u7+6u=841log7−6(sint−cost)7+6(sint−cost)+C.
✓Final answerThe correct option is (A).
- KEAM 2025Set eng-2025-04294 marksMCQQ.∫cosx2sin2xdx= (A) 21tanx+C (B) tanx+C (C) 2tanx+C (D) 4tanx+C (E) 3tanx+C
›Reveal solutionSolution
Writing 2sin2x=4sinxcosx reduces the integrand to 21sec2x(tanx)−1/2; with u=tanx this integrates to tanx+C.
Use sin2x=2sinxcosx, so 2sin2x=4sinxcosx and 2sin2x=2sinxcosx. Then
cosx2sin2x1=2cosxsinxcosx1=2cos2xtanx1=2tanxsec2x.
Let u=tanx, du=sec2xdx:
21∫u−1/2du=21⋅2u1/2=u=tanx+C.
✓Final answerThe correct option is (B).
- KEAM 2022Set eng-2022-P2-B14 marksMCQQ.∫ttet1dt= (A) 21et1+C (B) 2−1et1+C (C) 2et1+C (D) −2et1+C (E) et1+C
›Reveal solutionSolution
The integral equals −2e1/t+C.
Concept and Intuition
Recognize that the exponent's derivative appears (up to a constant) in the integrand, so a direct substitution works.
Step-by-Step Solution
- Let u=t1=t−1/2.
- du=−21t−3/2dt=−21⋅tt1dt, so ttdt=−2du.
- ∫tte1/tdt=∫eu(−2)du=−2eu+C.
- Back-substitute: =−2e1/t+C.
Common Mistakes
- Dropping the factor of −2 from the substitution.
- Sign error in du.
✓Final answerThe correct option is (D) — −2et1+C.
ANSWER: D
- KEAM 2024Set eng-2024-06054 marksMCQQ.∫(secx+tanx)2secxdx= (A) 5(secx+tanx)42+C (B) 2(secx+tanx)2−1+C (C) 3(secx+tanx)3/22+C (D) 3(secx+tanx)3−2+C (E) (secx+tanx)2+C
›Reveal solutionSolution
The substitution u=secx+tanx turns it into ∫u−3du.
Let u=secx+tanx. Then du=(secxtanx+sec2x)dx=secx(tanx+secx)dx=secxudx, so secxdx=udu. Hence
∫(secx+tanx)2secxdx=∫u21⋅udu=∫u−3du=−2u21+C=2(secx+tanx)2−1+C.
✓Final answerThe correct option is (B).
- KEAM 2025Set eng-2025-04284 marksMCQQ.∫x(1−x)10dx= (A) 12(1−x)12−11(1−x)11+C (B) 12(1−x)12+11(1−x)11+C (C) 11(1−x)11−10(1−x)10+C (D) 12(1−x)12+11(1+x)11+C (E) 12(1−x)12−11(1+x)11+C
›Reveal solutionSolution
With u=1−x the integral becomes 12u12−11u11, i.e. 12(1−x)12−11(1−x)11+C.
Let u=1−x, x=1−u, dx=−du:
∫x(1−x)10dx=−∫(1−u)u10du=−∫(u10−u11)du=12u12−11u11+C.
Restoring u=1−x:
=12(1−x)12−11(1−x)11+C.
✓Final answerThe correct option is (A).
- KEAM 2024Set eng-2024-06054 marksMCQQ.∫tan12x+1tan5xsec2xdx is equal to (A) 61tan−1[tan6x]+C (B) 21tan−1[tan6x]+C (C) 41tan−1[tan4x]+C (D) 31tan−1[tan3x]+C (E) 71tan−1[tan7x]+C
›Reveal solutionSolution
Substitute u=tan6x; the integral reduces to 61∫u2+1du=61tan−1(tan6x)+C.
Let u=tan6x. Then du=6tan5xsec2xdx, so tan5xsec2xdx=6du.
Also tan12x=(tan6x)2=u2.
∫tan12x+1tan5xsec2xdx=61∫u2+1du=61tan−1u+C=61tan−1(tan6x)+C.
✓Final answerThe correct option is (A).
- KEAM 2026Set eng-2026-04184 marksMCQQ.∫(2ex+5)310exdx is equal to (A) 2(2ex+5)25+C (B) (2ex+5)2−5+C (C) (2ex+5)2−10+C (D) 2(2ex+5)2−5+C (E) (2ex+5)25+C
›Reveal solutionSolution
Substitute u=2ex+5, du=2exdx, giving 5∫u−3du=−2(2ex+5)25+C.
Let u=2ex+5, so du=2exdx, i.e. exdx=2du. Then
∫(2ex+5)310exdx=∫u310⋅2du=5∫u−3du=5⋅−2u−2=−2u25+C.
Hence the answer is −2(2ex+5)25+C.
✓Final answerThe correct option is (D).
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.