Question #7452 Solve 1−x(x+y)dy/dx=y(x−y).
Solution. The equation you offered does not belong to any "good" class of the equation, that could be solved by some standard methods. You might misprinted and the real equation is x(x+y)dy/dx=y(x−y). This equation is homogeneous (it does not change when we make the substitution x↦λx,y↦λy). Hence, it is reasonable to make a substitution y=zx, y′=z′x+z, thus our equation is equivalent to
x+xzx(z′x+z)=x−zxzx, or 1+z1(z′x+z)=1−zz.
We get z′⋅x=1−zz(1+z)−z=1−zz+z2−z+z2, finally we obtain 1/2dzz21−z=dx/x. Or 1/2(−1/z−log∣z∣)=log∣x∣+C, returning back to initial variables 1/2(−yx+log∣x∣−log∣y∣)=log∣x∣+C.
Answer. The general solution can be obtained from the relation −yx−log∣y∣=log∣x∣+C, C∈R is arbitrary real constant.