Skip to content

Why conservative fields have a potential

7 min read

Short answer

A vector field is conservative when its line integral between two points does not depend on the path. Path independence is exactly what lets you define a potential φ\varphi with F=∇φ\mathbf{F}=\nabla\varphi by φ(x)=∫x0xF⋅dr\varphi(\mathbf{x})=\int_{\mathbf{x}_0}^{\mathbf{x}}\mathbf{F}\cdot d\mathbf{r}. Then the integral along any path is just φ(end)−φ(start)\varphi(\text{end})-\varphi(\text{start}).

DiagramABsame φ(B) − φ(A)
In a conservative field, both routes from A to B give the same line integral, φ(B) − φ(A).

Three equivalent statements

On a region where these make sense, the following are equivalent:

  1. ∫CF⋅dr\int_C\mathbf{F}\cdot d\mathbf{r} depends only on the endpoints of CC.
  2. ∮F⋅dr=0\oint\mathbf{F}\cdot d\mathbf{r}=0 around every closed loop.
  3. F=∇φ\mathbf{F}=\nabla\varphi for some function φ\varphi.

(1)⇔(2) because a closed loop is one path out and one path back: path independence says they cancel. (3)⇒(1) is the gradient theorem. The interesting direction is (1)⇒(3).

Building the potential

Assume (1). Fix a base point x0\mathbf{x}_0 and define φ(x)\varphi(\mathbf{x}) as the line integral of F\mathbf{F} along any path from x0\mathbf{x}_0 to x\mathbf{x}. Path independence makes this well defined. To find ∂φ/∂x\partial\varphi/\partial x, extend the path by a short horizontal step hh; the extra integral is approximately F1hF_1h, so φ(x+h,y)−φ(x,y)h→F1\dfrac{\varphi(x+h,y)-\varphi(x,y)}{h}\to F_1. The same works for yy, giving ∇φ=F\nabla\varphi=\mathbf{F}.

The curl test and its limits

If F=∇φ\mathbf{F}=\nabla\varphi with smooth φ\varphi, mixed partials commute, so in the plane ∂P∂y=∂Q∂x\dfrac{\partial P}{\partial y}=\dfrac{\partial Q}{\partial x} (curl zero). Conversely, on a simply connected region (no holes), zero curl implies conservative, by Green's or Stokes' theorem.

Holes break the converse. The field F=(−y, x)x2+y2\mathbf{F}=\dfrac{(-y,\,x)}{x^2+y^2} has zero curl everywhere except the origin, yet circulation around the unit circle is 2π2\pi. There is no potential on the punctured plane (the angle θ\theta is a multi-valued "potential").

Worked example

Show F=(2xy,  x2+3)\mathbf{F}=(2xy,\;x^2+3) is conservative, find a potential, and compute ∫F⋅dr\int\mathbf{F}\cdot d\mathbf{r} from (0,0)(0,0) to (1,2)(1,2).

∂P∂y=2x=∂Q∂x\dfrac{\partial P}{\partial y}=2x=\dfrac{\partial Q}{\partial x}, so the curl vanishes on the whole plane (simply connected), hence F\mathbf{F} is conservative.

Integrate φx=2xy\varphi_x=2xy to get φ=x2y+g(y)\varphi=x^2y+g(y). Then φy=x2+g′(y)=x2+3\varphi_y=x^2+g'(y)=x^2+3 gives g=3yg=3y. So φ=x2y+3y\varphi=x^2y+3y.

∫F⋅dr=φ(1,2)−φ(0,0)=(2+6)−0=8\int\mathbf{F}\cdot d\mathbf{r}=\varphi(1,2)-\varphi(0,0)=(2+6)-0=8.

Try it yourself

Find a potential for F=(y, x)\mathbf{F}=(y,\,x) and evaluate the line integral from (1,1)(1,1) to (2,3)(2,3).

Show the answer

φ=xy\varphi=xy works since φx=y\varphi_x=y and φy=x\varphi_y=x. The integral is φ(2,3)−φ(1,1)=6−1=5\varphi(2,3)-\varphi(1,1)=6-1=5.

Keep going with practice

Vidi's line-integral lessons use the curl test and potential construction from this article.