Conservative Fields and Scalar Potentials

A conservative field is the most economical object in vector calculus: three coupled component functions collapse into one scalar. The gradient turns a scalar field ϕ\phi into a vector field ∇ϕ\nabla\phi, so asking whether a given F\mathbf{F} is conservative is one precise question — does F\mathbf{F} lie in the image of ∇\nabla? When it does, the whole apparatus of line integrals collapses: the work carrying a particle between two points stops depending on the route and depends only on the endpoints. This article is the hinge of the vector-integral chapter, welding the gradient operator (aq-mp-gradient-operator), the curl (aq-mp-curl), and the line integral (aq-mp-line-integrals) into a single theorem with three equivalent faces. Those three faces are the spine of everything below. The field is a gradient, F=∇ϕ\mathbf{F}=\nabla\phi; its circulation around every closed loop vanishes, ∮F⋅dr=0\oint\mathbf{F}\cdot\mathrm{d}\mathbf{r}=0; and its line integrals are path independent. On a simply connected domain these are one fact wearing three costumes, tied together by the gradient theorem ∫C∇ϕ⋅dr=ϕ(end)−ϕ(start)\int_C\nabla\phi\cdot\mathrm{d}\mathbf{r}=\phi(\text{end})-\phi(\text{start}) — the multivariable heir of the fundamental theorem of calculus. The local shortcut for testing conservativeness is the curl, because ∇×∇ϕ≡0\nabla\times\nabla\phi\equiv\mathbf{0} identically. But the converse, that vanishing curl rebuilds a potential, is subtle: it needs the domain to have no holes. This is the first place in a physics education where topology enters analysis as an essential ingredient, and the azimuthal field around a missing axis is the counterexample that proves it. From electrostatics to Newtonian gravity to every force with a potential energy, conservative fields are where energy conservation is born.

Key takeaways
  • A vector field F\mathbf{F} is conservative when it is the gradient of a scalar potential, F=∇ϕ\mathbf{F}=\nabla\phi (physics writes F=−∇ϕ\mathbf{F}=-\nabla\phi so force points downhill in energy).
  • The gradient theorem makes its line integral depend only on the endpoints, ∫abF⋅dr=ϕ(b)−ϕ(a)\int_{\mathbf{a}}^{\mathbf{b}}\mathbf{F}\cdot\mathrm{d}\mathbf{r}=\phi(\mathbf{b})-\phi(\mathbf{a}), so the circulation round any closed loop is zero.
  • On a simply connected domain three statements are equivalent: F=∇ϕ\mathbf{F}=\nabla\phi, ∇×F=0\nabla\times\mathbf{F}=\mathbf{0}, and path-independent integrals — three faces of one fact.
  • The cheap local test is the curl, because ∇×(∇ϕ)≡0\nabla\times(\nabla\phi)\equiv\mathbf{0} by equality of mixed partials; irrotational is necessary for conservative.
  • Topology is not optional: on a punctured domain a field can be curl-free yet non-conservative — the azimuthal field gives ∮F⋅dr=2π\oint\mathbf{F}\cdot\mathrm{d}\mathbf{r}=2\pi around a removed axis.
  • The potential is unique up to a constant; only differences are physical, and adding a divergence condition promotes ϕ\phi to Poisson's or Laplace's equation.
  • Key idea: on a simply connected domain, F\mathbf{F} being a gradient ∇ϕ\nabla\phi, having zero curl, and giving path-independent line integrals are three faces of one fact — and the potential reduces a vector field to a single scalar.

Where this lives today

The topological subtlety at the heart of this article — a curl-free field that is not conservative on a punctured domain — is the mathematical skeleton of the Aharonov–Bohm effect. Outside an ideal solenoid the magnetic field B=∇×A\mathbf{B}=\nabla\times\mathbf{A} is exactly zero, so the vector potential A\mathbf{A} is curl-free there, yet its loop integral ∮A⋅dr\oint\mathbf{A}\cdot\mathrm{d}\mathbf{r} equals the enclosed magnetic flux and is nonzero — the region outside the solenoid is not simply connected, and the flux is the topological charge of the excluded core. An electron beam split around the solenoid picks up a measurable phase difference proportional to that circulation even though it never enters any field: the azimuthal-field counterexample promoted to quantum reality, confirmed by Tonomura's electron-holography experiments in the 1980s. The same machinery drives modern geodesy — the GRACE satellites map Earth's gravitational potential ϕ\phi and store it as one scalar (the geopotential, expanded in spherical harmonics as in EGM2008) rather than three components — and computational science, where the Helmholtz–Hodge decomposition into a curl-free gradient part and a divergence-free part is a workhorse of incompressible-flow solvers and vector-field design.

The physical picture

