NDA · Question 99
What is the solution of the following differential equation? ln (dy/dx) + y = x
Show answer & explanationShow explanation
Answer: (C) eˣ - eʸ = c
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.