Let us solve the differential equation
(xy2+x−2y+3)dx+(x2y−2x−2y)dy=0
Taking into account that ∂y∂(xy2+x−2y+3)=2xy−2=∂x∂(x2y−2x−2y),
we conclude that the equation is exact, and consequently there exists the function u=u(x,y) such that
∂x∂u=xy2+x−2y+3, ∂y∂u=x2y−2x−2y.
Therefore, u=21x2y2+21x2−2xy+3x+c(y), and hence
∂y∂u=x2y−2x+c′(y)=x2y−2x−2y.
It follows that c′(y)=−2y, and thus c(y)=−y2+C.
We conclude that thegeneral solution of the differential equation
(xy2+x−2y+3)dx+(x2y−2x−2y)dy=0 is
21x2y2+21x2−2xy+3x−y2=C.
Comments