Q.Integrate the following function: xsin3x
Concept understanding — Integration by Parts
Integration by Parts
The idea: reverse the product rule
Some integrands are a product of two very different functions — xex, xcosx, logx, xsin−1x — where substitution gets you nowhere. Integration by parts is the tool for these. It comes straight from reversing the product rule for differentiation.
Starting from dxd(uv)=uv′+u′v and integrating both sides gives the working formula:
∫udxdvdx=uv−∫vdxdudx.
In words: integral of (first × derivative-of-second) = first × integral-of-second − integral of (derivative-of-first × integral-of-second).
Choosing u: the ILATE rule
The whole game is picking which factor is u (to differentiate) and which is dv (to integrate). Pick u by ILATE — the first type that appears:
- Inverse trig (sin−1x), Logarithmic (logx), Algebraic (x2), Trigonometric (sinx), Exponential (ex).
Whatever comes first in ILATE becomes u; the rest is dv. This makes the new integral ∫vdu simpler than the one you started with.
Worked idea
For ∫xexdx: algebraic before exponential, so u=x, dv=exdx. Then du=dx, v=ex:
∫xexdx=xex−∫exdx=xex−ex+C=ex(x−1)+C.
A single log or a single inverse-trig function (∫logxdx, ∫sin−1xdx) is still "by parts" — take the other factor as 1. And for the special form ∫ex(f(x)+f′(x))dx, the answer is simply exf(x)+C.
If applying the formula gives you back a multiple of the original integral (as with ∫exsinxdx), don't panic — solve for the integral algebraically.
Integration by Parts is one of the most tested methods in the NCERT Class 12 Mathematics chapter on Integrals, and "integration by parts formula ILATE rule" along with "integration by parts class 12 important questions" are among the top searches for students preparing for CBSE board exams and JEE Main calculus. The same ILATE-based technique extends naturally into JEE Advanced integral calculus problems built on this NCERT Class 12 foundation.
The key idea is Integration by Parts, which reverses the product rule. We choose u and dv so that the new integral is simpler.
Let u=x and dv=sin3xdx. Then du=dx and v=∫sin3xdx=−31cos3x.
Apply the formula ∫udv=uv−∫vdu:
∫xsin3xdx=x(−31cos3x)−∫(−31cos3x)dx
Simplify and integrate the remaining term:
=−3xcos3x+31∫cos3xdx=−3xcos3x+31⋅31sin3x+C
The integral is −3xcos3x+91sin3x+C.
The integral ∫xsin3xdx is solved using integration by parts (the product rule in reverse). Choosing u=x and dv=sin3xdx, we get the result −3xcos3x+91sin3x+C.
Why integration by parts?
When you see a product of two different kinds of functions — here, a polynomial (x) and a trigonometric function (sin3x) — the standard tool is integration by parts. It comes from the product rule for derivatives:
dxd(uv)=udxdv+vdxdu
Rearranging and integrating gives:
∫udv=uv−∫vdu
The trick is to pick u and dv so that the new integral ∫vdu is simpler than the original. For xsin3x, we want u to be something that simplifies when differentiated (like x, which becomes 1), and dv to be something we can integrate easily (like sin3x).
A common mistake is to pick u=sin3x and dv=xdx. Then du=3cos3xdx and v=2x2, giving 2x2sin3x−∫23x2cos3xdx — which is worse, not better. Always let the polynomial be u.
Step-by-step solution
1. Set up the parts.
Let u=x and dv=sin3xdx.
2. Differentiate u and integrate dv.
- du=dx
- v=∫sin3xdx=−31cos3x
For ∫sin(ax)dx, the antiderivative is −a1cos(ax). Here a=3, so it's −31cos3x.
3. Apply the integration by parts formula.
∫xsin3xdx=uv−∫vdu
Substitute:
=x⋅(−31cos3x)−∫(−31cos3x)dx
4. Simplify the expression.
=−3xcos3x+31∫cos3xdx
5. Integrate cos3x.
∫cos3xdx=31sin3x
So:
=−3xcos3x+31⋅31sin3x+C
6. Write the final result.
=−3xcos3x+91sin3x+C
The integral is −3xcos3x+91sin3x+C.
Method: Integration by parts with a scaled angle sin(ax)
Same by-parts idea as xsinx, but now the trig function has a coefficient a inside, which introduces factors of a1 at each integration.
Steps
Step 1: Choose u and dv by ILATE.
Algebraic before trigonometric: u=x (differentiates to 1), dv=sin(ax)dx.
Step 2: Integrate dv using the chain-rule factor.
∫sin(ax)dx=−a1cos(ax),∫cos(ax)dx=a1sin(ax).
Each integration of a scaled-angle function multiplies by a1; forgetting this is the usual error.
Step 3: Apply ∫udv=uv−∫vdu.
∫xsin(ax)dx=−axcos(ax)+a1∫cos(ax)dx.
Step 4: Finish and collect the a1 factors.
=−axcos(ax)+a1⋅a1sin(ax)+C=−axcos(ax)+a21sin(ax)+C.
For a=3 this gives the 91sin3x term — note it is a21, not a1.
Common Mistakes
Mistake 1: Ignoring the a1 factor for sin(3x).
Why it's wrong: ∫sin3xdx=−31cos3x and ∫cos3xdx=31sin3x; treating them as if a=1 gives wrong coefficients. Correct approach: Divide by the inner coefficient a=3 at each integration step.
Mistake 2: Writing 31sin3x instead of 91sin3x.
Why it's wrong: The final sin3x term picks up a1 twice (once from v, once from integrating cos3x), giving a21=91. Correct approach: Expect a21 on the sin term for xsin(ax).
Mistake 3: Swapping u and dv.
Why it's wrong: Taking u=sin3x makes the next integral worse. Correct approach: Let the polynomial x be u (ILATE).
- GUJCET 2026Set x1 markMCQQ.∫ex(1+x21−x)2dx= ______ +C (A) 1+x2ex (B) (1+x2)2ex (C) 1+x2ex (D) 1+xex
›Reveal solutionSolution
[!TLDR] ∫ex(1+x21−x)2dx=1+x2ex+C → (A).
Concept
Standard integral: ∫ex[f(x)+f′(x)]dx=exf(x)+C. (NCERT Integrals.)
Solution
Let f(x)=1+x21. Then f′(x)=(1+x2)2−2x, so
f(x)+f′(x)=(1+x2)2(1+x2)−2x=(1+x2)21−2x+x2=(1+x2)2(1−x)2=(1+x21−x)2.
Therefore ∫ex(1+x21−x)2dx=exf(x)+C=1+x2ex+C.
[!ANSWER] (A)
- GSEB Higher Secondary Certificate (HSC) Examination 2026Set ANNUAL1 markMCQQ.∫ex(1+x21−x)2dx= ____ +C.(a) 1+x2ex(b) −1+x2ex(c) (1+x2)2ex(d) −(1+x2)2ex
›Reveal solutionSolution
Recognize the form ∫ex[g(x)+g′(x)]dx=exg(x)+C with g(x)=1+x21.
Let g(x)=1+x21, so g′(x)=(1+x2)2−2x.
g(x)+g′(x)=(1+x2)21+x2−2x=(1+x2)2(1−x)2=(1+x21−x)2, exactly the integrand.
So ∫ex(1+x21−x)2dx=ex⋅1+x21+C.
✓Final answerThe correct option is (a) 1+x2ex.
- GUJCET 2025Set 031 markMCQQ.∫etan−1x(1+x21+x+x2)dx= _____ +C (A) xetan−1x (B) x1+x2⋅etan−1x (C) x⋅etan−1x (D) 1+x2x⋅etan−1x
›Reveal solutionSolution
Recognize the integrand as the derivative of xetan−1x.
dxd(xetan−1x)=etan−1x+xetan−1x⋅1+x21=etan−1x1+x21+x+x2.
Hence the integral equals xetan−1x+C.
✓Final answer(C) x⋅etan−1x
ANSWER: (C)
- GUJCET 2025Set 031 markMCQQ.If ∫tan−1xdx=Ax⋅tan−1x+Blog(1+x2)+C then, A+B= _____. (A) −1 (B) 21 (C) 1 (D) −21
›Reveal solutionSolution
Integrate by parts: ∫tan−1xdx=xtan−1x−21log(1+x2)+C.
Matching with Axtan−1x+Blog(1+x2)+C gives A=1, B=−21, so
A+B=1−21=21.
✓Final answer(B) 21
ANSWER: (B)
- GSEB Higher Secondary Certificate (HSC) Examination 2025Set ANNUAL1 markMCQQ.∫(x+1)exdx = ____ +C.(a) ex(b) x(c) xex(d) (x+1)ex
›Reveal solutionSolution
This fits the standard form ∫ex[f(x)+f′(x)]dx=exf(x) with f(x)=x.
Here f(x)=x, f′(x)=1, so f(x)+f′(x)=x+1, matching the integrand.
∫ex(x+1)dx=ex⋅x+C=xex+C.
✓Final answerThe correct option is (c) xex.
- GUJCET 2024Set 131 markMCQQ.∫ex(1+cosx1+sinx)dx= __________ +C (A) excotx (B) extan2x (C) excot2x (D) extanx
›Reveal solutionSolution
Use half-angle identities so the integrand becomes ex(f(x)+f′(x)), giving exf(x).
Concept. ∫ex(f+f′)dx=exf(x).
With 1+cosx=2cos22x and 1+sinx=1+2sin2xcos2x:
1+cosx1+sinx=2cos22x1+2cos22x2sin2xcos2x=21sec22x+tan2x.
Taking f(x)=tan2x, f′(x)=21sec22x, so the integral is extan2x.
✓Final answerOption (B) extan2x
ANSWER: (B)
- GUJCET 2024Set 131 markMCQQ.∫01xexdx= __________. (A) −1 (B) 1 (C) e (D) 0
›Reveal solutionSolution
Integration by parts: ∫xexdx=(x−1)ex.
Concept. With u=x, dv=exdx: ∫xexdx=xex−∫exdx=(x−1)ex.
∫01xexdx=[(x−1)ex]01=(0)⋅e−(−1)⋅1=0+1=1.
✓Final answerOption (B) 1
ANSWER: (B)
- CA Foundation 2024Set sep-20241 markMCQQ.∫logexdx is equal to : (A) xloge(ex)+c (B) xloge(ex)+c (C) xloge(xe)+c (D) loge(ex)+c
›Reveal solutionSolution
∫ln x dx = x ln x − x + c = x·ln(x/e) + c.
Step 1 — Integration by parts
Take u=lnx, dv=dx, so du=x1dx, v=x:
∫lnxdx=xlnx−∫x⋅x1dx
Step 2 — Complete the integral
=xlnx−∫1dx=xlnx−x+c
Step 3 — Rewrite in the option's form
Factor x and use 1=lne:
x(lnx−1)=x(lnx−lne)=xln(ex)
∫lnxdx=xloge(ex)+c
Why the other options are wrong: (A) x·ln(ex) = x(ln x + 1) has the wrong sign; (C) x·ln(e/x) reverses the ratio; (D) drops the leading x factor. Only (B) matches x ln x − x.
Watch outThe result is xlnx−x (minus x), so the ratio inside the log is x/e, NOT e/x or ex. A sign slip lands you on option (A) or (C).
TipMemorise ∫ln x dx = x(ln x − 1) + c; then just express it as x·ln(x/e) to match ICAI's answer form.
✓Final answer(B) xloge(ex)+c
- GUJCET 2023Set 091 markMCQQ.If ∫{cos−1x−(1−x2)−1/2}Kdx=K⋅cos−1x+C, then K= ______. (A) ex (B) −ex (C) e−x (D) ecos−1x
›Reveal solutionSolution
[!TLDR] p-Si wafer (∼300μm) to thin n-Si emitter (∼1μm) gives a thickness ratio of about 300.
Concept
A p-n junction silicon solar cell is built on a relatively thick p-type wafer (the base/absorber) with a very thin n-type layer diffused on top (the emitter) so that light reaches the junction. The base is far thicker than the emitter.
Solution
Typical values: p-Si wafer thickness ≈300μm; n-Si top layer thickness ≈1μm.
tntp≈1300=300.
Among the options this corresponds to about 300.
[!ANSWER] (A) 300
- GSEB Higher Secondary Certificate (HSC) Examination 2022Set ANNUAL1 markMCQQ.∫e3x⋅sin(4x−5)dx= ___ +C.(a) 25e3x[3sin(4x−5)+4cos(4x−5)](b) 25e3x[3cos(4x−5)−4sin(4x−5)](c) 25e3x[3sin(4x−5)−4cos(4x−5)](d) 25e3x[4sin(4x−5)−3cos(4x−5)]
›Reveal solutionSolution
Use the standard result for ∫eaxsin(bx+c)dx.
∫eaxsin(bx+c)dx=a2+b2eax[asin(bx+c)−bcos(bx+c)].
Here a=3, b=4, a2+b2=9+16=25:
=25e3x[3sin(4x−5)−4cos(4x−5)].
✓Final answer(c) 25e3x[3sin(4x−5)−4cos(4x−5)]+C.
- GUJCET 2021Set 151 markMCQQ.∫ex(2021+tanx+tan2x)dx=+C (A) (2021+tanx)ex (B) (2020+tanx)ex (C) (2020+tanx) (D) (2000+tanx)ex
›Reveal solutionSolution
Convert tan2x to sec2x−1 so the integrand fits the ∫ex(f+f′)dx=exf pattern.
Concept — the ex(f+f′) rule.
2021+tanx+tan2x=2021+tanx+(sec2x−1)=2020+tanx+sec2x.
Take f(x)=tanx, so f′(x)=sec2x. Then
∫ex(2020+tanx+sec2x)dx=2020ex+extanx=ex(2020+tanx)+C.
✓Final answer(B) (2020+tanx)ex
ANSWER: (B)
- GSEB Higher Secondary Certificate (HSC) Examination 2019Set ANNUAL1 markMCQQ.∫logxdx= ______ +C.(a) xlogx−x(b) xlogx+x(c) x1(d) logx−x
›Reveal solutionSolution
Integrate by parts with u=logx, dv=dx.
∫logxdx=xlogx−∫x⋅x1dx=xlogx−∫1dx=xlogx−x+C.
✓Final answer(a) xlogx−x+C.
🎓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.