Mathwords logoMathwords

Conservative Field — Definition, Formula & Example

A conservative field is a vector field that equals the gradient of some scalar function. Because of this, the work it does along a path depends only on where the path starts and ends, never on the route between them.

Let F\mathbf{F} be a vector field that is continuous on an open, connected region D⊆RnD \subseteq \mathbb{R}^n. Then F\mathbf{F} is conservative on DD if there exists a differentiable scalar function ff, called a potential function, with ∇f=F\nabla f = \mathbf{F} at every point of DD. Equivalently, ∫CF⋅dr\int_C \mathbf{F} \cdot d\mathbf{r} is path independent in DD, and ∮CF⋅dr=0\oint_C \mathbf{F} \cdot d\mathbf{r} = 0 for every closed, piecewise smooth curve CC in DD.

Key Formula

F=∇f=⟨∂f∂x,  ∂f∂y,  ∂f∂z⟩⟹∇×F=0\mathbf{F} = \nabla f = \left\langle \frac{\partial f}{\partial x},\; \frac{\partial f}{\partial y},\; \frac{\partial f}{\partial z} \right\rangle \quad\Longrightarrow\quad \nabla \times \mathbf{F} = \mathbf{0}
Where:
  • F\mathbf{F} = The vector field being tested
  • ff = A potential function, a scalar function whose gradient is the field
  • ∇×F\nabla \times \mathbf{F} = The curl of the field, which must be zero if the field is conservative and its partial derivatives are continuous

How It Works

To test a 3D field F=⟨P,Q,R⟩\mathbf{F} = \langle P, Q, R \rangle whose components have continuous first partial derivatives, compute its curl. If ∇×F≠0\nabla \times \mathbf{F} \neq \mathbf{0} anywhere in DD, the field cannot be conservative, because the curl of a gradient is always zero. If the curl is zero and DD is simply connected (for example, all of R3\mathbb{R}^3), the field is conservative. A single closed loop with a nonzero line integral also proves the field is not conservative.

Worked Example

Problem: Decide whether F(x,y,z)=⟨z,  x,  y⟩\mathbf{F}(x, y, z) = \langle z,\; x,\; y \rangle is conservative on R3\mathbb{R}^3. Confirm your answer by computing the work ∮CF⋅dr\oint_C \mathbf{F} \cdot d\mathbf{r} around the unit circle CC in the xyxy-plane, traced once counterclockwise.
Step 1: Apply the curl test with P=zP = z, Q=xQ = x, R=yR = y. Use ∇×F=⟨Ry−Qz,  Pz−Rx,  Qx−Py⟩\nabla \times \mathbf{F} = \langle R_y - Q_z,\; P_z - R_x,\; Q_x - P_y \rangle.
∇×F=⟨1−0,  1−0,  1−0⟩=⟨1,1,1⟩≠0\nabla \times \mathbf{F} = \langle 1 - 0,\; 1 - 0,\; 1 - 0 \rangle = \langle 1, 1, 1 \rangle \neq \mathbf{0}
Step 2: The curl is nonzero, so F\mathbf{F} is not conservative. To confirm, parametrize the circle as r(t)=⟨cos⁡t,sin⁡t,0⟩\mathbf{r}(t) = \langle \cos t, \sin t, 0 \rangle for 0≤t≤2π0 \le t \le 2\pi. On this curve, F=⟨0,cos⁡t,sin⁡t⟩\mathbf{F} = \langle 0, \cos t, \sin t \rangle and r′(t)=⟨−sin⁡t,cos⁡t,0⟩\mathbf{r}'(t) = \langle -\sin t, \cos t, 0 \rangle.
F(r(t))⋅r′(t)=0+cos⁡2t+0=cos⁡2t\mathbf{F}(\mathbf{r}(t)) \cdot \mathbf{r}'(t) = 0 + \cos^2 t + 0 = \cos^2 t
Step 3: Integrate over one full trip around the loop.
∮CF⋅dr=∫02πcos⁡2t dt=π\oint_C \mathbf{F} \cdot d\mathbf{r} = \int_0^{2\pi} \cos^2 t \, dt = \pi
Answer: F\mathbf{F} is not conservative. Its curl is ⟨1,1,1⟩\langle 1, 1, 1 \rangle, and the work around the closed unit circle is π≠0\pi \neq 0. A conservative field would give 00 on every closed loop, so no potential function exists.

Why It Matters

In physics, gravity and the electrostatic force are conservative, which is exactly why potential energy and electric potential (voltage) can be defined. Friction is not conservative, so the work it does depends on the path. In Calculus III, recognizing a conservative field lets you replace a hard line integral with a simple endpoint evaluation.

Common Mistakes

Mistake: Concluding that a field is conservative because its curl is zero, without checking the domain.
Correction: A zero curl guarantees a conservative field on a simply connected domain; elsewhere it is not enough on its own. For example, F=⟨−yx2+y2,xx2+y2⟩\mathbf{F} = \left\langle \frac{-y}{x^2+y^2}, \frac{x}{x^2+y^2} \right\rangle has zero curl on the plane minus the origin, yet its integral around the unit circle is 2π2\pi. That domain has a hole, so the test is inconclusive there.

Related Terms