AP Physics C: E&M · Unit 12 lecture · Part 9 of 10 · 8 min

12.4 Ampère's law: solenoids and cablesSolenoids, cables and the fields worth knowing

Mr. Thompkins
Wind a wire into a long coil and something lovely happens: inside, the field is strong, uniform and points along the axis, like the field between capacitor plates. That's a solenoid, the magnetic workhorse of the next unit.

A long solenoid with n turns per meter, carrying current I, has a uniform field inside along its axis and almost no field outside (the fields of the near and far sides of each turn cancel out there). Take a rectangular Amperian loop with one side of length ℓ inside, along the axis, and the opposite side outside. The two short sides are perpendicular to B inside and sit where B ≈ 0 outside, so only the inside side counts: $B\ell = \mu_0(n\ell)I$. So $B = \mu_0 nI$, the same everywhere inside, whatever the distance from the axis.

$\vec B$ uniformAmpère loop, length ℓoutinoutside: B ≈ 0
A long solenoid cut along its axis: currents out of the page on top, into the page on the bottom. The rectangle's lower side runs inside, where B is uniform; its upper side is outside, where B ≈ 0. It encloses n ℓ turns.
?Wait, what's the difference between N and n?
N is the total number of turns. n is turns per unit length, $n = \frac{N}{\ell}$, in turns per meter. The solenoid formula uses n. A quick unit check: $\mu_0 nI$ has units (T·m/A)(1/m)(A) = T.
Pause and think
Two solenoids have the same current and the same number of turns per meter, but one is twice as wide. Compare the fields inside.
I thought about it. Show me
They're equal. $B = \mu_0 nI$ has no radius in it. A wider solenoid has more area, which matters for flux in Unit 13, but not a stronger field.
An electron inside a solenoid
A solenoid 0.30 m long has 600 turns and carries 2.5 A. (a) Find the field inside. (b) An electron moves inside at $2.0 \times 10^6$ m/s, perpendicular to the axis. Find the radius of its circle. (c) If the electron instead moved along the axis, what would happen?
  1. (a) $n = \frac{600}{0.30} = 2000\ \text{m}^{-1}$. $B = \mu_0 nI = (4\pi \times 10^{-7})(2000)(2.5) = 6.3 \times 10^{-3}$ T.
  2. (b) $r = \frac{mv}{eB} = \frac{(9.11 \times 10^{-31})(2.0 \times 10^6)}{(1.6 \times 10^{-19})(6.28 \times 10^{-3})} = 1.8 \times 10^{-3}$ m, about 1.8 mm.
    Why?
    Units 12.2 and 12.4 together: one law gives the field, another gives the motion. Exam questions love that combination.
  3. (c) Moving along the axis means moving parallel to B, so the magnetic force is zero. It goes straight at constant speed.

Answer: (a) $6.3 \times 10^{-3}$ T (b) about 1.8 mm (c) no force: straight line, constant speed.

Stuck? Get a hint
  1. n = N divided by length, in turns per meter.
  2. B = μ₀nI, then r = mv/(eB).
  3. Parallel to B: sin θ = 0.

Coaxial cables and other symmetric currents

A coaxial cable has a central wire carrying I one way and an outer cylindrical shell carrying I back. A circle outside both encloses $I - I = 0$, and by symmetry B is the same all the way around, so $B(2\pi r) = 0$ and B = 0 outside. That's why coax doesn't leak field into its surroundings. Between the wire and the shell, only the center wire is enclosed: $B = \frac{\mu_0 I}{2\pi r}$. Inside a hollow pipe whose wall carries a current, a circle in the hollow encloses nothing, so B = 0 there.

?Wait, why can we say B is the same all around the circle?
Because the setup looks identical from every point on the circle: rotate the cable around its axis and nothing changes. So B can depend only on r, not on the angle, and it must circle the axis. That symmetry is what makes $\oint \vec B \cdot d\vec\ell = B(2\pi r)$ legal.
CurrentFieldFound withDirection
Long straight wire$\frac{\mu_0 I}{2\pi r}$Biot-Savart or AmpèreCircles the wire (right-hand grip)
Center of a loop, radius R$\frac{\mu_0 I}{2R}$Biot-SavartAlong the axis
Center of an arc of angle φ$\frac{\mu_0 I\varphi}{4\pi R}$Biot-SavartPerpendicular to the arc's plane
Inside a thick wire, uniform J$\frac{\mu_0 Ir}{2\pi R^2}$AmpèreCircles the axis
Inside a long solenoid$\mu_0 nI$AmpèreAlong the axis, uniform
Outside a coaxial cable0AmpèreNet enclosed current is zero
Fields worth knowing, and the law that finds each. Biot-Savart works for any shape; Ampère needs symmetry.

Beyond the course, as a bonus: a toroid (a solenoid bent into a doughnut of N turns) has, on a circle of radius r inside its core, $B(2\pi r) = \mu_0 NI$, so $B = \frac{\mu_0 NI}{2\pi r}$, and zero outside.

Check yourself
A coaxial cable carries 3.0 A along its center wire and 3.0 A back along its outer shell. What is B at a point outside the cable?
  1. AZero
  2. B$\frac{\mu_0(3.0)}{2\pi r}$
  3. C$\frac{\mu_0(6.0)}{2\pi r}$
  4. DIt depends on the shell's radius
Show the answer

A. A circle around the whole cable encloses $3.0 - 3.0 = 0$ A, and by symmetry B is the same everywhere on that circle, so B = 0. Choice B counts only the center wire. Choice C adds the currents instead of letting them cancel.

Exam tip from Mr. T

On an Ampère derivation, write the symmetry argument in words before any math: "By symmetry, B is tangent to circles centered on the axis and has the same size everywhere on a given circle." Then $\oint \vec B \cdot d\vec\ell = B(2\pi r)$. That sentence earns a point on its own.

  • Long solenoid: $B = \mu_0 nI$ inside (uniform, along the axis), B ≈ 0 outside; $n = N/\ell$.
  • Coax: B = 0 outside (net current zero); between, only the center wire counts.
  • Hollow current-carrying pipe: B = 0 in the hollow.
  • Ampère for symmetric shapes, Biot-Savart for everything else.