The theory of special relativity plays an important role in the modern theory of classical electromagnetism. It gives formulas for how electromagnetic objects, in particular the electric and magnetic fields, are altered under a Lorentz transformation from one inertial frame of reference to another. It sheds light on the relationship between electricity and magnetism, showing that frame of reference determines if an observation follows electric or magnetic laws. It motivates a compact and convenient notation for the laws of electromagnetism, namely the "manifestly covariant" tensor form.

Maxwell's equations, when they were first stated in their complete form in 1865, would turn out to be compatible with special relativity. Moreover, the apparent coincidences in which the same effect was observed due to different physical phenomena by two different observers would be shown to be not coincidental in the least by special relativity. In fact, half of Einstein's 1905 first paper on special relativity, "On the Electrodynamics of Moving Bodies," explains how to transform Maxwell's equations.

Classical electromagnetism and special relativity

Transformation of the fields between inertial frames

The E and B fields

This equation considers two inertial frames. The primed frame is moving relative to the unprimed frame at velocity v. Fields defined in the primed frame are indicated by primes, and fields defined in the unprimed frame lack primes. The field components parallel to the velocity v are denoted by and while the field components perpendicular to v are denoted as and . In these two frames moving at relative velocity v, the E-fields and B-fields are related by:

Classical electromagnetism and special relativity

where

is called the Lorentz factor and c is the speed of light in free space. The equations above are in SI. In CGS these equations can be derived by replacing with , and with , except . Lorentz factor () is the same in both systems. The inverse transformations are the same except .

Classical electromagnetism and special relativity

An equivalent, alternative expression is:

where is the velocity unit vector. With previous notations, one actually has and .

Component by component, for relative motion along the x-axis , this works out to be the following:

If one of the fields is zero in one frame of reference, that doesn't necessarily mean it is zero in all other frames of reference. This can be seen by, for instance, making the unprimed electric field zero in the transformation to the primed electric field. In this case, depending on the orientation of the magnetic field, the primed system could see an electric field, even though there is none in the unprimed system.

This does not mean two completely different sets of events are seen in the two frames, but that the same sequence of events is described in two different ways (see Moving magnet and conductor problem below).

If a particle of charge q moves with velocity u with respect to frame S, then the Lorentz force in frame S is:

In frame S', the Lorentz force is:

A derivation for the transformation of the Lorentz force for the particular case u = 0 is given here. A more general one can be seen here.

The transformations in this form can be made more compact by introducing the electromagnetic tensor (defined below), which is a covariant tensor.

The D and H fields

For the electric displacement D and magnetic intensity H, using the constitutive relations and the result for c2:

gives

Analogously for E and B, the D and H form the electromagnetic displacement tensor.

The φ and A fields

An alternative simpler transformation of the EM field uses the electromagnetic potentials - the electric potential φ and magnetic potential A:

where is the parallel component of A to the direction of relative velocity between frames v, and is the perpendicular component. These transparently resemble the characteristic form of other Lorentz transformations (like time-position and energy-momentum), while the transformations of E and B above are slightly more complicated. The components can be collected together as:

The ρ and J fields

Analogously for the charge density ρ and current density J,

Collecting components together:

Non-relativistic approximations

For speeds v ≪ c, the relativistic factor γ ≈ 1, which yields:

so that there is no need to distinguish between the spatial and temporal coordinates in Maxwell's equations.