# How do you solve the separable differential equation #dy/dx = e^(x-y)#?

By signing up, you agree to our Terms of Service and Privacy Policy

To solve the separable differential equation ( \frac{dy}{dx} = e^{x-y} ), follow these steps:

- Separate the variables by moving terms involving ( y ) to one side and terms involving ( x ) to the other side.
- Integrate both sides with respect to their respective variables.
- Solve for ( y ) to find the general solution.

Here are the detailed steps:

[ \frac{dy}{dx} = e^{x-y} ]

Separate variables:

[ e^y dy = e^x dx ]

Integrate both sides:

[ \int e^y , dy = \int e^x , dx ]

[ e^y = e^x + C ]

Solve for ( y ) by taking the natural logarithm of both sides:

[ y = \ln(e^x + C) ]

where ( C ) is the constant of integration.

So, the general solution to the differential equation is:

[ y = \ln(e^x + C) ]

where ( C ) is an arbitrary constant.

By signing up, you agree to our Terms of Service and Privacy Policy

- 98% accuracy study help
- Covers math, physics, chemistry, biology, and more
- Step-by-step, in-depth guides
- Readily available 24/7