15
Part Zero · Foundations

Electromagnetism I: Maxwell's equations

Your phone’s radio, the motor in a lift, the generator at a power station and the magnet of an MRI scanner are all explained by four equations written down in the 1860s by James Clerk Maxwell. They describe two fields filling space, the electric field E\mathbf E and the magnetic field B\mathbf B, how charges and currents create them, and how each field drives the other.

We will build the equations one experiment at a time, using the divergence and curl of Chapter 3.

Charges make fields: Gauss’s law

Charles-Augustin de Coulomb measured in 1785 that two charges push or pull with a force falling as 1/r21/r^2. Think of each charge as sending out field lines; the field at a point is how densely the lines crowd there. Because the strength falls as 1/r21/r^2 while the area of a sphere grows as r2r^2, the number of lines through any closed surface depends only on the charge inside. Established

∮E⋅dA=Qinsideε0⟺∇⋅E=ρε0\oint \mathbf E\cdot d\mathbf A = \frac{Q_\text{inside}}{\varepsilon_0} \quad\Longleftrightarrow\quad \nabla\cdot\mathbf E = \frac{\rho}{\varepsilon_0}

The plate shows a positive and a negative charge. Draw a circle of radius 1.0 around the positive one. The net count of lines crossing it only changes when the circle swallows the other charge.

No magnetic charges

Cut a bar magnet in half and you get two smaller magnets, never a lone north pole. Magnetic field lines always close on themselves, so as many leave any surface as enter it:

∇⋅B=0\nabla\cdot\mathbf B = 0

Searches for magnetic monopoles continue, and none has been found. Established

Currents make magnetic fields

In 1820 Hans Christian Ørsted noticed a compass needle twitch when he switched on a current nearby. A current is wrapped in circles of magnetic field, and the total circulation around a loop equals the current through it: Ampère’s law, ∮B⋅dl=μ0I\oint\mathbf B\cdot d\mathbf l = \mu_0 I. Ten amps in a wire make a field of 200 microtesla a centimetre away, four times the Earth’s field. and the compasses on the plate swing round.

Changing magnetism makes electricity

Michael Faraday found in 1831 that a changing magnetic field drives a current in a loop of wire. The voltage around the loop equals the rate of change of the magnetic flux through it, with a minus sign that makes the induced current oppose the change:

∮E⋅dl=−dΦBdt⟺∇×E=−∂B∂t\oint\mathbf E\cdot d\mathbf l = -\frac{d\Phi_B}{dt} \quad\Longleftrightarrow\quad \nabla\times\mathbf E = -\frac{\partial\mathbf B}{\partial t}

. The meter kicks one way as it enters and the other as it leaves, and does nothing while the magnet sits still. Every generator on Earth works this way. Established

Maxwell’s missing piece

Ampère’s law has a flaw. Charge a capacitor: current flows in the wire but not across the gap between the plates. A loop around the wire sees current; a surface bulging through the gap, with the same edge, sees none. The law gives two answers for one loop.

Maxwell repaired it in 1865 by adding a term: a changing electric field counts as current. In the gap the electric field grows as charge piles up, and this displacement current exactly matches the current in the wire:

∇×B=μ0J+μ0ε0∂E∂t\nabla\times\mathbf B = \mu_0\mathbf J + \mu_0\varepsilon_0\frac{\partial\mathbf E}{\partial t}

It looks like bookkeeping. In the next chapter it will make light.

DeeperTake the divergence of Ampère’s original law: ∇⋅(∇×B)=0\nabla\cdot(\nabla\times\mathbf B) = 0, so it would force ∇⋅J=0\nabla\cdot\mathbf J = 0 always. But charge conservation says ∇⋅J=−∂ρ/∂t\nabla\cdot\mathbf J = -\partial\rho/\partial t, which is not zero while a capacitor charges. Adding ε0∂E/∂t\varepsilon_0\partial\mathbf E/\partial t and using Gauss’s law, ∇⋅(ε0∂tE)=∂tρ\nabla\cdot(\varepsilon_0\partial_t\mathbf E) = \partial_t\rho, makes the two sides agree. The continuity equation ∂tρ+∇⋅J=0\partial_t\rho + \nabla\cdot\mathbf J = 0 is built into Maxwell’s equations.

Fields push on charges

The fields act back on charges through the Lorentz force, F=q(E+v×B)\mathbf F = q(\mathbf E + \mathbf v\times\mathbf B). The magnetic part is always sideways to the motion, so it bends a moving charge into a circle without speeding it up. Set the field to 1.0 mT: an electron moving at 1000 km/s circles with radius 5.7 mm, from r=mv/qBr = mv/qB.

Particle detectors at CERN measure momentum exactly like this, from how sharply a track curves in a known field. And an MRI scanner uses a field of a few tesla to make the protons in your body precess at 42.6 MHz per tesla, 128 MHz in a 3-tesla machine.

What you now have

∇⋅E=ρε0,∇⋅B=0,∇×E=−∂B∂t,∇×B=μ0J+μ0ε0∂E∂t\begin{gathered}\nabla\cdot\mathbf E = \frac{\rho}{\varepsilon_0},\qquad \nabla\cdot\mathbf B = 0,\\ \nabla\times\mathbf E = -\frac{\partial\mathbf B}{\partial t},\qquad \nabla\times\mathbf B = \mu_0\mathbf J + \mu_0\varepsilon_0\frac{\partial \mathbf E}{\partial t}\end{gathered}

Four equations, plus the Lorentz force. Together they are classical electromagnetism.

· · ·

Three questions to carry with you.

Why does the flux through a closed surface depend only on the charge inside?tap
The field falls as 1/r² while surface area grows as r², and field lines from outside charges enter and leave, cancelling.
What does a magnet sitting still inside a coil do to the meter?tap
Nothing. Only a changing magnetic flux induces a voltage.
Why did Maxwell add the displacement current?tap
Without it Ampère’s law contradicts charge conservation, for instance in a charging capacitor.

And one to work out. At what frequency do protons precess in a 1.5-tesla MRI scanner, in MHz?

f =MHz

Sources: D. J. Griffiths, Introduction to Electrodynamics. E. M. Purcell and D. J. Morin, Electricity and Magnetism. J. C. Maxwell, Phil. Trans. R. Soc. 155, 459 (1865). CODATA proton gyromagnetic ratio γ/2π = 42.577 MHz/T. Checked by code: wire field 200 µT; electron radius 5.69 mm.

Next · Chapter 16
Electromagnetism II: light as a wave

Classical physics says a hydrogen atom collapses in about 1.6×10⁻¹¹ s (computed ✓). It doesn't, and that is how Part 1 begins.

Turn the page