Picture the potential ϕ\phi as a landscape of altitude over the plane. The field F=∇ϕ\mathbf{F}=\nabla\phi points straight uphill everywhere, perpendicular to the contours of equal altitude and longest where the slope is steepest. Now walk from a\mathbf{a} to b\mathbf{b}: the total climb is fixed at ϕ(b)−ϕ(a)\phi(\mathbf{b})-\phi(\mathbf{a}) no matter which trail you take, a gentle switchback or a direct scramble. That single sentence is path independence, and the first figure makes it visible — two very different routes accumulate the same rise because both end on the same contour.

Figure
A conservative field as a hillside: F = ∇φ points uphill across contours φ = 1 … 5. Two different paths from a on the φ = 2 contour to b on the φ = 5 contour accumulate the same work, ∫F·dr = φ(b) − φ(a) = 5 − 2 = 3, because only the endpoints matter
Path independence: both routes climb 5 − 2 = 3, because F = ∇φ and only endpoints count φ = 1 φ = 2 φ = 3 φ = 4 φ = 5 F = ∇φ (uphill) C₁ direct C₂ scenic a φ = 2 b φ = 5 ∫C₁ F·dr = ∫C₂ F·dr = φ(b) − φ(a) = 3

A closed hike that returns to its start gains zero net altitude, so ∮F⋅dr=0\oint\mathbf{F}\cdot\mathrm{d}\mathbf{r}=0: there is no loop around which the field consistently does positive work, no free energy to harvest by circling. Curl measures exactly the local tendency to swirl, which is why a curl-free field has no circulation to give. But the landscape picture quietly assumes a single consistent altitude exists — precisely what a hole in the domain can destroy. Imagine a spiral staircase whose central column has been removed: locally every step is flat, the curl is zero, yet one full loop around the missing column lifts you a whole floor, and the altitude becomes multi-valued. The second figure makes that obstruction exact — the azimuthal field around a removed axis, curl-free everywhere it is defined, yet circulating by 2π2\pi each time round.

Figure
The punctured-plane counterexample: the azimuthal field F = (−y, x, 0)/(x² + y²) has zero curl everywhere it is defined, yet a loop C encircling the removed axis returns circulation ∮F·dr = 2π ≠ 0, so no single-valued potential exists globally
Curl-free but not conservative: the hole makes the potential multi-valued, ∮F·dr = 2π loop C z-axis removed F = (−y, x, 0)/(x² + y²) ∇ × F = 0 everywhere F is defined ∮C F·dr = 2π ≠ 0 so φ = arctan(y/x) jumps by 2π each loop

The core equations

The definition is the whole game: a field is conservative exactly when it is the gradient of some scalar. Written in Cartesian components it says each component of F\mathbf{F} is a first partial derivative of one function ϕ\phi, so three functions are secretly one. Physics inserts a minus sign, F=−∇ϕ\mathbf{F}=-\nabla\phi, so that a particle feels a force pushing it toward lower potential energy; the mathematics is identical.

F=∇ϕ=∂ϕ∂x x^+∂ϕ∂y y^+∂ϕ∂z z^(1)\mathbf{F}=\nabla\phi=\frac{\partial\phi}{\partial x}\,\hat{\mathbf{x}}+\frac{\partial\phi}{\partial y}\,\hat{\mathbf{y}}+\frac{\partial\phi}{\partial z}\,\hat{\mathbf{z}} \qquad (1)

where: F\mathbf{F} — the vector field under test; ϕ\phi — the scalar potential, a single-valued C2C^2 function; ∇\nabla — the gradient operator from aq-mp-gradient-operator. Reading: the potential stores all directional information of the field, and the field is its steepest-ascent direction scaled by the slope. The gradient theorem is the payoff and the multivariable analogue of ∫abf′(x) dx=f(b)−f(a)\int_a^b f'(x)\,\mathrm{d}x=f(b)-f(a). It says the line integral of a conservative field is the net change of its potential — the route is irrelevant, only the two endpoints survive.

∫CF⋅dr=ϕ(b)−ϕ(a)(2)\int_C \mathbf{F}\cdot\mathrm{d}\mathbf{r}=\phi(\mathbf{b})-\phi(\mathbf{a}) \qquad (2)

where: CC — any curve from a\mathbf{a} to b\mathbf{b}; dr\mathrm{d}\mathbf{r} — the infinitesimal displacement along it; a,b\mathbf{a},\mathbf{b} — start and end points. Reading: work is a potential difference, hence path independent — the gradient plays the role the derivative plays in one dimension. Specialise the gradient theorem to a closed curve, where start and end coincide, and the right-hand side collapses to zero. This vanishing circulation is the second of the three equivalent faces of conservativeness.

∮CF⋅dr=0for every closed C(3)\oint_C \mathbf{F}\cdot\mathrm{d}\mathbf{r}=0\quad\text{for every closed }C \qquad (3)

