jwxie
- 278
- 0
Homework Statement
\[\frac{\mathrm{dy} }{\mathrm{d} x} = \frac{x - e^{-x}}{y + e^{y}}<br /> \]
Homework Equations
The Attempt at a Solution
This is how I did it...
[1] multiple
\[y + e^{y} (dy) = x - e^{-x} (dx)\]
[2] integrate both sides and I get
\[\frac{1}{2}y^{2} + e^{y} = \frac{1}{2}x^{2} + e^{-x} +c\]
However, the solution gives
\[y^{2} - x^{2} +2(e^{y} - e^{-x}) = c\]
Notice the 2? I can't figure out what I did wrong.
I thank for any helps in advance!
Thanks.