Module 11 · 10 min read · Free chapter
Relativistic electrodynamics: field transformations, field tensor and invariants
E and B are parts of one tensor F^μν and mix under a boost. Maxwell's four equations become two tensor equations, and E² − c²B² and E·B are invariants.
Start from zero: one field, two faces
A charge sits still in your lab. You measure an electric field and no magnetic field. A friend flies past in a rocket and sees the charge moving, which is a current, so they measure a magnetic field as well. Who is right?
Both are. Electric and magnetic fields are not separate things that every observer agrees on. They are two faces of a single electromagnetic field, and how it splits into E and B depends on how you move.
Einstein's 1905 paper on relativity was titled "On the electrodynamics of moving bodies" for this reason. This chapter shows that Maxwell's equations already obey special relativity, writes them in four-dimensional form, and finds the quantities every observer agrees on.
Why Maxwell needed no repair (IFoS 2016)
The clash. Under Galilean transformations, , the wave equation changes form, and light would have different speeds in different frames. Newton's mechanics is unchanged by Galilean transformations; Maxwell's equations are not. One of them had to give.
The resolution. Under Lorentz transformations, and , the wave operator is unchanged:
So the wave equation, and with it Maxwell's equations, keeps exactly the same form in every inertial frame, provided ρ, J, E and B transform in the right way. It was Newton's mechanics that needed repair.
How to show invariance. The cleanest proof is to write the equations as tensor equations, shown below. A tensor equation that is true in one frame is true in all, since both sides transform in the same way.
Charge is invariant. The total charge of an isolated body is the same in all frames, though its density changes. A moving body is contracted, so ρ rises by γ, and the moving charge forms a current .
Transformation of E and B (2021, IFoS 2019)
The rules. Let frame S′ move with velocity relative to S. Split each field into parts parallel and perpendicular to . Then
Low speed check. For , . This is just the Lorentz force per unit charge on a charge moving with S′. The rule reproduces what we already knew.
Worked example. In S there is only a uniform field E = 8 kV m⁻¹ along y. Frame S′ moves along x at 0.6c, so γ = 1.25. Then = 10 kV m⁻¹ along y, and = T ≈ 20 μT, along −z. A pure electric field has become partly magnetic.
Moving charge. Apply the rule to a charge moving at speed v. Its E field is squeezed towards the plane perpendicular to the motion, stronger sideways by γ and weaker ahead and behind. A magnetic field circles the line of motion, which at low speed is the Biot-Savart law.
Four-vectors and the field tensor (IFoS 2024)
Four-vectors. Space-time points are . Charge and current combine into , and the potentials into . With :
- continuity, , becomes ;
- the Lorenz gauge becomes ;
- the two potential wave equations become , with .
The field tensor. Define
It is antisymmetric, , so its diagonal is zero and it has six independent entries. With the metric signature (+, −, −, −), working them out gives
Reading it. The first row and column hold E, the space-space block holds B. A boost mixes the time and space indices, and so mixes E with B. The transformation rules of the previous section are just .
Sign conventions differ between books. State the metric you use; the physics does not depend on it.
Maxwell in two lines, and the invariants (Geo 2024, IFoS 2019)
Source equations. Gauss's law and the Ampère-Maxwell law combine into one four-vector equation:
The ν = 0 component is Gauss's law; ν = 1, 2, 3 give the three components of Ampère-Maxwell.
Source-free equations. No monopoles and Faraday's law follow from the definition of F through the identity
Taking the divergence of the first equation, with F antisymmetric, gives . Charge conservation is built in.
Invariants. Two scalars can be made from F:
Both are the same in every inertial frame. So is invariant, which can also be checked directly from the transformation rules.
Consequences.
- If E = cB in one frame, it is so in all. A light wave is a light wave for everyone.
- If E and B are perpendicular in one frame, they are perpendicular in all.
- A pure electric field, with , can never be turned into a pure magnetic field by a boost.
Magnetism as a relativistic effect
The puzzle. A long neutral wire carries current: positive ions at rest, electrons drifting at speed u. A charge q moves parallel to the wire at the same speed u. In the lab it feels a magnetic force towards or away from the wire.
The charge's own frame. In its frame the charge is at rest, so it cannot feel a magnetic force. Yet it must still be pushed, because whether it hits the wire cannot depend on the frame.
The answer. In the charge's frame the ions move and their spacing contracts, so their density rises. The electrons are now at rest and their spacing expands. The wire carries a net charge, and the force on q is electric.
Size of the effect. Drift speeds are well under a millimetre per second, so the imbalance is about one part in . Yet the number of electrons is so vast that this tiny relativistic effect is what turns motors. Magnetism is the part of electricity that relativity reveals.
Deep dive: motion in crossed fields (IFoS 2022)
The setup. Uniform fields and are perpendicular, so . The invariant decides what happens.
Case . Boost with velocity
along z. In that frame and only a magnetic field remains. A charge simply circles there.
Back in the lab, it circles while drifting along , a cycloid at low speeds. This drift is used in the crossed-field velocity selector and in plasma physics.
Case . Now no frame removes E, but a boost with removes B. The particle is then simply accelerated by a pure electric field, and in the lab its speed grows towards c without limit.
Case . Both invariants vanish, as for a light wave. No frame simplifies the fields, and the particle is swept along at ever higher speed.
The relativistic equation of motion to use in each frame is , with .
Formula sheet
| Idea | Formula |
|---|---|
| Parallel parts | , |
| Perpendicular E | |
| Perpendicular B | |
| Four-current | |
| Four-potential | |
| Maxwell | |
| Invariants | , |
Concept clarifications: commonly confused ideas
Writing a 15-mark answer
Question: "Define the electromagnetic field tensor and express its components in terms of E and B. Show that Maxwell's equations are covariant, and prove that is a Lorentz invariant." (15 marks)
- Four-vectors (3 marks). , , ; metric stated.
- Tensor (4 marks). definition; full matrix; antisymmetry.
- Covariance (4 marks). gives Gauss and Ampère-Maxwell; identity gives the other two.
- Invariant (4 marks). ; or direct check with field transformations.
Mains practice: questions to try
These are practice questions written by us, not past papers. The UPSC questions on this topic are shown in the previous year questions panel.
| # | Question | Marks | What it tests |
|---|---|---|---|
| 1 | In S there is only B = 0.5 T along z. Find E′ and B′ in a frame moving at 0.8c along x. | 10 | transformation |
| 2 | Show that if E ⊥ B and E = cB in one frame, the same holds in every frame. | 5 | invariants |
| 3 | Show that follows from . | 5 | conservation |
| 4 | Find the drift velocity of a proton in E = 1 kV m⁻¹ and B = 0.1 T at right angles. | 5 | crossed fields |
| 5 | Derive the field of a uniformly moving charge from the Coulomb field by a boost. | 10 | moving charge |
Quick revision
- Maxwell's equations are Lorentz covariant; E and B mix under boosts.
- ; ; .
- ; ; .
- ; six components.
- plus the identity.
- Invariants and .
- Magnetism from length contraction; drift .