The general solution of the differential equation \(\displaystyle\frac{dy}{dx}+y\tan x=\sec x\) is:
(Where C is constant of integration)
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → \(y\sec x = \tan x + C\)
This is a linear differential equation \(\frac{dy}{dx} + Py = Q\) with P = tan x and Q = sec x.
Integrating factor:
\( \displaystyle \text{I.F.} = e^{\int \tan x\,dx} = e^{\log \sec x} \)
\(= \sec x\)
The solution is \(y \times \text{I.F.} = \int Q \times \text{I.F.}\,dx + C\):
\(y\sec x = \int \sec x \cdot \sec x\,dx + C\)
\(y\sec x = \int \sec^2 x\,dx + C\)
\(y\sec x = \tan x + C\)
NCERT Exemplar:
Differential Equations
