Question
Mathematics Question on Differential equations
The general solution of the differential equation dxdy=ex+y is
A
ex+e−y=C
B
ex+ey=C
C
e−x+ey=C
D
e−x+e−y=C
Answer
ex+e−y=C
Explanation
Solution
The correct answer is A:ex+e−y=C
dxdy=ex+y=ex.ey
⇒eydy=exdx
⇒e−ydy=exdx
Integrating both sides,we get:
∫e−ydy=∫exdx
⇒−e−y=ex+k
⇒ex+e−y=−k
⇒ex+e−y=c(c=−k)
Hence,the correct answer is A.