- #1

tracedinair

- 50

- 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