If sin x is the integrating factor of the linear differential equation \(\displaystyle\frac{dy}{dx}+Py=Q\) then P is:
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → \(\cot x\)
For \(\frac{dy}{dx} + Py = Q\), the integrating factor is \(e^{\int P\,dx}\). So
\(e^{\int P\,dx} = \sin x\)
\(\int P\,dx = \log \sin x\)
Differentiating both sides with respect to x:
\( \displaystyle P = \frac{1}{\sin x}\cdot\cos x = \cot x \)