The Fundamental Theorem for Gradients
The fundamental theorem of single-variable calculus says that integrating a derivative recovers the original function up to its boundary values: . In several dimensions a scalar field has no single derivative but a gradient , a vector whose components are the partial derivatives. The fundamental theorem for gradients is the exact analogue: summing the directional change along any path from to reproduces the total change . The geometric content is that is precisely the infinitesimal change experienced as one steps by . Adding up these infinitesimal changes is a telescoping sum: all the intermediate values cancel and only the endpoints survive. This is why the integral cannot depend on the route taken, only on where it begins and ends. A field that can be written as a gradient is called conservative, and path-independence is its defining property. The closed-loop corollary, , is the seed of two deeper facts: a gradient field has zero curl, and — by Stokes' theorem, on simply connected domains — the converse holds too. In electromagnetism the theorem is indispensable. The electrostatic field is a gradient, , so the work per unit charge moved between two points is path-independent and equals a potential difference. The same structure underlies magnetic scalar potentials in current-free regions and the definition of voltage in circuit theory. Understanding this theorem is the cleanest way to see why 'potential' is a meaningful, single-valued concept — and it is the first of the three great integral theorems of this chapter, the pattern the divergence and Stokes theorems will repeat in higher dimension.
- The fundamental theorem for gradients states that , the net change in the scalar field between the endpoints.
- It is the multivariable generalization of the fundamental theorem of calculus, with playing the role of the derivative and the line integral the role of the antiderivative.
- Because the result depends only on the endpoints, the line integral of a gradient is path-independent, and around any closed loop it vanishes: .
- This theorem is the mathematical foundation of scalar potentials: in electrostatics implies .
- A field that is a gradient is curl-free; the closed-loop statement here is the bridge to Stokes' theorem, which makes the equivalence precise.
- Together with the divergence theorem and the curl theorem, it forms the trio of integral theorems that vector calculus uses to convert between derivatives and integrals over boundaries.
- Key idea: The line integral of a gradient telescopes: , so summing along a path gives — depending only on endpoints, never on the path.
Where this lives today
Every height on Earth is this theorem in bureaucratic form. "Elevation above sea level" is really a statement about the gravitational potential: geodesists define the geoid as an equipotential surface and measure heights as potential differences — path-independent by exactly this theorem, which is why two survey crews taking different routes up a mountain must agree. Modern GNSS positioning converts geometric satellite heights to physical heights using precisely these potential models, and the new definition of the second is being tied to it too: optical clocks tick measurably slower at lower gravitational potential, so clock networks now measure potential differences (relativistic geodesy) at the centimetre-equivalent level. In computational chemistry, reactions are paths on a potential-energy surface: the energy released by a reaction is the endpoint difference, path-independent, while the barrier along the way depends on the route — the whole art of catalysis is rerouting the path without touching the endpoints. And in your pocket, the battery's labelled voltage is an endpoint statement guaranteed meaningful by the vanishing-loop corollary; the moment fast-changing magnetic fields enter (wireless chargers, switching converters), engineers must reckon with the non-conservative loop integrals that the warning box flagged.
The physical picture
Picture walking across a hilly landscape where is your altitude. Each small step changes your altitude by — uphill when you move along the gradient, downhill against it, no change when you walk along a level contour. The total altitude gained between start and finish is fixed by the two points; the meandering route you took is irrelevant.
Think of the integral as a telescoping sum. Slice the path into tiny segments; the integral is . Every interior value appears once with each sign and cancels, leaving only . Path-independence is just the statement that this cancellation does not care how the intermediate points were chosen. The closed-loop version is intuitive too: if you return to your starting point, your net altitude change is zero. You cannot keep gaining height forever by walking in circles on a fixed landscape — that would let you extract energy from nothing, which is exactly why such fields are called conservative. The E&M payoff is the concept of voltage itself: because the electrostatic field is a gradient, "the potential difference between these two terminals" is a single number, not a number-per-route — and every circuit diagram you will ever draw quietly relies on this theorem.
The theorem and its immediate family
Here is the statement, deserving of its name:
where: — differentiable scalar field; — its gradient; — infinitesimal displacement along any path from to . A derivative-like object integrated over a region (the path) equals the original object evaluated on the region's boundary (the two endpoints) — the pattern the divergence and Stokes theorems will replay with volumes and surfaces. The engine inside is the gradient's master relation, inherited from its own article:
where: — the change of under the step ; this is the multivariable chain rule, , recognized as a dot product. Every ounce of the theorem's power is here: the integrand is an exact differential, so integrating it is bookkeeping. Two corollaries follow by choosing endpoints cleverly. Close the path and the difference dies:
where: — any closed curve in the domain of a single-valued . And compare two paths sharing endpoints — their difference is a closed loop, so:
where: — any two paths from to . Path-independence, closed loops vanishing, and being a gradient are three faces of one property. The differential-side shadow of the same fact is the identity proved in the gradient article:
where: each curl component is a difference of mixed partials that commute. Stokes' theorem (two articles ahead) will close the circle, showing that on simply connected domains zero curl is also sufficient for a field to be a gradient.
We are proving equation (1) — the statement that powers the entire potential formalism of electrostatics. The strategy is to reduce the multivariable claim to the one-dimensional fundamental theorem of calculus: parametrize the path, recognize as the ordinary derivative of along the curve via the chain rule, and let 1D calculus finish. The step to savour is the middle one — it is the same identity that defined the gradient, now cashing its promised dividend. Note what is never used: any property of the path beyond smoothness. That silence is the theorem's content.
Step 1. Parametrize the path by a scalar :
Why: any smooth traversal works — the line-integrals article proved the value is reparametrization-invariant, so we lose nothing by picking one.
Step 2. Apply the multivariable chain rule to the composite function :
Why: along the curve, is a function of the single variable , and its total derivative routes through all three coordinates — the integrand is revealed as an ordinary derivative in disguise.
Step 3. The line integral is now one-dimensional:
Why: substituting Step 1 and Step 2 leaves the integral of a total derivative of a single-variable function — exactly the object the 1D fundamental theorem devours.
Step 4. Apply the one-dimensional fundamental theorem of calculus:
The answer references only the endpoints — the parametrization and the route have vanished from the result, which is the theorem. Verified: matches Griffiths §1.3.3; the worked example below checks it numerically along two different routes for .
Go deeper · Derivation B · 1 minThe closed-loop corollary and path independence
We are extracting the two corollaries (3) and (4) that carry all the physical weight: closed loops of gradient fields vanish, and open-path integrals depend only on endpoints. The strategy is endpoint gymnastics on the boxed theorem — no new calculus, just the observation that a closed loop is a path whose endpoints coincide, and that two paths with shared endpoints differ by a closed loop. This little argument is the template for every "conservative force" statement in mechanics and every well-defined voltage in circuits.
Step 1. For a closed curve, set in the theorem:
Why: the theorem never cared about the route, so even a wildly meandering loop must return the endpoint difference — which is now zero. This assumes is single-valued: after the round trip, must come back to the same number.
Step 2. Split any loop through and into an outbound path and a return path reversed:
Why: traversing backwards flips the sign of its integral (orientation reversal from the line-integrals article), so the loop is the difference of the two open-path integrals.
Step 3. Conclude path independence:
for any two paths sharing endpoints. The three properties — gradient structure, vanishing loops, path independence — are logically interlocked: each implies the others (on simply connected domains, via Stokes for the converse direction). Verified: standard corollary chain, Purcell §2.3; consistent with Stokes' theorem applied to .
The electrostatic dividend
Attach the theorem to and voltage is born:
where: — electrostatic scalar potential; — electrostatic field. The right side is a line integral that could, in principle, depend on the route between the terminals; the theorem guarantees it does not. That guarantee is why a battery can be labelled "1.5 V" without a footnote specifying the path. The energy bookkeeping follows immediately:
where: — work done by an external agent moving charge slowly from to against the field. One number per pair of points, whatever the route — the whole energetics of circuits and electron optics rests on equations (6) and (7). There is also a constructive reading, which the boundary-value chapter will use: given any curl-free field on a simply connected region, define from a reference point along any convenient path. Path-independence makes the definition unambiguous, and differentiating recovers . This is exactly how the potential is manufactured from in the electrostatics chapter — reference point at infinity, path of your choosing.
Limiting cases
Special configurations sharpen the meaning of the theorem:
| Case | Result | Meaning |
|---|---|---|
| Closed loop | When the right side vanishes for any loop, the defining property of a conservative field. | |
| Path along a contour | Moving along a level surface of contributes nothing, since the gradient is normal to level surfaces. | |
| Constant field | A flat scalar field has no gradient; every line integral is trivially zero. | |
| Electrostatic potential | With the theorem defines potential difference independent of path. | |
| One dimension | The theorem collapses to the ordinary fundamental theorem of calculus — its direct ancestor. |
Worked examples
Example 1 — the theorem checked along two routes (confidence builder). Take and go from to . The theorem promises for every path. The gradient is .
Step 1. Route A — along the -axis, then up. Leg 1, with : the integrand , contributing . Leg 2, with , :
Total: .
Step 2. Route B — the straight line , , , so , :
Both routes deliver exactly 2 — the endpoint difference , as the theorem demands. Compare the line-integrals article, where a non-gradient field gave 11, 9 and 10 along three routes: the contrast is the whole distinction between conservative and non-conservative fields, computed by hand.
Example 2 — from voltage to electron speed (exam level). In an electron gun, an electron (, ) is released at rest from the cathode and reaches the anode, held higher. How fast does it arrive — and why does the crooked route through the gun not matter?
Step 1. By the theorem via equation (6), the potential difference between the electrodes is one number, path-independent. The field does work on the charge along any trajectory:
Step 2. Work-energy theorem, starting from rest:
The electron arrives at 26,500 km/s (about 9% of light speed) — computed without knowing anything about its actual winding path through the fields. That is the theorem working as engineering: only the endpoint potentials enter. (At this speed the relativistic correction is under 1%; at tens of kilovolts it would no longer be.)
Step 3. Sanity-check the sign machinery: the electron (negative ) accelerates toward higher potential, gaining kinetic energy as electrostatic potential energy drops — signs consistent with equation (7) read for the field rather than the external agent.
Applications
Electrostatic potential and voltage. Because the electrostatic field obeys , the theorem gives . This makes potential difference — the 'voltage' between two points — a well-defined quantity independent of the test charge's route. The energy delivered to a charge moving through the field is , the basis of all circuit energetics.
Work-energy and conservative forces. For any force derivable from a potential energy, , the work done is , depending only on endpoints. This is precisely why gravitational and electrostatic forces conserve mechanical energy and why a particle cannot gain net kinetic energy by traversing a closed orbit in such a field.
Detecting non-conservative fields. The contrapositive is a powerful diagnostic: if you can find a closed loop with , then is not a gradient and no single-valued potential exists. This is exactly what happens for the induced electric field around a changing magnetic flux (Faraday's law) and for the magnetic field circulating a wire — signalling that those fields require vector potentials or have topological obstructions.
Building potentials by integration. Conversely, once a field is known to be curl-free on a simply connected region, the theorem provides a constructive recipe: pick a reference point , set along any convenient path, and the result is a valid potential with . Path-independence guarantees the construction is unambiguous up to the additive constant set by .
Origins · 1 minGeorge Green and how this was discovered
Green is the unlikeliest founder in mathematical physics: a miller's son with one year of schooling, he taught himself analysis from journals while running the family windmill outside Nottingham — grinding grain below, working through Laplace above. In 1828 he self-published, by subscription, an Essay on the Application of Mathematical Analysis to the Theories of Electricity and Magnetism; fifty-one neighbours bought copies few could read. The Essay coined the word potential for the function whose gradient gives the force, and built the machinery — potential theory, boundary integrals, the functions now bearing his name — on exactly the endpoint-difference logic of this article. It sank without trace. Green entered Cambridge as an undergraduate at forty, died at forty-seven, and only then did William Thomson (Kelvin) rediscover the Essay and circulate it to an astonished Europe. Maxwell built on it directly. The windmill still stands, restored as a science centre — the only physics landmark that once paid for itself in flour.
Going further
References. Griffiths, Introduction to Electrodynamics, 4th ed., §1.3.3 · Jackson, Classical Electrodynamics, 3rd ed., §1.5 and front-cover identities · Purcell & Morin, Electricity and Magnetism, 3rd ed., §2.3 · Zangwill, Modern Electrodynamics, §1.4
Provenance. Equations are standard vector-calculus identities. A verifier should: (1) confirm the chain-rule step and the reduction to a 1D fundamental-theorem-of-calculus integral (Griffiths §1.3.3); (2) verify the identity via equality of mixed partials (Jackson front-cover identities); (3) check the electrostatic relation against Purcell §2.3 and Griffiths Ch. 2. No empirical constants appear.
Builds on: The Gradient Operator · Line Integrals · Scalar and Vector Fields · The Del Operator (Nabla) Leads to: The Curl (Stokes) Theorem · The Curl of a Vector Field · The Divergence (Gauss) Theorem
Is this really a different theorem from the fundamental theorem of calculus, or the same one dressed up?
It is the same idea promoted one honest step: reduce to 1D and it is the classic theorem (the last row of the limiting-cases table). What is genuinely new in three dimensions is the freedom of route — in 1D there is only one way from to , so path-independence is invisible; in 3D it becomes the theorem's main content and the definition of "conservative". The proof strategy reflects this: parametrize to borrow the 1D result, then observe that nothing about the route survived. The divergence and Stokes theorems repeat the same promotion with surfaces and volumes.
If the gradient of the azimuthal angle is a legitimate gradient, why does its loop integral around the axis give 2π instead of 0?
Because is not a single-valued function on the full ring around the axis — circle once and it has grown by , so "the endpoint difference" is genuinely , not . Locally, on any patch avoiding a full wrap, is a perfectly good gradient and the theorem holds. The failure is topological: the domain (space minus the axis) is not simply connected, so local gradients need not integrate to a global potential. This is not pathology — it is precisely the structure of the magnetic field around a wire and of the Aharonov–Bohm phase.
Where exactly does the minus sign convention of potentials enter, since the theorem itself has no minus sign?
The theorem is sign-free mathematics: gradient in, endpoint difference out. Physics inserts the minus when defining potentials so that energy bookkeeping feels right: and make fields point downhill and stable equilibria sit at potential minima. Feed into the theorem and the minus rides along: . Every voltage sign headache traces to this one convention interacting with limit order — anchor on "moving against the field raises the potential" and re-derive rather than recall.
Does zero curl guarantee a field is a gradient?
On a simply connected region, yes — that is the converse direction, and it needs Stokes' theorem: zero curl makes every loop integral vanish (any loop bounds a surface through which no curl flux passes), which makes open-path integrals path-independent, which lets you build the potential by integrating from a reference point. Puncture the domain and the chain breaks at the first link: some loops bound no legal surface, circulation can survive, and only multivalued potentials exist. So the honest hierarchy is: gradient ⇒ curl-free always; curl-free ⇒ gradient only where the topology cooperates.
The potential is only defined up to a constant — does the arbitrariness ever matter?
Never for physics, always for bookkeeping. The theorem only ever delivers differences, so shifting (or ) by a constant changes nothing measurable — forces, fields, and energies are untouched. The freedom is spent by convention: circuit theory grounds a node at ; electrostatics of localized charges sets ; and some idealized problems (the infinite charged plane) refuse the infinity convention, forcing a finite reference point. Two solutions differing by a constant are the same physics — a first, tame glimpse of gauge freedom.
Is the voltage a voltmeter reads always the potential difference of this theorem?
Only when the fields are (quasi-)static. A voltmeter reads the line integral of the electric field along its own leads; the theorem promises this equals because the electrostatic field is a gradient. Introduce a changing magnetic flux (a transformer core, an induction cooktop) and acquires curl: loop integrals no longer vanish, and two voltmeters spanning the same two points along different lead routes genuinely read different values. This staple demonstration puzzle is not a paradox — it is the boundary of this theorem's jurisdiction, patrolled by Faraday's law.
How does this theorem relate to the other two integral theorems of the chapter?
All three are one pattern — the boundary principle: the integral of a derivative over a region equals the original quantity evaluated on the region's boundary. Here the region is a curve (1D) and its boundary is two points; in Stokes' theorem the region is a surface (2D) and the boundary is its rim; in the divergence theorem the region is a volume (3D) and the boundary is its skin. Each dimension has its own derivative (gradient, curl, divergence) matched to its own region. Mathematics unifies them as the generalized Stokes theorem for differential forms — but the physical instinct "derivatives inside live on the boundary" is already the whole idea.