Electromagnetism

Electromagnetism

Definition: The fundamental force of nature that governs interactions between electrically charged particles, unifying electricity and magnetism into a single phenomenon.

How It Works

  • Electromagnetism is one of the four fundamental forces of nature, alongside gravity, the strong nuclear force, and the weak nuclear force.
  • Electric charges create electric fields; moving charges, meaning electric current, create magnetic fields.
  • A changing magnetic field induces a circulating electric field (Faraday’s law of induction), and a changing electric field contributes to a magnetic field (the Ampere-Maxwell law).
  • This mutual reinforcement lets electric and magnetic fields regenerate each other and propagate through empty space as a self-sustaining electromagnetic wave, which is exactly what light is.
  • James Clerk Maxwell unified electricity, magnetism, and optics into one theory in the 1860s, expressed in four compact equations now called Maxwell’s equations.
  • The speed of any electromagnetic wave in vacuum is fixed by two constants of nature, the permittivity and permeability of free space, and comes out to c, the speed of light.
  • The electromagnetic force is enormously stronger than gravity between individual particles, but because charge comes in both positive and negative signs, opposite charges cancel at large scales, letting gravity, which only ever attracts, dominate the large-scale structure of the universe.
  • The quantum version of electromagnetism, quantum electrodynamics (QED), describes the force as an exchange of virtual photons between charged particles and is among the most precisely tested theories in all of physics.

The Electromagnetic Spectrum

RegionApproximate wavelengthTypical source/use
Radio> 1 mmBroadcasting, Wi-Fi, cellular
Microwave1 mm – 1 mRadar, microwave ovens, satellite links
Infrared700 nm – 1 mmThermal radiation, remote controls
Visible light400 – 700 nmHuman vision, optical instruments
Ultraviolet10 – 400 nmSterilization, sunburn, black lights
X-ray0.01 – 10 nmMedical imaging, crystallography
Gamma ray< 0.01 nmNuclear decay, astrophysical sources

Illustration

Under the Hood

Maxwell’s equations, the complete classical description of electromagnetism:

