deklund.com Vol. 9 · Classical electrodynamics

Volume 9 · Electricity, magnetism, and light

Field Lines

How a century of experiments with amber, compass needles, coils, and sparks became four equations, how those equations predicted that light is an electromagnetic wave, and how the same laws describe antennas, particle beams, and the radiation of every accelerating charge.

8 chapters 7 interactive figures 1785 → today
Maxwell's equations solved live on a grid: the electric field of two antennas radiating. Where their waves add, they form beams; where they cancel, quiet zones. Blue and vermilion are opposite directions of the field.
Prologue

Four equations and the speed of light

For two thousand years electricity and magnetism were curiosities: rubbed amber that picks up straw, lodestones that point north. Between 1785 and 1865 they became one subject, described by a handful of equations that James Clerk Maxwell assembled and Oliver Heaviside wrote in the compact form used today:

\[ \nabla\cdot\mathbf E = \frac{\rho}{\varepsilon_0} \]Gauss: charges are sources of electric field
\[ \nabla\cdot\mathbf B = 0 \]no magnetic charges; field lines close on themselves
\[ \nabla\times\mathbf E = -\frac{\partial\mathbf B}{\partial t} \]Faraday: a changing magnetic field drives an electric field
\[ \nabla\times\mathbf B = \mu_0\mathbf J + \mu_0\varepsilon_0\frac{\partial\mathbf E}{\partial t} \]Ampère, with Maxwell's addition

Together with the Lorentz force \(\mathbf F = q(\mathbf E + \mathbf v\times\mathbf B)\), which says how the fields push on charges, these equations describe every electrical and magnetic phenomenon short of the quantum scale: motors and generators, radio and radar, the optics of lenses and fibers, and the glow of a hot filament. Their most surprising prediction was that disturbances in the fields travel as waves at a speed fixed by two constants measured on the bench,

\[ c = \frac{1}{\sqrt{\mu_0\varepsilon_0}} \approx 3.00\times10^8\ \text{m/s}, \]

which is the speed of light. This volume follows the experiments that led to each equation, then the consequences: waves, antennas, moving charges, and the conflict with Newtonian mechanics that Einstein resolved in 1905.

299,792,458 m/sthe speed of light, exact by definition since 1983
1/r²Coulomb's law: how the force between two charges falls with distance
Field
A quantity defined at every point in space, such as the electric field E, the force per unit charge a test charge would feel there.
Field line
A curve whose direction at every point is the direction of the field; the density of lines shows the field's strength.
Flux
The amount of field passing through a surface: the field's component normal to the surface, summed over the surface.
Part I

Statics and induction

1785 Chapter 1 · Electrostatics

Charges, lines, and flux

In 1785 Charles-Augustin de Coulomb, a French military engineer, hung a light needle from a fine silver wire and measured how far the wire twisted when a charged ball repelled the needle's charged tip. The force fell as the inverse square of the distance, like Newton's gravity:

\[ F = \frac{1}{4\pi\varepsilon_0}\,\frac{q_1 q_2}{r^2}. \]

Joseph Priestley had inferred the inverse square in 1767, and Henry Cavendish had measured it about 1773 without publishing, but Coulomb's torsion balance made it quantitative. Unlike gravity, the force can attract or repel, because charges come in two signs.

Michael Faraday, who had little mathematics, pictured the force differently. Around every charge he imagined lines of force running from positive charges to negative ones, crowded where the force is strong. The picture became physics when it turned out that the lines behave like something real: they can be counted. Carl Friedrich Gauss showed in 1835 (published in 1867) that the total flux of the electric field out of any closed surface depends only on the charge inside it:

\[ \oint_S \mathbf E\cdot d\mathbf A = \frac{Q_{\text{inside}}}{\varepsilon_0}. \]

Every line that enters a surface from an outside charge also leaves it, so outside charges contribute nothing. Lines that start inside must cross the surface, whatever its shape. This is the first of Maxwell's equations in integral form, and it is how the fields of spheres, wires, and plates are computed in a few lines.

Fig. 1.1Interactive

Field lines, equipotentials, and Gauss's law

