Sub topic 9
Field of a Solenoid and a Toroid
This chapter assumes you know Ampère's law, ∮B·dl = μ0 I_enc, and how to pick an amperian loop from symmetry. It also assumes the right-hand rule for the field of a current. Both devices below are coils of wire, and Ampère's law gives their fields in a few lines.
The long solenoid
A solenoid is a wire wound in a tight helix on a cylinder. Let it have n turns per unit length and carry current I.
Inside a long solenoid, far from the ends, the field is uniform and parallel to the axis. Outside, the field is nearly zero. Field lines of the inner field leave one end, spread out through the large space around the solenoid, and return to the other end.
To find B, use a rectangular amperian loop of length L. One long side lies inside the solenoid, parallel to the axis. The opposite side lies outside, where B ≈ 0. The two short sides are perpendicular to the field, so they contribute nothing.
- Line integral: ∮B·dl = B L
- Enclosed current: (nL) I, because the loop encloses nL turns
Setting BL = μ0 n L I gives:
B = μ0 n I
The result does not depend on the solenoid's radius or on where you stand inside it. Direction follows the right-hand rule: curl your fingers along the current in the turns, and your thumb points along B.
At the center of one end of a long solenoid, the field is half the interior value:
B_end = μ0 n I / 2
Here is a numerical check.
import math
MU0 = 4e-7 * math.pi
def solenoid_field(n, I):
return MU0 * n * I
def toroid_field(N, I, r):
return MU0 * N * I / (2 * math.pi * r)
# Solenoid: 1000 turns on 0.50 m, carrying 2 A
n = 1000 / 0.50
print(solenoid_field(n, 2.0)) # about 5.03e-3 T
# Toroid: 500 turns, mean radius 0.10 m, carrying 2 A
print(toroid_field(500, 2.0, 0.10)) # 2.0e-3 TThe toroid
A toroid is a solenoid bent into a ring, so it has no ends. It has N turns in total.
Symmetry says the field lines are circles centered on the ring's axis. Take a circular amperian loop of radius r that lies inside the toroid's core. The field has constant magnitude on this loop, so:
- B (2πr) = μ0 N I
- B = μ0 N I / (2π r)
Unlike the solenoid, this field is not uniform. It is stronger near the inner edge of the core. If the core is thin compared with its mean radius, r is nearly constant, and B ≈ μ0 n I with n = N / (2π r).
Two other loops give the field in the other regions.
- Inside the hole (r smaller than the inner radius): the loop encloses no current, so B = 0.
- Outside the toroid (r larger than the outer radius): each turn passes through the loop twice, once in each direction. The net enclosed current is zero, so B = 0.
Comparison
| Quantity | Long solenoid | Toroid |
|---|---|---|
| Field inside | μ0 n I, uniform | μ0 N I / (2πr), varies with r |
| Field outside | About 0 | Exactly 0 |
| Amperian loop | Rectangle | Circle |
| Ends | Field at an end is half | No ends |
Exercise
A solenoid 40 cm long has 800 turns and carries 3 A. A toroid of mean radius 8 cm has 400 turns. What current in the toroid gives the same field as the solenoid's interior field?
Show answer
Solenoid: n = 800/0.40 = 2000 per metre, so B = μ0 (2000)(3) = μ0 × 6000. Toroid: B = μ0 N I / (2πr) = μ0 (400) I / (2π × 0.08) = μ0 × 796 I. Setting these equal gives I = 6000/796 ≈ 7.5 A.
Exercise
A point lies in the hollow central region of a toroid, not in its core. Why is the field there zero?
Show answer
A circular amperian loop through that point lies inside the ring's hole and encloses no current. By symmetry B is constant around the loop, so B (2πr) = 0 and B = 0.