AP® Physics C: Electricity and Magnetism · Unit 12 · Topic 12.4
Ampere's Law and Choosing a Loop
Ampere's law says the loop integral of B around any closed path equals mu0 times the current enclosed by that path. Pick a loop that matches the symmetry of the current and B falls out in one line.
Ampere's law reads: the closed loop integral of B dot dl equals mu0 times I_enc, the current piercing the surface bounded by the loop. Walk any closed path through a magnetic field and add up how much B points along your direction of travel at each step. That running total depends only on how much current is stitched through the loop, not on the shape of the loop or how far it sits from the wires. It is the magnetic cousin of Gauss's law: Gauss's law uses a closed surface to catch flux from enclosed charge, Ampere's law uses a closed loop to catch circulation from enclosed current. Neither field has to be uniform in general, but both laws become genuinely useful only when symmetry lets you pull B out of the integral.
Picking the loop is the whole skill. You want a path where B has constant magnitude and stays parallel (or perpendicular, contributing zero) to dl along the entire loop, so the integral collapses to B times the loop length. For a long straight wire, the field circles the wire in loops of constant magnitude, so a circle centered on the wire, lying in the plane perpendicular to it, is the natural choice: B is the same everywhere on that circle and always tangent to it. Then the integral is just B(2 π r), and Ampere's law gives B(2 π r) = mu0 I, so B = mu0 I / (2 π r), done in three lines.
Current outside the loop still creates a nonzero B on the loop, but it contributes zero net circulation: its field lines loop around that outside wire and pass through your loop's boundary in a way that cancels over the full trip. Only current actually piercing the bounded surface counts toward I_enc, which is why choosing the loop also means choosing what you count.
Key terms
- Ampere's law
- The closed loop integral of B dot dl equals mu0 times the current enclosed by the loop.
- Amperian loop
- An imaginary closed path chosen to match the symmetry of the current so B is constant and parallel to it.
- I_enc
- The net current passing through the surface bounded by the Amperian loop.
- mu0
- The permeability of free space, 4 π x 10−7 T m/A, the constant linking current to magnetic field.
- line integral
- A sum of B dot dl taken along every step of a path, used to measure circulation of the field.
Watch it explained
- How it worksHow do you pick an Amperian loop so that B stays constant and parallel the whole way?
- Worked exampleFind the field of a long straight wire in three lines using Ampere's law.
- Common mistakeWhy doesn't a current sitting outside your Amperian loop contribute to the line integral?
- Ties togetherHow is Ampere's law the magnetic twin of Gauss's law for electric fields?
Check yourself
End of topic.