If $\sin x$ is an intergrating factor of the differential equation $\frac{d y}{d x}+P y=Q$, then P can be
Answer & explanation
Correct answer: option 2
We have,
Integrating factor = $\sin x$
$\Rightarrow e^{\int P d x}=\sin x$
$\Rightarrow \int P d x=\log \sin x \Rightarrow P=\frac{d}{d x}(\log \sin x)=\cot x$