Need help with this differential equation using separation of variables.

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 2K views
lilmul123
Messages
39
Reaction score
0

Homework Statement



The differential equation I have is dy/dx = (xy + 2y - x - 2)/(xy - 3y + x - 3). I need help getting started. Neither the top nor the bottom can be factored, so I don't know what to do next. Can anyone give me a push? All I know is that I need to use separation of variables.
 
Physics news on Phys.org
lilmul123 said:

Homework Statement



The differential equation I have is dy/dx = (xy + 2y - x - 2)/(xy - 3y + x - 3). I need help getting started. Neither the top nor the bottom can be factored, so I don't know what to do next. Can anyone give me a push? All I know is that I need to use separation of variables.

Hint: Your numerator can be factored:

(xy + 2y - x - 2) = y(x + 2) - (x + 2) = (x + 2)(y - 1).

Similarly in the denominator.
 
Oh, of course. Okay, so now I have (x+2)(y-1) on top, and (x-3)(y+1). I have separated those out. Now I have (y+1)/(y-1) dy = (x+2)/(x-3) dx. Is this the correct equation I need to solve?