Indefinite IntegrationmediumFree

Solutions of |f(x)|=g(x) from an eᶜᵒˢ Integral | JEE

JEE Maths question with a full step-by-step solution.

Question
If e1cosx(1+xsinx)dx=f(x)e1g(x)+c\displaystyle\int e^{\,1-\cos x}(1+x\sin x)\,dx=f(x)\,e^{\,1-g(x)}+c, then the number of solutions of f(x)=g(x)|f(x)|=g(x) is
A11
B22correct
C33
Dzero
Solution
Step 1: Split the integral into two parts:
I=e1cosxdx+xsinxe1cosxdxI=\int e^{\,1-\cos x}\,dx+\int x\,\sin x\,e^{\,1-\cos x}\,dx
Step 2: Integrate the second part by parts. Since ddxe1cosx=sinxe1cosx\dfrac{d}{dx}e^{\,1-\cos x}=\sin x\,e^{\,1-\cos x}, take u=x, dv=sinxe1cosxdxv=e1cosxu=x,\ dv=\sin x\,e^{\,1-\cos x}\,dx\Rightarrow v=e^{\,1-\cos x}:
xsinxe1cosxdx=xe1cosxe1cosxdx\int x\,\sin x\,e^{\,1-\cos x}\,dx=x\,e^{\,1-\cos x}-\int e^{\,1-\cos x}\,dx
Step 3: Add the first part; the two e1cosxdx\displaystyle\int e^{\,1-\cos x}\,dx terms cancel:
I=e1cosxdx+[xe1cosxe1cosxdx]=xe1cosx+cI=\int e^{\,1-\cos x}\,dx+\left[x\,e^{\,1-\cos x}-\int e^{\,1-\cos x}\,dx\right]=x\,e^{\,1-\cos x}+c
Step 4: Match the stated form f(x)e1g(x)+cf(x)\,e^{\,1-g(x)}+c:
f(x)=x,g(x)=cosxf(x)=x,\qquad g(x)=\cos x
Step 5: Solve f(x)=g(x)|f(x)|=g(x), i.e. x=cosx|x|=\cos x. The V-shaped graph y=xy=|x| meets the curve y=cosxy=\cos x at one point with x>0x>0 and one with x<0x<0, giving exactly two solutions. Correct answer: (2)
Still stuck on this question?Ask your doubt on WhatsApp
Similar questions

Solve more, learn faster

Sign up free to solve more JEE Maths questions and explore doMath — timed drills, mastery sprints, bookmarks, and chapter-wise progress tracking.