Q.Integrate the following function: cotxlogsinx
🔒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)∣ …
The key idea is U Substitution: let u=logsinx, because the derivative of logsinx is cotx, which appears as a factor.
Step 1: Let u=logsinx. Then du=sinxcosxdx=cotxdx.
Step 2: The integral becomes ∫udu. …
The integral ∫cotxlogsinxdx is solved by recognising that cotx is the derivative of logsinx, making it a perfect candidate for substitution. The answer is 21(logsinx)2+C.
Why substitution works here
When you see a product like cotx⋅logsinx, your first instinct should be to check if one factor is the derivative of the other. Here, dxd(logsinx)=sinxcosx=cotx. That’s a dead giveaway: the integrand is of the form f(x)⋅f′(x), which integrates to 21[f(x)]2+C.
This is the core idea behind the u-substitution we’ll use.
Step-by-step solution
- Set up the substitution Let u=logsinx. Then differentiate:
dxdu=sinx1⋅cosx=cotx
So du=cotxdx.
- Rewrite the integral The original integral is ∫cotxlogsinxdx. Substituting u and du:
∫ulogsinx⋅ducotxdx=∫udu
- Integrate
∫udu=2u2+C
- Back-substitute Replace u with logsinx: 21(logsinx)2+C …
Method: Substitute u=logsinx when cotxdx is present
Use this when logsinx multiplies cotx: note cotx is exactly the derivative of logsinx.
Steps
Step 1: Recognise the derivative pairing.
dxdlogsinx=sinxcosx=cotx, which multiplies logsinx here.
Step 2: Substitute u=logsinx.
Then du=cotxdx, so the integral becomes ∫udu. …
Common Mistakes
Mistake 1: Not recognising cotx as the derivative of logsinx.
Why it's wrong: overlooking dxdlogsinx=cotx blocks the substitution. Correct approach: set u=logsinx, so du=cotxdx.
Mistake 2: Confusing this with ∫cotxdx.
Why it's wrong: the extra logsinx factor makes it ∫udu, not log∣sinx∣. Correct approach: substitute so the integrand becomes udu. …
Showing the 12 most recent of 51 on this concept.
- AP EAPCET 2026Set eng-2026-05-15-FN1 markMCQQ.∫10+sin2xcosx−sinxdx= (A) 21log(10+sin2x)+c (B) 31log(10+sin2x)+c (C) 31Tan−1(3sinx+cosx)+c (D) 31Tan−1(10+sin2x)+c
›Reveal solutionSolution
The numerator cosx−sinx is exactly d(sinx+cosx), and the denominator rewrites in terms of u=sinx+cosx via sin2x=u2−1. That collapses the integral to a standard ∫du/(a2+u2) arctangent form. Answer: 31Tan−1(3sinx+cosx)+c.
Concept and Intuition
Whenever an integrand contains both sinx−cosx (or cosx−sinx) and sin2x, it is worth trying u=sinx+cosx (or sinx−cosx) as the substitution, because u2=1±sin2x links the two.
Step-by-Step Solution
- Let u=sinx+cosx. Then du=(cosx−sinx)dx — this is exactly the numerator times dx.
- Also u2=sin2x+cos2x+2sinxcosx=1+sin2x, so sin2x=u2−1.
- Denominator: 10+sin2x=10+u2−1=9+u2.
- The integral becomes ∫9+u2du=31Tan−1(3u)+c. …
- AP EAPCET 2021Set eng-2021-10-05-FN1 markMCQQ.∫sin3xsinxdx= (A) 231log3−tanx3+tanx+c (B) 231log3+tanx3−tanx+c (C) 431log3−tanx3+tanx+c (D) 431log3+tanx3−tanx+c
›Reveal solutionSolution
Use the triple-angle identity to cancel sinx, rewrite in terms of cos2x, then apply the Weierstrass-type substitution t=tanx to reduce to a standard rational integral. The answer is (A).
Concept and Intuition
sin3x factors as sinx(3−4sin2x), so sinx cancels immediately with the numerator, turning a trigonometric-looking integral into a much simpler one in sin2x (hence in cos2x), which is a textbook target for the t=tanx substitution.
Step-by-Step Solution
- sin3x=3sinx−4sin3x=sinx(3−4sin2x).
- sin3xsinx=3−4sin2x1.
- Using sin2x=21−cos2x: 4sin2x=2−2cos2x, so 3−4sin2x=1+2cos2x.
- Integral becomes ∫1+2cos2xdx.
- Substitute t=tanx, dx=1+t2dt, cos2x=1+t21−t2: 1+2cos2x=1+t2(1+t2)+2(1−t2)=1+t23−t2.
- Integral =∫3−t21+t2⋅1+t2dt=∫3−t2dt. …
- AP EAPCET 2024Set eng-2024-05-20-AN1 markMCQQ.∫sin3xcos(x−α)dx= (A) cosα1cotx+tanα+c (B) cosα1cotx−tanα+c (C) sinα−1cotx+tanα+c (D) cosα−2cotx+tanα+c
›Reveal solutionSolution
Expanding cos(x−α) and substituting u=cotx reduces this to a simple square-root integral; final answer is (D).
Concept and Intuition
The key move is expanding cos(x−α) and factoring out sin4x from inside the square root so that a substitution u=cotx (whose differential is −csc2xdx, conveniently matching what's left outside) linearizes the whole thing.
Step-by-Step Solution
- cos(x−α)=cosxcosα+sinxsinα.
- sin3xcos(x−α)=sin3xcosxcosα+sin4xsinα=sin4x(sinxcosxcosα+sinα)=sin4x(cotxcosα+sinα).
- So sin3xcos(x−α)=sin2xcotxcosα+sinα (taking sin2x>0 outside the root).
- The integral is ∫sin2xcosαcotx+sinαdx=∫cosαcotx+sinαcsc2xdx.
- Let u=cotx, du=−csc2xdx. Integral becomes −∫cosαu+sinαdu=−cosα2cosαu+sinα+c. …
- AP EAPCET 2022Set eng-2022-07-06-AN1 markMCQQ.∫(sin2x+sin−3xcos5x)3cos4xdx= (A) 51(1+cot5x)−2+C (B) 101(1+cot2x)−5+C (C) 101(1+cot5x)−2+C (D) 51(1+cot5x)−5+C
›Reveal solutionSolution
Factoring sin2x out of the denominator turns it into sin2x(1+cot5x), and the substitution t=1+cot5x makes the whole integral a simple power-rule integration, giving 101(1+cot5x)−2+C.
Concept and Intuition
Integrals with mixed powers of sinx and cosx in odd/negative combinations often simplify beautifully once you factor out a common power to expose a (1+cotnx) or (1+tannx) structure — this is exactly the kind of expression whose derivative (via chain rule) reproduces cotn−1xcsc2x, matching what's left over in the integrand.
Step-by-Step Solution
- Denominator: sin2x+sin−3xcos5x. Factor out sin2x: =sin2x[1+sin5xcos5x]=sin2x(1+cot5x).
- So the full denominator cubed: [sin2x(1+cot5x)]3=sin6x(1+cot5x)3.
- Integrand: sin6x(1+cot5x)3cos4x=sin4xcos4x⋅sin2x1⋅(1+cot5x)−3=cot4xcsc2x(1+cot5x)−3.
- Substitute t=1+cot5x. Then dxdt=5cot4x⋅(−csc2x)=−5cot4xcsc2x, so cot4xcsc2xdx=−5dt. …
- AP EAPCET 2023Set eng-2023-05-15-AN1 markMCQQ.∫4+5cosxdx= (A) −31log3−tan2x3+tan2x+C (B) 31log3−tan2x3+tan2x+C (C) −91log3+tan2x3−tan2x+C (D) 91log3+tan2x3−tan2x+C
›Reveal solutionSolution
The Weierstrass substitution t=tan(x/2) turns this into a standard ∫dt/(a2−t2) integral, giving option (B).
Concept and Intuition
For ∫a+bcosxdx the substitution t=tan(x/2) (so cosx=1+t21−t2, dx=1+t22dt) always converts the integral into a rational function of t alone.
Step-by-Step Solution
- cosx=1+t21−t2, dx=1+t22dt, with t=tan(x/2).
- 4+5cosx=4+5⋅1+t21−t2=1+t24(1+t2)+5(1−t2)=1+t29−t2.
- Integral becomes ∫(9−t2)/(1+t2)2dt/(1+t2)=∫9−t22dt.
- Using ∫a2−t2dt=2a1loga−ta+t+C with a=3: ∫9−t2dt=61log3−t3+t+C. …
- AP EAPCET 2024Set eng-2024-05-21-AN1 markMCQQ.∫cos8xsin6xdx= (A) tan7x+c (B) 7tan7x+c (C) 7tan7x+c (D) sec7x
›Reveal solutionSolution
∫tan6xsec2xdx=7tan7x+c via u=tanx.
Concept and Intuition
sin6x/cos8x=tan6x⋅sec2x, and sec2xdx is exactly d(tanx) — a direct power-rule substitution.
Step-by-Step Solution
- cos8xsin6x=tan6x⋅cos2x1=tan6xsec2x.
- Let u=tanx⇒du=sec2xdx.
- ∫u6du=7u7+c=7tan7x+c.
Common Mistakes …
- AP EAPCET 2024Set eng-2024-05-18-FN1 markMCQQ.∫(tan7x+tanx)dx= (A) 12tan2x(2tan4x−3tan2x+6)+c (B) 6tan2x−4tan5x+2tan4x+c (C) 6tan2x(tan4x+3tan2x+4)+c (D) 12tanx(tan4x−3tan2x+6)+c
›Reveal solutionSolution
Factoring tan7x+tanx using the sum-of-like-terms identity t7+t=t(t6+1)=t(t2+1)(t4−t2+1) exposes the sec2x needed for a clean t=tanx substitution. Answer: 12tan2x(2tan4x−3tan2x+6)+c.
Concept and Intuition
Whenever an integrand is built purely from powers of tanx together with an explicit or hidden sec2x, substituting t=tanx turns it into a polynomial integral — the key is recognizing that t6+1=(t2+1)(t4−t2+1) supplies exactly the sec2x=1+tan2x factor needed.
Step-by-Step Solution
- tan7x+tanx=tanx(tan6x+1)=tanx(tan2x+1)(tan4x−tan2x+1)=tanxsec2x(tan4x−tan2x+1).
- Let t=tanx, dt=sec2xdx. Integral becomes ∫t(t4−t2+1)dt=∫(t5−t3+t)dt.
- =6t6−4t4+2t2+c=6tan6x−4tan4x+2tan2x+c. …
- AP EAPCET 2026Set eng-2026-05-14-AN1 markMCQQ.If ∫sin3x+cos3x1dx=Alog2−t2+t+BTan−1(t)+c, then (AB,t)= (A) (22,sinx+cosx) (B) (92,sinx+cosx) (C) (92,sinx−cosx) (D) (22,sinx−cosx)
›Reveal solutionSolution
Factoring the sum of cubes and substituting t=sinx−cosx turns the trigonometric integral into a clean rational-function integral in t, giving B/A=22 with t=sinx−cosx.
Concept and Intuition
sin3x+cos3x factors as a sum of cubes: (sinx+cosx)(1−sinxcosx). Both sinx+cosx and 1−sinxcosx can be written purely in terms of u=sinx−cosx, because (sinx+cosx)2+(sinx−cosx)2=2 and 1−sinxcosx=21+(sinx−cosx)2. Crucially, dxdu=cosx+sinx, which is exactly the factor left over after using the second identity — so the whole integral collapses into a rational function of u alone.
Step-by-Step Solution
- Factor: sin3x+cos3x=(sinx+cosx)(1−sinxcosx).
- Let u=sinx−cosx. Then u2=1−2sinxcosx, so 1−sinxcosx=21+u2.
- Also (sinx+cosx)2=1+2sinxcosx=2−u2, so sinx+cosx=2−u2 (taking the appropriate branch), and dxdu=cosx+sinx=2−u2.
- So sin3x+cos3x=2−u2⋅21+u2, and
I=∫sin3x+cos3xdx=∫2−u2(1+u2)2dx=∫2−u2(1+u2)2⋅2−u2du=∫(2−u2)(1+u2)2du.
- Partial fractions (by symmetry, only even terms survive): (2−u2)(1+u2)2=2−u22/3+1+u22/3. …
- AP EAPCET 2026Set eng-2026-05-15-FN1 markMCQQ.∫(1+sinx)4cos3xdx= (A) −5(1+sinx)5cos4x+c (B) 5(1+sinx)5cos4x+c (C) 4(1+sinx)4cos4x+c (D) −4(1+sinx)4cos4x+c
›Reveal solutionSolution
Factor cos3x using cos2x=(1−sinx)(1+sinx) and substitute t=sinx; the resulting antiderivative can equivalently be written in the cos4x/(1+sinx)4 form given in the options (they differ only by an added constant). Answer: −4(1+sinx)4cos4x+c.
Concept and Intuition
Integrals of cosoddx over powers of (1+sinx) are handled by peeling off one factor of cosx to pair with dx (making d(sinx)) and expressing the remaining even power of cosx in terms of sinx. Since the MCQ options are phrased in terms of cos4x rather than sinx directly, it is often faster (and safer against sign traps) to guess-and-check an antiderivative of that shape by differentiating a general form Acos4x(1+sinx)−n and matching powers/coefficients — this is exactly how the printed option is confirmed.
Step-by-Step Solution
- cos3x=cosx⋅cos2x=cosx(1−sin2x)=cosx(1−sinx)(1+sinx).
- Integrand =(1+sinx)4cosx(1−sinx)(1+sinx)=(1+sinx)3cosx(1−sinx).
- Let t=sinx, dt=cosxdx: I=∫(1+t)31−tdt. Writing 1−t=2−(1+t): I=∫((1+t)32−(1+t)21)dt=−(1+t)21+1+t1+c=(1+t)2t+c.
- So I=(1+sinx)2sinx+c is one valid closed form. …
- AP EAPCET 2024Set eng-2024-05-18-FN1 markMCQQ.∫log4log5e2x−5ex+6e2x+exdx= (A) log(964) (B) log(81256) (C) log(332) (D) log(27128)
›Reveal solutionSolution
Substituting t=ex turns the integral into a simple rational-function integral that evaluates to log(128/27).
Concept and Intuition
Whenever an integrand is built entirely out of ex (here e2x and ex), the substitution t=ex converts it into a rational function of t, which can then be handled by partial fractions — a standard technique for turning transcendental-looking integrals into algebraic ones.
Step-by-Step Solution
- Let t=ex, so dt=exdx=tdx, i.e. dx=tdt. When x=log4, t=4; when x=log5, t=5.
- Rewrite the integrand: e2x+ex=t2+t=t(t+1), and e2x−5ex+6=t2−5t+6=(t−2)(t−3).
- So ∫(t−2)(t−3)t(t+1)⋅tdt=∫45(t−2)(t−3)t+1dt.
- Partial fractions: (t−2)(t−3)t+1=t−2A+t−3B. At t=2: A=−13=−3. At t=3: B=14=4.
- So the integral is ∫45(t−2−3+t−34)dt=[−3log∣t−2∣+4log∣t−3∣]45. …
- AP EAPCET 2025Set eng-2025-05-22-AN1 markMCQQ.If ∫sin2x+sin4xcos3xdx=c−cosecx−f(x), then f(2π)= (A) 1 (B) 0 (C) 2π (D) π
›Reveal solutionSolution
Substituting s=sinx and partial-fractioning gives −cosecx−2Tan−1(sinx), so f(x)=2Tan−1(sinx) and f(π/2)=π/2.
Concept and Intuition
Writing cos3xdx=cos2x⋅cosxdx=(1−sin2x)d(sinx) converts a trig integral into an algebraic one in s=sinx, which is then handled by ordinary partial fractions.
Step-by-Step Solution
- Let s=sinx, so ds=cosxdx, and cos3xdx=(1−s2)ds.
- The integral becomes ∫s2+s41−s2ds=∫s2(1+s2)1−s2ds.
- Partial fractions (in u=s2): u(1+u)1−u=u1−1+u2, so the integrand is s21−1+s22.
- Integrating: ∫(s21−1+s22)ds=−s1−2Tan−1s+C=−cosecx−2Tan−1(sinx)+C. …
- AP EAPCET 2021Set eng-2021-08-25-AN1 markMCQQ.∫cosxdx= (A) 2xsinx+2cosx+c (B) 2xsinx+2sinx+c (C) 2xsinx−2cosx+c (D) xcosx−2sinx+c
›Reveal solutionSolution
Substitute t=x to turn the integral into a standard integration-by-parts problem. Answer: 2xsinx+2cosx+c.
Concept and Intuition
Whenever you see x trapped inside a trig or exponential function, substituting t=x converts it into a polynomial-times-trig integral solvable by parts.
Step-by-Step Solution
- Let t=x⇒x=t2, dx=2tdt.
- ∫cosxdx=∫cost⋅2tdt=2∫tcostdt.
- Integrate by parts: ∫tcostdt=tsint−∫sintdt=tsint+cost. …
🎓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.