Q.Integrate the following function: (cosx+sinx)2cos2x
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →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)∣ …
Simplify the fraction before integrating. Using (cosx+sinx)2=1+sin2x and cos2x=cos2x−sin2x=(cosx−sinx)(cosx+sinx),
(cosx+sinx)2cos2x=cosx+sinxcosx−sinx.
Let u=cosx+sinx, so du=(cosx−sinx)dx:
∫cosx+sinxcosx−sinxdx=∫udu=log∣cosx+sinx∣+C. …
The integrand simplifies to cosx+sinxcosx−sinx, whose integral is log∣cosx+sinx∣+C=21log∣1+sin2x∣+C.
Simplify first
Expand the denominator: (cosx+sinx)2=cos2x+sin2x+2sinxcosx=1+sin2x. For the numerator, cos2x=cos2x−sin2x=(cosx−sinx)(cosx+sinx). So one factor of (cosx+sinx) cancels:
(cosx+sinx)2cos2x=(cosx+sinx)2(cosx−sinx)(cosx+sinx)=cosx+sinxcosx−sinx.
Substitute
The numerator is exactly the derivative of the denominator: with u=cosx+sinx, du=(−sinx+cosx)dx=(cosx−sinx)dx. Therefore
∫cosx+sinxcosx−sinxdx=∫udu=log∣u∣+C=log∣cosx+sinx∣+C.
Equivalent form …
Method: Factor cos2x to cancel a (cosx+sinx) denominator
When cos2x sits over (cosx+sinx)2, expand cos2x as a difference of squares so one factor cancels the denominator, then substitute.
Steps
Step 1: Expand cos2x as a product.
cos2x=cos2x−sin2x=(cosx−sinx)(cosx+sinx)
Step 2: Cancel one factor with the squared denominator.
(cosx+sinx)2cos2x=(cosx+sinx)2(cosx−sinx)(cosx+sinx)=cosx+sinxcosx−sinx
Step 3: Substitute u=cosx+sinx. …
Common Mistakes
Mistake 1: Expanding (cosx+sinx)2 instead of factoring cos2x.
Why it's wrong: expanding the denominator to 1+sin2x and grinding forward is longer and error-prone; the elegant cancellation is missed. Correct approach: write cos2x=(cosx−sinx)(cosx+sinx) and cancel one factor.
Mistake 2: Sign error in du for u=cosx+sinx. …
Showing the 12 most recent of 32 on this concept.
- KEAM 2021Set eng-2021-P2-B14 marksMCQQ.∫cos2xcos(tanx)dx= (A) (tanx)sin(tanx)+C (B) sin(tanx)+C (C) sec(tanx)+C (D) (cosx)sin(tanx)+C (E) cos2(tanx)+C
›Reveal solutionSolution
∫cos2xcos(tanx)dx=sin(tanx)+C.
Concept and Intuition
The factor 1/cos2x=sec2x is exactly the derivative of tanx, so substituting u=tanx linearizes the integral.
Step-by-Step Solution
- Rewrite as ∫cos(tanx)sec2xdx.
- Let u=tanx, du=sec2xdx. …
- 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. …
- KEAM 2023Set eng-2023-P2-B24 marksMCQQ.∫sin2x+2cos2x2tanx+3dx= (A) 23sin−1(2sinx)+lnsin2x+2+C (B) 23tan−1(2tanx)+lntan2x+2+C (C) 21tan−1(2tanx)−lntan2x+2+C (D) 23cos−1(2cosx)+lnsin2x+2+C (E) 21cos−1(2cosx)−lncos2x+2+C
›Reveal solutionSolution
The integral is 23tan−1(2tanx)+log∣tan2x+2∣+C.
Concept and Intuition
Divide numerator and denominator by cos2x to convert everything into tanx, then substitute t=tanx.
Step-by-Step Solution
- Dividing by cos2x: integrand =tan2x+2(2tanx+3)sec2x.
- Let t=tanx,dt=sec2xdx: ∫t2+22t+3dt.
- Split: ∫t2+22tdt=log(t2+2) and ∫t2+23dt=23tan−12t.
Common Mistakes …
- 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: …
- 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 …
- 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. …
- 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 …
- 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. …
- KEAM 2022Set eng-2022-P2-B14 marksMCQQ.∫cos27xsin25xdx is equal to (A) 26sin26(x)+C (B) 26cos26(x)+C (C) tan26(x)+C (D) 26tan26(x)+C (E) 26tan26(x)+C
›Reveal solutionSolution
The integral equals 26tan26x+C.
Concept and Intuition
Split off a sec2x factor so the rest becomes a power of tanx, then substitute u=tanx.
Step-by-Step Solution
- cos27xsin25x=tan25x⋅cos2x1=tan25xsec2x.
- Let u=tanx⇒du=sec2xdx.
- ∫tan25xsec2xdx=∫u25du=26u26+C.
- =26tan26x+C.
Common Mistakes …
- 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: …
- KEAM 2025Set eng-2025-04254 marksMCQQ.The value of ∫0π/3costtantdt is equal to (A) 21 (B) 2−1 (C) 2 (D) −2 (E) 1
›Reveal solutionSolution
Write costtant=cos2tsint; its antiderivative is sect.
costtant=cos2tsint.
With u=cost, du=−sintdt, the antiderivative is cost1=sect. Thus …
- KEAM 2025Set eng-2025-04254 marksMCQQ.∫2x+5sec2(2x+5)dx= (A) 2tan(2x+5)+C (B) 21tan(2x+5)+C (C) tan(2x+5)+C (D) tan(2x+5)+C (E) 2tan(2x+5)+C
›Reveal solutionSolution
Substitute u=2x+5; the differential cancels the 2x+51 factor.
Let u=2x+5. Then
du=22x+51⋅2dx=2x+5dx.
So the integral becomes …
🎓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.