Sub topic 11
Using Ampere's law: long wire, solenoid and toroid
This chapter assumes you know Ampere's circuital law, ∮ B·dl = μ0 I_enclosed, and the right-hand rule for the field of a current. You should also be comfortable with the field of a straight wire from the Biot-Savart law. Here we use the law as a shortcut for three symmetric cases.
Choosing an Amperian loop
Ampere's law is always true, but it only gives B directly when symmetry lets you pull B out of the integral. Choose a closed loop so that, along each piece of it, B is either constant and parallel to dl, or perpendicular to dl, or zero. Then the line integral reduces to B times a length.
The steps are:
- Use symmetry to decide the direction of B.
- Draw a loop on which B is constant along the parts that are parallel to dl.
- Compute ∮ B·dl.
- Count only the current that passes through the surface bounded by the loop.
- Solve for B.
Long straight wire
The field of a long straight wire is circular around the wire and has the same magnitude at every point at distance r. Take a circular loop of radius r centred on the wire.
B (2πr) = μ0 I, so B = μ0 I / (2πr).
This matches the Biot-Savart result. For a thick wire of radius a carrying uniform current, the field inside (r < a) depends on the enclosed current I r²/a². That gives B = μ0 I r / (2π a²), which grows linearly with r. Outside the wire (r > a), the formula is the same as for a thin wire.
Solenoid
A solenoid is a long coil of closely wound wire with n turns per unit length. For a long solenoid, the field inside is uniform and parallel to the axis. The field outside is close to zero.
Take a rectangular loop with one side of length L inside the solenoid and the opposite side outside. The two sides perpendicular to the axis contribute nothing, and the outside side contributes almost nothing. The loop encloses nL turns, so:
B L = μ0 n L I, giving B = μ0 n I.
At the end of a long solenoid, the field on the axis is about half of this value, B = μ0 n I / 2.
Toroid
A toroid is a solenoid bent into a ring. If it has N turns in total and the loop has radius r, take a circular Amperian loop of radius r inside the ring, along the core.
B (2πr) = μ0 N I, so B = μ0 N I / (2πr).
The field is not uniform across the cross-section, since it depends on r. For a thin ring, use the mean radius. In terms of turns per unit length n = N/(2πr), this is B = μ0 n I. The field is zero in the hollow space inside the ring and outside it, because a loop there encloses either no current or zero net current (each turn crosses the surface twice, in opposite directions).
Numerical check
import math
mu0 = 4 * math.pi * 1e-7 # T m / A
def b_solenoid(n, current):
return mu0 * n * current
def b_toroid(total_turns, current, radius):
return mu0 * total_turns * current / (2 * math.pi * radius)
# 500 turns per metre, 2 A
print(b_solenoid(500, 2)) # about 1.26e-03 T
# 1000 turns, 1.5 A, mean radius 0.2 m
print(b_toroid(1000, 1.5, 0.2)) # about 1.5e-03 TExercises
Exercise
A long solenoid has 20 turns per cm and carries 0.5 A. Find the field inside it. Use μ0 = 4π × 10⁻⁷ T m/A.
Show answer
n = 20 turns/cm = 2000 turns/m. B = μ0 n I = 4π × 10⁻⁷ × 2000 × 0.5 ≈ 1.26 × 10⁻³ T.
Exercise
A toroid has 500 turns and a mean radius of 10 cm, and carries 2 A. What is the field in its core, and what is the field at a point in the hollow centre of the ring?
Show answer
In the core, B = μ0 N I / (2πr) = (4π × 10⁻⁷ × 500 × 2) / (2π × 0.1) = 2 × 10⁻³ T. At the centre of the ring, the Amperian loop encloses no current, so B = 0.