Solving Differential Equation: Find y for dy/dx = (x-y+2)/(x-y+3)

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
3 replies · 1K views
Dell
Messages
555
Reaction score
0
find y if

dy/dx=[tex]\frac{x-y+2}{x-y+3}[/tex]

what i tried to do was
u=[tex]\frac{x-y+2}{x-y+3}[/tex]ux-uy+3u=x-y+2

y(1-u)=x+2-u(3+x)

y=[tex]\frac{x+2-u(3+x)}{(1-u)}[/tex]y'=[tex]\frac{(1-u'(3+x)-u)(1-u)+u'(x+2-u(3+x))}{1-2u+u^2}[/tex]

[tex]\frac{(1-u'(3+x)-u)(1-u)+u'(x+2-u(3+x))}{1-2u+u^2}[/tex]=u

(1-u'(3+x)-u)(1-u)+u'(x+2-u(3+x))=u-2u^2+u^3

from here try get u's one side anx x's the other
surely this isn't the way to do this ??
 
Physics news on Phys.org
what would i do in a problem where the numerator and denominator have different x and y'sfor example

y'=(3x-y-9)/(x+y+1)