where: ∮C\oint_C — the integral once around a closed loop. Reading: a conservative field does no net work over a cycle — no perpetual-motion engine can be built from the field alone. The cheap local test is the curl. The gradient theorem is global — it quantifies over every loop — but we want a pointwise condition, and the curl supplies it: every gradient is irrotational, an identity that holds wherever ϕ\phi is twice continuously differentiable.

∇×F=0necessarily, since∇×(∇ϕ)≡0(4)\nabla\times\mathbf{F}=\mathbf{0}\qquad\text{necessarily, since}\qquad \nabla\times(\nabla\phi)\equiv\mathbf{0} \qquad (4)

where: ∇×\nabla\times — the curl operator from aq-mp-curl; ≡\equiv — an identity valid for all C2C^2 scalars. Reading: irrotational is necessary for conservative; whether it is sufficient is the topological question the derivations settle. Written out component by component, the curl-free condition is a set of symmetry relations among the partial derivatives of F\mathbf{F} — the practical checklist you run on a candidate field, and precisely the exactness test for a differential one-form.

∂Fi∂xj=∂Fj∂xifor all i,j(5)\frac{\partial F_i}{\partial x_j}=\frac{\partial F_j}{\partial x_i}\qquad\text{for all }i,j \qquad (5)

where: FiF_i — the ii-th Cartesian component of F\mathbf{F}; xjx_j — the jj-th coordinate. Reading: in the plane this is the single equation ∂Fx/∂y=∂Fy/∂x\partial F_x/\partial y=\partial F_y/\partial x; in three dimensions it is the three components of ∇×F=0\nabla\times\mathbf{F}=\mathbf{0}. Once path independence is secured, the potential is reconstructed by integrating the field along any convenient path from a fixed reference point, and — adding one more condition, a prescribed divergence — the potential obeys Poisson's equation, the bridge to aq-mp-laplacian-operator.

ϕ(r)=∫r0rF⋅dr′+const,∇⋅F=∇2ϕ=ρ(6)\phi(\mathbf{r})=\int_{\mathbf{r}_0}^{\mathbf{r}}\mathbf{F}\cdot\mathrm{d}\mathbf{r}'+\text{const},\qquad \nabla\cdot\mathbf{F}=\nabla^2\phi=\rho \qquad (6)

where: r0\mathbf{r}_0 — an arbitrary reference point fixing the additive constant; ∇2\nabla^2 — the Laplacian ∇⋅∇\nabla\cdot\nabla; ρ\rho — a source density (charge density up to a constant). Reading: the potential is unique up to a constant, and imposing a divergence turns the descriptive ϕ\phi into a differential equation with sources.

Derivation AWhy the line integral of a gradient is just an endpoint difference

The goal is to prove the gradient theorem: that for F=∇ϕ\mathbf{F}=\nabla\phi the line integral ∫CF⋅dr\int_C\mathbf{F}\cdot\mathrm{d}\mathbf{r} over any smooth curve CC from a\mathbf{a} to b\mathbf{b} equals the plain difference ϕ(b)−ϕ(a)\phi(\mathbf{b})-\phi(\mathbf{a}), independent of the shape of CC. The only tools are the multivariable chain rule and the fundamental theorem of calculus, and the punchline is that path independence is not an extra assumption but a forced consequence of being a gradient.

Step 1. Parametrise the curve by r(t)\mathbf{r}(t) for t∈[t0,t1]t\in[t_0,t_1], with r(t0)=a\mathbf{r}(t_0)=\mathbf{a} and r(t1)=b\mathbf{r}(t_1)=\mathbf{b}, and write the line integral as ∫t0t1∇ϕ(r(t))⋅drdt dt\int_{t_0}^{t_1}\nabla\phi(\mathbf{r}(t))\cdot\tfrac{\mathrm{d}\mathbf{r}}{\mathrm{d}t}\,\mathrm{d}t. Why: a line integral is defined by pulling the field back onto a one-dimensional parameter, so every route becomes an ordinary integral in tt.

Step 2. Recognise the integrand as a total derivative: by the chain rule ∇ϕ⋅drdt=ddt ϕ(r(t))\nabla\phi\cdot\tfrac{\mathrm{d}\mathbf{r}}{\mathrm{d}t}=\tfrac{\mathrm{d}}{\mathrm{d}t}\,\phi(\mathbf{r}(t)), since ∑i∂xiϕ⋅x˙i\sum_i\partial_{x_i}\phi\cdot\dot{x}_i is exactly how ϕ\phi changes as the point slides along the curve. Why: the dot product with the gradient is precisely the rate of change of the scalar along the path, so the vector integral becomes a scalar one.