∇·E = ρ/ε₀        (Gauss's law: charge creates electric field)
∇·B = 0            (no magnetic monopoles)
∇×E = −∂B/∂t       (Faraday's law: changing B induces E)
∇×B = μ₀J + μ₀ε₀ ∂E/∂t   (Ampere-Maxwell law: current and changing E create B)
c = 1 / √(ε₀μ₀)

Worked Example 1: Deriving the speed of light Given: permittivity of free space ε₀ = 8.854 × 10⁻¹² F/m, permeability of free space μ₀ = 4π × 10⁻⁷ T·m/A Step 1: c = 1/√(ε₀μ₀) = 1/√((8.854 × 10⁻¹²)(1.2566 × 10⁻⁶)) Step 2: c = 1/√(1.1127 × 10⁻¹⁷) = 1/(3.336 × 10⁻⁹) Answer: c ≈ 2.998 × 10⁸ m/s, matching the measured speed of light exactly, confirming light is an electromagnetic wave.

Worked Example 2: Electromagnetic vs. gravitational force between two protons Given: two protons 1 m apart, charge e = 1.6 × 10⁻¹⁹ C, mass m = 1.67 × 10⁻²⁷ kg, k = 8.99 × 10⁹ N·m²/C², G = 6.674 × 10⁻¹¹ N·m²/kg² Step 1: Electric force: F_E = ke²/r² = (8.99 × 10⁹)(1.6 × 10⁻¹⁹)² = 2.30 × 10⁻²⁸ N Step 2: Gravitational force: F_G = Gm²/r² = (6.674 × 10⁻¹¹)(1.67 × 10⁻²⁷)² = 1.86 × 10⁻⁶⁴ N Step 3: Ratio: F_E/F_G = (2.30 × 10⁻²⁸)/(1.86 × 10⁻⁶⁴) Answer: F_E is about 10³⁶ times stronger than F_G between two protons, showing why electromagnetism dominates at atomic scale while gravity is negligible there.

Worked Example 3: Photon energy of visible light Given: frequency f = 5.0 × 10¹⁴ Hz (green light), Planck’s constant h = 6.626 × 10⁻³⁴ J·s Step 1: E = hf = (6.626 × 10⁻³⁴)(5.0 × 10¹⁴) Answer: E ≈ 3.31 × 10⁻¹⁹ J ≈ 2.07 eV, the quantum of energy carried by a single photon of green light.

Worked Example 4: EMF from electromagnetic induction Given: coil with N = 100 turns, area A = 0.01 m², magnetic field changes from 0 to 0.5 T in Δt = 0.2 s Step 1: Change in flux per turn: ΔΦ = ΔB × A = 0.5 × 0.01 = 0.005 Wb Step 2: Induced EMF: ε = N(ΔΦ/Δt) = 100 × (0.005/0.2) Answer: ε = 2.5 V, the voltage generated purely by the changing magnetic field, the operating principle behind every electric generator.

Worked Example 5: Force between two parallel current-carrying wires Given: two wires, I₁ = I₂ = 5 A, separated by r = 0.02 m, length L = 1 m Step 1: Force per unit length: F/L = μ₀I₁I₂/(2πr) = (4π × 10⁻⁷)(5)(5)/(2π × 0.02) Step 2: F/L = (3.1416 × 10⁻⁵)/(0.1257) Answer: F/L ≈ 2.5 × 10⁻⁴ N/m, an attractive force since the currents flow in the same direction; this measurement once defined the ampere itself.

Worked Example 6: Wavelength of a Wi-Fi signal Given: Wi-Fi router broadcasting at f = 2.4 GHz = 2.4 × 10⁹ Hz, c = 3.0 × 10⁸ m/s Step 1: c = λf, so λ = c/f Step 2: λ = (3.0 × 10⁸)/(2.4 × 10⁹) Answer: λ = 0.125 m = 12.5 cm, which is why Wi-Fi antennas are typically a few centimeters long, close to a quarter or half of this wavelength for efficient radiation.

Why It Matters

  • Virtually all modern electrical technology, motors, generators, transformers, and electronics, runs on the interplay between electric current and magnetic fields.
  • Telecommunications, from radio to Wi-Fi to satellite links, all transmit information by generating and detecting electromagnetic waves.
  • Chemical bonding, and therefore all of chemistry and biology, is fundamentally an electromagnetic phenomenon involving the attraction and sharing of electrons.
  • Electromagnetism explains why solid matter doesn’t pass through other solid matter: electron clouds repel each other electromagnetically before atoms can overlap.
  • Medical imaging, industrial heating, and countless sensors depend on precisely controlled electric and magnetic fields.
  • Power generation and distribution grids convert mechanical energy into electrical energy through electromagnetic induction at every power plant, then transform voltage levels using the same principle in transformers.

Common Pitfalls

  • Treating “electricity” and “magnetism” as separate, unrelated forces rather than two aspects of one unified electromagnetic force.
  • Assuming gravity is the strongest force in nature; it’s actually the weakest of the four by a wide margin, and only appears dominant at large scales because mass never cancels the way charge does.
  • Thinking the electromagnetic spectrum contains fundamentally different kinds of radiation; radio waves, visible light, and gamma rays are the same phenomenon, differing only in frequency and wavelength.
  • Forgetting that c, the speed of light, is a constant only in vacuum; light slows down measurably when passing through glass, water, or air, which is what causes refraction.
  • Assuming Maxwell’s equations were replaced by quantum electrodynamics; QED extends and refines classical electromagnetism at the quantum scale but reduces exactly to Maxwell’s equations in the classical limit.
  • Confusing “electromagnetic force” (the fundamental interaction between charges) with “electromagnetic radiation” (one particular consequence of that force, a self-propagating wave).
  • Assuming higher-frequency electromagnetic waves always travel faster; in vacuum, every part of the spectrum travels at exactly the same speed, c, regardless of frequency.

Comparison

ForceRelative strengthRangeCarrier particleActs on
Strong nuclear1 (reference)~10⁻¹⁵ mGluonQuarks
Electromagnetic~10⁻²InfinitePhotonCharged particles
Weak nuclear~10⁻⁶~10⁻¹⁸ mW and Z bosonsQuarks, leptons
Gravity~10⁻³⁸InfiniteGraviton (hypothetical)All mass and energy

FAQ

Is light an example of electromagnetism? Yes, light is exactly what electromagnetism predicts: a self-propagating wave of oscillating electric and magnetic fields, traveling at the speed set by Maxwell’s equations.

Why is electromagnetism both attractive and repulsive while gravity is only attractive? Charge comes in two signs, positive and negative, so like charges repel and opposite charges attract. Mass has only one sign, so gravity only ever pulls objects together.

Who first unified electricity and magnetism into one theory? James Clerk Maxwell, whose four equations published in the 1860s showed that electricity, magnetism, and light are all manifestations of the same underlying field.

How precisely has electromagnetism been tested? Quantum electrodynamics predicts the electron’s magnetic moment to better than one part in a trillion, matching experimental measurement to roughly 12 significant figures, making it the most accurately verified theory in physics.

Why do radio waves and gamma rays behave so differently if they’re the same phenomenon? Their interaction with matter depends heavily on photon energy and wavelength; low-energy radio photons pass through walls easily, while high-energy gamma photons ionize atoms and damage tissue, even though both are electromagnetic waves obeying the same equations.

Example

A smartphone is a working showcase of electromagnetism: its touchscreen senses your finger through a disturbed electric field, its speaker uses an electromagnet to vibrate a diaphragm, its cellular and Wi-Fi radios send and receive electromagnetic waves, and its processor’s transistors function only because of the electromagnetic behavior of electrons in silicon.

Dig deeper