---
title: Fields of loops and coils
heading: The Biot–Savart law at work, and Helmholtz coils
eyebrow: B5 · Lesson 5 · Fields of loops and coils
xp: 40
---

::: hook
To calibrate a magnetometer, or to cancel the Earth's field around a sensitive experiment, you need a region where the magnetic field is the same everywhere. A single loop of wire gives a field that's strongest at its center and falls off along the axis. Two loops, placed exactly one radius apart, give a field so flat in the middle that it barely changes over a third of their radius: Helmholtz coils. Working out why takes the Biot–Savart law of lesson 4, applied to a circle.
:::

::: play
- Two coils of radius 10 cm, each with 100 ampere-turns, sit on a common axis, separated by $s$ (in units of the radius). The curve is the field along the axis.
- With $s = 1$, the Helmholtz spacing, the top of the curve is flat. Closer together, it peaks in the middle; farther apart, it dips.
- The readout gives the field at the center and how much it changes 3 cm off center.
:::
:::

```sim plot
view: graph
x: z = -20..20 cm
y: B = 0..1000 µT
slider: s = 0.4..2 step 0.05 = 1
plot: 4*pi*1e-7*100*0.01/2*(1/(((z/100) - s*0.05)^2 + 0.01)^1.5 + 1/(((z/100) + s*0.05)^2 + 0.01)^1.5)*1e6 | label: field on the axis
readout: field at the center, µT = 4*pi*1e-7*100*0.01/2*(2/((s*0.05)^2 + 0.01)^1.5)*1e6 | digits: 4
readout: change 3 cm off center, % = 100*(0.5*(1/((0.03 - s*0.05)^2 + 0.01)^1.5 + 1/((0.03 + s*0.05)^2 + 0.01)^1.5)/(1/((s*0.05)^2 + 0.01)^1.5) - 1) | digits: 3
```

::: predict
## A single circular loop carries current. Where along its axis is the field strongest?

- [x] At the center of the loop
- [ ] At a distance equal to the radius
- [ ] Far away along the axis
- [ ] Everywhere on the axis equally

::: reveal
At the center. Every piece of the loop is as close as it can be and pushes the field straight along the axis. Moving away along the axis, the pieces are farther and their contributions tilt, so the field falls: at one radius out it's down to 35%. That falloff is what a second loop, placed just right, can fill in.
:::
:::

::: nameit
## Biot–Savart for a loop

Each small piece $d\mathbf l$ of a current contributes

$$d\mathbf B = \frac{\mu_0}{4\pi}\frac{I\,d\mathbf l \times \hat{\mathbf r}}{r^2}, \qquad \mu_0 = 4\pi \times 10^{-7}\ \text{T·m/A}$$

Around a circular loop of radius $R$, every piece is at the same distance from the center and square to the line to it, so the contributions simply add:

$$B_\text{center} = \frac{\mu_0I}{2R}$$

times $N$ for $N$ turns. On the axis at distance $z$, the sideways parts cancel in pairs and the axial parts add:

$$B(z) = \frac{\mu_0IR^2}{2(z^2 + R^2)^{3/2}}$$

An arc of angle θ (radians) contributes $\frac{\mu_0I\theta}{4\pi R}$ at its center, a fraction $\frac{\theta}{2\pi}$ of the full loop.

## Helmholtz coils

Two identical coaxial coils of radius $R$, carrying the same current the same way, spaced exactly $R$ apart: the field's curvature at the midpoint cancels, leaving a very uniform region. At the center,

$$B = \left(\frac{4}{5}\right)^{3/2}\frac{\mu_0NI}{R} = 0.716\frac{\mu_0NI}{R}$$

Used to calibrate sensors, to cancel the Earth's field (about 50 µT), and to apply known fields in experiments. Far from any loop, its field takes the dipole form of lesson 7.
:::

::: example
## A 20-turn coil of radius 5 cm carries 2 A. Find the field at its center and 5 cm along its axis.

::: solution
1. **Field at the center.**
   $$\begin{aligned} B_\text{center} &= \frac{\mu_0NI}{2R} \\ &= \frac{4\pi \times 10^{-7} \times 40}{0.1} \\ &= 0.50\ \text{mT} \end{aligned}$$
2. **Axial factor at one radius.** At $z = R$,
   $$\begin{aligned} \frac{R^3}{(z^2 + R^2)^{3/2}} &= 2^{-3/2} \\ &= 0.354 \end{aligned}$$
3. **Field on the axis.**
   $$0.354 \times 0.50\ \text{mT} = 0.18\ \text{mT}$$

**Answer:** the field is 0.50 mT at the center and 0.18 mT at 5 cm along the axis.
:::
:::

::: example
## A Helmholtz pair has 50 turns per coil and a 10 cm radius. What center field does 1 A give, and what current cancels a 50 µT Earth field?

::: solution
1. **Center field at 1 A.**
   $$\begin{aligned} B &= 0.716 \times \frac{4\pi \times 10^{-7} \times 50 \times 1}{0.1} \\ &= 450\ \mu\text{T} \end{aligned}$$
2. **Current to cancel the Earth's field.** Run it in the direction that opposes the Earth's field.
   $$\begin{aligned} I &= \frac{50}{450} \times 1\ \text{A} \\ &= 0.11\ \text{A} \end{aligned}$$