Step 3. Apply the fundamental theorem of calculus to the single-variable integral: ∫t0t1dϕdt dt=ϕ(r(t1))−ϕ(r(t0))=ϕ(b)−ϕ(a)\int_{t_0}^{t_1}\tfrac{\mathrm{d}\phi}{\mathrm{d}t}\,\mathrm{d}t=\phi(\mathbf{r}(t_1))-\phi(\mathbf{r}(t_0))=\phi(\mathbf{b})-\phi(\mathbf{a}). Why: the parametrisation r(t)\mathbf{r}(t) has completely dropped out — only the endpoint values remain, which is path independence stated as an equation.

Step 4. Close the loop by setting b=a\mathbf{b}=\mathbf{a}: for any closed curve the difference is zero, giving ∮CF⋅dr=0\oint_C\mathbf{F}\cdot\mathrm{d}\mathbf{r}=0, and conversely if that holds for every loop then ϕ(r)≡∫r0rF⋅dr′\phi(\mathbf{r})\equiv\int_{\mathbf{r}_0}^{\mathbf{r}}\mathbf{F}\cdot\mathrm{d}\mathbf{r}' is well defined. Why: the two-way bridge — gradient gives zero circulation, and zero circulation rebuilds the potential. *Why the construction is self-consistent: differentiating the reconstructed ϕ(r)=∫r0rF⋅dr′\phi(\mathbf{r})=\int_{\mathbf{r}_0}^{\mathbf{r}}\mathbf{F}\cdot\mathrm{d}\mathbf{r}' along each coordinate returns ∂xiϕ=Fi\partial_{x_i}\phi=F_i, i.e. ∇ϕ=F\nabla\phi=\mathbf{F}, closing the circle.*

Go deeper · Derivation B · 1 minIrrotational implies conservative when the domain has no holes
Derivation BIrrotational implies conservative when the domain has no holes

The aim is to prove the hard direction of the equivalence: if F\mathbf{F} is C1C^1 with ∇×F=0\nabla\times\mathbf{F}=\mathbf{0} everywhere on a simply connected open set UU, then a genuine single-valued potential ϕ\phi exists with F=∇ϕ\mathbf{F}=\nabla\phi throughout UU. The engine is Stokes' theorem, which trades the pointwise curl for a global circulation, and the load-bearing hypothesis is simple connectedness — every loop can be spanned by a surface lying inside UU. Remove it and the conclusion fails, as the next derivation shows.

Step 1. Take any closed loop CC in UU. Because UU is simply connected, CC bounds a surface SS lying entirely inside UU, and Stokes' theorem (from aq-mp-stokes-theorem) gives ∮CF⋅dr=∬S(∇×F)⋅dS\oint_C\mathbf{F}\cdot\mathrm{d}\mathbf{r}=\iint_S(\nabla\times\mathbf{F})\cdot\mathrm{d}\mathbf{S}. Why: simple connectedness is the licence to span every loop with an internal surface — without it Stokes' theorem cannot be invoked.

Step 2. The integrand vanishes identically, since ∇×F=0\nabla\times\mathbf{F}=\mathbf{0} at every point of SS, so ∮CF⋅dr=0\oint_C\mathbf{F}\cdot\mathrm{d}\mathbf{r}=0 for every loop CC. Why: the local hypothesis has now been promoted to a statement about every closed curve in the domain — zero curl on a fillable region means zero circulation.

Step 3. Deduce path independence: for two curves C1,C2C_1,C_2 from a\mathbf{a} to b\mathbf{b}, the concatenation C1C_1 followed by C2C_2 reversed is a closed loop of zero circulation, so ∫C1F⋅dr=∫C2F⋅dr\int_{C_1}\mathbf{F}\cdot\mathrm{d}\mathbf{r}=\int_{C_2}\mathbf{F}\cdot\mathrm{d}\mathbf{r}. Why: any two routes between the same endpoints differ by a loop, and every loop integrates to zero.

Step 4. Define ϕ(r)≡∫r0rF⋅dr′\phi(\mathbf{r})\equiv\int_{\mathbf{r}_0}^{\mathbf{r}}\mathbf{F}\cdot\mathrm{d}\mathbf{r}' from a fixed base point r0\mathbf{r}_0; path independence makes this single-valued, and differentiating along a coordinate displacement gives ∂xiϕ=Fi\partial_{x_i}\phi=F_i, hence ∇ϕ=F\nabla\phi=\mathbf{F}. Why: path independence is exactly what makes the integral depend only on r\mathbf{r}, turning a would-be multi-valued object into an honest potential. *Why the implication is reversible: applying ∇×\nabla\times to the recovered F=∇ϕ\mathbf{F}=\nabla\phi returns 0\mathbf{0}, consistent with the starting hypothesis, so the equivalence holds in both directions on simply connected UU.*

Go deeper · Derivation C · 2 minThe azimuthal field: curl-free everywhere yet not conservative
Derivation CThe azimuthal field: curl-free everywhere yet not conservative

