Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
University Physics Volume 2

16.1 Maxwell’s Equations and Electromagnetic Waves

University Physics Volume 216.1 Maxwell’s Equations and Electromagnetic Waves

Learning Objectives

By the end of this section, you will be able to:

  • Explain Maxwell’s correction of Ampère’s law by including the displacement current
  • State and apply Maxwell’s equations in integral form
  • Describe how the symmetry between changing electric and changing magnetic fields explains Maxwell’s prediction of electromagnetic waves
  • Describe how Hertz confirmed Maxwell’s prediction of electromagnetic waves

James Clerk Maxwell (1831–1879) was one of the major contributors to physics in the nineteenth century (Figure 16.2). Although he died young, he made major contributions to the development of the kinetic theory of gases, to the understanding of color vision, and to the nature of Saturn’s rings. He is probably best known for having combined existing knowledge of the laws of electricity and of magnetism with insights of his own into a complete overarching electromagnetic theory, represented by Maxwell’s equations.

Photograph of James Clerk Maxwell.
Figure 16.2 James Clerk Maxwell, a nineteenth-century physicist, developed a theory that explained the relationship between electricity and magnetism, and correctly predicted that visible light consists of electromagnetic waves.

Maxwell’s Correction to the Laws of Electricity and Magnetism

The four basic laws of electricity and magnetism had been discovered experimentally through the work of physicists such as Oersted, Coulomb, Gauss, and Faraday. Maxwell discovered logical inconsistencies in these earlier results and identified the incompleteness of Ampère’s law as their cause.

Recall that according to Ampère’s law, the integral of the magnetic field around a closed loop C is proportional to the current I passing through any surface whose boundary is loop C itself:


There are infinitely many surfaces that can be attached to any loop, and Ampère’s law stated in Equation 16.1 is independent of the choice of surface.

Consider the set-up in Figure 16.3. A source of emf is abruptly connected across a parallel-plate capacitor so that a time-dependent current I develops in the wire. Suppose we apply Ampère’s law to loop C shown at a time before the capacitor is fully charged, so that I0I0. Surface S1S1 gives a nonzero value for the enclosed current I, whereas surface S2S2 gives zero for the enclosed current because no current passes through it:

