(2xy−y2+2x)dx+(−2xy+x2+2y)dy 
M(x,y)=2xy−y2+2x, 
N(x,y)=−2xy+x2+2y, 
∂y∂M=2x−2y=∂x∂NWe have the following system of differential equations to find the function u(x,y) 
∂x∂u=2xy−y2+2x 
∂y∂u=−2xy+x2+2y By integrating the first equation with respect to x, we obtain
u(x,y)=∫(2xy−y2+2x)dx+φ(y) 
=x2y−xy2+x2+φ(y) Substituting this expression for u(x,y) into the second equation gives us:
x2−2xy+φ′(y)=−2xy+x2+2y 
φ′(y)=2y By integrating the last equation, we find the unknown function φ(y) 
φ(y)=∫2ydy=y2−CSo that the general solution of the exact differential equation is given by
x2y−xy2+x2+y2=C 
                             
Comments