Historical Context & Motivation
The relationship between electric currents and magnetic fields was one of the great discoveries of the nineteenth century. In 1820, Hans Christian Ørsted noticed that a compass needle deflected when placed near a current-carrying wire, demonstrating that electricity and magnetism were intimately connected rather than independent phenomena. This observation triggered a flurry of theoretical and experimental work across Europe, as natural philosophers sought to quantify the magnetic field produced by arbitrary current distributions.
Among the most consequential contributions was that of André-Marie Ampère, a French mathematician and physicist who, within weeks of hearing about Ørsted's experiment, formulated a precise mathematical framework linking current to the circulation of the magnetic field. His insight would eventually be distilled into what we now call Ampère's law, one of the four Maxwell equations that govern all classical electromagnetism. The power of Ampère's law lies not just in its generality but in the fact that, for configurations possessing sufficient symmetry, it reduces a potentially intractable integral to straightforward algebra — much the way Gauss's law simplifies electric-field calculations for symmetric charge distributions.
The central question this lesson addresses is: given a known current distribution, how do we exploit geometric symmetry to determine the magnetic field everywhere in space using Ampère's law? Understanding the conditions under which symmetry simplifies the problem — and recognizing when it does not — is essential for any serious study of electromagnetism.
Core Principles & Definitions
Ampère's law in its integral form states that the line integral of the magnetic field B around any closed path — called an Amperian loop — equals the permeability of free space μ₀ multiplied by the total current Ienc that threads through the surface bounded by that loop. The law is always true, but it is only useful for computing B when enough symmetry exists to pull B outside the integral. This mirrors the strategy you already know from Gauss's law, where a clever choice of Gaussian surface lets you extract E from the flux integral.
Amperian Loop
Enclosed Current (I_enc)
Symmetry Requirement
Tangential vs. Perpendicular Segments
Visual Explanation — Amperian Loops for Common Geometries
The diagram below shows the three canonical current geometries where Ampère's law is most powerful: an infinite straight wire, an infinite solenoid, and a toroid. In each case the Amperian loop (shown as a dashed contour) is chosen so that on the segments where B is nonzero, the field has constant magnitude and is everywhere tangent to the path. Study each geometry carefully: the choice of loop is the crux of every Ampère's-law problem.
In every panel the key observation is the same: along the dashed Amperian loop, the magnitude of B is constant, and the field is either tangent or perpendicular to each segment. For the infinite wire, the azimuthal symmetry of the current forces B to be purely tangential and uniform around any concentric circle. For the solenoid, translational symmetry along the axis and the cancellation of exterior fields mean only the interior horizontal segment of the rectangular loop contributes. For the toroid, rotational symmetry about the central axis again makes B constant on any concentric circle within the windings.
Mathematical Framework
We begin with the general integral form of Ampère's law and then show how symmetry reduces the left-hand side to a product. The key mathematical step is always the same: argue on physical grounds that |B| is constant along the loop and that B is tangent to dl, so that the dot product collapses to a scalar multiplication.
Case 1 — Infinite Straight Wire
Choose a circular Amperian loop of radius r centered on the wire. By symmetry, B is tangent to the circle and has the same magnitude at every point on it. Therefore B⃗ · dl⃗ = B dl everywhere on the loop, and the integral becomes B × (2πr). Setting this equal to μ₀I yields the result below.
Case 2 — Ideal Solenoid
For an ideal (infinite, tightly wound) solenoid with n turns per unit length carrying current I, choose a rectangular Amperian loop of length l that spans one wall of the solenoid. The exterior field is negligible, and the two perpendicular sides contribute nothing because B ⊥ dl. Only the interior horizontal side of length l contributes Bl. The enclosed current is I times the number of turns inside the loop, which is nl turns, each carrying current I.
Case 3 — Toroid
A toroid is essentially a solenoid bent into a doughnut shape with N total turns. Choose a circular Amperian loop of radius r concentric with the toroid and lying inside the windings. By symmetry, B is tangent and constant on this loop, so the integral gives B × (2πr). The enclosed current is NI.
Choosing the Right Amperian Loop — A Strategy Guide
Selecting the optimal Amperian loop is the single most important skill in applying Ampère's law. A poor choice leads to an integral that cannot be simplified, rendering the law useless for finding B explicitly. The flowchart below summarizes the decision-making process, and the table that follows catalogs the standard geometries alongside their associated loop choices and field results.
| Geometry | Symmetry Type | Amperian Loop | Result for B |
|---|---|---|---|
| Infinite straight wire | Cylindrical | Concentric circle (radius r) | μ₀I / (2πr) |
| Infinite current sheet (surface current K) | Planar | Rectangle straddling the sheet | μ₀K / 2 |
| Ideal solenoid (n turns/m) | Translational + rotational | Rectangle spanning one wall | μ₀nI (inside); 0 (outside) |
| Toroid (N total turns) | Rotational about center | Concentric circle inside windings | μ₀NI / (2πr) |
| Coaxial cable | Cylindrical | Concentric circle at various r | Depends on region (see worked example) |
Worked Example — Coaxial Cable
A long coaxial cable consists of an inner solid conductor of radius a = 2.0 mm carrying current I = 5.0 A uniformly distributed over its cross-section, and a thin outer cylindrical shell of radius b = 5.0 mm carrying current 5.0 A in the opposite direction. Find B at (i) r = 1.0 mm (inside the inner conductor), (ii) r = 3.0 mm (between the conductors), and (iii) r = 7.0 mm (outside the cable).
Ampère's Law vs. the Biot–Savart Law
Students frequently wonder when to use Ampère's law and when to resort to the Biot–Savart law. The answer hinges on symmetry. Ampère's law is elegant and efficient when symmetry permits you to extract B from the integral, but it tells you nothing new when B varies along the loop in a complicated way. The Biot–Savart law, while more labor-intensive, works for arbitrary current distributions — including finite wires, circular loops, and irregular shapes.
| Feature | Ampère's Law | Biot–Savart Law |
|---|---|---|
| Mathematical form | Line integral of B around a closed loop | Volume/line integral of dB contributions |
| Symmetry requirement | Essential — loop must exploit symmetry | None — works for any current distribution |
| Ease of computation | Very easy when symmetry is present | Can be algebraically intensive |
| Gives B direction? | Direction inferred from symmetry arguments | Yes — dB direction comes from cross product |
| Analogy with E-field law | Analogous to Gauss's law for E | Analogous to Coulomb's law |
Connection to Maxwell's Equations and Beyond
The form of Ampère's law presented in this lesson applies only to magnetostatics — situations with steady (time-independent) currents. Maxwell discovered that when electric fields change with time, a term called the displacement current must be added. The generalized Ampère–Maxwell law reads ∮ B⃗ · dl⃗ = μ₀(Ienc + ε₀ dΦE/dt), where the second term accounts for the changing electric flux. This correction was crucial for predicting the existence of electromagnetic waves.
| Aspect | Ampère's Law (Magnetostatics) | Ampère–Maxwell Law (Full) |
|---|---|---|
| Right-hand side | μ₀ I_enc | μ₀ I_enc + μ₀ ε₀ dΦ_E/dt |
| Applicability | Steady currents only | All situations, including time-varying fields |
| Key consequence | Relates B to conduction current | Predicts electromagnetic waves |
| Differential form | ∇ × B⃗ = μ₀ J⃗ | ∇ × B⃗ = μ₀ J⃗ + μ₀ ε₀ ∂E⃗/∂t |
In your later studies of electromagnetic waves and radiation, the displacement current term will prove indispensable. For now, recognize that every symmetry argument and loop-selection strategy you learn here carries over directly to the full Ampère–Maxwell law; only the source term on the right-hand side changes. Mastering the magnetostatic version therefore provides the scaffolding for all of time-dependent electrodynamics.
Practice Problems
Lesson Summary
Ampère's law states that the line integral of B⃗ around any closed Amperian loop equals μ₀ I_enc. The law becomes a powerful computational tool when the current distribution possesses cylindrical, planar, or solenoidal/toroidal symmetry, because these symmetries guarantee that B is constant in magnitude and either tangent or perpendicular to the loop, allowing the integral to collapse into simple algebra.
The three essential results are: B = μ₀I/(2πr) for an infinite wire, B = μ₀nI inside an ideal solenoid, and B = μ₀NI/(2πr) inside a toroid. When symmetry is absent, the Biot–Savart law must be used instead. Looking ahead, Maxwell's addition of the displacement current extends Ampère's law to time-varying fields, ultimately predicting electromagnetic waves — but every symmetry technique you have learned here carries directly into that generalized framework.