The purpose is to exhibit a concrete field that is irrotational at every point where it is defined yet fails to be conservative, proving that simple connectedness in the previous derivation cannot be dropped. The field is F=(−y, x, 0)/(x2+y2)\mathbf{F}=(-y,\,x,\,0)/(x^2+y^2) on U=R3U=\mathbb{R}^3 with the whole zz-axis deleted, so the singular line x=y=0x=y=0 lies outside UU. We compute the curl to confirm it vanishes, then integrate around a loop encircling the missing axis and find a nonzero answer — compatible only because UU is not simply connected.

Step 1. Compute the only nontrivial curl component, ∂xFy−∂yFx\partial_x F_y-\partial_y F_x, with Fx=−y/(x2+y2)F_x=-y/(x^2+y^2) and Fy=x/(x2+y2)F_y=x/(x^2+y^2). Both derivatives equal (y2−x2)/(x2+y2)2(y^2-x^2)/(x^2+y^2)^2, so their difference is zero; the other components vanish since Fz=0F_z=0 and nothing depends on zz. Hence ∇×F=0\nabla\times\mathbf{F}=\mathbf{0} on all of UU. Why: the field really is irrotational — no local swirl to detect anywhere it lives.

Step 2. Choose the unit circle r(t)=(cos⁡t,sin⁡t,0)\mathbf{r}(t)=(\cos t,\sin t,0) for t∈[0,2π]t\in[0,2\pi], a loop that cannot be shrunk to a point without crossing the deleted axis. On it x2+y2=1x^2+y^2=1, so F=(−sin⁡t,cos⁡t,0)\mathbf{F}=(-\sin t,\cos t,0) and dr=(−sin⁡t,cos⁡t,0) dt\mathrm{d}\mathbf{r}=(-\sin t,\cos t,0)\,\mathrm{d}t. Why: to expose the obstruction we must pick a loop that actually wraps the hole — a loop that misses the axis would give zero and hide the effect.

Step 3. Evaluate the circulation: F⋅dr=(sin⁡2t+cos⁡2t) dt=dt\mathbf{F}\cdot\mathrm{d}\mathbf{r}=(\sin^2 t+\cos^2 t)\,\mathrm{d}t=\mathrm{d}t, so ∮CF⋅dr=∫02πdt=2π≠0\oint_C\mathbf{F}\cdot\mathrm{d}\mathbf{r}=\int_0^{2\pi}\mathrm{d}t=2\pi\neq0. Why: a nonzero loop integral is flatly incompatible with a single-valued potential, since the gradient theorem would force every closed integral to be zero.

Step 4. Interpret the clash: locally a potential does exist, ϕ=arctan⁡(y/x)\phi=\arctan(y/x) (the polar angle), and indeed ∇ϕ=F\nabla\phi=\mathbf{F} patch by patch — but the polar angle increases by 2π2\pi each time you circle the axis, so there is no globally single-valued ϕ\phi. The winding number 2π2\pi is the topological charge the hole carries. Why: the field is conservative in the small and non-conservative in the large, and the gap between the two is measured precisely by the domain's failure to be simply connected. *Why both results hold together: the symbolic curl is identically zero and the loop integral evaluates to exactly 2π2\pi — the two facts are compatible precisely because the domain is not simply connected, and 2π2\pi is the winding-number value the topology of the punctured plane forces.*

Limiting cases

Conservativeness is conditional — the answer depends jointly on the field's curl and the shape of the domain. The table sorts the four regimes that matter.

CaseResultMeaning
Simply connected domain∇×F=0  ⟹  F=∇ϕ\nabla\times\mathbf{F}=\mathbf{0}\;\Longrightarrow\;\mathbf{F}=\nabla\phiNo holes, so irrotational and conservative coincide — the full three-way equivalence holds.
Multiply connected domain∇×F=0  ⟹̸  F=∇ϕ\nabla\times\mathbf{F}=\mathbf{0}\;\not\Longrightarrow\;\mathbf{F}=\nabla\phiA loop around a hole can give nonzero circulation; only a locally defined, multi-valued potential survives.
Gradient of any C2C^2 scalarF=∇ϕ  ⟹  ∇×F=0\mathbf{F}=\nabla\phi\;\Longrightarrow\;\nabla\times\mathbf{F}=\mathbf{0}Needs no topology at all — the identity ∇×∇ϕ≡0\nabla\times\nabla\phi\equiv\mathbf{0} holds wherever ϕ\phi is twice differentiable.
Conservative and divergence-free∇⋅F=0  ⇒  ∇2ϕ=0\nabla\cdot\mathbf{F}=0\;\Rightarrow\;\nabla^2\phi=0The potential becomes harmonic — Laplace's equation, the source-free limit of Poisson.

Worked examples

1 · Is this field conservative, and what is its potential? (confidence builder)

