Sub topic 10
Ampere's circuital law
This chapter assumes you know the cross product and right-hand rules, the Biot-Savart law, and the field of a long straight wire, B = μ₀I/(2πr). It also assumes basic integration. Applications to the solenoid and toroid come in the next chapter. Here the aim is to state the law, understand what it says, and see when it is useful.
The statement
Ampere's circuital law relates the magnetic field around a closed path to the current passing through that path:
∮ B · dl = μ₀ I_enc
- The circle on the integral sign means the path is closed. This path is called an Amperian loop. You choose it.
- B · dl is the component of B along each small piece dl of the loop, multiplied by the length of that piece.
- I_enc is the net current that passes through the surface bounded by the loop.
- The sign of a current follows the right-hand rule. Curl your fingers along the direction you traverse the loop. Your thumb then points in the direction of positive current.
Here B is the total field at the loop, produced by all currents, inside or outside. Only currents threading the loop appear on the right side.
Checking the law with a straight wire
Take a circular loop of radius r around a long straight wire, centred on the wire and perpendicular to it. By symmetry, B has the same magnitude everywhere on the loop and points along the loop, so B · dl = B dl.
∮ B · dl = B (2πr) = μ₀ I
So B = μ₀I/(2πr). This matches the Biot-Savart result, which is a consistency check on the law.
import math
mu0 = 4 * math.pi * 1e-7 # T m / A
I = 10.0 # amperes
r = 0.05 # metres
B = mu0 * I / (2 * math.pi * r)
circulation = B * (2 * math.pi * r) # B times the loop length
print(B) # about 4e-05 tesla
print(circulation, mu0 * I) # both about 1.2566e-05 T mWhen the law is practical
The law is always true. It is only useful for finding B when symmetry lets you pull B out of the integral. That needs a loop where B is either constant in magnitude and parallel to dl, or perpendicular to dl, or zero. Typical cases are long straight wires, long solenoids and toroids.
For a configuration with no such symmetry, such as a short wire segment or a single loop off its axis, use Biot-Savart.
Common errors
- Counting outside current. Currents that do not pass through the loop do not enter I_enc. They still contribute to B on the loop. They just cancel in the integral.
- Zero circulation does not mean zero field. If I_enc = 0, then ∮ B · dl = 0. B itself need not vanish at any point of the loop.
- Wrong sign. Two wires with opposite currents through the loop contribute opposite signs. Add them as signed numbers.
- Using the law without symmetry. The equation holds, but you cannot solve it for B.
Worked example
Two long parallel wires carry 6 A upward and 2 A downward. A circular loop encloses both. Find ∮ B · dl for a loop traversed so that upward current is positive.
I_enc = 6 − 2 = 4 A, so ∮ B · dl = μ₀ × 4 = 4π × 10⁻⁷ × 4 ≈ 5.03 × 10⁻⁶ T m.
Exercise
A closed loop encloses a wire carrying 8 A into the page and another wire carrying 3 A out of the page. Neither the loop's shape nor the wires' positions are given. What is ∮ B · dl around the loop, in terms of μ₀?
Show answer
The net enclosed current is 8 − 3 = 5 A, so ∮ B · dl = 5μ₀ (about 6.28 × 10⁻⁶ T m). The sign depends on the direction you traverse the loop, but the magnitude does not depend on the loop's shape or the wire positions.
Exercise
A circular Amperian loop of radius 0.2 m is centred on a long straight wire carrying 5 A. Use Ampere's law to find B on the loop.
Show answer
B (2πr) = μ₀I, so B = μ₀I/(2πr) = (4π × 10⁻⁷ × 5)/(2π × 0.2) = 5 × 10⁻⁶ T.