Arrangement
Solid lines are field lines traced from the positive charges; dashed teal curves are equipotentials, which the field lines always cross at right angles. Drag the charges and the sphere. The readout integrates the field's flux over the whole sphere numerically: it equals the enclosed charge (in units where 1/4πε₀ = 1, divided by 4π) whatever the sphere's size or position, and drops to zero, or to the net charge, as charges leave it. The number of lines from each charge is proportional to its size. Charges are points in three dimensions, shown in the plane through them.
1820 Chapter 2 · Magnetostatics

A compass needle beside a wire

In April 1820 Hans Christian Ørsted, lecturing in Copenhagen, noticed that a compass needle moved when current from a battery flowed through a nearby wire. He published in July. Within months the news had spread across Europe. In Paris, Jean-Baptiste Biot and Félix Savart measured how the magnetic field of a wire falls with distance, and André-Marie Ampère showed that two parallel wires carrying currents attract or repel each other, without any magnet at all. Magnetism, it seemed, was electricity in motion.

The Biot–Savart law gives the field of any current distribution as a sum of contributions from each short piece of wire,

\[ d\mathbf B = \frac{\mu_0}{4\pi}\,\frac{I\,d\boldsymbol\ell\times\hat{\mathbf r}}{r^2}, \]

and Ampère's law expresses the same physics as a statement about loops: the field summed around any closed path equals \(\mu_0\) times the current threading it, \(\oint \mathbf B\cdot d\boldsymbol\ell = \mu_0 I\). Magnetic field lines never start or stop; they close on themselves, which is the content of \(\nabla\cdot\mathbf B = 0\).

A uniform field from two coils

A single circular loop makes a field that is strongest at its center and falls off along the axis. Two identical coils sharing an axis do better. When their separation equals their radius, the arrangement named after Hermann von Helmholtz, the falloffs of the two fields cancel to high order at the midpoint: the first three derivatives of the field along the axis vanish there. Helmholtz coils are still the standard way to make a uniform, known magnetic field, for calibrating magnetometers or cancelling Earth's field around a sensitive experiment.

Fig. 2.1Interactive

Helmholtz coils

Left: field lines in a plane containing the axis; dots and crosses show current coming out of and going into the page. Right: the field along the axis. Move the coils apart and the field sags in the middle; push them together and it peaks. At a separation of exactly one radius, the field varies by less than half a percent across the shaded region, a quarter-radius either side of the centre, and far less nearer the middle, because the deviation grows as the fourth power of distance. Field lines are contours of the exact vector potential of circular loops, computed with complete elliptic integrals.
1831 Chapter 3 · Induction

Changing fields make currents

If currents make magnetism, can magnetism make currents? Faraday spent years looking. On 29 August 1831, at the Royal Institution in London, he wound two separate coils of wire on an iron ring, connected one to a battery and the other to a galvanometer, and saw the needle jump at the moment he closed the battery circuit and jump the other way when he opened it. A steady current in one coil did nothing; only a changing one induced current in the other. Joseph Henry found the same effect independently in America.

The rule, in modern form, is that the voltage induced around a loop, its electromotive force, equals the rate of change of magnetic flux through it,

\[ \mathcal E = -\frac{d\Phi_B}{dt}, \qquad \Phi_B = \int \mathbf B\cdot d\mathbf A. \]

The minus sign is Lenz's law (1834): the induced current flows in the direction that opposes the change. Every electrical generator, transformer, and induction cooktop runs on this equation. In differential form it is the third of Maxwell's equations, \(\nabla\times\mathbf E = -\partial\mathbf B/\partial t\), and it says something stranger than the circuit version: a changing magnetic field creates an electric field even where there is no wire at all.

Fig. 3.1Interactive

A magnet falling through a coil

A small neodymium magnet (dipole moment 1 A·m²) falls from rest along the axis of a 200-turn coil. The flux (top) rises as it approaches and falls as it leaves; the voltage (bottom) is minus the slope of the flux. The two pulses have opposite signs, and the second is larger because the magnet is moving faster. The areas under them are equal and opposite, so the total ∫EMF dt is zero: the flux ends where it started. Drop from higher and the pulses grow and narrow. The calculation assumes an open circuit, so no current flows and there is no braking force; with the coil shorted, Lenz's law would slow the magnet.
Part II

