The differential equation is dxdy=ex+y
Using the exponential property ex+y=ex⋅ey:
dxdy=ex⋅ey
Dividing both sides by ey:
ey1⋅dxdy=ex
e−y⋅dxdy=ex
e−ydy=exdx
Integrating both sides:
∫e−ydy=∫exdx
−e−y=ex+C1
Multiplying both sides by −1:
e−y=−ex−C1
ex+e−y=−C1
Since −C1 is an arbitrary constant, it can be written as C:
ex+e−y=C
Therefore, the general solution is ex+e−y=C