CB·ds={μ0Iif surfaceS1is used0if surfaceS2is used.CB·ds={μ0Iif surfaceS1is used0if surfaceS2is used.

Clearly, Ampère’s law in its usual form does not work here. This is an internal contradiction in the theory which requires a modification to the theory, Ampère’s law, itself.

Figure shows a wire connected to a plate of a parallel plate capacitor. A current I passes through it in the downward direction. The wire also passes through the flat surface of a cylinder at the top of the capacitor. This surface is labeled S1 and its circular boundary is labeled C. An arrow B is shown tangential to C. The sides of the cylinder taper downward and inward. This surface is labeled S2. Field lines labeled vector E are shown between two plates of the capacitor, pointing down.
Figure 16.3 The currents through surface S1S1 and surface S2S2 are unequal, despite having the same boundary loop C.

How can Ampère’s law be modified so that it works in all situations? Maxwell suggested including an additional contribution, called the displacement current IdId, to the real current I,


where the displacement current is defined to be


Here ε0ε0 is the permittivity of free space and ΦEΦE is the electric flux, defined as


The displacement current is analogous to a real current in Ampère’s law, entering into Ampère’s law in the same way. It is produced, however, by a changing electric field. It accounts for a changing electric field producing a magnetic field, just as a real current does, but the displacement current can produce a magnetic field even where no real current is present. When this extra term is included, the modified Ampère’s law equation becomes


and is independent of the surface S through which the current I is measured.

We can now examine this modified version of Ampère’s law to confirm that it holds independent of whether the surface S1S1 or the surface S2S2 in Figure 16.3 is chosen. The electric field EE corresponding to the flux ΦEΦE in Equation 16.3 is between the capacitor plates. Therefore, the EE field and the displacement current through the surface S1S1 are both zero, and Equation 16.2 takes the form


We must now show that for surface S2,S2, through which no actual current flows, the displacement current leads to the same value μ0Iμ0I for the right side of the Ampère’s law equation. For surface S2,S2, the equation becomes


Gauss’s law for electric charge requires a closed surface and cannot ordinarily be applied to a surface like S1S1 alone or S2S2 alone. But the two surfaces S1S1 and S2S2 form a closed surface in Figure 16.3 and can be used in Gauss’s law. Because the electric field is zero on S1S1, the flux contribution through S1S1 is zero. This gives us


Therefore, we can replace the integral over S2S2 in Equation 16.6 with the closed Gaussian surface S1+S2S1+S2 and apply Gauss’s law to obtain


Thus, the modified Ampère’s law equation is the same using surface S2,S2, where the right-hand side results from the displacement current, as it is for the surface S1,S1, where the contribution comes from the actual flow of electric charge.

Example 16.1

Displacement current in a charging capacitor

A parallel-plate capacitor with capacitance C whose plates have area A and separation distance d is connected to a resistor R and a battery of voltage V. The current starts to flow at t=0t=0. (a) Find the displacement current between the capacitor plates at time t. (b) From the properties of the capacitor, find the corresponding real current I=dQdtI=dQdt, and compare the answer to the expected current in the wires of the corresponding RC circuit.


We can use the equations from the analysis of an RC circuit (Alternating-Current Circuits) plus Maxwell’s version of Ampère’s law.


  1. The voltage between the plates at time t is given by
    Let the z-axis point from the positive plate to the negative plate. Then the z-component of the electric field between the plates as a function of time t is
    Therefore, the z-component of the displacement current IdId between the plates is
    where we have used C=ε0AdC=ε0Ad for the capacitance.
  2. From the expression for VC,VC, the charge on the capacitor is
    The current into the capacitor after the circuit is closed, is therefore
    This current is the same as IdId found in (a).

Maxwell’s Equations

With the correction for the displacement current, Maxwell’s equations take the form

E·dA=Qinε0(Gauss’s law)E·dA=Qinε0(Gauss’s law)
B·dA=0(Gauss’s law for magnetism)B·dA=0(Gauss’s law for magnetism)
E·dl=dΦmdt(Faraday’s law)E·dl=dΦmdt(Faraday’s law)
B·dl=μ0I+ε0μ0dΦEdt(Ampère-Maxwell law).B·dl=μ0I+ε0μ0dΦEdt(Ampère-Maxwell law).

Once the fields have been calculated using these four equations, the Lorentz force equation


gives the force that the fields exert on a particle with charge q moving with velocity vv. The Lorentz force equation combines the force of the electric field and of the magnetic field on the moving charge. The magnetic and electric forces have been examined in earlier modules. These four Maxwell’s equations are, respectively,

Maxwell’s Equations

1. Gauss’s law

The electric flux through any closed surface is equal to the electric charge QinQin enclosed by the surface. Gauss’s law [Equation 16.8] describes the relation between an electric charge and the electric field it produces. This is often pictured in terms of electric field lines originating from positive charges and terminating on negative charges, and indicating the direction of the electric field at each point in space.

2. Gauss’s law for magnetism

The magnetic field flux through any closed surface is zero [Equation 16.9]. This is equivalent to the statement that magnetic field lines are continuous, having no beginning or end. Any magnetic field line entering the region enclosed by the surface must also leave it. No magnetic monopoles, where magnetic field lines would terminate, are known to exist (see Magnetic Fields and Lines).

3. Faraday’s law

A changing magnetic field induces an electromotive force (emf) and, hence, an electric field. The direction of the emf opposes the change. This third of Maxwell’s equations, Equation 16.10, is Faraday’s law of induction and includes Lenz’s law. The electric field from a changing magnetic field has field lines that form closed loops, without any beginning or end.

4. Ampère-Maxwell law

Magnetic fields are generated by moving charges or by changing electric fields. This fourth of Maxwell’s equations, Equation 16.11, encompasses Ampère’s law and adds another source of magnetic fields, namely changing electric fields.

Maxwell’s equations and the Lorentz force law together encompass all the laws of electricity and magnetism. The symmetry that Maxwell introduced into his mathematical framework may not be immediately apparent. Faraday’s law describes how changing magnetic fields produce electric fields. The displacement current introduced by Maxwell results instead from a changing electric field and accounts for a changing electric field producing a magnetic field. The equations for the effects of both changing electric fields and changing magnetic fields differ in form only where the absence of magnetic monopoles leads to missing terms. This symmetry between the effects of changing magnetic and electric fields is essential in explaining the nature of electromagnetic waves.

Later application of Einstein’s theory of relativity to Maxwell’s complete and symmetric theory showed that electric and magnetic forces are not separate but are different manifestations of the same thing—the electromagnetic force. The electromagnetic force and weak nuclear force are similarly unified as the electroweak force. This unification of forces has been one motivation for attempts to unify all of the four basic forces in nature—the gravitational, electrical, strong, and weak nuclear forces (see Particle Physics and Cosmology).

The Mechanism of Electromagnetic Wave Propagation

To see how the symmetry introduced by Maxwell accounts for the existence of combined electric and magnetic waves that propagate through space, imagine a time-varying magnetic field B0(t)B0(t) produced by the high-frequency alternating current seen in Figure 16.4. We represent B0(t)B0(t) in the diagram by one of its field lines. From Faraday’s law, the changing magnetic field through a surface induces a time-varying electric field E0(t)E0(t) at the boundary of that surface. The displacement current source for the electric field, like the Faraday’s law source for the magnetic field, produces only closed loops of field lines, because of the mathematical symmetry involved in the equations for the induced electric and induced magnetic fields. A field line representation of E0(t)E0(t) is shown. In turn, the changing electric field E0(t)E0(t) creates a magnetic field B1(t)B1(t) according to the modified Ampère’s law. This changing field induces E1(t),E1(t), which induces B2(t),B2(t), and so on. We then have a self-continuing process that leads to the creation of time-varying electric and magnetic fields in regions farther and farther away from O. This process may be visualized as the propagation of an electromagnetic wave through space.

Figure shows a 3 dimensional diagram. A wire carrying an AC current is along the z axis. A circle labeled B0 goes around the wire. It lies in the xy plane. Another circle, labeled E0 goes through B0. E0 lies in the xz plane. Circle B1 goes through E0 and E1 goes through B1, and so on forming what looks like a chain. Circles B0, B1 and B2 are in the xy plane, with their centres along the x axis. These are interspersed with circles E0, E1 and E2 in the xz plane, whose centers lie on the y axis.
Figure 16.4 How changing EE and BB fields propagate through space.

In the next section, we show in more precise mathematical terms how Maxwell’s equations lead to the prediction of electromagnetic waves that can travel through space without a material medium, implying a speed of electromagnetic waves equal to the speed of light.

Prior to Maxwell’s work, experiments had already indicated that light was a wave phenomenon, although the nature of the waves was yet unknown. In 1801, Thomas Young (1773–1829) showed that when a light beam was separated by two narrow slits and then recombined, a pattern made up of bright and dark fringes was formed on a screen. Young explained this behavior by assuming that light was composed of waves that added constructively at some points and destructively at others (see Interference). Subsequently, Jean Foucault (1819–1868), with measurements of the speed of light in various media, and Augustin Fresnel (1788–1827), with detailed experiments involving interference and diffraction of light, provided further conclusive evidence that light was a wave. So, light was known to be a wave, and Maxwell had predicted the existence of electromagnetic waves that traveled at the speed of light. The conclusion seemed inescapable: Light must be a form of electromagnetic radiation. But Maxwell’s theory showed that other wavelengths and frequencies than those of light were possible for electromagnetic waves. He showed that electromagnetic radiation with the same fundamental properties as visible light should exist at any frequency. It remained for others to test, and confirm, this prediction.

Check Your Understanding 16.1

When the emf across a capacitor is turned on and the capacitor is allowed to charge, when does the magnetic field induced by the displacement current have the greatest magnitude?

Hertz’s Observations

The German physicist Heinrich Hertz (1857–1894) was the first to generate and detect certain types of electromagnetic waves in the laboratory. Starting in 1887, he performed a series of experiments that not only confirmed the existence of electromagnetic waves but also verified that they travel at the speed of light.

Hertz used an alternating-current RLC (resistor-inductor-capacitor) circuit that resonates at a known frequency f0=12πLCf0=12πLC and connected it to a loop of wire, as shown in Figure 16.5. High voltages induced across the gap in the loop produced sparks that were visible evidence of the current in the circuit and helped generate electromagnetic waves.

Across the laboratory, Hertz placed another loop attached to another RLC circuit, which could be tuned (as the dial on a radio) to the same resonant frequency as the first and could thus be made to receive electromagnetic waves. This loop also had a gap across which sparks were generated, giving solid evidence that electromagnetic waves had been received.

Figure shows a circuit on the left with R, L and C connected in series to an AC voltage source. This resonates at f subscript 0 equal to 1 upon 2 pi root LC. The inductor in this circuit forms the primary coil of a transformer. The secondary coil is connected to a loop labeled loop 1 transmitter. Within this loop are the words spark gap. Some distance to the right of this is another loop labeled loop 2 receiver. Within this loop are the words induced sparks. This is connected to a box labeled tuner.
Figure 16.5 The apparatus used by Hertz in 1887 to generate and detect electromagnetic waves.

Hertz also studied the reflection, refraction, and interference patterns of the electromagnetic waves he generated, confirming their wave character. He was able to determine the wavelengths from the interference patterns, and knowing their frequencies, he could calculate the propagation speed using the equation v=fλv=fλ, where v is the speed of a wave, f is its frequency, and λλ is its wavelength. Hertz was thus able to prove that electromagnetic waves travel at the speed of light. The SI unit for frequency, the hertz (1Hz=1cycle/s1Hz=1cycle/s), is named in his honor.

Check Your Understanding 16.2

Could a purely electric field propagate as a wave through a vacuum without a magnetic field? Justify your answer.

Order a print copy

As an Amazon Associate we earn from qualifying purchases.


This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at
Citation information

© Jan 19, 2024 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.