01 / 21

Ampère's Law

Connecting magnetic fields to the currents that create them: the closed-loop integral that unlocks symmetric \(\vec{B}\) calculations.

AP Physics C: E&M

Currents Create Magnetic Fields

Every moving charge produces a magnetic field \(\vec{B}\) in the space around it. When billions of charges flow together as a steady current \(I\), the resulting field forms closed loops around the conductor.

I \(\vec{B}\) loops Current-carrying wire

The Line Integral Idea

Ampère's Law relates the line integral of \(\vec{B}\) around a closed loop (called an Amperian loop) to the current threading through that loop.

\(\oint \vec{B}\cdot d\vec{\ell}\)
Sum the component of \(\vec{B}\) along every tiny step \(d\vec{\ell}\) around a closed path.
\(I_{\text{enc}}\)
The total (net) current that passes through the surface bounded by the loop.

Why Ampère's Law Matters

The Biot-Savart law can find \(\vec{B}\) for any current, but it requires a difficult integral. Ampère's Law gives us a shortcut whenever the geometry has high symmetry.

Infinite Wire
Cylindrical symmetry: \(\vec{B}\) is constant on circular loops.
Solenoid
Translational symmetry: uniform \(\vec{B}\) inside, zero outside.
Toroid
Rotational symmetry: \(\vec{B}\) confined inside the doughnut.

The Formal Statement

1
\(\vec{B}\) is the magnetic field at each point on the closed path.
2
\(d\vec{\ell}\) is an infinitesimal displacement vector along the path in the chosen direction.
3
\(\mu_0 = 4\pi\times10^{-7}\;\text{T}\cdot\text{m/A}\) is the permeability of free space.
4
\(I_{\text{enc}}\) is the net current enclosed, with sign set by the right-hand rule relative to the loop direction.

Amperian Loop Around a Wire

. I (out) r \(\vec{B}\) \(d\vec{\ell}\) Amperian loop (radius r) \(\vec{B}\) is tangent and constant on the circle

Ampère's Law vs. Biot-Savart

Ampère's Law Biot-Savart Law
Equation \(\oint \vec{B}\cdot d\vec{\ell}=\mu_0 I_{\text{enc}}\) \(d\vec{B}=\frac{\mu_0}{4\pi}\frac{I\,d\vec{\ell}\times\hat{r}}{r^2}\)
Best when High symmetry Any geometry
Difficulty Simple algebra Vector integral
Analogy (E&M) Gauss's Law Coulomb's Law

How to Apply Ampère's Law

1
Identify the symmetry. Is the geometry cylindrical (wire), solenoidal (coil), or toroidal (doughnut)?
2
Choose an Amperian loop where \(\vec{B}\) is either parallel to \(d\vec{\ell}\) (and constant) or perpendicular to it (contributing zero).
3
Evaluate the left side. Pull \(B\) out of the integral: \(\oint \vec{B}\cdot d\vec{\ell} = B \cdot (\text{path length})\).
4
Find \(I_{\text{enc}}\) using the right-hand rule for sign. Set equal to \(\mu_0 I_{\text{enc}}\).
5
Solve for \(B\). The algebra is usually one or two steps.

Example 1: Infinite Straight Wire

Find \(\vec{B}\) at distance \(r\) from a long straight wire carrying current \(I\).

1
Symmetry: cylindrical. \(\vec{B}\) is tangent to circles centred on the wire.
2
Amperian loop: circle of radius \(r\).
3
Left side: \(\oint \vec{B}\cdot d\vec{\ell} = B(2\pi r)\).
4
Right side: \(\mu_0 I_{\text{enc}} = \mu_0 I\).

Example 2: Inside a Thick Wire

A solid cylindrical conductor of radius \(R\) carries current \(I\) uniformly. Find \(B\) at \(r < R\).

R r Amperian loop at \(r < R\) Only the fraction of current inside r contributes

Example 3: Ideal Solenoid

A solenoid with \(n\) turns per unit length carries current \(I\). Find \(\vec{B}\) inside.

L \(\vec{B}\) Amperian loop \(\vec{B}\) uniform inside, negligible outside

Example 4: The Toroid

A toroid with \(N\) total turns carries current \(I\). Find \(B\) inside at radius \(r\) from the centre.

r All N turns pass through the Amperian circle

\(B(r)\) for a Thick Wire

Combining the inside and outside results: \(B\) grows linearly for \(r < R\), then falls as \(1/r\) for \(r > R\).

r B R \(B_{\max}\) \(B \propto r\) \(B \propto 1/r\) 0

Sign Convention: the Right-Hand Rule

The sign of \(I_{\text{enc}}\) depends on how the current relates to the loop's circulation direction.

Positive
Curl the right hand's fingers in the direction you traverse the loop. If the current goes with your thumb, it is positive.
Negative
If the current opposes your thumb direction, it counts as negative in \(I_{\text{enc}}\).

Common Mistakes

✕ Wrong Symmetry
Applying Ampère's Law to geometries without sufficient symmetry (e.g., a short wire segment). The integral cannot simplify.
✕ Forgetting \(I_{\text{enc}}\)
Using the total current in the wire instead of the fraction enclosed by the Amperian loop (especially inside a thick conductor).
✕ Sign Errors
Ignoring the right-hand rule and treating all currents as positive. This matters when multiple currents pass through the loop in opposite directions.

Summary: Key Results

Geometry Field \(B\) Direction
Long wire (outside) \(\dfrac{\mu_0 I}{2\pi r}\) Tangential circles
Long wire (inside, \(r \(\dfrac{\mu_0 I r}{2\pi R^2}\) Tangential circles
Solenoid (inside) \(\mu_0 n I\) Along axis
Toroid (inside) \(\dfrac{\mu_0 N I}{2\pi r}\) Tangential circles

Question 1 of 5

The magnetic field at distance \(r\) from a long straight wire carrying current \(I\) is given by:

Question 2 of 5

Inside an ideal solenoid with \(n\) turns per metre and current \(I\), the magnetic field:

Question 3 of 5

A solid cylindrical conductor of radius \(R\) carries current \(I\). At \(r = R/2\) (inside the wire), the enclosed current is:

Question 4 of 5

An Amperian loop encloses two wires: one carrying \(3\,\text{A}\) out of the page and another carrying \(5\,\text{A}\) into the page. If the loop is traversed counterclockwise, \(I_{\text{enc}}\) is:

Question 5 of 5

Ampère's Law is most analogous to which law in electrostatics?