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 ∫e 1−cos⁡x(1+xsin⁡x) dx=f(x) e 1−g(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=∫e 1−cos⁡x dx+∫x sin⁡x e 1−cos⁡x dxI=\int e^{\,1-\cos x}\,dx+\int x\,\sin x\,e^{\,1-\cos x}\,dx
Step 2: Integrate the second part by parts. Since ddxe 1−cos⁡x=sin⁡x e 1−cos⁡x\dfrac{d}{dx}e^{\,1-\cos x}=\sin x\,e^{\,1-\cos x}, take u=x, dv=sin⁡x e 1−cos⁡x dx⇒v=e 1−cos⁡xu=x,\ dv=\sin x\,e^{\,1-\cos x}\,dx\Rightarrow v=e^{\,1-\cos x}:
∫x sin⁡x e 1−cos⁡x dx=x e 1−cos⁡x−∫e 1−cos⁡x dx\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 ∫e 1−cos⁡x dx\displaystyle\int e^{\,1-\cos x}\,dx terms cancel:
I=∫e 1−cos⁡x dx+[x e 1−cos⁡x−∫e 1−cos⁡x dx]=x e 1−cos⁡x+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) e 1−g(x)+cf(x)\,e^{\,1-g(x)}+c:
f(x)=x,g(x)=cos⁡xf(x)=x,\qquad g(x)=\cos x
Step 5: Solve ∣f(x)∣=g(x)|f(x)|=g(x), i.e. ∣x∣=cos⁡x|x|=\cos x. The V-shaped graph y=∣x∣y=|x| meets the curve y=cos⁡xy=\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.