Conservative Field

A vector field F\boldsymbol{F} in 2-space or 3-space is conservative on a region DD iff it is the gradient field of some scalar function ϕ\phi defined on DD,

F=∇ϕ\boldsymbol{F} = \nabla \phi

ϕ\phi is a potential function, or scalar potential, of F\boldsymbol{F}.

If DD is simply connected and curl F=0\text{curl}\,\boldsymbol{F} = \boldsymbol{0} on DD, then F\boldsymbol{F} is conservative on DD.

Curl Property

If F\boldsymbol{F} is conservative on DD and ϕ\phi has continuous second-order partial derivatives, then

curl F=∇×(∇ϕ)=0\text{curl}\,\boldsymbol{F} = \nabla \times (\nabla \phi) = \boldsymbol{0}

curl F=0\text{curl}\,\boldsymbol{F} = \boldsymbol{0} alone does not make F\boldsymbol{F} conservative. On a region with a hole, the curl can vanish everywhere while F\boldsymbol{F} has no potential function.

Conservative Field Test

Let P(x,y)P(x,y) and Q(x,y)Q(x,y) have continuous first-order partial derivatives on an open, simply connected region DD in the plane. The vector field

F(x,y)=P(x,y)i+Q(x,y)j\boldsymbol{F}(x,y) = P(x,y)\boldsymbol{i} + Q(x,y)\boldsymbol{j}

is conservative on DD iff, for each point in DD,

∂P∂y=∂Q∂x\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}

On a region that is not simply connected, the above equality can hold everywhere without F\boldsymbol{F} being conservative.

Finding the Potential Function

Let F=fi+gj+hk\boldsymbol{F} = f\boldsymbol{i} + g\boldsymbol{j} + h\boldsymbol{k} be conservative on DD. A potential function ϕ\phi satisfies

ϕx=f,ϕy=g,ϕz=h\phi_x = f, \quad \phi_y = g, \quad \phi_z = h

Steps:

  1. Integrate ff with respect to xx to get ϕ=∫f dx+a(y,z)\phi = \int f\,\text{d}x + a(y,z).
  2. Differentiate ϕ\phi with respect to yy and equate to gg. Solve for aya_y, then integrate to get a(y,z)=∫ay dy+b(z)a(y,z) = \int a_y\,\text{d}y + b(z).
  3. Differentiate ϕ\phi with respect to zz and equate to hh. Solve for b′(z)b'(z), then integrate to get b(z)b(z).
  4. Substitute back. ϕ\phi is unique up to an additive constant.

In the plane, drop zz and stop after step 2.

Worked Example

Find a potential function of

F=(2xy+z)i+(x2+2y)j+xk\boldsymbol{F} = (2xy + z)\boldsymbol{i} + (x^2 + 2y)\boldsymbol{j} + x\boldsymbol{k}

Check the curl.

Solution Reveal Hide
  • ∂h/∂y=0=∂g/∂z\partial h/\partial y = 0 = \partial g/\partial z
  • ∂f/∂z=1=∂h/∂x\partial f/\partial z = 1 = \partial h/\partial x
  • ∂g/∂x=2x=∂f/∂y\partial g/\partial x = 2x = \partial f/\partial y

So curl F=0\text{curl}\,\boldsymbol{F} = \boldsymbol{0} on R3\mathbb{R}^3, which is simply connected, and F\boldsymbol{F} is conservative.

Step 1.

ϕ=∫(2xy+z) dx=x2y+xz+a(y,z)\phi = \int (2xy + z)\,\text{d}x = x^2 y + xz + a(y,z)

Step 2.

ϕy=x2+ay=x2+2y  ⟹  ay=2y  ⟹  a=y2+b(z)\phi_y = x^2 + a_y = x^2 + 2y \implies a_y = 2y \implies a = y^2 + b(z)

Step 3.

ϕz=x+b′(z)=x  ⟹  b′(z)=0  ⟹  b=C\phi_z = x + b'(z) = x \implies b'(z) = 0 \implies b = C

Result.

ϕ(x,y,z)=x2y+xz+y2+C\phi(x,y,z) = x^2 y + xz + y^2 + C

Determine whether

F(x,y)=(2xy+3)i+(x2+4y)j\boldsymbol{F}(x,y) = (2xy + 3)\boldsymbol{i} + (x^2 + 4y)\boldsymbol{j}

is conservative on R2\mathbb{R}^2. If it is conservative, find a potential function.

Solution Reveal Hide

Let P=2xy+3P = 2xy + 3 and Q=x2+4yQ = x^2 + 4y.

Py=2x=QxP_y = 2x = Q_x

R2\mathbb{R}^2 is simply connected, so F\boldsymbol{F} is conservative.

Integrate PP with respect to xx.

ϕ=∫(2xy+3) dx=x2y+3x+a(y)\phi = \int (2xy + 3)\,\text{d}x = x^2y + 3x + a(y)

Differentiate with respect to yy and equate to QQ.

ϕy=x2+a′(y)=x2+4y\phi_y = x^2 + a'(y) = x^2 + 4ya′(y)=4y  ⟹  a(y)=2y2a'(y) = 4y \implies a(y) = 2y^2

Therefore,

ϕ(x,y)=x2y+3x+2y2+C\phi(x,y) = x^2y + 3x + 2y^2 + C

Determine whether

F(x,y)=−yi+xj\boldsymbol{F}(x,y) = -y\boldsymbol{i} + x\boldsymbol{j}

is conservative on R2\mathbb{R}^2.

Solution Reveal Hide

Let P=−yP = -y and Q=xQ = x.

Py=−1≠1=QxP_y = -1 \neq 1 = Q_x

The conservative-field test fails. Therefore, F\boldsymbol{F} is not conservative on R2\mathbb{R}^2.

Written by November 11, 2026 3 min read
Was this helpful?