Maxwell's Equations Explained Simply

Updated May 2026
Maxwell's equations are four mathematical relationships that completely describe how electric and magnetic fields are generated by charges and currents, how they interact with each other, and how they propagate as electromagnetic waves at the speed of light.

The Four Pillars of Electromagnetic Theory

Maxwell's equations are four mathematical relationships that completely describe classical electromagnetism. Published by James Clerk Maxwell in the 1860s, they unified all previously known laws of electricity and magnetism into a single, coherent theoretical framework. These equations predict every classical electromagnetic phenomenon, from the behavior of static charges to the propagation of light across the universe.

Before Maxwell, the laws of electricity and magnetism existed as separate, empirically discovered rules. Coulomb's law described forces between charges. Ampere's law described magnetic fields around currents. Faraday's law described electromagnetic induction. Maxwell's contribution was not just to collect these laws, but to identify a critical missing piece, the displacement current, that made them self-consistent and revealed that light is an electromagnetic wave.

Gauss's Law for Electricity

The first Maxwell equation, Gauss's law for electricity, relates the electric flux through a closed surface to the total charge enclosed within that surface. In physical terms, it states that electric field lines originate from positive charges and terminate on negative charges. The total number of field lines passing outward through any closed surface depends only on the net charge inside, regardless of the surface's size or shape.

Mathematically, Gauss's law is expressed as the surface integral of the electric field over a closed surface equals the enclosed charge divided by the permittivity of free space (epsilon_0). This relationship makes it straightforward to calculate electric fields for charge distributions with high symmetry, such as point charges, infinite line charges, and infinite plane charges.

The permittivity of free space, epsilon_0, has a value of approximately 8.854 x 10^-12 farads per meter. It characterizes how strongly the vacuum responds to the presence of electric charge. Materials with higher permittivity than vacuum reduce the electric field strength for a given charge distribution, which is the principle behind dielectric materials used in capacitors.

Gauss's Law for Magnetism

The second Maxwell equation, Gauss's law for magnetism, states that the total magnetic flux through any closed surface is always zero. This is the mathematical statement that magnetic monopoles do not exist. Every magnetic field line that enters a closed surface must also exit it, because field lines form closed loops with no starting or ending points.

This stands in stark contrast to Gauss's law for electricity, where the flux can be nonzero if the surface encloses net charge. The asymmetry between electric and magnetic fields, charges exist but monopoles do not, is one of the deepest features of classical electromagnetism. While some theoretical frameworks predict the existence of magnetic monopoles, none have ever been experimentally detected.

If magnetic monopoles were ever discovered, Gauss's law for magnetism would need to be modified to include a magnetic charge term, analogous to the electric charge term in Gauss's law for electricity. This modification would make Maxwell's equations perfectly symmetric between electricity and magnetism, a possibility that physicists find aesthetically appealing.

Faraday's Law of Induction

The third Maxwell equation, Faraday's law, states that a changing magnetic flux through a loop induces an electromotive force (EMF) around that loop. The induced EMF is equal to the negative rate of change of the magnetic flux, with the negative sign reflecting Lenz's law: the induced current opposes the change that caused it.

Faraday's law explains how electric generators work. As a coil of wire rotates in a magnetic field, the magnetic flux through the coil changes continuously, inducing an alternating voltage. It also explains how transformers transfer energy between coils: a changing current in the primary coil creates a changing magnetic flux that induces voltage in the secondary coil.

In its more general form, Faraday's law states that a time-varying magnetic field creates a circulating electric field, even in empty space with no physical wire present. This is crucial for understanding electromagnetic waves: the changing magnetic field component of the wave generates the electric field component, which in turn generates the next cycle of the magnetic field.

The Ampere-Maxwell Law

The fourth equation, the Ampere-Maxwell law, states that magnetic fields are produced by electric currents and by changing electric fields. The original version, Ampere's law, accounted only for currents. Maxwell added the displacement current term, which represents the magnetic field generated by a time-varying electric field, even when no actual charges are flowing.

The displacement current was Maxwell's most original contribution. He recognized that without it, Ampere's law was inconsistent with the conservation of charge. Consider a charging capacitor: current flows into one plate and out of the other, but between the plates, where no charges flow, the magnetic field would be discontinuous without the displacement current. The changing electric field between the plates serves as the source of the magnetic field, maintaining continuity.

The displacement current completes the symmetry between Faraday's law and Ampere's law. Just as a changing magnetic field creates an electric field (Faraday), a changing electric field creates a magnetic field (Ampere-Maxwell). This mutual generation is the mechanism by which electromagnetic waves propagate: each field sustains the other in a self-reinforcing cycle.

The Prediction of Electromagnetic Waves

When Maxwell combined his four equations, he derived a wave equation showing that oscillating electric and magnetic fields propagate through space at a speed equal to 1/sqrt(mu_0 * epsilon_0). Using the known values of the permeability of free space (mu_0 = 4pi x 10^-7 T m/A) and the permittivity of free space (epsilon_0 = 8.854 x 10^-12 F/m), this speed calculates to approximately 3 x 10^8 m/s, which matched the experimentally measured speed of light.

This was not a coincidence. Maxwell concluded that light is an electromagnetic wave, a theoretical prediction that Heinrich Hertz confirmed experimentally in 1887 by generating and detecting radio waves. The unification of optics with electromagnetism was one of the greatest intellectual achievements in physics, demonstrating that seemingly different phenomena were manifestations of the same underlying physics.

Maxwell's equations remain the foundation of electrical engineering, telecommunications, optics, and countless other fields. Their predictions have been verified to extraordinary precision. The quantum extension of Maxwell's theory, quantum electrodynamics (QED), has achieved agreement between prediction and experiment to more than ten significant figures, making it the most accurately tested theory in all of science.

Key Takeaway

Maxwell's four equations, Gauss's law for electricity, Gauss's law for magnetism, Faraday's law, and the Ampere-Maxwell law, form the complete mathematical foundation of classical electromagnetism. Their most profound prediction, that light is an electromagnetic wave, unified optics with electricity and magnetism.