Maxwell's Equations and the Nature of Light
Four equations about wires and magnets, and the wave that fell out of them travelling at exactly the speed of light.
On this page
Two numbers from a laboratory bench#
By the 1850s two constants of nature had been measured with reasonable care, and neither had anything to do with light.
The first, , comes from electrostatics: hang two charged spheres, measure the force between them, and you have fixed the strength of the electric interaction. The second, , comes from magnetism: run currents through two parallel wires, measure the force per metre, and you have fixed the strength of the magnetic one. Two tabletop experiments. Charges and wires. No optics anywhere in sight.
In 1862 James Clerk Maxwell wrote down the complete set of equations governing electric and magnetic fields, noticed that they admitted a self-sustaining travelling wave, and worked out how fast that wave must move. The answer was built from those two bench constants and nothing else:
Fizeau and Foucault had recently measured the speed of light, by spinning mirrors and toothed wheels, at about m/s. The numbers agreed to within the experimental error of both.
Maxwell's conclusion, written with what reads today as considerable restraint: "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." Optics had just been absorbed into electromagnetism. Nobody had been looking for that.
What the four equations actually say#
Written in differential form, in vacuum, they are compact enough to fit on a mug — but each line is a physical statement in plain language.
Gauss's law. Electric field lines begin on positive charge and end on negative charge. If you draw a closed surface, the net field poking out through it tells you exactly how much charge is inside. Nothing else makes electric field lines start or stop.
Gauss's law for magnetism. The same statement for magnetic fields, with the right-hand side set to zero — and that zero is a claim about the universe. There are no magnetic charges. Field lines never begin or end; they always close into loops. Snap a bar magnet in half and you do not get a north pole and a south pole in separate hands, you get two smaller magnets.
Faraday's law. A magnetic field that changes in time wraps an electric field around itself. This is not a subtle effect — it is the entire electrical grid. Spin a magnet near a coil and the changing drives current through the wire. Every generator in every power station is this line.
Ampère's law, with Maxwell's correction. Currents wrap magnetic fields around themselves — that first term was known. The second term was Maxwell's, and it is the reason this article exists. He noticed that Ampère's law as inherited was inconsistent with charge conservation: consider a charging capacitor, and ask what magnetic field circles a loop drawn between the plates. Current flows in the wire but no current crosses the gap, so the law gives two different answers depending on which surface you stretch across the loop. Maxwell patched it by adding a term proportional to the rate of change of the electric field — the displacement current — restoring consistency.
That patch is the whole story. Faraday's law says a changing makes an . Maxwell's new term says a changing makes a . The two halves close a loop, and once a loop closes you no longer need whatever started it.
The wave that holds itself up#
The green curve is the electric field, drawn vertically; the blue curve is the magnetic field, drawn on a skewed axis to suggest that it points into the page. Notice first the geometry: and are at right angles to each other, and both are at right angles to the direction of travel. The wave is transverse. There is no sloshing back and forth along the direction of motion the way there is in sound.
Notice second that the two fields are in phase. Both peak at the same instant and both vanish at the same instant. This trips people up, because the usual mental picture of one field "feeding" the other suggests they should be a quarter-cycle apart, like the energy trading between a mass and a spring. They are not, and the panel at the probe shows why.
Watch the violet tangent line drawn on the electric curve at the probe, and the two bars beside it. The bars track — the spatial slope of the electric field — and , the rate at which the magnetic field is changing in time. They are identical at every instant, and they stay identical as you slide the frequency. That is Faraday's law for a plane wave, written out. The field does not need to be strong to induce; it needs to be sloped. Where is momentarily zero, its slope is steepest — and that is exactly where is changing fastest, sweeping through zero at full speed.
Now push the frequency slider. The wavelength contracts, the crests crowd together, but the pattern does not travel any faster or slower. Nothing in the derivation cares what the frequency is; the speed is set by and alone. Slow the picture right down and ask what is holding the whole thing up. Nothing is. There are no charges in the frame, no currents, no source. The wave left its transmitter long ago and each field is now sustained purely by the other's variation — an arrangement with no need for anything to wave in. This is the deep break with sound and with water: the nineteenth century spent decades hunting for the luminiferous aether because a wave without a medium seemed absurd, and the honest answer is that the electromagnetic field is the medium. It is a thing in its own right, defined at every point of empty space.
Two more consequences fall out of the picture. The fields are perpendicular but not equal in magnitude: in SI units, which is why the magnetic part of a light wave is usually the one you can ignore when working out how it pushes on a charge. And because can point anywhere in the plane perpendicular to travel, a wave carries an extra label beyond frequency and amplitude — its polarization, the direction happens to oscillate along. Polarizing sunglasses exploit it: glare reflected off a road or a lake is preferentially horizontally polarized, so a filter that passes only the vertical component removes most of it and leaves the rest of the scene alone.
Getting the speed out#
The derivation is short enough to follow end to end. Set and — empty space, no sources — and take the curl of Faraday's law:
The right-hand side is something we already have a formula for: substitute the sourceless Ampère–Maxwell law, . On the left, use the vector identity , and note that Gauss's law kills the first term since . What survives is
and this is not a new equation at all. It is the wave equation, the same form that governs a plucked string and a pressure pulse in air:
Comparing the two, the speed is forced:
Put the modern values in — and in SI units — and you get m/s. An identical derivation starting from Ampère's law instead gives the same wave equation for , at the same speed, which is why the two fields march together.
Sit with what that expression does not contain. No frequency: every colour travels at the same speed in vacuum. No amplitude: bright light and dim light are equally fast. And — this is the one that broke physics — no reference frame. The formula for the speed of a sound wave, , is a speed relative to the air; run through the air and you measure something different. Maxwell's has no air. It is two constants of nature and nothing to be relative to.
Galilean relativity insists velocities add: chase a light beam at and you should measure it receding at . Maxwell's equations insist you will measure . Both cannot be right, and the whole apparatus of the aether was an attempt to save the first by supplying a frame for the second to be measured against. Michelson and Morley went looking for the Earth's motion through that frame in 1887 and found nothing at all. Einstein's move in 1905 was to keep Maxwell intact and give up the assumption that everyone shares a clock, which is exactly where time dilation comes from. Special relativity is not a strange addition to electromagnetism; it is what electromagnetism had been quietly demanding for forty years.
One phenomenon, sixteen decades wide#
Because the derivation never mentions frequency, any frequency solves the equations. Maxwell's waves are not a particular thing that happens at a particular wavelength — they are a continuous family, and we have given the regions of that family different names purely for historical and biological reasons.
Drag the slider from left to right and watch the numbers. Start out at metres — that is radio, and one crest to the next is about the length of a house. The frequency is a comfortable megahertz or so and the energy per photon is nanoelectronvolts, which is why radio passes through walls and through you without leaving a mark. Keep going. At millimetres the label changes to microwave, at micrometres to infrared, and nothing whatsoever changes about the physics; only the number changes.
Then look at what happens around metres. The gold marker crosses a band eight pixels wide on a scale sixteen decades long, and that is everything you have ever seen. The blown-up strip beneath is that sliver, stretched three hundred pixels across. Red to violet — the entire visual world, every painting and sunset and face — is less than one octave: violet is only about twice the frequency of red. Your ears handle ten octaves without complaint; your eyes get one, and we named it "light" because it happens to be the band our star pours out most strongly and the band our atmosphere lets through.
Keep dragging. Past the visible edge the photon energy climbs through a few electronvolts, which is the energy scale of chemical bonds — hence sunburn, hence ultraviolet damaging DNA where infrared merely warms it. At nanometres and below you are into X-rays, wavelengths comparable to the spacing between atoms in a crystal, which is why crystals diffract them and why we can read molecular structure at all. Push to picometres and shorter for gamma rays, where a single photon carries megaelectronvolts — more than enough to blow an atom apart.
The lesson of the scrub is that the boundaries are ours, not nature's. The equations do not know where "visible" stops. The bands are named after how we generate the waves and what they do to matter, and the reason energy per photon matters so much for that second question is a quantum fact, not a classical one: Maxwell's theory is silent on why a wave of frequency should deliver its energy in lumps of size . That is where the classical field theory runs out and wave-particle duality begins.
Where it shows up#
Everything that broadcasts. Maxwell's equations say that an accelerating charge radiates. Shove electrons up and down an antenna and the kink in their field lines propagates outward at , carrying energy away — that is a radio transmission, and the same sentence describes a WiFi router, a phone, a radar dish, and a star. Hertz confirmed it experimentally in 1887, generating and detecting waves across his laboratory and demonstrating that they reflected and refracted exactly as light does. Asked what use it was, he reportedly said none whatsoever.
Light carries momentum. The wave transports not just energy but momentum , so it pushes on whatever absorbs it. The pressure is tiny — sunlight on a mirror exerts about nine micronewtons per square metre — but over a large enough sail and enough time it is free propulsion, which is why solar sails work. The same pressure shapes comet tails and helps hold stars up against their own gravity.
Reading the universe. Every band of the spectrum is a separate window on the same sky, and the picture only assembles when you use all of them: radio for cold hydrogen and pulsars, infrared for dust and forming planets, X-rays for accreting black holes, gamma for the most violent events known. The wavelengths arriving are also shifted by the motion of their source, which turns each spectrum into a velocity measurement — see the Doppler effect and the redshift that measures the expansion of the universe.
Everyday matter. Why glass is transparent, metals are shiny, water is blue, and the sky scatters violet more than red are all questions about how the oscillating field of a passing wave shakes the charges in a material and what those shaken charges re-radiate. The whole of optics is Maxwell's equations plus a description of how a given substance's electrons respond.
- Maxwell's four equations, written for empty space, combine into the wave equation with speed — built entirely from two constants measured with charges and wires, and matching the measured speed of light. That was the unification of optics with electromagnetism.
- The wave sustains itself: Faraday's law lets a changing create , and Maxwell's displacement current lets a changing create . Neither field needs a source once the loop is closed, so no medium is required — the field itself is the thing that waves.
- and are perpendicular to each other and to the direction of travel, and they are in phase, not a quarter-cycle apart: it is the slope of one field that drives the time rate of the other.
- The speed contains no frequency, no amplitude, and crucially no reference frame — a direct contradiction of Galilean velocity addition. Keeping Maxwell and giving up absolute time is special relativity.
- Radio through gamma is one continuous family of solutions differing only in wavelength; visible light is under one octave of a sixteen-decade span. Why a wave of frequency arrives in packets of energy is the question classical field theory cannot answer, and where wave-particle duality takes over.
Share this article