Sub topic 2
The Biot-Savart law
This chapter assumes you can compute a cross product and its direction with the right-hand rule. It also assumes you know the electric field of a point charge, can integrate simple functions of an angle, and know that the ampere is the SI unit of current. The chapter covers the law itself, its direction rule, how to use it in problems, and the mistakes that cost marks.
What the law says
A steady current produces a magnetic field around it. The Biot-Savart law gives the field at a point as a sum of small contributions, one from each short piece of the conductor.
Take a short element of wire with vector length dl. Its direction is the direction of the current. The current is I. The point where you want the field is at displacement r from the element, so r points from the element to the field point. The element's contribution is:
dB = (μ0 / 4π) · I (dl × r) / r³
Here μ0 = 4π × 10⁻⁷ T m A⁻¹ is the permeability of free space. The factor μ0 / 4π equals exactly 10⁻⁷ T m A⁻¹ in the older SI convention. Using this value makes numerical work easier.
In magnitude form, with θ the angle between dl and r:
dB = (μ0 / 4π) · I dl sin θ / r²
The total field is the integral of dB over the whole conductor. Because dB is a vector, you add vectors. You cannot just add magnitudes unless all the contributions point the same way.
The law is the magnetic counterpart of Coulomb's law for the electric field, but it differs in important ways.
| Feature | Electric field of a point charge | Magnetic field of a current element |
|---|---|---|
| Source | Scalar charge q | Vector quantity I d**l** |
| Distance dependence | 1/r² | 1/r² |
| Direction | Along **r** (radial) | Perpendicular to both d**l** and **r** |
| Angle dependence | None | Proportional to sin θ |
| Field on the line of the source | Maximum on the line | Zero along the line of d**l** |
The last row is useful. A current element produces no field at points straight ahead of it or straight behind it, because sin θ = 0 there.
Direction of the field
The cross product dl × r gives the direction of dB. It is perpendicular to the plane containing dl and r.
Two equivalent right-hand rules work:
- Point the fingers of your right hand along dl, curl them toward r through the smaller angle. Your thumb gives the direction of dB.
- For a long straight wire, point your right thumb along the current. Your curled fingers show the circulation of the field around the wire.
The second rule is the one you will use most. Field lines around a straight wire are circles centered on the wire, in planes perpendicular to it.
Units and dimensions
The SI unit of magnetic field is the tesla (T). One tesla equals one newton per ampere per metre, N A⁻¹ m⁻¹. A useful check: μ0 I / r has units of (T m A⁻¹)(A)/(m), which gives T. The Earth's field is about 5 × 10⁻⁵ T. A laboratory electromagnet reaches about 1 T.
Why the law is "local"
Each element contributes independently. This gives you the superposition principle for magnetic fields: the field of several conductors is the vector sum of the fields of each. Chapter 6 of this series uses this to combine fields from composite shapes.
A single isolated current element cannot exist in a steady state, because steady current must flow around a closed path. The law is meaningful as a tool for building up the field of a complete circuit. Treat dl as a calculational device.
A procedure for solving problems
Follow these steps and most Biot-Savart problems become routine.
- Draw the conductor and mark the current direction.
- Pick the field point and draw r from a typical element to it.
- Write dl and r in a coordinate system. Use symmetry to decide which components of dB cancel.
- Express every variable (l, r, θ) in terms of one integration variable. Common choices are an angle, or a position along the wire.
- Integrate only the components that survive.
- Check the direction with the right-hand rule and check the limiting cases.
Worked example: field on the axis of a circular loop
A loop of radius R carries current I. Find the field at a point on its axis, a distance x from the center.
Take the loop in the plane z = 0, centered on the origin, with the field point at (0, 0, x). Every element dl is tangent to the loop. The vector r from the element to the field point has length √(R² + x²). The angle between dl and r is 90° for every element, because dl is tangent to the circle and r lies in the plane through the axis and the element. So sin θ = 1 and:
dB = (μ0 I / 4π) · dl / (R² + x²)
The vector dB makes an angle α with the axis, where sin α = R / √(R² + x²). Components perpendicular to the axis cancel in pairs from opposite sides of the loop. The axial components add:
dB_axis = dB sin α
Integrate dl around the loop, which gives 2πR:
B = (μ0 I / 4π) · (2πR) / (R² + x²) · R / √(R² + x²)
B = μ0 I R² / (2 (R² + x²)^(3/2))
At the center (x = 0) this becomes B = μ0 I / (2R). Far from the loop (x ≫ R) it becomes B ≈ μ0 I R² / (2 x³).
You can verify this numerically. The program below splits the loop into many short elements, applies the Biot-Savart law to each, and sums the vectors. It compares the result with the closed form.
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⁻⁵ T. The x and y components of the sum come out near zero, which confirms the cancellation argument. The code uses the vector form dB = (μ0 I / 4π) dl × r / r³ directly, so it makes no use of the symmetry argument. That is why it is a real check.
Edge cases and common errors
- Field point on the wire's line. If the point lies on the extension of a straight segment, every element has sin θ = 0, so that segment contributes nothing. In a bent wire with straight leads that point radially at the field point, the leads add nothing. Only the curved part counts.
- Field at the wire itself. The formula for a thin wire gives B → ∞ as the distance goes to zero. A real wire has finite thickness, so this is a limit of the model. Chapter 8 handles the inside of a thick conductor with Ampère's law.
- Adding magnitudes instead of vectors. Two segments may produce fields in opposite directions, into the page and out of the page. Assign signs before adding.
- Wrong angle. The angle in sin θ is between dl and r, not between the wire and the line to the point. For a straight wire, express it through the perpendicular distance d, so that r sin θ = d.
- Forgetting that μ0 / 4π = 10⁻⁷. Do the arithmetic with 10⁻⁷ and avoid carrying 4π through the calculation.
- Dropping the direction rule for arcs. An arc contributes a field perpendicular to its plane. Use the same loop rule: curl the fingers along the current and the thumb gives the field at the center.
Where this leads
The next chapters apply the same integral to several shapes: a moving point charge, a straight wire (finite and infinite), and a circular arc. Each one reuses the procedure above.
Exercise
A circular loop of radius 0.20 m carries a current of 4.0 A. Using the Biot-Savart law, find the magnitude of the field at its center, and say what fraction of this value the field has at a point on the axis 0.20 m from the center. Use μ0 = 4π × 10⁻⁷ T m A⁻¹.
Show answer
At the center every element is perpendicular to its r, with r = R, so B = μ0 I / (2R) = (4π × 10⁻⁷ × 4.0) / (2 × 0.20) = 1.26 × 10⁻⁵ T (about 12.6 μT). On the axis at x = R, B = μ0 I R² / (2 (2R²)^(3/2)) = μ0 I / (2R · 2^(3/2)). The ratio to the center value is 1 / 2^(3/2) = 1 / 2.83 ≈ 0.354. So the axial field is about 4.4 × 10⁻⁶ T, roughly 35% of the center value.
Exercise
A straight wire carries current along the x-axis. A short element at the origin points along +x. At which of these points does the element produce zero field: (a) (3, 0, 0), (b) (0, 2, 0), (c) (−1, 0, 0)? For (b), give the direction of dB.
Show answer
The field is zero where sin θ = 0, that is, along the line of the element. This holds at (a) and (c), which lie on the x-axis. At (b), the vector r points along +y, and dl × r = x̂ × ŷ = ẑ. So dB points along +z, perpendicular to both the element and the line to the point.