AP Physics C: Electricity and Magnetism · Magnetic fields and electromagnetism
The Biot-Savart law
1The law
A current element $I\,d\vec{l}$ produces a magnetic field at a point a displacement $\vec{r}$ away:
$$d\vec{B} = \frac{\mu_0}{4\pi}\frac{I\,d\vec{l}\times\hat{r}}{r^2}, \qquad dB = \frac{\mu_0}{4\pi}\frac{I\,dl\sin\theta}{r^2}$$
with $\mu_0 = 4\pi \times 10^{-7}$ T·m/A. The direction is perpendicular to both $d\vec{l}$ and $\hat{r}$ (right-hand rule). The total field is the integral over the whole current.
It is the magnetic analogue of Coulomb's law for a charge element, but with a cross product.
Check yourself
In the Biot-Savart law, the field from a current element is zero at points:
Show the answer
Along the line of the current element
sin θ = 0.
2Long straight wire
Integrating along an infinite straight wire gives, at perpendicular distance r:
$$B = \frac{\mu_0I}{2\pi r}$$
Field lines are circles around the wire (thumb along I, fingers curl along B).
For a finite wire subtending angles θ₁ and θ₂ from the perpendicular: $B = \frac{\mu_0I}{4\pi r}(\sin\theta_1 + \sin\theta_2)$.
20 A in a long wire, at r = 0.04 m.
- $B = \frac{(4\pi \times 10^{-7})(20)}{2\pi(0.04)} = 1.0 \times 10^{-4}$ T.
Check yourself
Two long parallel wires carry equal currents in the same direction. At the point midway between them, the magnetic field is:
Show the answer
Zero
The two fields are opposite there.
3Circular loop and arc
At the centre of a circular loop of radius R: every element is perpendicular to $\hat{r}$ and at distance R, so
$$B = \frac{\mu_0I}{4\pi R^2}\oint dl = \frac{\mu_0I}{2R}$$
For N turns: $B = \frac{\mu_0NI}{2R}$. For an arc subtending angle φ (radians): $B = \frac{\mu_0I\varphi}{4\pi R}$. Straight sections pointing directly at or away from the point contribute nothing.
On the axis of a loop at distance x:
$$B = \frac{\mu_0IR^2}{2(x^2 + R^2)^{3/2}}$$
Far away, $B \approx \frac{\mu_0\mu}{2\pi x^3}$ with μ = IπR² (a magnetic dipole).
a loop of radius 0.05 m carrying 3.0 A.
- $B_{centre} = \frac{(4\pi \times 10^{-7})(3.0)}{2(0.05)} \approx 3.8 \times 10^{-5}$ T.
Magnetic field along the axis of a current loop
Check yourself
A semicircular arc of radius R carries current I. The field at its centre of curvature due to the arc alone is:
Show the answer
μ₀I/(4R)
Half of a full loop.
4Forces between parallel wires
Wire 1 produces $B_1 = \frac{\mu_0I_1}{2\pi d}$ at wire 2, which feels $F = B_1I_2L$:
$$\frac{F}{L} = \frac{\mu_0I_1I_2}{2\pi d}$$
Parallel currents attract; antiparallel currents repel.
two wires 0.02 m apart, each carrying 10 A.
- $\frac{F}{L} = \frac{(4\pi \times 10^{-7})(100)}{2\pi(0.02)} = 1.0 \times 10^{-3}$ N/m.
Check yourself
Two parallel wires carry currents in opposite directions. The force between them is:
Show the answer
Repulsive
Antiparallel currents repel.
5Going deeper: arcs, segments and building fields from pieces
$$d\vec{B} = \frac{\mu_0}{4\pi}\frac{I\,d\vec{l}\times\hat{r}}{r^2}$$
Each element of current contributes a field perpendicular to both the element and the line to the field point, falling as $\frac{1}{r^2}$.
Strategy
- Choose an element $d\vec{l}$ and find the direction of $d\vec{l}\times\hat{r}$ with the right-hand rule.
- Use symmetry to cancel components.
- Write $|d\vec{l}\times\hat{r}| = dl\sin\theta$, express in one variable, integrate.
Results worth knowing
- Long straight wire: $B = \frac{\mu_0I}{2\pi d}$.
- Finite straight segment, at perpendicular distance d: $B = \frac{\mu_0I}{4\pi d}(\sin\theta_1 + \sin\theta_2)$, where the angles are those subtended by the two ends, measured from the perpendicular.
- Center of a circular loop: $B = \frac{\mu_0I}{2R}$.
- Arc subtending angle θ (radians) at its center: $B = \frac{\mu_0I\theta}{4\pi R}$.
- On the axis of a loop: $B = \frac{\mu_0IR^2}{2(x^2 + R^2)^{3/2}}$; far away, $B \approx \frac{\mu_0\mu}{2\pi x^3}$, a dipole field.
A segment pointing straight at (or away from) the field point contributes nothing, since $d\vec{l}\times\hat{r} = 0$.
Worked example (loop): a loop of radius 0.050 m carries 10 A.
- $B = \frac{(4\pi \times 10^{-7})(10)}{2(0.050)} = 1.26 \times 10^{-4}$ T at the center.
- Along the axis at x = R: $B = \frac{B_{\text{center}}}{2^{3/2}} = 4.4 \times 10^{-5}$ T.
Worked example (derivation for an arc): every element of an arc is at distance R from the center and perpendicular to $\hat{r}$.
- $dB = \frac{\mu_0I\,dl}{4\pi R^2}$, all in the same direction.
- $B = \frac{\mu_0I}{4\pi R^2}(R\theta) = \frac{\mu_0I\theta}{4\pi R}$.
- With θ = 2π this gives the full-loop result.
Worked example (composite wire): a wire comes in along a straight line aimed at point P, bends into a quarter-circle of radius 0.050 m centered on P, and leaves along another radial line. Current 10 A.
- Both straight sections point at P: zero contribution.
- Quarter arc: $\frac{1}{4}$ of the full-loop field = 3.1 × 10⁻⁵ T.
Worked example (square loop): side a = 0.10 m, current 10 A; field at the center.
- Each side is a finite segment at distance $\frac{a}{2}$ with both angles 45°: $B_{\text{side}} = \frac{\mu_0I}{4\pi(a/2)}(2\sin 45°) = \frac{\sqrt{2}\mu_0I}{2\pi a}$.
- Four sides, all in the same direction: $B = \frac{2\sqrt{2}\mu_0I}{\pi a} = 1.1 \times 10^{-4}$ T.
Worked example (hairpin): a long wire runs in, makes a semicircle of radius R, and runs back parallel to itself. Field at the center of the semicircle:
- Each long straight section is a half-infinite wire: $\frac{1}{2}\cdot\frac{\mu_0I}{2\pi R} = \frac{\mu_0I}{4\pi R}$.
- The semicircle: $\frac{\mu_0I}{4R}$.
- All three point the same way: $B = \frac{\mu_0I}{4R}\left(1 + \frac{2}{\pi}\right)$.
Biot–Savart or Ampère? Biot–Savart works for any shape but needs an integral. Ampère's law is quicker but only where symmetry makes B constant around a loop (long wires, solenoids, toroids). Biot–Savart is to Ampère as Coulomb's law is to Gauss's.
Common mistakes
- Giving a nonzero field from a segment aimed at the field point.
- Using the long-wire formula for a short segment.
- Forgetting that fields from different pieces are vectors, and may oppose.
Check yourself
A circular arc of wire of radius R carries current I and subtends an angle of π radians at its center. The field at the center due to the arc is:
Show the answer
μ₀I ÷ 4R
Half of the full-loop value μ₀I ÷ 2R.
6For top marks
- Set up dl, r and the angle; find the direction with the right-hand rule before integrating.
- Use symmetry (only the axial component survives for a loop).
- Know the results for a straight wire, loop centre, arc and loop axis.
- Combine fields from several wires as vectors.
Check yourself
The magnetic field on the axis of a current loop, far from the loop, falls off as:
Show the answer
1/x³
Dipole field.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera