Solving a first order differential equation

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
fred_91
Messages
38
Reaction score
0

Homework Statement



Solve the differential equation:
dy/dx = 2/(x+e^y)

Homework Equations

The Attempt at a Solution



I tried to use the substitution v=x+e^y, but I didn't get very far:

v’=1+e^y y’
v’-1=(v-x)y'
y’ = (v’-1)/(v-x)
(v’-1)/(v-x) (x+v-x)=2
V (v’-1)/(v-x)=2
vv’-v=2(v-x)
vv’-3v=-2x

any help will be very much appreciated.
 
Physics news on Phys.org
fred_91 said:
vv’-3v=-2x
Hmm, this last equation is homogeneous, so setting v=ux should allow you to separate variables.
 
  • Like
Likes   Reactions: SammyS
fred_91
hi
use this result to simplify it to a linear differential equation
dy/dx=1/(dx/dy)
 
  • Like
Likes   Reactions: Samy_A