ExamBro
ExamBro
AP EAMCET · Maths · Differential Equations

The general solution of the differential equation \(y+\cos x\left(\frac{d y}{d x}\right)-\cos ^2 x=0\) is

  1. A \((\sec x+\tan x) y=x+\cos x+c\)
  2. B \((1+\cos x) y=(x+c) \cos x-\cos ^2 x\)
  3. C \((1+\sin x) y=(x+c) \cos x-\cos ^2 x\)
  4. D \((\sec x+\tan x) y=x-\sin x+c\)
Verified Solution

Answer & Solution

Correct Answer

(C) \((1+\sin x) y=(x+c) \cos x-\cos ^2 x\)

Step-by-step Solution

Detailed explanation

\(\cos x \frac{dy}{dx} + y = \cos^2 x\) \(\frac{dy}{dx} + (\sec x)y = \cos x\) \(IF = e^{\int \sec x dx} = e^{\ln|\sec x + \tan x|} = \sec x + \tan x\) \(y(\sec x + \tan x) = \int (\cos x (\sec x + \tan x)) dx + C\) \(y(\sec x + \tan x) = \int (1 + \sin x) dx + C\)…