Skip to content
dronacharya.ai
JEE Main 2022MathematicsSingle correct+4 / -1

JEE Main 2022 Maths Q12: Integration by parts

From the JEE Main 2022 · 25 Jun · Shift 1 paper. Try it, check your answer, then read the worked solution below.

Let g:(0,∞)→Rg:(0,\infty)\to\mathbb R be a differentiable function such that
∫(x(cos⁡x−sin⁡x)ex+1+g(x)(ex+1−xex)(ex+1)2)dx=x g(x)ex+1+c,\int\left(\frac{x(\cos x-\sin x)}{e^x+1}+\frac{g(x)\left(e^x+1-xe^x\right)}{\left(e^x+1\right)^2}\right)dx=\frac{x\,g(x)}{e^x+1}+c,
for all x>0x>0, where cc is an arbitrary constant. Then :

Choose one option

Answer and worked solution

Try it yourself first, then check your working against this.

Official answerD

Worked solution

Differentiate the right side. ddxxgex+1=(g+xg′)(ex+1)−xgex(ex+1)2\dfrac d{dx}\dfrac{xg}{e^x+1}=\dfrac{(g+xg')(e^x+1)-xge^x}{(e^x+1)^2}.

Compare with the integrand: the gg terms match, leaving g′(x)=cos⁡x−sin⁡xg'(x)=\cos x-\sin x, so g=sin⁡x+cos⁡x+Cg=\sin x+\cos x+C.

Check. g−g′=2sin⁡x+Cg-g'=2\sin x+C, increasing on (0,π2)\left(0,\frac\pi2\right). (Here g′>0g'>0 on (0,π4)(0,\frac\pi4), g′′<0g''<0, and g+g′=2cos⁡x+Cg+g'=2\cos x+C decreases, so A, B, C fail.)

(D)

Concepts used: differentiate the answer

Practise this topic

Every past question tagged to the same part of the syllabus, with solutions.

Similar questions from other papers

Past questions on the same topic (Integration by parts), each with a worked solution.

full papers
217
questions
18,571
worked solutions
18,550

Sit a paper tonight. See exactly where you stand.

Timed, in the real format, and marked the moment you submit.