(a) The vector field
is conservative if it is a gradient field. So we try to find a scalar function
such that

Given the field

we need to have


Integrate both sides of the first equation with respect to
.

Differentiate both sides with respect to
.

So we have

is indeed conservative.
(b) By the gradient theorem, the integral is path-independent and

for <em>any</em> path
that starts at (0, 2) and ends at (5, 4).