Q.Integrate the following function: xcosx
🔒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 — we choose a substitution that simplifies the composite function.
Let u=x. Then du=2x1dx, so xdx=2du.
The integral becomes: …
The integral ∫xcosxdx is solved by substituting u=x, which simplifies the integrand to 2cosu. The final answer is 2sinx+C.
The key to this problem is noticing that the derivative of x is 2x1, and we have a x1 factor sitting right next to cosx. That’s a dead giveaway for U Substitution — we let the inner function be u, and the rest of the integrand becomes its derivative (up to a constant factor).
Let’s walk through it.
-
Set up the substitution.
Let u=x. Then x=u2, so dx=2udu.
Why this choice? Because x appears inside the cosine, and its derivative 2x1 is almost exactly the x1 we have. The substitution will collapse the whole expression into something clean.
-
Rewrite the integral in terms of u.
The original integral is
∫xcosxdx.
Replace x with u, and dx with 2udu:
∫xcosu⋅2udu.
But x=u, so x1=u1. That gives:
∫ucosu⋅2udu=∫2cosudu.
The u cancels beautifully — that’s the whole point of the substitution.
- Integrate.
∫2cosudu=2sinu+C.
- Substitute back. Since u=x, we get: …
Method: Substitute u=x when x1 accompanies it
Use this when a function of x is divided by x, e.g. xcosx: the x1 is (twice) d(x).
Steps
Step 1: Identify the inner function.
Let u=x=x1/2; then du=2x1dx, so xdx=2du.
Step 2: Rewrite the integral in u. …
Common Mistakes
Mistake 1: Forgetting the factor 2 from xdx=2du.
Why it's wrong: with u=x, du=2x1dx, so xdx=2du; omitting the 2 halves the answer. Correct approach: solve for xdx before substituting.
Mistake 2: Trying to integrate cosx directly. …
Showing the 12 most recent of 51 on this concept.
- 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. …
- AP EAPCET 2025Set eng-2025-05-27-FN1 markMCQQ.∫(1+x)x−x2dx= (A) −21−x1+x+c (B) −1+x1−x+c (C) −21+x1−x+c (D) 21−x1+x+c
›Reveal solutionSolution
Substituting t=x turns the surd-heavy integrand into ∫(1+t)3/2(1−t)1/22dt, whose antiderivative is exactly −21+t1−t.
Concept and Intuition
When an integrand mixes x and x−x2=x1−x, substituting t=x clears every square root of x at once, converting the whole thing into a rational-power integral in t that matches the derivative of 1+t1−t — a standard "recognise the derivative" pattern worth memorising for CET-style problems.
Step-by-Step Solution
- Write x−x2=x(1−x)=x1−x, so the integral is
I=∫(1+x)x1−xdx.
- Let t=x, so x=t2, dx=2tdt:
I=∫(1+t)⋅t⋅1−t22tdt=∫(1+t)(1−t)(1+t)2dt=∫(1+t)3/2(1−t)1/22dt.
- Let y=1+t1−t. Differentiating y2=1+t1−t: 2yy′=(1+t)2−(1+t)−(1−t)=(1+t)2−2 ⇒ y′=y(1+t)2−1=(1+t)3/2(1−t)1/2−1. …
- AP EAPCET 2025Set eng-2025-05-22-FN1 markMCQQ.∫x2x4+x2+1x4−1dx= (A) x2x4+x2+1+c (B) xx4+x2+1+c (C) 2xx4+x2+1+c (D) x4x4+x2+1+c
›Reveal solutionSolution
Differentiating the candidate xx4+x2+1 reproduces the given integrand exactly, confirming it as the antiderivative.
Concept and Intuition
When an integrand looks like it could come from a quotient rule (a square root over a power of x), it is often faster to differentiate a plausible candidate of that shape and check, rather than search for a substitution from scratch.
Step-by-Step Solution
- Try g(x)=xx4+x2+1=xN where N=x4+x2+1.
- N′=2x4+x2+14x3+2x=Nx(2x2+1).
- Quotient rule: g′(x)=x2N′x−N=x2Nx2(2x2+1)−N=Nx2x2(2x2+1)−N2.
- N2=x4+x2+1, so the numerator is x2(2x2+1)−(x4+x2+1)=2x4+x2−x4−x2−1=x4−1.
- So g′(x)=x2x4+x2+1x4−1 — exactly the given integrand. …
- 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-07-AN1 markMCQQ.∫x+x2+2dx= (A) 23(x+x+2)3/2−2(x+x2+2)1/4+C (B) 31(x+x2+2)3/2−2(x+x2+2)1/4+C (C) (x+x2+2)−3/2−2(x+x2+2)−1/2+C (D) 3x+x2+2(x+x2+2)2−6+C
›Reveal solutionSolution
The substitution t=x+x2+2 rationalises the nested radical; the resulting antiderivative, written as a single fraction, matches option (D). Answer: option (D).
Concept and Intuition
Integrals containing x+x2+a2 are a classic signal to substitute t equal to that whole expression — it converts the awkward nested square root into simple powers of t, because x and x2+a2 can both be written as clean rational/linear functions of t.
Step-by-Step Solution
- Let t=x+x2+2. Then x2+2=t−x; squaring, x2+2=t2−2tx+x2⇒2=t2−2tx⇒x=2tt2−2.
- Then x2+2=t−x=t−2tt2−2=2t2t2−t2+2=2tt2+2.
- Differentiate t w.r.t. x: dxdt=1+x2+2x=x2+2x2+2+x=x2+2t=(t2+2)/(2t)t=t2+22t2, so dx=2t2t2+2dt.
- Substitute into the integral: ∫tdx=∫t1/2⋅2t2t2+2dt=21∫(t1/2+2t−3/2)dt.
- Integrate: 21[32t3/2−4t−1/2]+C=31t3/2−2t−1/2+C. …
- AP EAPCET 2022Set eng-2022-07-07-AN1 markMCQQ.∫(1+x)2022dx= (A) (1+x)20212[20201+x−20211]+C (B) (1+x)20222[20201+x−2021x]+C (C) (1+x)2[2022(1+x)2022−2021(1+x)2021]+C (D) (1+x)21[(1+x)10101−(1+x)10111]+C
›Reveal solutionSolution
Substituting t=1+x turns the integral into a simple power-rule integral in t; back-substituting and factoring reproduces option (A)'s bracketed form.
Concept and Intuition
Whenever an integrand is a function purely of 1+x, the substitution t=1+x (so x=t−1, x=(t−1)2) turns the messy radical expression into a clean power of t, and the pieces of dx that are left over (2(t−1)dt) combine with the t−2022 factor to give a difference of two pure power terms — each integrable by the ordinary power rule.
Step-by-Step Solution
- Let t=1+x. Then x=t−1, x=(t−1)2, and dx=2(t−1)dt.
- The integral becomes ∫t20222(t−1)dt=2∫(t−2021−t−2022)dt.
- Integrate termwise: 2∫t−2021dt=−20202t−2020, and −2∫t−2022dt=−20212⋅(−1)t−2021⋅(−1), combining to 20212t−2021−20202t−2020. …
- AP EAPCET 2022Set eng-2022-07-08-FN1 markMCQQ.0<x<1, ∫x2−x5dx=31log∣f(x)∣+C, then f(1/2)= (A) 8+78−7 (B) 8−78+7 (C) 2(8−7) (D) 2(8−7)2
›Reveal solutionSolution
Substituting t=x3 then 1−t=w2 integrates ∫dx/(x1−x3) cleanly to 31log1+1−x31−1−x3, and evaluating at x=1/2 gives 8+78−7.
Concept and Intuition
The key simplification is x2−x5=x2(1−x3), since 0<x<1 makes x>0 so x2(1−x3)=x1−x3. From there, the substitution t=x3 turns the integral into the very standard form ∫t1−tdt, solvable by a further substitution 1−t=w2.
Step-by-Step Solution
- Rewrite: I=∫x2−x5dx=∫x1−x3dx (using x>0).
- Let t=x3⇒dt=3x2dx⇒dx=3x2dt. Then I=∫3x2⋅x1−tdt=∫3x31−tdt=31∫t1−tdt (since x3=t).
- Let 1−t=w2⇒t=1−w2, dt=−2wdw: ∫t1−tdt=∫(1−w2)w−2wdw=−2∫1−w2dw=−log1−w1+w=log1+w1−w.
- So I=31log1+w1−w+C where w=1−t=1−x3, i.e. f(x)=1+1−x31−1−x3.
- Verify by differentiating (chain rule through w) that this reproduces x1−x31 — confirmed. …
- AP EAPCET 2023Set eng-2023-05-18-FN1 markMCQQ.If ∫x(1−x3)2−1dx=32g(f(x))+c, then (A) f(x)=x, g(x)=sin−1x (B) f(x)=x3/2, g(x)=sin−1x (C) f(x)=x3/2, g(x)=cos−1x (D) f(x)=x, g(x)=cos−1x
›Reveal solutionSolution
A substitution u=x3/2 turns the integral into the standard ∫du/1−u2 form, giving f(x)=x3/2 and g=sin−1.
Concept and Intuition
The presence of xdx alongside x3=(x3/2)2 inside a square root strongly signals the substitution u=x3/2 (its derivative is proportional to x, exactly what's needed to absorb the leftover xdx). Once substituted, the integral collapses to the standard arcsine form.
Step-by-Step Solution
- Let u=x3/2. Then du=23x1/2dx=23xdx, so xdx=32du.
- Also, u2=x3, so 1−x3=1−u2.
- Substitute into the integral: ∫x(1−x3)−1/2dx=∫32⋅1−u2du=32∫1−u2du.
- This is the standard form: ∫1−u2du=sin−1u+c.
- So the integral =32sin−1(u)+c=32sin−1(x3/2)+c. …
- AP EAPCET 2024Set eng-2024-05-21-FN1 markMCQQ.If n≥2 is a natural number and 0<θ<2π, then ∫cosn+1θ(cosnθ−cosθ)1/nsinθdθ= (A) n−1n(cos(1−n)θ−1)2+c (B) (n+1)(1−n)n(cos(1−n)θ−1)1+n1+c (C) n−11(cos(n−1)θ−1)2+c (D) 1−n2n(1−cos(1−n)θ)(n+1)/n
›Reveal solutionSolution
Factor out cosnθ from inside the radical to isolate a clean power of cosθ, then substitute w=cos1−nθ to reduce the whole integral to ∫w1/ndw.
Concept and Intuition
The key move is factoring cosnθ−cosθ=cosnθ(1−cos1−nθ) so the n-th root pulls a clean cosθ outside, cancelling nicely against the cosn+1θ in the denominator and leaving a single power of w=cos1−nθ whose differential exactly matches sinθdθ/cosnθ in the integrand.
Step-by-Step Solution
- Factor: cosnθ−cosθ=cosnθ(1−cos1−nθ), so
(cosnθ−cosθ)1/n=cosθ(1−cos1−nθ)1/n.
- Divide by cosn+1θ:
cosn+1θ(cosnθ−cosθ)1/n=cosnθ(1−cos1−nθ)1/n.
- Let w=cos1−nθ. Then dθdw=(1−n)cos−nθ⋅(−sinθ)=(n−1)sinθcos−nθ, so cosnθsinθdθ=n−1dw.
- The whole integrand times dθ becomes (1−w)1/n⋅n−1dw — wait, more directly w1/n is the factor (1−cos1−nθ)1/n once we track 1−cos1−nθ as the base; carrying the substitution through consistently: …
- AP EAPCET 2022Set eng-2022-07-06-FN1 markMCQQ.∫(sinx+cosx+2sin2x)21dx= (A) (3+tan2x)3−(1+3tanx)+C (B) 3(1+tanx)3−(1+3tanx)+C (C) 3(1+3tanx)2−(1+tanx)+C (D) (1+3tanx)31+C
›Reveal solutionSolution
Recognising the denominator as (sinx+cosx)4 and substituting u=tanx reduces this to a rational integral, giving −3(1+tanx)31+3tanx+C.
Concept and Intuition
The key algebraic identity here is (sinx+cosx)2=sinx+cosx+2sinxcosx=sinx+cosx+2sin2x (since 2sinxcosx=4sinxcosx=2sin2x). That matches the given denominator's base exactly, turning a scary-looking radical expression into a clean fourth power.
Step-by-Step Solution
- Verify (sinx+cosx)2=sinx+cosx+2sinxcosx=sinx+cosx+2sin2x, matching sinx+cosx+2sin2x.
- So the denominator is (sinx+cosx)4.
- Factor out cosx: sinx+cosx=cosx(tanx+1), so the denominator =cos2x(1+tanx)4.
- Integral becomes ∫(1+tanx)4sec2xdx. Let t=tanx, dt=sec2xdx: ∫(1+t)4dt.
- Let u=t, t=u2, dt=2udu: ∫(1+u)42udu.
- Write 2u=2(1+u)−2: ∫[(1+u)32−(1+u)42]du=−(1+u)21+3(1+u)32+C. …
- 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 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. …
🎓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.