Ampère’s law is the magnetic analog of Gauss’s law: the line integral of the magnetic field intensity around a closed loop equals the total free current enclosed by the loop:
with the corresponding differential form
The two forms are equivalent via Stokes’ theorem: integrate over a surface bounded by , and the surface integral of curl becomes the line integral around the boundary.
The “free” qualifier on the current matters: is sourced only by free conduction currents, not by bound magnetization currents. In ferromagnetic materials this distinction is essential; in non-magnetic media (most of Electromagnetics) all current is “free” and the distinction is moot.
When Ampère beats Biot-Savart
When the current distribution has high symmetry, you can guess the shape of and pull its magnitude outside the line integral. The recipe:
- Identify the symmetry — typically axial (long wires), planar (current sheets), or solenoidal (long coils).
- Choose an Amperian loop matched to the symmetry: one on which is constant and is parallel to everywhere on the loop.
- The line integral collapses to , with the loop length.
- Set equal to enclosed current. Solve for .
Worked example: infinite straight wire
Wire on the -axis carrying current . By axial symmetry — magnitude depends only on radial distance, direction is azimuthal.
Amperian loop: circle of radius in a plane perpendicular to the wire. On this loop (since ):
Therefore
Field circles the wire, falling as .
Worked example: long wire with uniformly distributed current
Same wire but now of finite radius with current uniformly distributed over its cross-section. The current density is for and 0 for .
Outside (): Amperian loop encloses the full current . Same result as the infinite-thin-wire case: .
Inside (): Amperian loop of radius encloses only the fraction of current passing through its interior. The enclosed area is and the current density is uniform, so . Then
Linear growth from 0 at the center to at the surface (), then decay outside. The two regions are continuous at : both formulas give at the boundary.
Combined:
The plot of vs has two regimes: a straight-line rise from origin to , then a hyperbolic decay for . The peak value of is achieved exactly at the conductor surface.
Physical interpretation. Inside the wire, only the current “below” radius contributes; the outer shell of current cancels out by symmetry (analog of Gauss’s-law shell theorem for spherical mass distributions). At the surface, all the current is enclosed and the field reaches its maximum. Outside, the field drops as if all the current were concentrated on the axis — far away, a thick wire and a thin wire produce the same field.
This radial profile matters for proximity effect and internal inductance at high frequency, where current redistributes toward the conductor surface (skin effect) and the field pattern reshapes accordingly.
Worked example: long solenoid
A tightly wound solenoid of length with turns, current . Use an Amperian loop that’s a rectangle with two sides parallel to the solenoid axis: one inside, one far outside (where ). Sides perpendicular to the axis contribute nothing (their is perpendicular to ).
The inside-side contribution is . Enclosed current is the number of turns inside the loop times , equal to :
Uniform inside, zero outside. This is the textbook recipe for a uniform magnetic field.
In the time-varying case
In dynamic problems, Ampère’s law needs the Displacement current term:
The term is essential for closing the loop in problems like a capacitor being charged — without it, current conservation breaks at the capacitor gap. The corresponding integral form:
This extension was Maxwell’s crucial contribution — completing the symmetry between Faraday’s law and Ampère’s, and predicting electromagnetic waves.