6m left·0%
Reading Time: 6 min
Last Updated: March 27, 2026
Main Ideas: 5
Reading Time: 6 min
Last Updated: March 27, 2026
Main Ideas: 5

Topic 12.4 Notes – Ampère’s Law

Verified for 2027 AP® Physics C: Electricity and Magnetism Exam
Read aloud
Ampère’s law connects electric current to the magnetic field it produces. Instead of calculating the field from tiny charge elements like in Biot-Savart, Ampère’s law uses symmetry and a closed loop to relate the “circulation” of B to the current passing through that loop. On the AP exam, it’s all about choosing the right geometry.

1. What Ampère’s Law Says

Integral form

∮B⃗⋅dℓ⃗=μ0Ienc \oint \vec{B} \cdot d\vec{\ell} = \mu_0 I_{\text{enc}}

  • The left side is a line integral around a closed loop (an Amperian loop).
  • IencI_{\text{enc}} is the net current passing through the surface bounded by that loop.
  • μ0=4π×10−7 T⋅m/A\mu_0 = 4\pi \times 10^{-7} \text{ T}\cdot\text{m/A}.

Only current that actually pierces the loop counts. Current outside the loop does not contribute.

Physical meaning

  • A moving charge (current) creates a magnetic field.
  • That field forms circles around the current.
  • Ampère’s law says the total “circulation” of B around a closed path is proportional to the enclosed current.

For a long straight wire, the magnetic field forms concentric circles around the wire, as shown below.

Study guide illustration

Magnetic field around a long straight current-carrying wire

Use the right-hand rule to determine the direction. Point your thumb in the direction of the current, and your fingers curl in the direction of B. On one side of the wire the field points out of the page, and on the other side it points into the page.

When this works on the AP exam

You only use it quantitatively when symmetry makes life easy:

  • Long straight wire
  • Very long solenoid
  • Cylindrical conductor or slab with uniform current density

If symmetry doesn’t let you treat B as constant along part of the loop, the integral won’t simplify.

2. Choosing and Using an Amperian Loop

An Amperian loop is just an imaginary closed path you invent to evaluate the integral.

The whole trick is choosing it to match the symmetry of the situation.

How you apply it

  1. Identify symmetry (cylindrical for wires, rectangular for solenoids).
  2. Choose a loop where B has constant magnitude along part of the path.
  3. Check dot products:
    • B parallel to dℓ⃗d\vec{\ell} → contributes.
    • B perpendicular to dℓ⃗d\vec{\ell} → zero.
  4. Compute IencI_{\text{enc}}.
  5. Solve for BB.

In good cases, the integral becomes:

B(path length)=μ0Ienc B(\text{path length}) = \mu_0 I_{\text{enc}}

That simplification is the entire goal.

3. Magnetic Fields from Symmetric Current Distributions

Long straight wire

Use a circular loop of radius rr.

B(2πr)=μ0I B(2\pi r) = \mu_0 I

B=μ0I2πr B = \frac{\mu_0 I}{2\pi r}

  • Field decreases as 1/r1/r.
  • Same result you got earlier from Biot-Savart.
  • Direction from right-hand rule.

If two wires carry opposite currents, expect cancellation somewhere. That’s a common MC question twist.

Long solenoid

Assume it’s very long.

  • Uniform field inside.
  • Negligible field outside.

Use a rectangular Amperian loop that runs partly inside the solenoid and partly outside.

Bℓ=μ0(nℓI) B\ell = \mu_0 (n\ell I)

B=μ0nI B = \mu_0 n I

  • nn is turns per unit length.
  • Field is parallel to the axis.
  • Independent of radius (inside).
Study guide illustration

Amperian loop for a long solenoid

Only the segment inside the solenoid contributes to the integral because B⃗ \vec{B} is parallel to dℓ⃗d\vec{\ell} there and negligible outside.

If they don’t say “very long,” still assume it unless clearly stated otherwise.

Solid cylindrical conductor (uniform current density)

Let total current II, radius RR.

Outside r>Rr > R

B=μ0I2πr B = \frac{\mu_0 I}{2\pi r}

Same as a wire.

Inside r<Rr < R

Current density:

J=IπR2 J = \frac{I}{\pi R^2}

Enclosed current:

Ienc=Ir2R2 I_{\text{enc}} = I \frac{r^2}{R^2}

Plug into Ampère’s law:

B=μ0Ir2πR2 B = \frac{\mu_0 I r}{2\pi R^2}

Inside, B increases linearly with r. Outside, it falls as 1/r1/r.

Students often forget that inside behavior is linear. That shows up in graph interpretation questions.

4. Superposition of Magnetic Fields

Magnetic fields add as vectors:

B⃗net=B⃗1+B⃗2+B⃗3 \vec{B}_{\text{net}} = \vec{B}_1 + \vec{B}_2 + \vec{B}_3

Typical setup:

  • Find each field separately.
  • Use right-hand rule for direction.
  • Add carefully.

If two wires carry equal currents in opposite directions, there will be points where the fields cancel exactly. The direction logic matters more than the algebra.

5. Ampère’s Law in Maxwell’s Equations

Original form:

∮B⃗⋅dℓ⃗=μ0I \oint \vec{B} \cdot d\vec{\ell} = \mu_0 I

Maxwell corrected it:

∮B⃗⋅dℓ⃗=μ0I+μ0ε0dΦEdt \oint \vec{B} \cdot d\vec{\ell} = \mu_0 I + \mu_0 \varepsilon_0 \frac{d\Phi_E}{dt}

A changing electric field also produces a magnetic field.

You are not expected to calculate with the displacement current term on the AP exam. You just need to know the idea: changing EE creates BB, which leads to electromagnetic waves.

Key Takeaways

Ampère’s law relates magnetic field circulation to enclosed current via ∮B⃗⋅dℓ⃗=μ0Ienc\oint \vec{B}\cdot d\vec{\ell} = \mu_0 I_{\text{enc}}.
The law only simplifies when symmetry makes BB constant along part of your loop.
For a long wire, B=μ0I2πrB = \frac{\mu_0 I}{2\pi r}.
For a long solenoid, B=μ0nIB = \mu_0 n I inside and approximately zero outside.
Inside a solid wire, BB grows linearly with rr, then switches to 1/r1/r behavior outside.
Superposition requires careful right-hand rule reasoning, especially when currents run in opposite directions.
A changing electric field creates a magnetic field, even without conduction current.

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse this website.

Notes

1 credit used · 5/5 remaining