Skip to main content
Physics LibreTexts

Electromagnetic Waves

  • Page ID
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    An electromagnetic wave is composed of oscillating, comoving electric and magnetic fields that are oriented perpendicularly to each other.


    Electromagnetic waves have two components: an oscillating electric field and a perpendicular, comoving magnetic field which oscillates at the same frequency, but with a phase shifted by 90°. They describe the movement of a packet of energy between two points. In the discussion of EM waves, we are normally concerned with its wavelike behaviour rather than its elecromagnetic properites.

    Waves are periodic functions, so we can determine all of a wave's properties from one cycle of the wave, as in the figure below. The period, T, is the length of time that it takes to complete one cycle, the amplitude (normally denoted by A), in this case, is the maximum value of the wave's electric field, and the wavelength, λ, is the distance in real space traveled by the wave in one cycle.

    We can determine some useful quantities from the measurable ones. For instance, the frequency, \( \nu \), of a wave is simply the inverse of the period.

    \[ f = 1/T \]

    \[ \nu = 1/T \]

    The frequency, wavelength, and energy of an EM wave can be calculated from the following equations; the first equation states that the product of an electromagnetic wave's frequency and wavelength is constant, equal to the speed of light, c. The second pair of equations tells us the energy as a function of wavelength and frequency respectively. Note that these describe light moving through a vaccuum.

    \[ c = \lambda f \]

    \[ E = hc/ \lambda = hf \]

    Wave Equations

    Mathematically, Maxwell's equations for a system without any sources of electric or magnetic fields.

    \[ \nabla \times \vec{\mathbf{B}} - \frac{1}{c} = \frac{\partial\vec{\mathbf{E}}} {\partial t} \, \frac{4\pi}{c}\vec{\mathbf{j}} \]

    \[ \nabla \cdot \vec{\mathbf{E}} = 4 \pi \rho \]

    \[ \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} = \vec{\mathbf{0}} \]

    \[ \nabla \cdot \vec{\mathbf{B}} = 0 \]

    These equations simplify down to the more familiar and useful wave equation

    \[ \large u_k(x,t)=Ae^{ik(x-\nu t)}+B^{-ik(x-\nu t)} \]

    The Electromagnetic Spectrum

    We use a variety of different terms to describe EM radiation depending on its energy. Visible light, X-rays, and microwaves are all EM waves. Despite the names, all EM radiation is physically the same--oscillating electric and magnetic waves. However, the way that EM waves at different energies interact with matter compels us to name them differently. For instance, X-rays pass through many objects that visible light cannot, like our bodies. This occurs because atoms are only likely to absorb EM waves with frequencies matching their own resonance frequencies.

    Infographic depicting wavelength, frequency, and the visible spectrum. Courtesy of the University of Oregon

    EM Waves in a Medium

    When electromagnetic waves travel through a medium--anything other than a true vacuum--they slow down to less than the speed of light in a vacuum, c, depending on the material's index of refraction, n. Their speed follows the simple equation, \[ v = c/n \]. The index of refraction is a measure of how the electric and magnetic fields within the medium affect traveling EM waves. Media with higher indicies of refraction affect EM waves more strongly.


    EM waves passing between two media with different refractive indicies will refract, or change direction, due to the change of the speed of light in that medium. Refraction depends on the indicies of refraction for both media as well as the angle of incidence of the light onto the second medium. The figure below demonstrates light refracting through water as it comes from the air. The difference in the two angles is given by the formula below. In this case, the index of refraction for air is effectively 1 (more exactly, it is exactly 1.000277) and for water is 1.33.

    \[ \frac{sin{\theta_1}}{sin{\theta_2}} = \frac{v_1}{v_2} = \frac{n_1}{n_2} \]

    Beam of light passing between air and water. Note the change in angles between the incident and refrated beam. For a beam incident on water from the air, \[ sin(\theta_2) = \frac{1}{1.33} sin(\theta_1) \]

    Homework Problems

    1. A jewel thief, hiding out in an abandoned mansion, thinks that he saw something moving out in the lake. Suspecting meddling kids, he shines his flashlight onto the filthy, polluted water, but fortunately for him, it's just a huge dog. If the beam of light hit the water at an angle of 75 degrees, and the refracted light has an angle of 50 degrees, what must be the index of refraction of this polluted lake?

    Answer: n = 1.5


    • Jackson, John David. Classical Electrodynamics, John Wiley and Sons, inc, New Jersey 1962
    • Griffiths, David J, Introduction to Electrodynamics, Prentice Hall, inc, New Jersey, 1999

    Contributors and Attributions

    • Michael Karfunkle (UChicago)

    Electromagnetic Waves is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.