Visual walkthrough — Ampere's circuital law — magnetostatic form
Step 0 — What we are even trying to explain
Two symbols we will earn, not assume:

The quantity we chase is the circulation The dot between them is the dot product: it keeps only the part of that lies along . We define that next, because it is the one piece of maths this whole page depends on.
Step 1 — WHY a dot product? "How much along the path?"
WHY this tool and not another? We asked "how much does the field push me along my walk?" The word "along" is projection, and projection is what computes. No other operation answers that exact question. That is why the dot product — not the cross product, not plain multiplication — is the right instrument here.

PICTURE: the orange step and the blue field meet at angle ; the green dashed segment is the shadow — the only part that counts.
Step 2 — The one input fact: field of a straight wire
Before we can add anything up, we need to know what actually is near a wire. This comes from the Biot–Savart law (the previous chapter), which we take as given here.
WHY only ? By symmetry the wire looks identical from every angle around it and from every point along it. So cannot depend on which angle or where along the wire — only on how far out, . And it must wrap in circles (right-hand rule: thumb along , fingers curl the way points).

PICTURE: wire pointing out of the page (the dot), field arrows forming concentric circles; inner circles have longer arrows (stronger ), outer circles shorter — the falloff you can see.
Step 3 — Add it up on the friendly loop (a circle)
Because everywhere, and , so each tiny contribution is just :
- came out of the sum because at fixed radius it is the same number at every point (Step 2).
- is just "add up all the tiny lengths around the circle" = the circumference .

PICTURE: the blue circle loop with orange steps, each sitting on top of a blue arrow — perfectly aligned all the way round.
Step 4 — WHY any wiggly loop gives the same answer
Now deform the loop into any shape you like (still enclosing the wire). Describe each step by two independent moves: a radial part (in/out from the wire) and an angular part (around the wire).
- Radial moves contribute : points purely sideways (angular), so it is perpendicular to any in/out step — dot product zero (Step 1, ).
- The sideways part of a step at radius covering angle has length . The here cancels the in again — same secret, general loop.
- = "total angle swept as you go around once."

PICTURE: a lumpy loop; each step split into a green radial piece (killed by the dot product) and an orange sideways arc (all that survives).
Step 5 — The edge case: loop that does NOT enclose the wire

PICTURE: wire outside the loop; on the near arc helps your walk (green, positive), on the far arc it opposes it (red, negative). Their sums cancel: circulation even though anywhere.
Step 6 — Superpose: the law for any bundle of currents
Real setups have many wires. But circulation adds: if from several wires, then Each term is if wire is enclosed, and if not. Adding only the enclosed ones:

PICTURE: three wires; a loop encloses two of them ( and , note the sign from direction) and misses the third. Only the enclosed ones enter ; the outside one is greyed out.
The one-picture summary

Everything on this page compressed: the circular field (), a wiggly loop whose steps split into killed radial pieces and surviving sideways pieces, the -cancellation, and the verdict — if you loop the wire, if you don't.
Recall Feynman retelling — the whole walkthrough in plain words
A wire is a river of current. Around it the magnetism swirls in circles, strong up close and fading with distance exactly like . Now take any loop and walk it, keeping a running tally of how much the swirl pushes you forward. Two things happen. When you step toward or away from the wire, the swirl is sideways to you — no push, nothing added. When you step around, you get a push whose strength () is exactly undone by how far around you had to travel () — so each bit of "around" adds the same amount regardless of how far out you are. Loop the wire once and all those equal bits sum to one full turn's worth: . Fail to loop it, and the pushes on the near side cancel the pushes on the far side, giving zero. Add more wires and just tally each one the same way. That is Ampère's law: the running total counts only the current your loop actually catches, and never cares about the loop's shape.
Recall Quick self-check
Radial steps contribute how much to near a straight wire? ::: Zero — is perpendicular to radial steps, so . Why does the loop's radius drop out for a circular loop? ::: but circumference ; the product has no . A wire outside the loop: circulation and local field? ::: Circulation (angle sweeps net zero), but local .