The integrating factor of \(\sin x\displaystyle\frac{dy}{dx}+2y\cos x=4\) is:
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → \(|\sin x|^2\)
Dividing by \(\sin x\) puts the equation in the linear form \(\frac{dy}{dx} + Py = Q\):
\( \displaystyle \frac{dy}{dx} + (2\cot x)\,y = \frac{4}{\sin x} \)
So \(P = 2\cot x\), and
\( \displaystyle \int P\,dx = 2\int\cot x\,dx = 2\log|\sin x| \)
The integrating factor is
\(\text{I.F.} = e^{\int P\,dx} = e^{2\log|\sin x|}\)
\(= e^{\log|\sin x|^2}\)
\(= |\sin x|^2\)
(which is the same as \(\sin^2 x\)).