Electromagnetism

Maxwell's equations, electrostatics, magnetostatics, electromagnetic waves, radiation, and relativistic electrodynamics.


Electromagnetism is the study of electric charges, currents, and the fields they produce — and the deep unity that binds electricity and magnetism into a single force of nature. It is the first field theory in physics, culminating in Maxwell’s equations, which describe all classical electromagnetic phenomena in four elegant partial differential equations. From the attraction between a balloon and a sweater to the propagation of light across the cosmos, electromagnetism governs an astonishing range of the physical world and provides the template upon which all subsequent field theories — including general relativity and the Standard Model — are modeled.

Electrostatics: Charges and Fields

Electrostatics deals with electric charges at rest and the fields they create. The fundamental law is Coulomb’s law (1785): two point charges q1q_1 and q2q_2 separated by distance rr exert a force on each other of magnitude

F=14πϵ0q1q2r2F = \frac{1}{4\pi\epsilon_0}\frac{q_1 q_2}{r^2}

where ϵ0=8.854×1012\epsilon_0 = 8.854 \times 10^{-12} F/m is the permittivity of free space. The force is attractive for unlike charges and repulsive for like charges. The electric field E\mathbf{E} at a point is defined as the force per unit test charge: E=F/q\mathbf{E} = \mathbf{F}/q. For a point charge qq at the origin, E=(q/4πϵ0r2)r^\mathbf{E} = (q / 4\pi\epsilon_0 r^2)\hat{\mathbf{r}}.

The electric field obeys Gauss’s law, the first of Maxwell’s equations:

E=ρϵ0(differential form),EdA=Qencϵ0(integral form)\nabla \cdot \mathbf{E} = \frac{\rho}{\epsilon_0} \qquad \text{(differential form)}, \qquad \oint \mathbf{E} \cdot d\mathbf{A} = \frac{Q_{\text{enc}}}{\epsilon_0} \qquad \text{(integral form)}

where ρ\rho is the charge density and QencQ_{\text{enc}} is the total enclosed charge. Gauss’s law is most powerful for symmetric charge distributions: it immediately gives the field of an infinite plane (E=σ/2ϵ0\mathbf{E} = \sigma / 2\epsilon_0), an infinite line charge (E=λ/2πϵ0r\mathbf{E} = \lambda / 2\pi\epsilon_0 r), and a uniformly charged sphere (field identical to a point charge outside the sphere).

Because the electrostatic field is conservative (×E=0\nabla \times \mathbf{E} = 0), we can define the electric potential VV such that E=V\mathbf{E} = -\nabla V. The potential satisfies Poisson’s equation, 2V=ρ/ϵ0\nabla^2 V = -\rho/\epsilon_0, which reduces to Laplace’s equation 2V=0\nabla^2 V = 0 in charge-free regions. These equations, together with boundary conditions, determine the field everywhere — a program that can be carried out analytically for simple geometries and numerically for complex ones.

Conductors in electrostatic equilibrium have E=0\mathbf{E} = 0 inside and charge residing entirely on the surface. The surface acts as an equipotential, and the field just outside is perpendicular to the surface with magnitude σ/ϵ0\sigma/\epsilon_0. This leads to electrostatic shielding (the Faraday cage) and to the concept of capacitance: C=Q/VC = Q/V, measuring a conductor’s ability to store charge at a given potential. For a parallel-plate capacitor with area AA and separation dd, C=ϵ0A/dC = \epsilon_0 A / d. Dielectric materials between the plates increase the capacitance by a factor of the relative permittivity κ\kappa, because their molecular dipoles partially cancel the applied field.

Magnetostatics and the Lorentz Force

Magnetism arises from moving charges. A charge qq moving with velocity v\mathbf{v} in a magnetic field B\mathbf{B} experiences the Lorentz force:

F=qv×B\mathbf{F} = q\mathbf{v} \times \mathbf{B}

Because the magnetic force is always perpendicular to v\mathbf{v}, it does no work — it changes the direction of motion but not the speed. In a uniform field, a charged particle traces a circle (or helix) with cyclotron radius r=mv/qBr = mv / qB. This is the operating principle of cyclotrons, mass spectrometers, and the confinement of plasma in tokamaks.

Steady currents produce magnetic fields governed by the Biot-Savart law and Ampere’s law. The Biot-Savart law gives the field dBd\mathbf{B} from a current element IdId\boldsymbol{\ell} at distance r\mathbf{r}:

dB=μ04πId×r^r2d\mathbf{B} = \frac{\mu_0}{4\pi}\frac{Id\boldsymbol{\ell} \times \hat{\mathbf{r}}}{r^2}

where μ0=4π×107\mu_0 = 4\pi \times 10^{-7} T\cdotm/A is the permeability of free space. For a long straight wire carrying current II, integration gives B=μ0I/2πrB = \mu_0 I / 2\pi r — a result also obtainable from Ampere’s law, Bd=μ0Ienc\oint \mathbf{B} \cdot d\boldsymbol{\ell} = \mu_0 I_{\text{enc}}, by exploiting the cylindrical symmetry.

A crucial fact about magnetic fields is that they have no sources: B=0\nabla \cdot \mathbf{B} = 0 everywhere. There are no magnetic monopoles (isolated north or south poles). Every magnetic field line is a closed loop, and the total magnetic flux through any closed surface is zero. This is the second of Maxwell’s equations and reflects a deep asymmetry between electricity and magnetism that has motivated decades of experimental searches for monopoles — so far without success.

Maxwell’s Equations and Electromagnetic Waves

The crowning achievement of classical electromagnetism is James Clerk Maxwell’s unification of electricity and magnetism into a single, self-consistent theory. Maxwell’s four equations, in differential form, are:

