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