βxβQβ=2xy+1=βyβPβThe system of two differential equations that define the function u(x,y) is
β©β¨β§ββxβuβ=xy2+yβxβyβuβ=x2y+xβ Integrate the first equation over the variable x
u=β«(xy2+yβx)dx+Ο(y)
=2x2y2β+xyβ2x2β+Ο(y) Differentiate with respect to y
βyβuβ=x2y+x+Οβ²(y)=x2y+x
Οβ²(y)=0
Ο(y)=β2Cβ Then
u=2x2y2β+xyβ2x2ββ2Cβ
The general solution of the exact differential equation is given by
x2y2+2xyβx2=C