ExamBro
ExamBro
COMEDK · Maths · 32. Differential Equations

Solve the following differential equation \(\cos ^2 x \dfrac{d y}{d x}+y=\tan x\), given that \(y(0)=1\). Hence find \(y\left(\dfrac{\pi}{4}\right)\)

  1. A \(e\)
  2. B \(1\)
  3. C \(2\)
  4. D \(\dfrac{2}{e}\)
Verified Solution

Answer & Solution

Correct Answer

(D) \(\dfrac{2}{e}\)

Step-by-step Solution

Detailed explanation

The given differential equation is \(\cos^2 x \dfrac{dy}{dx} + y = \tan x\). Dividing by \(\cos^2 x\), we get \(\dfrac{dy}{dx} + y \sec^2 x = \tan x \sec^2 x\). This is a linear differential equation of the form \(\dfrac{dy}{dx} + Py = Q\), where \(P = \sec^2 x\) and…