Waves

1865 Chapter 4 · Maxwell

Light is an electromagnetic wave

James Clerk Maxwell, working first at King's College London, set out to put Faraday's lines of force into mathematics. In "On Physical Lines of Force" (1861–62) he found that Ampère's law, as it stood, was inconsistent with the conservation of charge when currents change. In a charging capacitor, current flows in the wires but not across the gap. He added a term, the displacement current \(\varepsilon_0\,\partial\mathbf E/\partial t\), which acts like a current wherever the electric field changes.

With that term, the equations admit waves. In empty space, taking the curl of Faraday's law and using Ampère's gives

\[ \nabla^2\mathbf E = \mu_0\varepsilon_0\,\frac{\partial^2\mathbf E}{\partial t^2}, \]

a wave equation with speed \(1/\sqrt{\mu_0\varepsilon_0}\). In 1856 Wilhelm Weber and Rudolf Kohlrausch had measured the ratio of electrical units by discharging a capacitor, and Maxwell computed from their data a speed of 310,740 km/s. Hippolyte Fizeau had measured the speed of light in 1849 as about 315,000 km/s. Maxwell wrote that "we can scarcely avoid the inference that light consists in the transverse undulations of the same medium which is the cause of electric and magnetic phenomena." His "A Dynamical Theory of the Electromagnetic Field" (1865) presented the complete theory.

Waves in matter

In a material such as glass, the electric field polarizes the atoms, which raises the effective permittivity to \(\varepsilon = n^2\varepsilon_0\) and slows the wave to \(c/n\), where \(n\) is the refractive index. Where the index changes abruptly, part of the wave reflects. For light arriving straight on, the fraction of energy reflected is given by Augustin-Jean Fresnel's formula, \(R = \big((n-1)/(n+1)\big)^2\), about 4% for glass. A thin coating of intermediate index, a quarter-wavelength thick, makes the reflections from its two surfaces cancel. This is the anti-reflection coating on camera lenses and eyeglasses.

The figure solves Maxwell's equations directly on a grid with the method Kane Yee introduced in 1966, now called finite-difference time-domain (FDTD). Electric and magnetic fields are stored at alternating points in space and updated in alternating half-steps of time, each from the curl of the other.

Fig. 4.1Interactive

A light pulse meets glass

A short pulse of light, launched from the left, reaches a glass surface (shaded). Part reflects back and part continues, shorter in wavelength and slower inside the glass. The readout measures the reflected energy from a separate, longer run and compares it with Fresnel's formula; the small difference is the grid's discretization error. Raise the index and more reflects. Add the coating, a layer of index √n a quarter-wavelength thick, and the reflection nearly vanishes. One-dimensional FDTD with Yee's staggered grid, about 60 grid cells per wavelength in vacuum.
1887 Chapter 5 · Radiation

Sparks across a room

Maxwell died in 1879 without seeing his waves produced. In 1887, at the technical university in Karlsruhe, Heinrich Hertz drove a spark gap between two metal rods with an induction coil, making charge slosh back and forth hundreds of millions of times a second. A loop of wire with a tiny gap, across the room, sparked in sympathy. Hertz measured the waves' wavelength from standing-wave patterns against a reflecting wall, showed they could be reflected, refracted, and polarized like light, and found their speed equal to light's. "It's of no use whatsoever," he reportedly said of the discovery.

An oscillating charge radiates because its field cannot keep up with it, as Chapter 7 shows. For a short antenna, the radiated power goes mostly sideways, perpendicular to the antenna, and none along its axis. Within fifteen years Guglielmo Marconi had sent signals across the Atlantic (1901).

Steering a beam with phase

Several antennas fed from the same source make a pattern that depends on their spacing \(d\) and the phase difference \(\delta\) between neighbors. Waves from all \(N\) elements add in directions where their path differences, \(d\cos\theta\) per element, compensate the phase steps:

\[ P(\theta) \propto \left|\sum_{m=0}^{N-1} e^{\,i m\left(\frac{2\pi d}{\lambda}\cos\theta + \delta\right)}\right|^2. \]

