We want to find a scalar function

whose gradient gives the vector function

. This means



Integrating both sides of the first PDE with respect to

, we get

Differentiating with respect to

gives

So we have

and differentiating with respect to

gives

and so

so

is indeed conservative.