Differential Equation/Intial Value Problem

  • Thread starter Thread starter tracedinair
  • Start date Start date
  • Tags Tags
    Differential Value
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 1K views
tracedinair
Messages
47
Reaction score
0

Homework Statement



Solve the following initial value problem,

y' = (x-y)/(x+y), y(1) = 1

Homework Equations




The Attempt at a Solution



dy/dx = (x-y)/(x+y)

dy/dx * (x+y) = x-y

(x+y)dy = (x-y)dx

∫(x+y)dy = ∫(x-y)dx

xy + y^(2)/2 = x^(2)/2 - xy + C

2xy + y^2 = x^2 - 2xy + C

y^2 + 4xy - x^2 = C

Sub in x=1, y=1

1 + 4 - 1 = C = 4

Soln: 2xy + y^2 = x^2 - 2xy + 4
 
Physics news on Phys.org
N/m, I just realized this is a homogeneous diffeq. Sorry.