# Math Help - Homogeneous differential equations

1. ## Homogeneous differential equations

I have never understood this. The question I have is...

Find the general solution of the equation $(x-y)\frac{dy}{dx}=x+y$.

So that'd get...

$\frac{dy}{dx}=\frac{x+y}{x-y}$

In my lecture notes I have written...

How do we solve this type of equation?

Given $y'=F(\frac{y}{x})$, set $\frac{y(x)}{x}=v(x)$

i.e. $y(x)=x v(x)$, so $v+xv'=F(v)$

or $xv'=F(v)-v$ which is a separable equation.

$\int\frac{dv}{F(v)-v}=\int\frac{dx}{x}$ where $x\neq 0; F(v)-v\neq 0$

I understand that that equation is separable and stuff, but the stuff before I just don't get at all. Like where F(v) suddenly comes from and that. Can anyone help?

Note: $y'$ and $v'$ are derivatives with respect to x.

2. $\frac{x+y}{x-y}=\frac{1+\dfrac{y}{x}}{1-\dfrac{y}{x}}.$

Put $y=xz.$

3. See that's the kinda thing I don't get I think that process is what I need explaining to me.

4. $y'=z+xz'$ and the ODE becomes $z+xz'=\frac{1+z}{1-z}$ and after some algebra this becomes a separable one!

5. Nah, still not getting it. Sorry . Where did the y' = whatever come from?

6. That's the derivative. We're making a change of variables. We have $y'=\frac{dy}{dx}$ and $z'$ is $\frac{dz}{dx}.$

7. Nah, none of this is going in at all, sorry. I'm gonna have to ask tomorrow after his lecture.

8. Tell me exactly what you don't get.

9. I don't know. I don't like the whole $\frac{y}{x}$ thing you've gotta do. I just don't understand any of it. What I've written in my notes just doesn't make sense to me. I also hate the notation $y'$ and what not, but I doubt thats anything to do with it haha.

Okay, I've gotten this far with it.

$\frac{dy}{dx}=\frac{x+y}{x-y}$

$\frac{dy}{dx}=\frac{1+\frac{y}{x}}{1-\frac{y}{x}}$

$y=xv$ so $\frac{dy}{dx}=v+x\frac{dv}{dx}$

And now I'm lost...

10. And that becomes $v+x\,\frac{dv}{dx}=\frac{1+v}{1-v}.$

11. And what do I do with that? I just need walking through it all from this point...

12. $x\,\frac{dv}{dx}=\frac{1+v}{1-v}-v\implies x\,\frac{dv}{dx}=\frac{1+v-v+v^{2}}{1-v},$ thus $\frac{1-v}{1+v^{2}}\,dv=\frac{dx}x.$

13. Wouldn't it be $\int\frac{dx}{x}$ on the right hand side? I dislike that left-hand side also haha. But I know how to do it (roughly).

14. Oh yes, I've edited.

15. Okay right, on integrating both sides would you get...

$-\frac{1}{2}\ln{(1+v^2)}=\ln{(x)}+A$ where A = constant of integration?

The left-hand side is likely to by wrong somehow; I never could do those tricky $\int\frac{f'(x)}{f(x)}dx$ problems.

Page 1 of 2 12 Last