Visual walkthrough — Conservative vector fields — potential functions
This page is the picture-by-picture derivation of the boxed result on the parent note, Conservative vector fields — potential functions:
We will earn every piece of that formula.
Step 1 — What is a vector field? (an arrow at every point)
WHAT: We picture the plane as a field of grass, and at each blade we glue a little arrow.
WHY: Everything else — force, work, potential — is read off these arrows. We must see them first.
PICTURE: In the figure, the black arrows are . Look at one red arrow: its horizontal shadow is , its vertical shadow is . That is all and mean — the two shadows of one arrow.

Step 2 — The hidden hill: a scalar function
WHAT: Instead of an arrow at each point, puts a height at each point.
WHY: A conservative field is one that came from such a hill. Before we can say "the arrows point downhill", we need the hill drawn.
PICTURE: The nested red loops are contour lines of — each loop is one fixed altitude. Where loops crowd together, the hill is steep; where they spread out, it is flat.

Step 3 — The gradient : the steepest-uphill arrow
WHAT: We build a new arrow at each point from the two directional slopes of the hill.
WHY use two partial slopes and not one? In one dimension a hill has a single slope. In two dimensions the steepness depends on which way you face, so we need two numbers — the rise going east and the rise going north — and stacking them into a vector gives the single steepest-uphill direction. This is exactly the tool Gradient and directional derivative provides.
PICTURE: At the marked point the red gradient arrow points straight uphill, perpendicular to the contour line it sits on. A conservative field means the black field arrows are these red gradient arrows.

Step 4 — Work along a path: the line integral
WHAT: At each instant we take the dot product of the field arrow with the velocity arrow, then add up all these instants.
WHY the dot product? The dot product measures how much of points along . Work counts only the part of the force that pushes along your motion — a sideways force does no work. The dot product is the exact tool that keeps the along-part and discards the sideways-part. (More in Line integrals of vector fields.)
PICTURE: Along the curve, at each dot the red velocity arrow and the black field arrow meet at an angle; the dot product harvests only their aligned overlap.

Step 5 — The one magic move: the chain rule turns the integrand into a pure derivative
Now substitute into the work integral:
Look term by term at the integrand:
WHAT: We claim this sum is exactly the time-rate-of-change of the height as we ride along the curve:
WHY is this true? This is the multivariable chain rule. In a tiny time step the dot moves right by and up by . Each bit of sideways motion changes the height by (slope in that direction) × (distance): the east part contributes , the north part contributes . Add them — that is the total height change . Divide by and you have the formula. So the integrand is the derivative of altitude-along-the-curve.
PICTURE: Two small right-triangle steps stacked: a horizontal nudge climbing , and a vertical nudge climbing . Their heights add up to one climb (red).

Step 6 — Add up the height changes: telescoping to the endpoints
Because the integrand is a perfect derivative, the Fundamental Theorem of Calculus applies. It says: adding up all the tiny changes of a quantity gives its net change from start to finish.
WHAT: All the little climbs collapse ("telescope") into just final height minus starting height.
WHY: Every intermediate height is added once and subtracted once by the next step, so the whole middle cancels — only the two endpoints survive. This is why the wiggly path is irrelevant.
PICTURE: A staircase of small red rises; when you sum them, every internal step cancels and only the total vertical gap between and remains.

Step 7 — Two paths, same answer (path-independence made visible)
WHAT: Take two totally different curves and from the same to the same . Step 6 says both integrals equal , so they are equal to each other.
WHY it matters: This is the physical meaning of "conservative" — you cannot get a different amount of work by choosing a cleverer route.
PICTURE: A short straight red path and a long looping black path share endpoints . Both climb the same net height, so both do the same work.

Step 8 — The closed loop: net work is exactly zero (degenerate case )
WHAT: Now let the path return to where it started, so . Then
WHY this is the crucial edge case: A closed loop is the "free-energy" test. If you could gain energy by circling forever, the field would not be conservative. The formula forbids it: end height = start height ⟹ net work . This is Conservation of energy in physics in one line, and it links to Green's theorem and Curl of a vector field as the "no swirl inside" condition.
PICTURE: A closed red loop lying across the contour lines: it crosses each contour going up exactly as often as coming down, so the heights cancel to zero. Beside it, a loop around a hole where they do not cancel.

The one-picture summary
Everything above is a single sentence with a single picture: the field arrows are downhill arrows of a hill, so work = height climbed = end height − start height.

Recall Feynman retelling — the whole walkthrough in plain words
Picture a hilly park where, at every spot, an arrow shows which way a ball rolls: straight downhill. That arrow-map is our field , and the hill's height-map is . Now walk any wiggly path from a bench to the swings. In each tiny step, the "push you get from the slope" times the distance you moved is exactly how much your altitude changed — that's the chain rule, and it's the one clever move. Since every step's work is just a little height-change, adding them all up gives only the total height change: swings height minus bench height. The zig-zags in the middle all cancel. So it doesn't matter which path you take, only where you start and stop. And if you walk a loop back to the bench, you end at the same height you began — total work is zero. You can never milk free energy by circling. The one warning: this needs a proper single hill with no holes underneath; if the ground has a puncture (like a whirlpool's center), the "height" can climb per lap and the trick breaks.
Recall Quick self-test
Why does path shape not matter for a conservative field? ::: Work equals , which uses only the endpoints. Which single theorem converts into ? ::: The multivariable chain rule. What does the dot product in the work integral throw away? ::: The part of the force perpendicular to the motion (only the aligned part does work). Why is a closed-loop integral zero? ::: Start and end heights are equal, so . When can the loop integral fail to be zero despite locally? ::: When the domain has a hole (not simply connected), so no single-valued hill exists.