Changing \(\delta\) electronically swings the beam without moving anything. Ferdinand Braun demonstrated directional transmission with phased antennas in 1905 and shared the 1909 Nobel Prize in Physics with Marconi. Today's radars, 5G base stations, and satellite internet terminals steer beams this way. If the elements are more than half a wavelength apart, extra beams called grating lobes appear, the antenna version of the orders of a diffraction grating.

Fig. 5.1Interactive

A phased antenna array

Radiated power versus direction for a row of identical antennas (dots) that each radiate equally in all directions in this plane; the pattern is symmetric about the row, so only half is shown. With no phase step the beam points broadside, at 90°. Add a phase step and the beam swings toward the row; add antennas and it narrows. Push the spacing past half a wavelength while steering and grating lobes appear. Computed from the array factor above.
Part III

Charges in motion

1897 Chapter 6 · The Lorentz force

Bending a beam of particles

Maxwell's equations say how charges make fields. The other half, how fields push charges, was written out in full by Hendrik Lorentz in 1895:

\[ \mathbf F = q\left(\mathbf E + \mathbf v\times\mathbf B\right). \]

The magnetic force is always perpendicular to the velocity, so it changes a particle's direction but never its speed. In a uniform magnetic field a charged particle circles with radius \(r = mv/qB\) and a period \(2\pi m/qB\) that does not depend on its speed, the fact that makes cyclotrons work. Add an electric field perpendicular to the magnetic one and the circle drifts sideways at the speed \(E/B\), in the direction of \(\mathbf E\times\mathbf B\), whatever the particle's charge.

In 1897 J. J. Thomson at the Cavendish Laboratory sent cathode rays through crossed electric and magnetic fields. He adjusted them until the beam went straight, which meant \(qE = qvB\) and gave the particles' speed \(v = E/B\); bending the beam with the magnetic field alone then gave the ratio of charge to mass. It was about a thousand times larger than for hydrogen ions. The rays were made of a new, very light particle, soon called the electron. The same crossed-field drift confines plasma in fusion devices and sorts particles in mass spectrometers.

Fig. 6.1Interactive

A charge in electric and magnetic fields

A positive charge starts at the left. With only B on, it circles. With only E on, it accelerates upward along a parabola. With both, it traces a cycloid that drifts to the right at E/B; set the starting speed equal to E/B and the forces balance, so it flies straight, Thomson's velocity filter. Units with charge-to-mass ratio 1; integrated with the Boris method, which conserves energy in a magnetic field exactly.
1905 Chapter 7 · Relativity and radiation

Why accelerating charges radiate

Maxwell's equations contain a fixed speed, \(c\). In Newtonian mechanics, speeds add, so the equations should look different to observers moving relative to each other; a magnet moving past a wire and a wire moving past a magnet would be different phenomena. They are not: the induced current is the same either way. In 1905 Albert Einstein began "On the electrodynamics of moving bodies" with exactly this example. He resolved the conflict by keeping Maxwell's equations and changing mechanics: space and time transform so that the speed of light is the same for every observer. Electric and magnetic fields turn out to be two aspects of a single field, mixed differently for different observers.

The field of a moving charge

Oliver Heaviside worked out in 1888 that the field of a charge moving steadily at speed \(v\) still points radially away from its present position, but is squeezed toward the plane perpendicular to the motion. With \(\beta = v/c\) and \(\gamma = 1/\sqrt{1-\beta^2}\),

\[ E(r,\theta) = \frac{q}{4\pi\varepsilon_0 r^2}\,\frac{1-\beta^2}{\left(1-\beta^2\sin^2\theta\right)^{3/2}}, \]

so the field beside the charge is \(\gamma^3\) times stronger than the field ahead of it.

The kink is the radiation

