Let us solve the differential equation (x−y)dx+(3x+y)dy=0. For this let us use the transformation y=ux. Then dy=udx+xdu, and we get the equation (x−ux)dx+(3x+ux)(udx+xdu)=0. Since x=0 is not a solution, let us divide both parts by x. Then we get (1−u)dx+(3+u)(udx+xdu)=0, which is equivalent to (1+2u+u2)dx+(3+u)xdu=0. It follows that xdx+(1+u)2(3+u)du=0, and hence ∫xdx+∫(1+u)2(1+u+2)du=C. We conclude that ln∣x∣+∫1+udu+2∫(1+u)2du=C, and hence ln∣x∣+ln∣1+u∣−21+u1=C.
We conclude that ln∣x∣+ln∣1+xy∣−x+y2x=C is the general solution of the equation (x−y)dx+(3x+y)dy=0.
Comments