Skip to content
dronacharya.ai
← JEE Main 2022 · 25 Jun · Shift 1
MathematicsSingle correct+4 / -1Question 12 of 90

JEE Main 2022 · 25 Jun · Shift 1, Mathematics question 12

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

Official answer: D

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)