Sub topic 6
The Biot-Savart law
This chapter assumes you can take a cross product, integrate simple functions, and know that a current is a flow of charge. It also assumes you have met the current element I dl from the previous chapter.
What the law says
The Biot-Savart law gives the magnetic field produced by a small piece of current-carrying wire. Take a short element of wire with vector length dl, pointing along the current I. Let r be the vector from the element to the point P where you want the field, and let r̂ be the unit vector along r. Then:
dB = (mu0 / 4 pi) · I dl × r̂ / r²
The total field is the sum (an integral) of dB over the whole wire. Here mu0 = 4 pi × 10⁻⁷ T m/A, so mu0 / 4 pi = 10⁻⁷ T m/A. That is a handy number for quick NEET arithmetic.
Reading the formula
- Inverse-square fall-off. Each element's field drops as 1/r², like the Coulomb field.
- Direction. dB is perpendicular to both dl and r. It is not along the line joining the element to P. Use the right-hand rule on dl × r.
- Magnitude. dB = (mu0 / 4 pi) · I dl sin(theta) / r², where theta is the angle between dl and r. The field is zero on the line of the element (theta = 0 or 180°) and largest at theta = 90°.
- Superposition. Fields from different elements add as vectors. Add them as vectors, not as plain numbers, unless all the dB point the same way.
A standard procedure
- Choose a small element dl and draw r to the field point.
- Find the angle theta and the direction of dB with the right-hand rule.
- Check which components of dB cancel by symmetry.
- Write dB in terms of one variable, such as an angle or a length, and integrate.
The next chapters use this procedure for a straight wire and a circular loop.
Checking it numerically
You can test the law by splitting a loop into many small elements and adding their dB vectors. The code below does this for a circular loop of radius R and compares the result at the centre with mu0 I / (2R).
import numpy as np
mu0 = 4 * np.pi * 1e-7
I = 2.0 # amperes
R = 0.1 # loop radius in metres
N = 2000 # number of current elements
theta = np.linspace(0, 2 * np.pi, N, endpoint=False)
dtheta = 2 * np.pi / N
pos = R * np.stack([np.cos(theta), np.sin(theta), np.zeros(N)], axis=1)
dl = R * dtheta * np.stack([-np.sin(theta), np.cos(theta), np.zeros(N)], axis=1)
r_vec = -pos # from each element to the centre of the loop
r = np.linalg.norm(r_vec, axis=1)
dB = mu0 * I / (4 * np.pi) * np.cross(dl, r_vec) / r[:, None] ** 3
B = dB.sum(axis=0)
print(B[2], mu0 * I / (2 * R)) # both about 1.2566e-05 teslaEach element is perpendicular to its r, so every dB points along the z axis. They all add, and the sum matches the formula.
Common errors
- Using r as a distance only and forgetting that the cross product sets the direction.
- Writing r² in the denominator while using the full vector r in the numerator. The vector form is dl × r / r³.
- Expecting a field along the wire's own axis. A straight wire gives no field on its own line.
- Treating the law as exact for a single isolated element. Steady currents form closed paths, so the law is only checked through whole circuits.
Exercise
Exercise
A short wire element of length 2 mm carries 5 A. Find the magnitude of dB at a point 10 cm away, on a line making 90° with the element.
Show answer
dB = 10⁻⁷ × I dl sin(theta) / r² = 10⁻⁷ × (5 × 2×10⁻³ × 1) / (0.1)² = 10⁻⁷ × 10⁻² / 10⁻² = 10⁻⁷ T. The direction is perpendicular to both the element and the line to the point.
Exercise
Why does a point lying along the line of a current element receive no field from that element?
Show answer
There theta is 0° or 180°, so sin(theta) = 0 and the cross product dl × r̂ is zero.