Let us solve the equation in exact differentials (y2−1)dx+(2xy+3y)dy=0,
Since ∂y∂(y2−1)=2y=∂x∂(2xy+3y), the differential equation is indeed exact.
It follows that there exists the function u=u(x,y) such that
∂x∂u=y2−1, ∂y∂u=2xy+3y. Therefore, u(x,y)=xy2−x+c(y), and hence
∂y∂u=2xy+c′(y)=2xy+3y. It follows that c′(y)=3y, and thus c(y)=23y2+C.
We conclude that the general solution is
xy2−x+23y2=C.
Comments