The integrating factor of the differential equation \(\displaystyle\frac{dy}{dx}+y\cot x=2x+x^2\cot x,\ x \ne 0\) is
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → \(\sin x\)
The equation is linear, of the form \(\frac{dy}{dx} + Py = Q\) with \(P = \cot x\). The integrating factor is
\( \displaystyle \text{I.F.} = e^{\int P\,dx} = e^{\int \cot x\,dx} \)
\(= e^{\log \sin x} = \sin x\)