Skip to content

Physics · Ch 4 — Moving Charges and Magnetism

Magnetic Field of a Straight Solenoid

4.7

Magnetic Field of a Straight Solenoid

The solenoid. A solenoid is a long, cylindrical coil formed by winding an insulated wire

into many closely spaced, essentially circular turns, one after another along the length of a

cylinder. When a current II flows through the wire, each individual turn produces its own

circular-loop-like field (Section 4.5), and, provided the turns are closely and uniformly spaced,

these individual fields overlap and add up to a single, much stronger, and remarkably UNIFORM field

running along the solenoid's own axis -- the practical reason a solenoid, rather than a single loop,

is the standard device used whenever a strong, uniform magnetic field is needed over an extended

region (an electromagnet, an MRI machine, a relay, and, as a further extension, this is essentially

how a straight solenoid becomes a toroid when its two ends are bent around to meet).

Idealisation and assumptions. An exact Biot-Savart calculation for a real, finite solenoid is

considerably more involved than the derivation below suggests. The standard, and very good,

approximation treats the solenoid as effectively INFINITELY long (or, equivalently, considers a

field point deep inside the solenoid, far from either end) and its turns as densely and evenly

wound, so that the winding can be idealised as a smooth surface current rather than a set of

discrete loops. Under this idealisation, two results, both confirmed experimentally to good

accuracy for a real, sufficiently long solenoid, are simply asserted (and then exploited via

Ampere's law): the field INSIDE such a solenoid, away from its ends, is essentially UNIFORM,

directed along the axis; the field OUTSIDE the solenoid, away from its ends, is essentially ZERO.

Applying Ampere's circuital law. Let nn be the number of turns per unit length of the solenoid,

carrying current II. Choose a rectangular Amperian loop PQRSPQRS: one side, PQPQ of length LL, lying

along the solenoid's axis INSIDE the coil (where the field is the uniform BB to be found); the

opposite side, RSRS, lying OUTSIDE the solenoid (where B=0B=0 by the assumption above); and the two

remaining sides, QRQR and SPSP, drawn perpendicular to the axis, one inside and one outside. Along

PQPQ (inside, parallel to B⃗\vec{B}), the contribution to ∮B⃗⋅dl⃗\oint\vec{B}\cdot d\vec{l} is simply

BLB L. Along RSRS (outside, where B=0B=0), the contribution is zero. Along the two perpendicular

sides QRQR and SPSP, the field (wherever it is nonzero, i.e. only over the small portion actually

inside the solenoid) is PERPENDICULAR to dl⃗d\vec{l} there, so B⃗⋅dl⃗=0\vec{B}\cdot d\vec{l}=0 along both of

these sides too. The full loop integral therefore reduces to just the one nonzero side:

∮B⃗⋅dl⃗=BL\oint \vec{B}\cdot d\vec{l} = BL

The current enclosed by this rectangular loop is the current threading through the N=nLN=nL turns that

lie within the length LL of the loop's side PQPQ, i.e. Ienc=(nL)II_{\text{enc}} = (nL)I. Ampere's law then

gives directly

BL=μ0(nL)I⟹B=μ0 n IBL = \mu_0 (nL) I \quad\Longrightarrow\quad B = \mu_0\, n\, I

Reading the result. The field inside a long solenoid depends only on the number of turns PER

UNIT LENGTH, nn, and the current II -- notably, it does NOT depend on the solenoid's own radius, …

Figure 1Magnetic field lines of a long current-carrying solenoid

What this figure shows. A long cylindrical coil (solenoid) is drawn as a tightly and evenly wound helix of wire, seen in cross-section as two parallel rows of small circles along the top and bottom edges of the cylinder -- the row along the near (bottom) side marked with dots inside the circles (current coming OUT of the page) and the row along the far (top) side marked with crosses inside the circles (current going INTO the page), consistent with a single current II flowing around the coil in one consistent sense. Inside the body of the solenoid, several straight, closely and EVENLY spaced horizontal field lines are drawn running parallel to the solenoid's central axis from one end to the other, all pointing the same direction (say left to right), showing the field inside is uniform in magnitude and direction. Outside the solenoid, along its sides, no field lines are drawn (or only very faint, widely spaced ones), showing the field just outside the windings, away from the ends, is essentially zero. At the two open ends of the solenoid, the field lines are shown curving outward and spreading apart in a pattern that visibly resembles the field of a bar magnet, with one end …