Skip to main content
UNDER REVIEW
Optional sections
Reading width
Color theme

Light as Information

Section 2 of 9

The Electromagnetic Spectrum

Part 2: The Electromagnetic Spectrum

Unit convention: we use CGS units throughout (cm, s, erg, K). For convenience, optical/UV wavelengths are often written in nm, where .

Light as a Wave

Light is an electromagnetic wave — oscillating electric and magnetic fields that propagate through space at a constant speed.

Side-by-side comparison: left shows a simple sine wave labeled 'Mechanical Wave' with wavelength marked; right shows an EM wave with perpendicular electric and magnetic field components.
Figure 1Mechanical waves need a medium (water, air); EM waves don't. Light travels through the vacuum of space - no medium required.JWST/STScI

Unlike mechanical waves (water ripples, sound, a vibrating string), electromagnetic waves don’t need a medium. A water wave is the water moving up and down; a sound wave is air molecules compressing and expanding. But light travels perfectly well through the vacuum of space — what’s oscillating are the electric and magnetic fields themselves.

Both wave types share the same vocabulary:

  • Wavelength (): the distance between successive crests. For light, wavelengths range from kilometers (radio) down to sub-atomic scales (gamma rays).
  • Frequency (): the number of oscillations per second, in s (Hertz, Hz).
  • Speed (): in vacuum, all electromagnetic waves travel at .
Nanometer

A unit of length, — roughly ten hydrogen-atom diameters, and the natural unit for optical and UV light. Visible light spans about 400-700 nm.

Optical and UV wavelengths are often written in nanometers. These three quantities are related by the fundamental wave equation:

All EM waves travel at the same speed in vacuum; they differ only in how they trade off wavelength against frequency. Since is constant, the two are inversely related, : long wavelength means low frequency, short wavelength means high frequency.

Problem

Using : (1) if wavelength doubles, frequency does what? (2) If frequency triples, wavelength does what? (3) Radio waves have cm; visible light cm. How do their frequencies compare?

The Spectrum: From Radio to Gamma

The electromagnetic spectrum spans an enormous range of wavelengths, divided into named bands:

Horizontal electromagnetic spectrum diagram showing a wavelength scale from very short gamma rays (~1e-13 cm) through X-ray and ultraviolet to visible light (expanded as a rainbow, 400-700 nm), then infrared, microwave, and radio up to long wavelengths (~1e3 cm).
Figure 2The EM spectrum spans from gamma rays (about 10^-13 cm) to radio waves (about 10^3 cm). Visible light is a tiny sliver - 400 to 700 nm. Different wavelengths = different physics revealed.JWST/STScI
BandWavelength RangeWhat It Reveals
Radio cmCold gas, magnetic fields, pulsars
Microwave cmCMB, molecular clouds
Infrared nm– cmWarm dust, cool stars, exoplanets
Visible nmStellar surfaces, nebulae
Ultraviolet nmHot stars, active galactic nuclei
X-ray nmMillion-degree plasma, accretion disks
Gammashorter than nmExtreme events: supernovae, GRBs

Key insight: different wavelengths reveal different physics. A galaxy looks completely different in radio versus X-rays because you’re seeing different physical components — cold gas versus hot plasma. This is why astronomers build telescopes for every part of the spectrum.

EM spectrum with astronomical objects shown at each band: gamma rays from black holes and supernovae, X-rays from hot stellar coronae, UV from hot stars, visible from stellar surfaces, infrared from dust and cool stars, microwave from CMB, radio from cold gas and pulsars.
Figure 3Different wavelengths reveal different cosmic phenomena. Gamma rays see black holes; X-rays see hot plasma; visible shows stars; infrared penetrates dust; radio maps cold gas.JWST/STScI

Light as Particles: Photon Energy

Light also behaves as particles called photons. Each photon carries a discrete amount of energy:

Here erg·s is Planck’s constant. The energy depends on either frequency or wavelength (they’re linked by ). The story: — shorter wavelength means higher energy, which is why gamma rays can damage DNA while radio waves pass harmlessly through your body.

Visible spectrum from UV through infrared showing a wave pattern with wavelength scale across visible light (400-700 nm). Left side labeled 'higher energy (shorter wavelength)' with compressed waves; right side labeled 'lower energy (longer wavelength)' with stretched waves.
Figure 4Short wavelength = high energy = high frequency. The wave crests are closer together for blue/UV light than for red/IR light. E = hc/lambda quantifies this.JWST/STScI

Problem

Using : (1) if wavelength doubles, photon energy does what? (2) If wavelength is halved? (3) A 200 nm photon versus an 800 nm photon — how do their energies compare?

Pause & Predict

Same atmosphere, same sunlight - what's different? Commit to a guess before Part 3.

Part 3 answers this with Rayleigh scattering.