Now stop the charge suddenly. News of the stop spreads outward at the speed of light. Inside a sphere of radius \(ct\) around the stopping point, the field is that of a charge at rest. Outside it, the field has not yet heard, and still points to where the charge would be had it kept going. Field lines cannot break, so in the thin shell between, each line runs sideways, almost perpendicular to the radius. J. J. Thomson drew this picture in 1904, and Edward Purcell made it the standard explanation in his 1965 textbook. The sideways field in the shell is the radiation. Its strength falls as \(1/r\), not \(1/r^2\), because the shell stretches sideways as it grows, so it carries energy to arbitrary distances. Joseph Larmor had derived the power radiated by an accelerating charge in 1897, \(P = q^2a^2/(6\pi\varepsilon_0 c^3)\). The same physics makes X-rays when electrons stop in a tungsten target, as in the linear accelerators of Volume 6.

Fig. 7.1Interactive

A charge that stops: the kink is the radiation

Charge
Moving steadily: the field lines point from the charge's present position and bunch toward the vertical as the speed rises. Stopped: inside the expanding shell (shaded) the lines are those of a charge at rest at the centre; outside, they still point to where the charge would be now (dotted ring). In the shell they run sideways, and that transverse field is the outgoing pulse of radiation. Slide time forward and watch the shell expand while the kinks stretch. The deceleration takes 0.15 time units, which sets the shell's thickness. Line directions follow the exact field of a uniformly moving charge.
Chapter 8 · Today

Still the working theory

Quantum electrodynamics, completed in the late 1940s, explains how light and matter exchange energy in quanta and predicts the electron's magnetic moment to about one part in a trillion. But for anything larger than an atom, classical electrodynamics remains the theory engineers use.

  • Computational electromagnetics. Yee's FDTD method, finite elements, and the method of moments solve Maxwell's equations for antennas, microwave circuits, chip interconnects, MRI coils, and the absorption of phone signals in the head. The hero and Fig. 4.1 use FDTD.
  • Metamaterials. Structures engineered smaller than a wavelength can give effective permittivity and permeability not found in nature. John Pendry predicted in 2000 that a material with negative refractive index could focus beyond the usual diffraction limit, and David Smith's group demonstrated negative refraction of microwaves in 2001. Cloaks that bend waves around an object have been demonstrated at microwave frequencies.
  • Photonics. Optical fibers, guided by total internal reflection, carry most of the world's data. Silicon photonics puts waveguides, modulators, and detectors on chips beside transistors.
  • Units. Since 1983 the meter has been defined by fixing the speed of light at 299,792,458 m/s. In the 2019 revision of the SI, the elementary charge was fixed exactly and \(\mu_0\), which had been exactly \(4\pi\times10^{-7}\) N/A², became a measured quantity; it agrees with the old value to about a part in ten billion.
LawDiscovered byYearWhat it says
Coulomb's lawCoulomb (Priestley, Cavendish earlier)1785Force between charges falls as 1/r²
Gauss's lawGauss1835 (pub. 1867)Flux out of a closed surface measures the charge inside
Biot–Savart, AmpèreØrsted, Biot, Savart, Ampère1820Currents make magnetic fields
Faraday's lawFaraday, Henry; Lenz for the sign1831Changing flux induces an electromotive force
Displacement currentMaxwell1861–65Changing electric fields act like currents; light is a wave
Lorentz forceLorentz1895How fields push on moving charges
The common thread

Faraday's lines of force began as a picture for someone who could not follow the mathematics. Maxwell took the picture seriously and found that the lines carry energy and momentum and can travel on their own as light. Every figure in this volume draws or computes those same lines: around charges, through coils, across a glass surface, and, in the end, as the kink that carries a charge's news to the far side of the universe.

Reference

Glossary

Displacement current
Maxwell's term ε₀ ∂E/∂t, which acts as a source of magnetic field wherever the electric field changes.
Electromotive force
The voltage driving current around a circuit; in induction, minus the rate of change of magnetic flux.
Equipotential
A surface (a curve, in a plane) on which the electric potential is constant; field lines cross it at right angles.
FDTD
Finite-difference time-domain: solving Maxwell's equations on a staggered grid of electric and magnetic field points.
Gaussian surface
An imaginary closed surface used with Gauss's law to relate flux to enclosed charge.
Grating lobe
An unwanted extra beam of an antenna array whose elements are spaced more than half a wavelength apart.
Helmholtz coil
A pair of coaxial coils separated by their radius, giving a nearly uniform field between them.
Lorentz force
The force q(E + v × B) on a charge moving in electric and magnetic fields.
Permittivity, permeability
ε and μ, the constants relating fields to charges and currents in a medium; in vacuum ε₀ and μ₀.
Refractive index
The ratio of the speed of light in vacuum to its speed in a material.