Test F=(2xy+z3,  x2,  3xz2)\mathbf{F}=(2xy+z^3,\;x^2,\;3xz^2) for conservativeness on all of R3\mathbb{R}^3, reconstruct its potential ϕ\phi, and find the work done from (0,0,0)(0,0,0) to (1,1,1)(1,1,1).

Step 1. Run the curl test, equation (5), pair by pair. ∂Fx/∂y=2x=∂Fy/∂x\partial F_x/\partial y=2x=\partial F_y/\partial x; ∂Fx/∂z=3z2=∂Fz/∂x\partial F_x/\partial z=3z^2=\partial F_z/\partial x; ∂Fy/∂z=0=∂Fz/∂y\partial F_y/\partial z=0=\partial F_z/\partial y. All three curl components vanish, so ∇×F=0\nabla\times\mathbf{F}=\mathbf{0}, and since R3\mathbb{R}^3 is simply connected the field is conservative.

Step 2. Reconstruct ϕ\phi by partial integration. Integrate FxF_x in xx: ϕ=∫(2xy+z3) dx=x2y+xz3+g(y,z)\phi=\int(2xy+z^3)\,\mathrm{d}x=x^2y+xz^3+g(y,z). Matching ∂ϕ/∂y=x2+gy=Fy=x2\partial\phi/\partial y=x^2+g_y=F_y=x^2 forces gy=0g_y=0, and ∂ϕ/∂z=3xz2+gz=Fz=3xz2\partial\phi/\partial z=3xz^2+g_z=F_z=3xz^2 forces gz=0g_z=0. So gg is constant and \boldsymbol{\phi=x^2y+xz^3+C}.

Step 3. Apply the gradient theorem, equation (2); the constant cancels in the difference, so the work is ϕ(1,1,1)−ϕ(0,0,0)=(1+1)−0=2\phi(1,1,1)-\phi(0,0,0)=(1+1)-0=\mathbf{2}. No path was specified because none is needed — the answer is the same along the diagonal, along the cube's edges, or along any curve joining the two points. The field is conservative, ϕ=x2y+xz3+C\phi=x^2y+xz^3+C, and W=2W=2.

2 · Path independence in an electrostatic field (fully numerical)

A point charge Q=1 nCQ=1\ \mathrm{nC} sits at the origin, giving potential V(r)=kQ/rV(r)=kQ/r with k=8.99×109 N m2/C2k=8.99\times10^{9}\ \mathrm{N\,m^2/C^2}. A test charge q=2 nCq=2\ \mathrm{nC} is carried from ra=0.10 mr_a=0.10\ \mathrm{m} to rb=0.30 mr_b=0.30\ \mathrm{m}. Find the work done by the field, and confirm it is path independent.

Step 1. Evaluate the potential at each radius. Va=kQ/ra=(8.99×109)(1×10−9)/0.10=89.9 VV_a=kQ/r_a=(8.99\times10^{9})(1\times10^{-9})/0.10=\mathbf{89.9\ V}, and Vb=kQ/rb=(8.99×109)(1×10−9)/0.30=29.97 VV_b=kQ/r_b=(8.99\times10^{9})(1\times10^{-9})/0.30=\mathbf{29.97\ V}. The field E=−∇V\mathbf{E}=-\nabla V is conservative because ∇×E=0\nabla\times\mathbf{E}=\mathbf{0} in electrostatics.

Step 2. The work done by the field is W=q [Va−Vb]=(2×10−9)(89.9−29.97)=(2×10−9)(59.93) JW=q\,[V_a-V_b]=(2\times10^{-9})(89.9-29.97)=(2\times10^{-9})(59.93)\ \mathrm{J}. Numerically W=1.20×10−7 JW=\mathbf{1.20\times10^{-7}\ J}, positive because the field pushes the positive test charge outward, toward lower potential.

Step 3. Confirm path independence. Only the radial endpoints ra,rbr_a,r_b entered the arithmetic — the angular route was never used. A test charge spiralling out, looping around, or darting straight along the radius all arrive with the same 1.20×10−7 J1.20\times10^{-7}\ \mathrm{J}, because ∮E⋅dr=0\oint\mathbf{E}\cdot\mathrm{d}\mathbf{r}=0 for the conservative Coulomb field. W = 1.20×10⁻⁷ J, independent of path.

3 · Circulation with and without the hole (topology made numerical)

For the azimuthal field F=(−y,x,0)/(x2+y2)\mathbf{F}=(-y,x,0)/(x^2+y^2), compute the circulation around (a) the unit circle centred at the origin, and (b) a small circle of radius 14\tfrac14 centred at (2,0)(2,0) that does not enclose the axis. Interpret the contrast.