**Answer:** 1 A gives 450 µT at the center, and 0.11 A, run against the Earth's field, cancels it.
:::
:::

::: check
given: N = 10 | 50; I = 0.5 | 2; R = 3 | 10
answer: 4*pi*1e-7*N*I/(2*R/100)*1e6
unit: µT
tolerance: 0.5%

## A {N}-turn coil of radius {R} cm carries {I} A. What is the field at its center?

::: right
Right. $\frac{\mu_0NI}{2R}$ = {answer}.
:::

::: misses
- [4*pi*1e-7*N*I/(2*pi*R/100)*1e6] That's a long straight wire; a loop gives $\frac{\mu_0I}{2R}$.
- [4*pi*1e-7*I/(2*R/100)*1e6] Multiply by the number of turns.
- [any] Not yet. $B = \frac{\mu_0NI}{2R}$.
:::
:::

::: check
given: N = 10 | 50; I = 1 | 2; R = 5 | 10; z = 5 | 10
answer: 4*pi*1e-7*N*I*(R/100)^2/(2*((z/100)^2 + (R/100)^2)^1.5)*1e6
unit: µT
tolerance: 0.5%

## A {N}-turn coil of radius {R} cm carries {I} A. What is the field on its axis {z} cm from the center?

::: right
Right. $\frac{\mu_0NIR^2}{2(z^2 + R^2)^{3/2}}$ = {answer}.
:::

::: misses
- [4*pi*1e-7*N*I/(2*R/100)*1e6] That's at the center; along the axis it falls off.
- [any] Not yet. Add the axial parts of every piece's field.
:::
:::

::: check
given: N = 20 | 100; I = 0.5 | 1; R = 10 | 15
answer: (4/5)^1.5*4*pi*1e-7*N*I/(R/100)*1e6
unit: µT
tolerance: 0.5%

## A Helmholtz pair has {N} turns per coil, radius {R} cm, and {I} A. What field is at the center?

::: right
Right. $\left(\frac45\right)^{3/2}\frac{\mu_0NI}{R}$ = {answer}.
:::

::: misses
- [4*pi*1e-7*N*I/(2*R/100)*1e6] That's one coil at its own center; the pair gives 0.716 $\mu_0NI/R$.
- [any] Not yet. Two coils, each $R/2$ from the center.
:::
:::

::: check
given: N = 20 | 60; R = 10 | 20; B = 30 | 60
answer: B*1e-6*(R/100)/((4/5)^1.5*4*pi*1e-7*N)*1000
unit: mA
tolerance: 0.5%

## A Helmholtz pair with {N} turns per coil and radius {R} cm must make {B} µT at its center. What current does it need?

::: right
Right. $I = \frac{BR}{0.716\mu_0N}$ = {answer}.
:::

::: misses
- [any] Not yet. Solve the Helmholtz formula for $I$.
:::
:::

::: check
given: I = 2 | 5; R = 2 | 5; th = 90 | 180
answer: 4*pi*1e-7*I*(th*pi/180)/(4*pi*R/100)*1e6
unit: µT
tolerance: 0.5%

## A wire bent into a circular arc of {th}° and radius {R} cm carries {I} A. What field does the arc make at its center?

::: right
Right. $\frac{\mu_0I\theta}{4\pi R}$ = {answer}.
:::

::: misses
- [4*pi*1e-7*I/(2*R/100)*1e6] That's a full loop; this arc is a fraction $\theta/2\pi$ of it.
- [any] Not yet. Biot–Savart around part of a circle.
:::
:::

::: check
given: z = 1 | 2 | 3
answer: 1/(z^2 + 1)^1.5
tolerance: 0.5%

## On a loop's axis, at {z} radii from its center, what fraction of the center field remains?

::: right
Right. $\frac{R^3}{(z^2 + R^2)^{3/2}}$ = {answer}.
:::

::: misses
- [1/(z^2 + 1)] The power is $3/2$.
- [any] Not yet. Divide the axis formula by the center value.
:::
:::

::: explain
## Why does spacing two coils exactly one radius apart make the field in between so uniform?

::: model
A single coil's field along its axis is curved: it's flat right at the center but bends downward on either side. Between two coils, the field is the sum of two such curves, each centered on its own coil. Too close together, the peaks overlap into a single peak; too far apart, a dip opens between them. At a spacing of exactly one radius, the curvature of each coil's field at the midpoint is equal and opposite to the other's, so the sum is flat to a high degree: the first three derivatives of the field all vanish there.
:::
:::

::: practice

::: check
given: I = 1 | 10; R = 1 | 5
answer: 4*pi*1e-7*I/(2*R/100)*1e6
unit: µT
tolerance: 0.5%

## What field does a single loop of radius {R} cm carrying {I} A make at its center?

::: misses
- [any] $\mu_0I/2R$.
:::
:::

::: check
given: k = 2..10 int
answer: 1/k
tolerance: 0.5%

## A loop's radius is made {k} times larger, with the same current. By what factor does its center field change?

::: misses
- [1/k^2] $B = \mu_0I/2R$: one power of $R$.
- [any] $B \propto 1/R$.
:::
:::

::: check
given: N = 30 | 100; I = 0.2 | 0.5
answer: N*I
unit: A
tolerance: 0.5%

## A coil has {N} turns carrying {I} A. How many ampere-turns is that?

::: misses
- [any] $NI$.
:::
:::
:::
