(a) F=2xyi+(x2+1)j is a conservative vector field on the entire xy-plane since ∂P∂y=∂∂y(2xy)=2xand∂Q∂x=∂∂x(x2+1)=2x
are equal for any choice of (x,y).
(b) The vector field F=xy2i−x2y3j is conservative on any connected region not containing points on the x-axis (y=0) since ∂P∂y=∂∂yxy2=−2xy3and∂Q∂x=∂∂x(−x2y3)=−2xy3
are equal, provided y≠0. Because F=xy2i−x2y3j is conservative for y≠0, the line integral ∫CF⋅dr=∫C[xy2dx−x2y3dy] is independent of the path in any simply connected region not containing points on the x-axis.