Step 1. Loop (a) encircles the missing axis. Parametrising by r(t)=(cos⁡t,sin⁡t)\mathbf{r}(t)=(\cos t,\sin t) gives F⋅dr=dt\mathbf{F}\cdot\mathrm{d}\mathbf{r}=\mathrm{d}t, so ∮F⋅dr=∫02πdt=2π\oint\mathbf{F}\cdot\mathrm{d}\mathbf{r}=\int_0^{2\pi}\mathrm{d}t=\mathbf{2\pi} — the loop reports the topological charge of the enclosed hole.

Step 2. Loop (b) stays clear of the origin. On the disc of radius 14\tfrac14 about (2,0)(2,0) the field is C1C^1 and curl-free with no singularity inside, so by Stokes' theorem ∮F⋅dr=∬S(∇×F)⋅dS=0\oint\mathbf{F}\cdot\mathrm{d}\mathbf{r}=\iint_S(\nabla\times\mathbf{F})\cdot\mathrm{d}\mathbf{S}=\mathbf{0}. Same field, different loop, different answer.

Step 3. Interpret. The circulation is a property not of the field alone but of the field and which holes the loop encloses; it counts windings, an integer multiple of 2π2\pi. On a multiply connected domain a curl-free field carries one such number per hole — the periods of the potential — and the local curl test is blind to all of them. Enclosing the axis gives 2π; avoiding it gives 0.

Physics of the portrait

The scalar potential was forged in the early nineteenth century to make the mathematics of gravity and electricity tractable — and the very word "potential" was coined by a self-taught miller from Nottingham working alone above his father's windmill.

Origins · 1 minGeorge Green and how this was discovered
GG
George Green
1793–1841 · potential theory and mathematical physics

George Green is the unlikeliest founder in mathematical physics: a miller's son with barely a year of formal schooling, who taught himself the analysis of Laplace, Lagrange, and Poisson from borrowed books while running the family corn mill in Nottingham. In 1828 he privately printed An Essay on the Application of Mathematical Analysis to the Theories of Electricity and Magnetism, which introduced the very word potential for the scalar function whose gradient is the force field, proved the identity now called Green's theorem relating a region's interior to its boundary, and invented the Green's function method for the boundary-value problems of potential theory. Only about a hundred copies were printed and the Essay sank almost without trace; Green entered Caius College, Cambridge as an undergraduate at the age of forty in 1833 and died in 1841, still obscure. Four years later William Thomson, the future Lord Kelvin, rediscovered the Essay and circulated it across Europe, where it became a cornerstone of Maxwell's electromagnetism and of conservative-field theory. Green's potential is the object this article is built on: the single scalar ϕ\phi from which a curl-free field descends by F=∇ϕ\mathbf{F}=\nabla\phi, and whose differences alone carry physical meaning. That a construct so central to modern physics came from a man with no teacher and no audience remains one of the discipline's most humbling stories.

History
1687
— Newton's Principia gives the inverse-square law, an implicit gravitational potential
1782
— Laplace shows the gravitational potential obeys ∇²V = 0 in empty space
1813
— Poisson adds the source term, giving ∇²V = −4πρ inside matter
1828
— Green's Essay coins the word potential and proves Green's theorem
1839
— Gauss systematises potential theory with his general theorems on attraction
1858
— Helmholtz splits any field into curl-free and divergence-free parts

Going further

Texts. Arfken, Weber & Harris, Mathematical Methods for Physicists, 7th ed., §3.6–3.10 (gradient, curl, potentials) · Hassani, Mathematical Physics, Ch. 15 (vector analysis and potential theory) · Nakahara, Geometry, Topology and Physics, §6 (de Rham cohomology — the exact-versus-closed distinction that this article meets for the first time) · Stone & Goldbart, Mathematics for Physics, Ch. on vector calculus · Byron & Fuller, Mathematics of Classical and Quantum Physics, §1.5 · Griffiths, Introduction to Electrodynamics, §1.6 (gradient theorem and curl-free fields). Key results to keep in mind: the gradient-theorem reduction via the chain rule; the identity ∇×∇ϕ≡0\nabla\times\nabla\phi\equiv\mathbf{0} from equality of mixed partials; the curl and the 2π2\pi circulation of the azimuthal field; worked example 1's potential ϕ=x2y+xz3\phi=x^2y+xz^3 giving W=2W=2; and worked example 2's electrostatic work 1.20×10−7 J1.20\times10^{-7}\ \mathrm{J}. The deeper statement that closed-but-not-exact forms are counted by the domain's cohomology is recalled here by name but not developed.

Prerequisites. The Gradient Operator · Curl of a Vector Field · Line Integrals · Scalar and Vector Fields. Leads to. Stokes' Theorem · The Laplacian Operator · The Del Operator and Vector Differential Identities.

Ask the tutor: Ask me to walk through the curl test on any vector field you like, reconstruct its potential step by step, or show exactly where the punctured-plane counterexample breaks the equivalence.

