Sub topic 5
Field of a circular loop, arc and coil
This chapter assumes you know the Biot-Savart law, the cross product and the right-hand rule. It also assumes you can integrate simple functions of an angle. We use the law to find the field of a circular loop, then of an arc and a coil.
Setting up the loop
Take a loop of radius R carrying current I, with its centre at the origin and its axis along z. We want the field at a point on the axis, a distance x from the centre.
Every current element dl is perpendicular to the vector r from the element to the point. So |dl × r| = dl r. Also r² = R² + x², and r is the same for every element.
The Biot-Savart law gives the magnitude of each contribution:
dB = (μ0 / 4π) · I dl / (R² + x²)
Each dB is perpendicular to r, so it makes an angle with the axis. Resolve it into an axial part and a part perpendicular to the axis. For every element there is an opposite element on the other side of the loop. The perpendicular parts cancel in pairs, and only the axial parts add.
The axial part is dB sin α, where sin α = R / √(R² + x²). Integrating dl around the loop gives 2πR:
B = μ0 I R² / (2 (R² + x²)^(3/2))
Special cases
- At the centre (x = 0): B = μ0 I / (2R).
- Far away (x ≫ R): B ≈ μ0 I R² / (2x³). This falls as 1/x³, which is the dipole behaviour we use later.
- Direction: curl the fingers of your right hand along the current. Your thumb gives the direction of B on the axis.
Arc and coil
At the centre, every element of an arc is at distance R and is perpendicular to r. So the contributions add directly, and no integral over angle is needed. For an arc that subtends angle θ (in radians) at the centre, the arc length is Rθ:
B = μ0 I θ / (4π R)
A full circle has θ = 2π, which gives μ0 I / (2R). A semicircle has θ = π, which gives μ0 I / (4R).
A coil of N tightly wound turns acts like N loops carrying the same current. Multiply the result by N:
B_centre = N μ0 I / (2R)
Checking the formula numerically
The code below adds up many small Biot-Savart contributions and compares the sum with the closed-form result.
import numpy as np
MU0 = 4e-7 * np.pi
def loop_axis_numeric(I, R, x, n=2000):
phi = np.linspace(0, 2 * np.pi, n, endpoint=False)
dphi = 2 * np.pi / n
src = np.stack([R * np.cos(phi), R * np.sin(phi), np.zeros(n)], axis=1)
dl = np.stack([-R * np.sin(phi) * dphi, R * np.cos(phi) * dphi, np.zeros(n)], axis=1)
r = np.array([0.0, 0.0, x]) - src
dist = np.linalg.norm(r, axis=1)[:, None]
dB = MU0 * I / (4 * np.pi) * np.cross(dl, r) / dist**3
return dB.sum(axis=0)
def loop_axis_formula(I, R, x):
return MU0 * I * R**2 / (2 * (R**2 + x**2) ** 1.5)
I, R, x = 5.0, 0.10, 0.10
print(loop_axis_numeric(I, R, x)[2])
print(loop_axis_formula(I, R, x))Both lines print about 1.11×10⁻5 T. The x and y components of the sum are close to zero, which confirms the cancellation.
Common errors
- Using the centre formula μ0 I / (2R) at an off-centre axial point.
- Forgetting the factor N for a coil.
- Entering the angle in degrees in the arc formula. It must be in radians.
- Adding the fields of two parts as scalars when their directions differ. Add them as vectors.
Exercise
A coil has 50 turns, radius 4.0 cm and carries 2.0 A. Find the field at its centre. Then find the field on the axis at x = 3.0 cm from the centre. Use μ0 = 4π × 10⁻⁷ T m/A.
Show answer
At the centre, B = N μ0 I / (2R) = 50 × 4π×10⁻⁷ × 2.0 / (2 × 0.04) ≈ 1.57×10⁻³ T. On the axis, R² + x² = 0.0016 + 0.0009 = 0.0025, so (R² + x²)^(3/2) = 1.25×10⁻⁴. Then B = N μ0 I R² / (2 (R² + x²)^(3/2)) = 50 × 4π×10⁻⁷ × 2.0 × 0.0016 / (2 × 1.25×10⁻⁴) ≈ 8.0×10⁻⁴ T.
Exercise
A wire carrying current I is bent into a semicircle of radius R. Its two straight ends are radial, so they point along lines through the centre of the semicircle. What is the field at the centre?
Show answer
The radial straight parts give zero, because dl is parallel to r. The semicircular arc has θ = π, so B = μ0 I π / (4π R) = μ0 I / (4R).