Conservative Field

Work in progress. This note is still being written and incomplete.

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}.

Curl Condition

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}

The converse needs a condition on DD. 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.

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)\hat{i} + Q(x,y)\hat{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}

The region must be simply connected. On a region with a hole, ∂P/∂y=∂Q/∂x\partial P/\partial y = \partial Q/\partial x can hold everywhere without F\boldsymbol{F} being conservative.

Integral over a Closed Curve

Let F\boldsymbol{F} be conservative on DD and CC a piecewise smooth closed curve in DD. Then

∮CF⋅dr=0\oint_C \boldsymbol{F} \cdot \text{d}\boldsymbol{r} = 0

Equivalence of Conservative Fields

Let F(x,y,z)=fi^+gj^+hk^\boldsymbol{F}(x,y,z) = f\hat{i} + g\hat{j} + h\hat{k} be continuous on an open connected region D⊆R3D \subseteq \mathbb{R}^3. The following are equivalent:

  • F\boldsymbol{F} is conservative on DD
  • ∫CF⋅dr=0\displaystyle\int_C \boldsymbol{F} \cdot \text{d}\boldsymbol{r} = 0 for every piecewise smooth closed curve CC in DD
  • For any 2 points PP, QQ in DD, ∫CF⋅dr\displaystyle\int_C \boldsymbol{F} \cdot \text{d}\boldsymbol{r} is independent of the piecewise smooth curve CC in DD from PP to QQ

Finding the Potential Function

Let F=fi^+gj^+hk^\boldsymbol{F} = f\hat{i} + g\hat{j} + h\hat{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)\hat{i} + (x^2 + 2y)\hat{j} + x\hat{k}

Check the curl.

  • ∂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
Written by October 9, 2026 2 min read
Was this helpful?