# Solve the DE

1. Feb 19, 2013

### bfusco

1. The problem statement, all variables and given/known data
Consider the DE (x + y)y′ = x − y.
(a) Solve the DE using the homogeneous substitution v = y/x. An implicit solution is acceptable.
(b) We can rearrange the DE into the differential form (y − x) dx + (x + y) dy = 0.
Is this equation exact? If so, find an implicit solution to the equation using our techniques for exact DEs. Show that your solution is equivalent to your answer from part (a). Which method was easier?

3. The attempt at a solution
the question is asking me use the sub. v=y/x which can also be written y=vx and its derivative is y'=v+xv'

-to start distributed that y' to get xy'+yy'=x-y
-then i multiplied 1/x to the whole DE and i get xy'/x + yy'/x = 1-y/x, which reduces to y'+yy'/x=1-y/x, then taking out that y' from the left side of the equation i get, y'(1+y/x)=1-y/x, using the substitutions i get, v+xv'(1+v)=1-v.
-then rewriting v' as dv/dx and bringing that lone v on the left to the right i get, xdv/dx(1+v)=1-2v,
-the dividing by 1+v i get xdv/dx=(1-2v)/(1+v), then i make the equation so that it is in proper form to integrate and i get integral(dx/x)=integral(1+v)/(1-2v)dv

it is at this point im stuck, im having difficulty integrating this, and im not even sure ihave done it right thus far.

2. Feb 19, 2013

### bfusco

i would just like to clarify that i know the integral of 1/x, so the issue would be then i guess ln|x|+C=integral(1+v)/(1-2v)dv

3. Feb 19, 2013

### haruspex

Haven't checked your working up to that point, but try writing (1+v)/(1-2v) = A + B/(1-2v)