Question:

Pick the CORRECT solution for the following differential equation:
\[ \frac{dy}{dx} = e^{x - y} \]

Show Hint

When solving differential equations, always separate variables first, integrate both sides, and apply the necessary logarithmic operations for solutions involving exponential terms.
Updated On: Apr 3, 2025
  • \( y = \ln(e^x + {Constant}) \)
  • \( \ln(y) = x + {Constant} \)
  • \( \ln(y) = \ln(e^x) + {Constant} \)
  • \( y = x + {Constant} \)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

The given differential equation is: \[ \frac{dy}{dx} = e^{x - y} \] Step 1: Rearranging the equation: \[ \frac{dy}{dx} = e^x \cdot e^{-y} \] Step 2: Separating the variables: \[ e^y \, dy = e^x \, dx \] Step 3: Integrating both sides: \[ \int e^y \, dy = \int e^x \, dx \] Step 4: Performing the integrations: \[ e^y = e^x + C \] Step 5: Taking the natural logarithm of both sides: \[ y = \ln(e^x + C) \] Thus, the correct solution is \( y = \ln(e^x + C) \), which corresponds to option (A).
Was this answer helpful?
0
0

Questions Asked in GATE CE exam

View More Questions