Loading
Connecting electric currents to the magnetic fields they create — one of the four pillars of classical electromagnetism.
For centuries, magnetism and electricity were thought to be entirely separate phenomena. Lodestones attracted iron, and static electricity could make sparks — but no one imagined one could produce the other. That view began to crumble in the early nineteenth century when a Danish physicist stumbled upon a profound connection during a lecture demonstration, setting off a chain of discoveries that would culminate in one of the most elegant laws in all of physics.
The question that Ampère's law addresses is deceptively simple: Given an electric current, what is the magnetic field it produces? While the Biot-Savart law can always answer this question (by integrating contributions from every infinitesimal current element), Ampère's law provides a far more powerful shortcut whenever the geometry of the problem exhibits sufficient symmetry.
Ampère's law belongs to the family of integral laws in electromagnetism. Rather than computing the field at a single point from scratch, it relates the circulation of the magnetic field around a closed path to the current enclosed by that path. To understand it fully, we need to establish several foundational ideas.
The simplest and most iconic application of Ampère's law is the magnetic field surrounding an infinitely long, straight current-carrying wire. The field lines form concentric circles centered on the wire, and their direction is given by the right-hand rule: point your right thumb in the direction of conventional current, and your fingers curl in the direction of B.
In this diagram, the wire carries current I directed out of the page (indicated by the dot). The magnetic field B points tangent to each circular field line and its magnitude decreases with distance from the wire. The Amperian loop is chosen as a circle of radius r concentric with the wire. Because of the cylindrical symmetry, B has the same magnitude everywhere on this loop and is always parallel to dℓ, making the line integral trivially equal to B × 2πr.
Ampère's law is expressed as a closed line integral. In its integral form for magnetostatics (steady currents, no time-varying electric fields), the law states:
Here, ∮ B · dℓ is the circulation of the magnetic field along the closed path. The quantity Ienc is the algebraic sum of all currents piercing the surface bounded by the loop, with sign determined by the right-hand rule: if you curl the fingers of your right hand along the direction of path integration, currents in the direction of your thumb count as positive.
When we apply this to the infinite straight wire with a circular Amperian loop of radius r, symmetry tells us that B is tangential and constant on the loop:
This 1/r dependence is a hallmark of infinite line symmetry. Notice how Ampère's law yielded the result in one line — the Biot-Savart integral for the same problem requires integrating over an infinite wire and evaluating a non-trivial integral.
When the current is distributed over a volume rather than concentrated in a wire, we replace Ienc with a surface integral of the current density J:
In differential form — obtained via Stokes' theorem — Ampère's law becomes a local relationship between the curl of B and the current density at each point in space:
The differential form tells us something physically profound: magnetic field lines "curl" around regions where current flows. Where there is no current (J = 0), the curl of B vanishes — meaning that in current-free regions the magnetic field is irrotational, though not zero.
The true power of Ampère's law emerges when the current distribution has enough symmetry that B can be factored out of the line integral. Three canonical geometries dominate introductory physics: the long straight wire (already discussed), the solenoid, and the toroid. A fourth important case is the thick cylindrical conductor.
For an ideal, tightly wound solenoid with n turns per unit length carrying current I, we choose a rectangular Amperian loop with one side of length L inside the solenoid (parallel to the axis) and the opposite side outside. The field inside is uniform and along the axis; outside, it is approximately zero. The two short sides contribute nothing because B is perpendicular to them. Thus:
This result is remarkable: the field inside a solenoid is perfectly uniform (in the ideal infinite-length limit) and does not depend on the radius of the solenoid. This is why solenoids are used in laboratory electromagnets, MRI machines, and particle accelerators where uniform fields are essential.
| Geometry | Amperian Loop | Result |
|---|---|---|
| Infinite straight wire | Circle of radius r concentric with wire | B = μ₀I / (2πr) |
| Ideal solenoid (inside) | Rectangle with one side inside, one outside | B = μ₀nI |
| Ideal solenoid (outside) | Rectangle entirely outside | B = 0 |
| Toroid (inside) | Circle of radius r within the torus | B = μ₀NI / (2πr) |
| Thick wire (r < R) | Circle of radius r inside the conductor | B = μ₀Ir / (2πR²) |
A coaxial cable consists of an inner solid conductor of radius a = 2.0 mm carrying current I = 5.0 A, surrounded by a thin outer cylindrical shell of radius b = 6.0 mm carrying current 5.0 A in the opposite direction. Find the magnetic field at (i) r = 1.0 mm (inside the inner conductor), (ii) r = 4.0 mm (between the conductors), and (iii) r = 8.0 mm (outside both).
I_enc = I × (r/a)² = 5.0 × (1.0/2.0)² = 1.25 A → B × 2π(0.001) = (4π × 10⁻⁷)(1.25) → B = 2.5 × 10⁻⁴ T = 0.25 mTI_enc = 5.0 A → B = μ₀I / (2πr) = (4π × 10⁻⁷ × 5.0) / (2π × 0.004) → B = 2.5 × 10⁻⁴ T = 0.25 mTI_enc = +5.0 A + (−5.0 A) = 0 A → B = 0Ampère's law is extraordinarily powerful, but only under the right conditions. Understanding when it works — and when it doesn't — is essential to applying it correctly.
| Aspect | Ampère's Law | Biot-Savart Law |
|---|---|---|
| What it gives | Magnetic field via a closed line integral | Magnetic field from infinitesimal current elements, integrated over the source |
| Requires symmetry? | Yes — cylindrical, planar, or toroidal symmetry needed for practical use | No — works for any current distribution, though integrals may be complex |
| Ease of use | Elegant one-step calculation when symmetry exists | Often requires difficult vector integration |
| General validity | Always true as a statement (integral form), but only useful as a calculator with symmetry | Always applicable for any steady-current configuration |
| Time-varying fields | Needs Maxwell's correction (displacement current) for changing E fields | Only valid for magnetostatics (steady currents) |
The primary limitation of Ampère's original law is that it fails for time-varying electric fields. Consider charging a capacitor: current flows through the wire, but between the capacitor plates there is no conduction current — only a changing electric field. Ampère's law in its original form gives contradictory results depending on which surface you choose for the same Amperian loop. Maxwell resolved this by adding the displacement current term, making the law universally valid.
Ampère's law as stated in Section 4 is incomplete. In 1865, James Clerk Maxwell realized that a time-varying electric field produces the same magnetic effects as a real current. He introduced the concept of displacement current, defined as ε₀ times the rate of change of the electric flux through a surface. The corrected version, known as the Ampère-Maxwell law, is one of the four Maxwell's equations:
| Feature | Original Ampère's Law | Ampère-Maxwell Law |
|---|---|---|
| Regime | Magnetostatics only (steady currents) | All of classical electrodynamics |
| Source of B curl | Conduction current J only | Conduction current J + displacement current ε₀ ∂E/∂t |
| Predicts EM waves? | No | Yes — the displacement current term is what makes electromagnetic wave propagation possible |
| Capacitor paradox | Gives inconsistent results | Resolves the paradox completely |
The displacement current was Maxwell's masterstroke. By adding this term, the equations of electromagnetism became self-consistent and predicted the existence of electromagnetic waves traveling at speed c = 1/√(μ₀ε₀) — a value that matched the measured speed of light. This led Maxwell to the profound conclusion that light itself is an electromagnetic wave, unifying optics with electromagnetism in one of the greatest intellectual achievements in the history of science.
Ampère's law states that the closed line integral of the magnetic field B around any loop equals μ₀ times the net current enclosed by that loop: ∮B · dℓ = μ₀Ienc. Born from Ørsted's 1820 discovery that currents deflect compass needles, the law was formalized by André-Marie Ampère and became one of the four cornerstones of classical electromagnetism. It is most powerful when applied to highly symmetric configurations — the infinite straight wire (yielding B = μ₀I/2πr), the ideal solenoid (yielding B = μ₀nI), and the toroid (yielding B = μ₀NI/2πr).
The law's limitation — its failure for time-varying electric fields — was resolved by Maxwell's displacement current correction, transforming it into the Ampère-Maxwell law: ∮B · dℓ = μ₀Ienc + μ₀ε₀(dΦE/dt). This corrected form predicted electromagnetic waves and unified electricity, magnetism, and light into a single theoretical framework. While the Biot-Savart law remains the tool of choice for asymmetric configurations, Ampère's law provides elegant shortcuts wherever symmetry exists — a testament to the deep connection between geometry and the laws of nature.
Keep learning with more lessons from the same subject.