GATE 2025 CE (CE2) – Question 36
Pick the CORRECT solution for the following differential equation
$\frac{dy}{dx} = e^{x-y}$
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (A) $y = \ln(e^x + Constant)$
Explanation
Write $\frac{dy}{dx} = e^xe^{-y}$ and separate the variables: $e^y\,dy = e^x\,dx$. Integrating, $e^y = e^x + C$, so $y = \ln(e^x + C)$.