How Maxwell Unified Electricity, Magnetism, and Light

In the mid-19th century, Scottish physicist James Clerk Maxwell achieved one of the greatest triumphs in science by unifying electricity, magnetism, and light into a single mathematical framework. This article explains how Maxwell synthesized existing experimental laws, resolved a critical mathematical paradox by introducing the concept of "displacement current," and discovered that light is an electromagnetic wave. Finally, it details how his sprawling original mathematics were condensed into the four elegant coupled vector differential equations known today as Maxwell's equations.

Building on Experimental Foundations

Before Maxwell, electricity and magnetism were understood through separate empirical laws discovered by other scientists. Michael Faraday had proposed that electric and magnetic forces were not acting at a distance through empty space, but rather through invisible "lines of force," or fields.

Maxwell possessed the mathematical brilliance that Faraday lacked. He set out to translate Faraday’s physical intuition of fields into the precise language of calculus. To do this, Maxwell gathered four known physical principles:

  1. Coulomb's/Gauss's Law: Electric charges produce electric fields.
  2. Gauss's Law for Magnetism: Magnetic north and south poles cannot be isolated; magnetic fields always form closed loops.
  3. Faraday's Law of Induction: A changing magnetic field creates an electric field.
  4. Ampère's Circuital Law: An electric current creates a magnetic field.

The Missing Piece: Displacement Current

When Maxwell expressed these four principles mathematically, he discovered a fatal flaw in Ampère’s Law. The math broke down when applied to a charging capacitor—a device consisting of two metal plates separated by an insulating gap.

When a capacitor charges, electric current flows through the wire, building up charge on one plate, while inducing an opposite charge on the other. Ampère’s Law stated that the current in the wire creates a magnetic field. However, no actual charge flows across the insulating gap between the plates, meaning the current there is zero. According to Ampère’s Law, the magnetic field should suddenly drop to zero at the gap, which violated the conservation of electric charge and contradicted real-world experiments.

Maxwell realized that as charge builds up on the plates, the electric field across the empty gap changes rapidly. To fix the mathematics, Maxwell hypothesized that a changing electric field acts just like a physical current, capable of generating a magnetic field. He called this phenomenon displacement current. By adding this single mathematical term to Ampère's Law, the equation became consistent everywhere in space.

The Unification with Light

The addition of displacement current created a profound symmetry in nature. Faraday had already shown that a changing magnetic field creates an electric field. Maxwell had just proven the reverse: a changing electric field creates a magnetic field.

Maxwell realized that if you oscillate an electric charge, it creates a changing electric field. This generates a changing magnetic field, which in turn generates a new changing electric field. The two fields leapfrog through empty space, perpetually regenerating one another as a self-sustaining electromagnetic wave.

Using the coupled equations of electricity and magnetism, Maxwell derived a wave equation to calculate how fast this electromagnetic disturbance would travel. The speed depended solely on two known constants: the electric permittivity of free space (\(\varepsilon_0\)) and the magnetic permeability of free space (\(\mu_0\)). The formula was:

\[v = \frac{1}{\sqrt{\mu_0 \varepsilon_0}}\]

When Maxwell plugged in the experimentally measured values for these constants, the resulting speed was approximately \(3 \times 10^8\) meters per second. This matched the known speed of light. Maxwell concluded that this was not a coincidence: light itself is an electromagnetic wave. Electricity, magnetism, and optics were suddenly unified as manifestations of the exact same phenomenon.

From 20 Equations to 4 Vector Equations

Interestingly, Maxwell did not write the four equations we use today. In his 1865 paper, A Dynamical Theory of the Electromagnetic Field, Maxwell used component-based calculus and quaternions, resulting in a cumbersome system of 20 equations with 20 variables.

In the 1880s, a self-taught English mathematician and physicist named Oliver Heaviside (alongside Josiah Willard Gibbs) pioneered modern vector calculus. Heaviside stripped away the mathematical clutter of Maxwell's work, grouping the spatial components of the fields into vectors. He reduced the 20 equations down to the four coupled vector partial differential equations used in modern physics.

They are called "coupled" equations because the electric field vector (\(\mathbf{E}\)) and the magnetic field vector (\(\mathbf{B}\)) appear together in the last two equations, meaning you cannot solve for one without accounting for the other.

The Four Equations Explained

Using the vector operators for divergence (\(\nabla \cdot\), which measures how much a field spreads out from a point) and curl (\(\nabla \times\), which measures how much a field twists or circulates around a point), the unified system is written as follows:

1. Gauss's Law for Electricity \[\nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0}\] This states that electric charges (\(\rho\)) act as sources or sinks for the electric field (\(\mathbf{E}\)). Positive charges push the field outward; negative charges pull it inward.

2. Gauss's Law for Magnetism \[\nabla \cdot \mathbf{B} = 0\] The divergence of the magnetic field (\(\mathbf{B}\)) is always zero. This mathematically proves there are no "magnetic charges" (monopoles). Magnetic field lines never start or end; they only form continuous loops.

3. Faraday's Law of Induction \[\nabla \times \mathbf{E} = -\frac{\partial \mathbf{B}}{\partial t}\] A magnetic field changing in time (\(\frac{\partial \mathbf{B}}{\partial t}\)) causes an electric field to curl, or circulate, around it. This is the operating principle behind electric generators.

4. The Ampère-Maxwell Law \[\nabla \times \mathbf{B} = \mu_0 \mathbf{J} + \mu_0 \varepsilon_0 \frac{\partial \mathbf{E}}{\partial t}\] A circulating magnetic field is generated by two things: a physical electric current (\(\mathbf{J}\)) and Maxwell's displacement current—a time-varying electric field (\(\frac{\partial \mathbf{E}}{\partial t}\)).

Together, these four equations completely describe classical electromagnetism, showing how charges and currents generate fields, and how those coupled fields propagate through the universe as light.