For centuries, electric and magnetic phenomena were treated as separate curiosities. A compass needle pointed north, a rubbed piece of amber attracted dust, and no one suspected that the two effects had a common origin. The history of electromagnetism is the story of how these separate domains were gradually quantified, linked, unified, and eventually woven into the fabric of modern physics—a process that replaced intuitive qualities with precise laws, then replaced those laws with deeper symmetries, while never fully discarding the earlier frameworks that still work within their proper limits.
The first systematic framework for magnetism was Gilbert's Magnetic Philosophy (1600–1700). William Gilbert, in De Magnete, argued that the Earth itself is a giant magnet and that magnetic attraction is a property inherent to certain materials, not a supernatural or celestial influence. Gilbert's framework treated magnetism as a distinct, irreducible force that acted through contact or through a quasi-material "magnetic virtue" that could align iron. Electricity, by contrast, remained a minor phenomenon of rubbed amber, with no comparable theory.
A century later, the Two-Fluid Theory of Electricity (1700–1800) gave electricity its own systematic framework. Charles Du Fay proposed that there are two kinds of electric fluid—vitreous and resinous—and that like fluids repel while unlike attract. This framework organized a growing body of observations about charged objects into a simple rule: every electrical interaction reduces to the attraction or repulsion of two imponderable fluids. The Two-Fluid Theory coexisted with Gilbert's Magnetic Philosophy because the two domains were still seen as unrelated. Neither framework tried to explain the other; each simply catalogued its own phenomena with its own vocabulary.
The first major step toward a unified mathematical treatment came with Coulomb's Action-at-a-Distance Electrostatics (1785–1820). Charles-Augustin de Coulomb used a torsion balance to measure the force between charged spheres and found that it follows an inverse-square law, exactly analogous to Newton's law of gravitation. Coulomb's framework absorbed the Two-Fluid Theory's basic picture—two kinds of charge—but replaced its qualitative fluid language with a precise quantitative law. The force between two charges depends only on their magnitudes and the distance between them, with no need for a medium. This action-at-a-distance assumption worked beautifully for static charges, but it said nothing about magnetism or about moving charges.
Ampère's Electrodynamics (1820–1865) extended the same action-at-a-distance approach to currents. Hans Christian Ørsted had discovered that a current-carrying wire deflects a compass needle, and André-Marie Ampère quickly worked out the force law between two current elements. Ampère's framework treated magnetism as a secondary effect of moving electric charges—a radical departure from Gilbert's view of magnetism as a primary property. For Ampère, all magnetic phenomena could be reduced to electric currents circulating within materials. The force between two current elements, like Coulomb's force, acted instantaneously across empty space. Ampère's framework thus created the first genuine bridge between electricity and magnetism, but it did so within the same action-at-a-distance ontology that Coulomb had used.
Michael Faraday, working at the Royal Institution in the 1830s, became dissatisfied with action-at-a-distance. He could not accept that a current in one wire could influence a magnet miles away with nothing in between. Faraday's Field Concept (1831–1865) proposed instead that electric and magnetic effects are transmitted through a medium—the "field"—that fills the space around charges and currents. Faraday imagined lines of force that curve through space, and he showed that changing magnetic fields produce electric currents (electromagnetic induction). His framework was qualitative and pictorial, but it introduced a radically new ontology: the field is real, and forces are local, not instantaneous.
James Clerk Maxwell took Faraday's field concept and gave it mathematical form. Maxwell's Classical Electrodynamics (1865–1905) is a set of four partial differential equations that describe how electric and magnetic fields are generated by charges and currents and how they propagate through space. Maxwell preserved Faraday's central insight—fields are the fundamental entities—but added a crucial prediction: a changing electric field produces a magnetic field, just as a changing magnetic field produces an electric field. This symmetry implies that electromagnetic waves exist, and Maxwell identified light as one such wave. His framework unified electricity, magnetism, and optics into a single theory. The ether, a hypothetical medium, was still needed to carry the waves, but the equations themselves did not depend on its detailed properties.
Maxwell's equations posed a puzzle: they predicted a fixed speed for light, but the speed should change if the observer moves through the ether. Experiments by Michelson and Morley found no such change. Relativistic Electrodynamics (1905–1927), built on Albert Einstein's special relativity, resolved the puzzle by discarding the ether entirely. Einstein showed that Maxwell's equations are already Lorentz-invariant—they take the same form in every inertial frame—so no ether is needed. Relativistic Electrodynamics did not replace Maxwell's framework; it reinterpreted it. The equations remained unchanged, but their meaning shifted: electric and magnetic fields are not separate entities but components of a single electromagnetic field tensor that transforms between reference frames. This framework absorbed Maxwell's Classical Electrodynamics as a special case valid at low speeds, while extending it to correctly describe the behavior of charges moving at relativistic speeds.
By the 1920s, classical electrodynamics faced a new limit: it could not explain how atoms emit and absorb light. The spectrum of hydrogen, the photoelectric effect, and the stability of atoms all required a quantum treatment. Quantum Electrodynamics (QED) (1927–Present) emerged from the work of Dirac, Feynman, Schwinger, and Tomonaga. QED is a quantum field theory in which the electromagnetic field is quantized: the field consists of particles called photons, and charged particles interact by exchanging photons. The classical field of Maxwell is recovered as the average behavior of many photons, just as classical fluid flow emerges from many molecules. QED does not replace Classical Electrodynamics; it provides a more fundamental description that reduces to the classical theory when quantum effects are negligible (the correspondence principle). At atomic scales, QED's predictions—such as the Lamb shift and the anomalous magnetic moment of the electron—agree with experiment to extraordinary precision.
Relativistic Electrodynamics and QED coexist in a layered relationship. QED is built on the relativistic framework: its equations are Lorentz-invariant, and the photon is a relativistic particle. When a student solves a problem about a moving charge in a magnetic field, they use the relativistic framework; when they calculate the probability of an electron emitting a photon, they use QED. The two frameworks are not in competition; they address different scales.
In the 1960s, physicists realized that the weak nuclear force and electromagnetism might share a common origin. Electroweak Theory (1967–Present), developed by Glashow, Salam, and Weinberg, unifies QED with the weak interaction into a single electroweak force at high energies. At everyday energies, the symmetry between the two forces is broken by the Higgs mechanism, so they appear distinct: the photon remains massless and long-range, while the W and Z bosons become massive and short-range. Electroweak Theory does not replace QED; it subsumes it. At energies far below the electroweak scale (about 100 GeV), the theory reduces to QED plus the weak interaction as separate sectors. The relationship is one of absorption: QED is the low-energy remnant of a more symmetric unified theory.
Today, two frameworks carry the bulk of practical work in electromagnetism. Classical Electrodynamics (Maxwell's equations plus special relativity) remains the tool of choice for engineers, antenna designers, and anyone working with fields and currents at macroscopic scales. Quantum Electrodynamics is the framework for particle physics, laser physics, and any situation where individual photons or atomic transitions matter.
What they agree on: both frameworks accept Maxwell's equations as the classical limit. Both are Lorentz-invariant. Both treat the electromagnetic field as a real physical entity, not a mere calculational device. Both predict the same speed of light and the same behavior for macroscopic fields.
Where they disagree: the ontology of the field. Classical Electrodynamics treats the field as a continuous quantity that can be measured at any point. QED treats the field as an operator that creates and destroys photons; the classical field is only an expectation value. They also disagree on the nature of force: in the classical framework, a charge feels a force from the local field; in QED, force is mediated by virtual photon exchange. These are not contradictions but different levels of description. A student learning electromagnetism today must be comfortable switching between them, knowing which framework applies to which problem and why.