DE question i have no idea how to solve

95 Views Asked by At

So i found this question and have tried substituting into variable separation or as in homogenous equations but cant seem to solve it

The question: the solution of

$$\frac{dy}{dx}=\frac{(x+y)^2}{(x+2)(y-2)}$$

is given as:

2

There are 2 best solutions below

0
On

You set $y-2=u(x)(x+2)$ and insert to get a separable equation $$ (x+2)u'+u=\frac{(1+u)^2}{u}. $$

2
On

$$\frac{dy}{dx}=\frac{(x+y)^2}{(x+2)(y-2)}$$ Substitute $u=y-2,v=x+2$ $$\frac{du}{dv}=\frac{(u+v)^2}{uv}$$ $$\frac{du}{dv}=\frac{u}{v}+\frac{v}{u}+2$$ Substitute $u=tv \implies u'=t'v+t$ $$v \dfrac {dt}{dv}=\frac{1+2t}{t}$$ It's separable.