Solving the Differential Equation ex y dy/dx = e-y + e-2x-y

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 1K views
jofree87
Messages
37
Reaction score
0
ex y dy/dx = e-y + e-2x-y

Is this equation supposed to be solved through separation? I got an answer but it looks very messy. Can somebody check if I am doing this correctly?

ex y dy/dx = e-y + e-2x-y

ex y dy/dx = e-y + e-2x e-y

ex y dy/dx = e-y ( 1 + e-2x )

ey y dy = e-x ( 1 + e-2x ) dx

Then Integrated by parts on both sides and got this solution:

ey (y-1) = -e-x - 1/3 e-3x

Normally I would check it by plugging y and y' into the differential equation but I don't know how to take the derivative of y in this particular solution.
 
Physics news on Phys.org
Hi jofree87! :smile:
jofree87 said:
Normally I would check it by plugging y and y' into the differential equation but I don't know how to take the derivative of y in this particular solution.

Looks fine. :smile:

(and I'm afraid you can't always check by differentiating! :wink:)