What is the difference between "irrotational" and "conservative"?

They are close but not identical, and the gap is topological. Irrotational is local — ∇×F=0\nabla\times\mathbf{F}=\mathbf{0} at every point — checked by differentiation. Conservative is global — F=∇ϕ\mathbf{F}=\nabla\phi for a single-valued potential, equivalently ∮F⋅dr=0\oint\mathbf{F}\cdot\mathrm{d}\mathbf{r}=0 around every loop. Every conservative field is irrotational, always; the converse holds only on a simply connected domain. On a domain with holes an irrotational field can still circulate, so it is irrotational without being conservative. Physicists often use the words interchangeably because everyday domains are simply connected, but the distinction becomes essential the moment a wire, a vortex core, or a solenoid punctures the region.

Why does physics write F = −∇φ with a minus sign?

It is a convention, chosen so potential energy behaves as intuition expects. With F=−∇U\mathbf{F}=-\nabla U the force points toward decreasing potential energy — a ball rolls downhill, a positive charge accelerates toward lower voltage. The gradient points uphill toward increasing ϕ\phi, so the minus sign flips it downhill. Mathematically nothing changes: −∇U-\nabla U is still a gradient (of −U-U), so all the theorems — path independence, zero curl, zero circulation — hold identically. The sign is pure bookkeeping to make "systems seek lower energy" read cleanly; pure vector calculus usually drops it and writes F=∇ϕ\mathbf{F}=\nabla\phi.

How do I actually find the potential of a conservative field?

Integrate the field, component by component. Take ϕ=∫Fx dx\phi=\int F_x\,\mathrm{d}x, treating y,zy,z as constants; this leaves an unknown g(y,z)g(y,z). Differentiate the result in yy and set it equal to FyF_y to pin down gg, then repeat with zz against FzF_z. Whatever remains is a genuine constant, the free reference level. Worked example 1 does exactly this: integrating 2xy+z32xy+z^3 gives x2y+xz3+g(y,z)x^2y+xz^3+g(y,z), and matching the other components forces gg constant. Equivalently, line-integrate the field from a fixed base point to r\mathbf{r} along any convenient path — a staircase of axis-parallel segments is easiest. Both routes give the same ϕ\phi up to a constant.

What does "simply connected" mean, precisely?

A region is simply connected if it is in one piece and every closed loop inside it can be continuously shrunk to a point without leaving the region. The interior of a ball, all of R3\mathbb{R}^3, and a convex box qualify. What breaks it is a hole a loop can wrap around and get stuck on: the plane minus a point, R3\mathbb{R}^3 minus a line, or the surface of a doughnut are all not simply connected, because a loop circling the removed part cannot contract past it. For conservative fields the test is exactly this: if every loop can shrink away, Stokes' theorem converts zero curl into zero circulation and a potential exists; if some loop is trapped, it may carry nonzero circulation.

Is the potential unique, and does its absolute value mean anything?

The potential is unique only up to an additive constant, and its absolute value carries no physical meaning — only differences do. If ϕ1\phi_1 and ϕ2\phi_2 both give F=∇ϕ\mathbf{F}=\nabla\phi, then ∇(ϕ1−ϕ2)=0\nabla(\phi_1-\phi_2)=\mathbf{0}, and on a connected domain a zero-gradient field is constant, so ϕ1−ϕ2\phi_1-\phi_2 is just a number. That freedom is why you may set the reference level wherever convenient: ground potential to zero, gravitational potential energy to zero at the floor or at infinity. Every measurable quantity — work done, voltage across a gap, energy released — is a difference ϕ(b)−ϕ(a)\phi(\mathbf{b})-\phi(\mathbf{a}) in which the constant cancels. Choosing the reference is a convenience, never a physical commitment.

How is this the same as an "exact differential" in thermodynamics?

It is the identical mathematics in different clothing. The one-form Fx dx+Fy dy+Fz dzF_x\,\mathrm{d}x+F_y\,\mathrm{d}y+F_z\,\mathrm{d}z is exact if it equals dϕ\mathrm{d}\phi for some ϕ\phi — precisely F=∇ϕ\mathbf{F}=\nabla\phi, the field being conservative — and the test ∂Fi/∂xj=∂Fj/∂xi\partial F_i/\partial x_j=\partial F_j/\partial x_i is the exactness condition, the same equation as ∇×F=0\nabla\times\mathbf{F}=\mathbf{0}. In thermodynamics this distinguishes state functions — internal energy UU, entropy SS — whose differentials are exact and changes path independent, from process quantities — heat QQ, work WW — whose differentials are inexact and depend on the path through state space. A Carnot cycle nets nonzero work precisely because δQ\delta Q and δW\delta W are not exact — the thermodynamic echo of a nonzero circulation.

Before this

Where this leads