Sub topic 3
Magnetic field of a moving charge
This chapter assumes you know the cross product and its right-hand rule, the electric field of a point charge, and the Biot-Savart law for a current element, $d\vec B = \frac{\mu_0}{4\pi}\frac{I\,d\vec l\times\hat r}{r^2}$. Here you get the field of a single moving charge from that law, compare it with the electric field, and learn where the result stops being valid.
From a current element to one charge
A current is many charges moving together. Take a wire segment of length $dl$ and cross-section $A$, with $n$ carriers per unit volume, each of charge $q$ and drift velocity $\vec v$. The current is $I = nqvA$, and $I\,d\vec l$ points along $\vec v$ for positive $q$. So:
$$I\,d\vec l = nqA\,dl\,\vec v = (nA\,dl)\,q\vec v = N\,q\vec v$$
Here $N = nA\,dl$ is the number of carriers in the segment. The Biot-Savart field of the segment is therefore $N$ times the field of one carrier, and the field of one carrier is:
$$\vec B = \frac{\mu_0}{4\pi}\,\frac{q\,\vec v\times\hat r}{r^2}$$
The vector $\hat r$ is the unit vector pointing from the charge to the field point, and $r$ is the distance between them. The magnitude is:
$$B = \frac{\mu_0}{4\pi}\,\frac{|q|\,v\sin\theta}{r^2}$$
Here $\theta$ is the angle between $\vec v$ and $\vec r$.
Direction and shape of the field
Apply the right-hand rule to $\vec v\times\hat r$ for a positive charge. For a negative charge, reverse the result, because $q$ is negative in the formula.
- Along the line of motion ($\theta = 0$ or $180^\circ$), $\vec v\times\hat r = 0$, so $B = 0$ both ahead of and behind the charge.
- In the plane through the charge perpendicular to $\vec v$ ($\theta = 90^\circ$), the field is at its maximum for a given $r$: $B = \frac{\mu_0 qv}{4\pi r^2}$.
- The field lines are circles centred on the line of motion and lying in planes perpendicular to $\vec v$. The field is always perpendicular to both $\vec v$ and $\vec r$.
Curl your right-hand fingers around the velocity line, with the thumb along $\vec v$ for positive $q$. The fingers then show the direction of $\vec B$. This is the same rule you use for a straight wire.
Comparison with the electric field
The electric field of the same charge, at rest or moving slowly, is $\vec E = \frac{1}{4\pi\varepsilon_0}\frac{q\,\hat r}{r^2}$. Compare the two fields:
| Property | Electric field $\vec E$ | Magnetic field $\vec B$ |
|---|---|---|
| Dependence on distance | $1/r^2$ | $1/r^2$ |
| Direction | Along $\hat r$ (radial) | Perpendicular to $\vec v$ and $\hat r$ |
| Dependence on angle | None (spherically symmetric) | $\sin\theta$ (zero on the axis of motion) |
| Exists when charge is at rest | Yes | No ($v = 0$ gives $B = 0$) |
| Constant in front | $\frac{1}{4\pi\varepsilon_0}$ | $\frac{\mu_0}{4\pi}$ |
Dividing the two expressions shows a direct relation:
$$\vec B = \mu0\varepsilon0\,\vec v\times\vec E = \frac{\vec v\times\vec E}{c^2}, \qquad c^2 = \frac{1}{\mu0\varepsilon0}$$
Because $c^2 \approx 9\times10^{16}\ \text{m}^2/\text{s}^2$, the magnetic field of an ordinary moving charge is tiny next to its electric field. For the same $r$ and $\theta = 90^\circ$, $B/E = v/c^2$.
Worked example
A proton ($q = 1.6\times10^{-19}$ C) moves at $2\times10^{6}$ m/s. Find the field at a point 1 cm from it, on a line perpendicular to its velocity.
$$B = \frac{\mu_0}{4\pi}\frac{qv\sin 90^\circ}{r^2} = 10^{-7}\times\frac{(1.6\times10^{-19})(2\times10^{6})}{(10^{-2})^2}$$
$$B = 10^{-7}\times\frac{3.2\times10^{-13}}{10^{-4}} = 3.2\times10^{-16}\ \text{T}$$
The result is far smaller than Earth's field of about $5\times10^{-5}$ T. This is why the magnetic effect of a single charge is hard to see. A real current involves enormous numbers of carriers.
You can check the numbers and the $\vec B = \vec v\times\vec E/c^2$ relation in code:
import numpy as np
MU0 = 4e-7 * np.pi
EPS0 = 8.8541878128e-12
def b_moving_charge(q, v, r):
"""Field at displacement r (from charge to field point) of a slow, unaccelerated charge."""
v = np.asarray(v, dtype=float)
r = np.asarray(r, dtype=float)
d = np.linalg.norm(r)
return MU0 / (4 * np.pi) * q * np.cross(v, r) / d**3
def e_point_charge(q, r):
r = np.asarray(r, dtype=float)
d = np.linalg.norm(r)
return q * r / (4 * np.pi * EPS0 * d**3)
q = 1.6e-19
v = np.array([2e6, 0.0, 0.0]) # along +x
r = np.array([0.0, 0.01, 0.0]) # field point 1 cm along +y
B = b_moving_charge(q, v, r)
E = e_point_charge(q, r)
print(B) # only the z component is non-zero, about 3.2e-16 T
print(np.allclose(B, MU0 * EPS0 * np.cross(v, E), rtol=1e-9, atol=0.0)) # TrueThe cross product $\hat x\times\hat y = +\hat z$ confirms the direction. For a positive charge moving along $+x$, the field at a point on $+y$ points along $+z$.
Electric and magnetic force between two moving charges
Two identical charges $q$ move side by side with the same velocity $v$, a distance $r$ apart, with $\vec r\perp\vec v$. Charge 2 feels two forces from charge 1:
- Electric force: $FE = \dfrac{q^2}{4\pi\varepsilon0 r^2}$, repulsive.
- Magnetic force: $FB = qvB$, where $B = \dfrac{\mu0 qv}{4\pi r^2}$ is the field of charge 1 at charge 2.
Therefore $FB = \dfrac{\mu0 q^2v^2}{4\pi r^2}$. The ratio is:
$$\frac{FB}{FE} = \mu0\varepsilon0 v^2 = \frac{v^2}{c^2}$$
The force is attractive, because parallel moving charges act like parallel currents. This is an inertial-frame calculation, and the ratio is always less than 1 for $v<c$.
Common errors
- Using $\hat r$ from the field point to the charge. Always take $\vec r$ from the source (the charge) to the field point. Reversing it flips the sign of $\vec B$.
- Forgetting the sign of $q$. For an electron, the field is opposite to that of a proton with the same velocity.
- Using $\sin\theta$ with the wrong angle. $\theta$ is between $\vec v$ and $\vec r$, not between $\vec v$ and the field direction.
- Mixing up the constants. $\mu_0/4\pi = 10^{-7}$ T m/A, and this combination is the one that appears in the formula.
- Applying the formula to a charge that is accelerating, such as one speeding up or turning sharply. Uniform circular motion is a standard exception in JEE problems. Checking the field at the centre uses the formula as an approximation for non-relativistic speeds, and the next chapters build on that.
Exercise
An electron moves at $3\times10^{6}$ m/s along $+x$. Find the magnitude and direction of the magnetic field it produces at a point 2 mm away on the $+y$ axis, with the electron at the origin. Use $e = 1.6\times10^{-19}$ C.
Show answer
The angle between $\vec v$ and $\vec r$ is $90^\circ$, so $B = \frac{\mu_0}{4\pi}\frac{|q|v}{r^2} = 10^{-7}\times\frac{(1.6\times10^{-19})(3\times10^{6})}{(2\times10^{-3})^2} = 10^{-7}\times\frac{4.8\times10^{-13}}{4\times10^{-6}} = 1.2\times10^{-14}$ T. For a positive charge the direction would be $\hat x\times\hat y = +\hat z$. The electron is negative, so the field points along $-z$.
Exercise
At what angles to its velocity does a moving charge produce zero magnetic field, and at what angle is the field strongest for a given distance? Then find the ratio $B/E$ at a point at $90^\circ$ to the velocity of a charge moving at $v = 3\times10^{5}$ m/s. Use $c = 3\times10^{8}$ m/s.
Show answer
The field is zero at $\theta = 0^\circ$ and $180^\circ$, because $\sin\theta = 0$ there, and strongest at $\theta = 90^\circ$. At $90^\circ$, $B/E = v/c^2 = (3\times10^{5})/(9\times10^{16}) = 3.3\times10^{-12}$ s/m, which is about $3.3\times10^{-12}$ T per (V/m).