E=ρϵ0\nabla \cdot \mathbf{E} = \frac{\rho}{\epsilon_0}

B=0\nabla \cdot \mathbf{B} = 0

×E=Bt\nabla \times \mathbf{E} = -\frac{\partial \mathbf{B}}{\partial t}

×B=μ0J+μ0ϵ0Et\nabla \times \mathbf{B} = \mu_0 \mathbf{J} + \mu_0 \epsilon_0 \frac{\partial \mathbf{E}}{\partial t}

The third equation is Faraday’s law of induction (1831): a changing magnetic flux induces an electric field. It is the principle behind electrical generators, transformers, and inductors. The direction of the induced EMF opposes the change in flux (Lenz’s law), consistent with energy conservation.

The fourth equation contains Maxwell’s critical insight: the displacement current term μ0ϵ0E/t\mu_0 \epsilon_0 \partial \mathbf{E}/\partial t. Maxwell recognized in 1861 that Ampere’s original law (×B=μ0J\nabla \times \mathbf{B} = \mu_0 \mathbf{J}) was inconsistent with charge conservation when currents are time-dependent. Adding the displacement current restored consistency and had a momentous consequence: in free space (ρ=0\rho = 0, J=0\mathbf{J} = 0), the equations predict self-sustaining electromagnetic waves. Taking the curl of Faraday’s law and substituting the Ampere-Maxwell law yields the wave equation:

2E=μ0ϵ02Et2\nabla^2 \mathbf{E} = \mu_0 \epsilon_0 \frac{\partial^2 \mathbf{E}}{\partial t^2}

The wave speed is c=1/μ0ϵ0=3×108c = 1/\sqrt{\mu_0 \epsilon_0} = 3 \times 10^8 m/s — precisely the measured speed of light. Maxwell concluded that light is an electromagnetic wave, unifying optics with electromagnetism in one of the great syntheses of physics. Heinrich Hertz confirmed the existence of electromagnetic waves experimentally in 1887, generating and detecting radio waves in his laboratory.

Energy, Momentum, and Radiation

Electromagnetic fields carry energy and momentum. The energy density stored in the fields is:

u=12(ϵ0E2+B2μ0)u = \frac{1}{2}\left(\epsilon_0 E^2 + \frac{B^2}{\mu_0}\right)

The energy flux is described by the Poynting vector, S=1μ0E×B\mathbf{S} = \frac{1}{\mu_0}\mathbf{E} \times \mathbf{B}, which gives the power per unit area transported by the fields. Together they satisfy the Poynting theorem — the conservation of electromagnetic energy:

ut+S=JE\frac{\partial u}{\partial t} + \nabla \cdot \mathbf{S} = -\mathbf{J} \cdot \mathbf{E}

The right side represents the rate at which the fields do work on charges (Joule heating). For a plane electromagnetic wave, the time-averaged intensity is S=12ϵ0cE02\langle S \rangle = \frac{1}{2}\epsilon_0 c E_0^2, and the wave carries momentum density g=S/c2\mathbf{g} = \mathbf{S}/c^2, leading to radiation pressure P=S/cP = \langle S \rangle / c — a tiny but measurable force that pushes comet tails away from the Sun and may one day propel solar sails.

Accelerating charges radiate electromagnetic energy. The power radiated by a nonrelativistic charge with acceleration aa is given by the Larmor formula:

P=q2a26πϵ0c3P = \frac{q^2 a^2}{6\pi\epsilon_0 c^3}

An oscillating electric dipole — a charge oscillating back and forth — radiates power proportional to ω4\omega^4, with an angular distribution sin2θ\propto \sin^2\theta (maximum in the plane perpendicular to the dipole, zero along its axis). This is the simplest model of a radio antenna and explains why the sky is blue: sunlight scattering off atmospheric molecules (Rayleigh scattering) goes as ω4\omega^4, favoring short wavelengths.

Relativistic Electrodynamics

Maxwell’s equations are already consistent with special relativity — indeed, it was the apparent conflict between Maxwell’s equations and Galilean relativity that led Albert Einstein to formulate special relativity in 1905. The electric and magnetic fields are not separate entities but components of a single electromagnetic field tensor FμνF^{\mu\nu}, a rank-2 antisymmetric tensor in four-dimensional spacetime. Under a Lorentz transformation, electric and magnetic fields mix into each other: a purely electric field in one frame has both electric and magnetic components in another.

Maxwell’s equations take a remarkably compact form in relativistic notation:

μFμν=μ0Jν,[λFμν]=0\partial_\mu F^{\mu\nu} = \mu_0 J^\nu, \qquad \partial_{[\lambda} F_{\mu\nu]} = 0

where Jν=(ρc,J)J^\nu = (\rho c, \mathbf{J}) is the four-current. The electromagnetic potential becomes a four-vector Aμ=(V/c,A)A^\mu = (V/c, \mathbf{A}), and the field tensor is Fμν=μAννAμF^{\mu\nu} = \partial^\mu A^\nu - \partial^\nu A^\mu. Gauge invariance — the freedom to add the gradient of a scalar to AμA^\mu without changing the physics — is a fundamental symmetry that, when generalized, becomes the organizing principle of the Standard Model of particle physics.

The relativistic formulation reveals that electromagnetism is the prototypical gauge theory. The requirement that the Lagrangian be invariant under local phase transformations of the charged-particle wave function necessarily implies the existence of a vector field AμA^\mu coupling to the current — predicting the photon from symmetry alone. This insight, due to Hermann Weyl and later elevated by Yang and Mills, is the conceptual foundation of modern particle physics: the strong and weak nuclear forces are also gauge theories, differing from electromagnetism only in the symmetry group.