Defence PYQWritten Exam 2021MathematicsDifferential Equations

NDA · Question 99

What is the solution of the following differential equation? ln (dy/dx) + y = x

  1. eˣ + eʸ = c

  2. eˣ + y = c

  3. eˣ - eʸ = c

  4. eˣ - y = c

Show answer & explanationShow explanation

Answer: (C) eˣ - eʸ = c

Explanation

Rewriting the equation gives ln (dy/dx) = x - y ⇒ dy/dx = e^(x - y) = eˣ/eʸ. Separating variables yields eʸ dy = eˣ dx. Integrating both sides gives eʸ = eˣ - c, or eˣ - eʸ = c.