Given
its curl would be
which reduces to the zero vector. Since the curl is zero, and
doesn't have any singularities,
is indeed a gradient field.
To determine what it is a gradient of, we look for a scalar function f(x, y, z) such that
. This entails solving for f such that
Integrate both sides of the first equation with respect to x, which gives
Differentiate both sides of this with respect to y :
Differentiate f with respect to z :
So it turns out that
is the gradient of