Ampere's circuital law
Adding up the magnetic field of every tiny current element with the Biot-Savart law works, but for a long straight wire or a solenoid it is overkill — the geometry is far too symmetric to need that much bookkeeping. Ampere's circuital law is the shortcut: walk a closed loop around the current and the total field circulation around that loop is fixed by nothing but the current threading through it, . Choose the loop to match the symmetry of the wire, solenoid, or toroid, and the integral collapses to simple algebra. This article states the law, applies it to a straight wire and a long solenoid, and works one full numerical example so you can see the shortcut earn its keep.
Ampere's law says the loop integral of around any closed Amperian loop equals times the current it encloses, so a symmetric loop turns a hard Biot-Savart sum into simple algebra for a straight wire () or a long solenoid ().
The core idea
Ampere's circuital law is a statement about circulation, not about any single point. Walk around a closed path — the Amperian loop — and add up at every step. That sum, the line integral, depends only on the current passing through the surface bounded by the loop, never on the field's exact shape away from the loop:
where: is the magnetic field along the loop, is a tiny step along the loop's direction of travel, is the net current threading through the loop (right-hand-rule sign convention), and is the permeability of free space. The law is always true, but it is only useful for a quick answer when you can pick a loop on which behaves simply — constant magnitude and parallel to everywhere (so the integral is just ), or perpendicular to (contributing nothing), or zero. Three standard geometries make this work.
Straight wire. A circular loop of radius centred on the wire, in a plane perpendicular to it, sees a field of constant magnitude circling tangentially all the way round (right-hand rule: thumb along the current, fingers curl the way points). Symmetry alone tells you this before you write a single equation.
Long solenoid. turns per unit length, current : the field is uniform along the axis inside, and essentially zero outside. A rectangular Amperian loop with one side buried inside the coil and the opposite side far outside gives directly — the ISC syllabus asks you to know and apply this result, not derive it.
Toroid. A solenoid bent into a ring of total turns: at radius from the toroid's centre, with the turns per unit length along that circle. The field is zero outside the toroid and in the hollow space inside its core — again, stated and applied, not derived.
The goal is to reach for an infinitely long straight wire carrying current , starting only from and the symmetry of the geometry, so that the closed-loop integral collapses to a single algebraic step rather than a Biot-Savart sum over the whole wire.
Step 1. Choose the Amperian loop. Take a circle of radius , centred on the wire, lying in a plane perpendicular to the wire. By the cylindrical symmetry of a straight wire, the field at every point of this circle must have the same magnitude and must point tangentially along the circle — there is no reason for to be larger on one side than another, or to tilt out of this plane.
Step 2. Evaluate the integral. Because is tangent to the loop everywhere, at every step, and can be pulled outside the sum since it is constant on the loop: , since is simply the loop's circumference.
Step 3. Apply Ampere's law. The current enclosed by this loop is just , the current in the wire. So .
Step 4. Solve for . Dividing both sides by : . The field falls off as , and its direction circles the wire according to the right-hand rule.
Worked example
A long straight wire carries a current of . Find the magnetic field at a point from the wire, and compare it with the field inside a solenoid of turns and length carrying .
Step 1. Straight wire, apply with , , .
The cancels top and bottom, leaving a clean result: , directed in circles around the wire.
Step 2. Solenoid, find turns per unit length first. .
Step 3. Apply . . Computing , then .
Step 4. Compare. The wire's field, at , is about fifty times weaker than the solenoid's (roughly ) — the solenoid's many close-packed turns reinforce each other along the axis, while a single wire's field is spread thinly around it. The wire gives ; the solenoid gives about , uniform along its axis and essentially zero just outside the windings.
Common traps
- Forgetting that counts only current actually passing through the surface bounded by the loop — currents outside the loop contribute zero to the integral, even though they can still influence locally.
- Believing Ampere's law only applies to a straight wire — it holds for any closed loop and any current distribution, but it is only a fast calculation tool when the geometry has enough symmetry to pull outside the integral.
- Using for a short or non-ideal solenoid, where the field is not actually uniform inside or negligible outside — the formula strictly needs a long solenoid.
- Mixing up (turns per unit length, units ) with (total turns, no units) — always check which one a given formula wants before substituting.
Ask the tutor: Want to see why a rectangular loop through a solenoid makes the outside-field terms vanish, or how Ampere's law connects back to Biot-Savart for a straight wire? Ask the AI tutor to walk through either derivation step by step.
Why do we need Ampere's law if Biot-Savart's law already gives the field from any current?
Biot-Savart's law is always correct, but it requires integrating the contribution of every tiny current element, which can be a genuinely hard integral even for simple shapes. Ampere's law is not a separate physical law from Biot-Savart — it is derivable from it — but for highly symmetric situations like a long straight wire, an ideal solenoid, or a toroid, it lets you skip the integration entirely and get the same answer from one line of algebra. Away from such symmetry, Ampere's law is still true but not easy to use, so Biot-Savart remains the general tool.
Does the shape of the Amperian loop matter, as long as it encloses the same current?
The value of only depends on the enclosed current, so mathematically any loop enclosing the same current gives the same integral. But that does not mean any loop is useful. A loop that does not match the symmetry of the field will still satisfy the equation, yet you will not be able to pull out of the integral or know how it varies along the loop, so you cannot solve for itself. That is why we always choose a loop — circular for a wire, rectangular for a solenoid — where is known to be constant or zero along each segment.
If a wire passes through my Amperian loop at an angle, or the loop is not flat, does the law still work?
Yes — Ampere's law as stated is completely general: is the net current passing through any surface bounded by the loop, and the loop itself can be any closed curve, flat or not. What changes is only how easy the calculation is. For the ISC syllabus you will only ever need the three standard symmetric cases — straight wire, long solenoid, toroid — where a sensibly chosen loop makes the algebra simple; you are not expected to handle tilted wires or non-planar loops.