Sources

  1. Coulomb, C.-A. (1785). Premier mémoire sur l'électricité et le magnétisme. Histoire de l'Académie Royale des Sciences; Priestley, J. (1767). The History and Present State of Electricity.
  2. Gauss, C. F. (1867). Werke, vol. 5. Göttingen (Gauss's law, written 1835).
  3. Ørsted, H. C. (1820). Experimenta circa effectum conflictus electrici in acum magneticam. Copenhagen; Biot, J.-B. & Savart, F. (1820). Note sur le magnétisme de la pile de Volta. Annales de chimie et de physique 15; Ampère, A.-M. (1826). Théorie des phénomènes électro-dynamiques, uniquement déduite de l'expérience.
  4. Faraday, M. (1832). Experimental researches in electricity. Philosophical Transactions of the Royal Society 122; Lenz, E. (1834). Über die Bestimmung der Richtung der durch elektrodynamische Vertheilung erregten galvanischen Ströme. Annalen der Physik 107; Royal Institution, "August 1831" (the induction ring, 29 August 1831).
  5. Weber, W. & Kohlrausch, R. (1856). Ueber die Elektricitätsmenge, welche bei galvanischen Strömen durch den Querschnitt der Kette fliesst. Annalen der Physik 99.
  6. Maxwell, J. C. (1861–62). On physical lines of force. Philosophical Magazine 21–23; Maxwell, J. C. (1865). A dynamical theory of the electromagnetic field. Philosophical Transactions of the Royal Society 155; Maxwell, J. C. (1873). A Treatise on Electricity and Magnetism. Oxford.
  7. Heaviside, O. (1888). The electro-magnetic effects of a moving charge. The Electrician 22; Heaviside, O. (1893). Electromagnetic Theory, vol. 1.
  8. Hertz, H. (1888). Über Strahlen elektrischer Kraft. Sitzungsberichte der Preussischen Akademie der Wissenschaften; Hertz, H. (1893). Electric Waves. Macmillan.
  9. Braun, K. F. (1909). Electrical oscillations and wireless telegraphy. Nobel Lecture; The Nobel Prize in Physics 1909, nobelprize.org.
  10. Lorentz, H. A. (1895). Versuch einer Theorie der electrischen und optischen Erscheinungen in bewegten Körpern. Leiden; Thomson, J. J. (1897). Cathode rays. Philosophical Magazine 44.
  11. Larmor, J. (1897). On a dynamical theory of the electric and luminiferous medium. Philosophical Transactions of the Royal Society A 190; Thomson, J. J. (1904). Electricity and Matter. Yale University Press.
  12. Einstein, A. (1905). Zur Elektrodynamik bewegter Körper. Annalen der Physik 17.
  13. Purcell, E. M. (1965). Electricity and Magnetism. Berkeley Physics Course, vol. 2. McGraw-Hill (3rd ed. with D. J. Morin, Cambridge University Press, 2013).
  14. Griffiths, D. J. (2017). Introduction to Electrodynamics, 4th ed. Cambridge University Press; Jackson, J. D. (1999). Classical Electrodynamics, 3rd ed. Wiley.
  15. Yee, K. S. (1966). Numerical solution of initial boundary value problems involving Maxwell's equations in isotropic media. IEEE Transactions on Antennas and Propagation 14; Taflove, A. & Hagness, S. C. (2005). Computational Electrodynamics: The Finite-Difference Time-Domain Method, 3rd ed. Artech House.
  16. Pendry, J. B. (2000). Negative refraction makes a perfect lens. Physical Review Letters 85; Shelby, R. A., Smith, D. R. & Schultz, S. (2001). Experimental verification of a negative index of refraction. Science 292.
  17. BIPM (2019). The International System of Units (SI), 9th ed.; CODATA 2018 recommended value of the vacuum magnetic permeability.