Home / Learn / Exam prep / GATE Physics / Lesson 3.10
All lessons

Module 3: Electromagnetic theory · Lesson 3.10 · about 60 min

Electrodynamics and relativity

The four-current and four-potential, continuity and the Lorenz gauge in covariant form, the field tensor and Maxwell's equations in two lines, the invariants E·B and E² − c²B², Lorentz transformation of E and B, crossed fields and E×B drift, the field of a uniformly moving charge, magnetism as a relativistic effect, the covariant Lorentz force and Lagrangian, and plane waves seen from moving frames.

Key points, meanings and formulas on one page: choose "Save as PDF" in the print box.

Module 3 · about 60 minutes. By the end you will be able to write Maxwell’s equations in four-vector and tensor form, transform E→ and B→ between frames, use the two field invariants to decide what any observer can see, analyse crossed fields and drifts, describe the field of a fast charge, explain magnetism as relativistic electricity, and handle the covariant Lorentz force, the charged-particle Lagrangian and plane waves seen from moving frames. Lorentz transformations of space, time, energy and momentum are in the JAM lesson on special relativity.

Electric and magnetic fields are two faces of one object, the field tensor. A boost turns some of one into the other, just as it mixes space and time; only two combinations of them are the same for everyone.

1. Four-current, four-potential and covariant Maxwell equations

We use xμ=(ct,r→), metric diag(+1,−1,−1,−1) and ∂μ=(1c∂t,∇). Charge is a Lorentz scalar, so a charge cloud of rest density ρ0 and four-velocity uμ=γ(c,v→) has

Jμ=ρ0uμ=(cρ,J→),∂μJμ=∂ρ∂t+∇⋅J→=0

so ρ=γρ0 and J→=γρ0v→: moving charge looks denser because its volume contracts. The potentials form Aμ=(ϕ/c,A→); the Lorenz gauge ∂μAμ=∇⋅A→+1c2∂tϕ=0 is Lorentz invariant, and in it

□Aμ=μ0Jμ,□=1c2∂2∂t2−∇2

The fields are the six components of the antisymmetric field tensor Fμν=∂μAν−∂νAμ: the time-space entries hold ±Ei/c, the space-space entries ±Bk (signs depend on conventions). All of Maxwell is two lines:

∂μFμν=μ0Jν,∂λFμν+∂μFνλ+∂νFλμ=0

The first holds Gauss and Ampère-Maxwell (and implies continuity, since ∂ν∂μFμν=0); the second, satisfied automatically by any potential, holds Faraday and ∇⋅B→=0. Equations between tensors hold in every inertial frame, which is the whole point: electromagnetism was relativistic before Einstein, and it was Newtonian mechanics that had to change.

2. How the fields transform

Boost with velocity v→ (Lorentz factor γ). Components along v→ are unchanged; perpendicular components mix:

E→∥′=E→∥,B→∥′=B→∥,E→⟂′=γ(E→+v→×B→)⟂,B→⟂′=γ(B→−v→×E→c2)⟂

For a boost along x: Ey′=γ(Ey−vBz), Ez′=γ(Ez+vBy), By′=γ(By+vEz/c2), Bz′=γ(Bz−vEy/c2).

Worked example. A pure E=3.0×105 V/m along y, seen by an observer moving at 0.6c along x: Ey′=1.25×3.0×105=3.75×105 V/m and Bz′=−γvE/c2=−0.75 mT. A moving capacitor shows the same thing physically: moving parallel to its plates, they contract, their surface charge density rises by γ, and so does the field; moving perpendicular to them, nothing changes.

The two invariants. From FμνFμν and FμνF~μν:

E2−c2B2andE→⋅B→are the same in every frame

They settle what any observer can see:

  • E→⋅B→≠0: no frame has pure E→ or pure B→, and none has them perpendicular; a boost can make them parallel.
  • E→⋅B→=0 and E>cB: a frame moving at c2B/E along E→×B→ sees pure E→ of size E2−c2B2.
  • E→⋅B→=0 and E<cB: a frame moving at E/B along E→×B→ sees pure B→ of size B2−E2/c2.
  • Both invariants zero (E=cB, perpendicular): a null field, like a plane wave. Boosts rescale it but never remove either part.

Crossed fields and drift. With E<cB, every charged particle drifts at v→d=E→×B→/B2, whatever its charge or mass: in the drift frame it only gyrates. Starting from rest it traces a cycloid, with top speed 2vd. With E>cB no drift frame exists and particles are accelerated without limit.

3. The field of a uniformly moving charge

In its rest frame the charge has a Coulomb field and no B→. Boosting, and measuring from the charge’s present position (angle θ from v→):

E→=q4πϵ01−β2(1−β2sin2⁡θ)3/2rˆr2,B→=v→×E→c2

The field is still radial from the present position (the retarded positions conspire to point there, because uniform motion is predictable) but it is squashed into a pancake: γ times Coulomb at 90∘, 1/γ2 times along the motion, a ratio γ3. At β=0.8 it equals the Coulomb value at θ=61.4∘. At low speed B→=v→×E→/c2 is Biot-Savart for a point charge.

Worked example. A proton at 0.90c passing an atom at 1.0 nm delivers a transverse field γe4πϵ0b2=2.29×1.44×109=3.3×109 V/m for about b/γv=1.6 attoseconds: a short, sharp kick, which is how fast charged particles ionise matter.

Field lines of a charge moving to the right, spaced evenly in its rest frame and squeezed towards the perpendicular plane by length contraction, with the field strength relative to Coulomb against the angle from the velocity.

4. Magnetism as relativistic electricity

A neutral wire carries a current; a test charge moves alongside at the electrons’ drift speed. In the lab the wire is neutral and the force is magnetic. In the charge’s rest frame there is no magnetic force on it (it is at rest), yet it must still be pushed. It is: there the electrons are at rest and less contracted while the ions move and are more contracted, so the wire carries a net line charge and pulls electrically. The two forces agree once forces are transformed between frames.

Worked example. An electron at 106 m/s, 1.0 cm from a wire with 10 A: F=evμ0I2πr=3.2×10−17 N, entirely magnetic in the lab, entirely electric in the electron’s frame.

The same idea explains why relativistic beams hold together. Two parallel beams of electrons at speed v repel electrically and attract magnetically; the magnetic attraction is v2/c2 of the electric repulsion, so the net is 1/γ2 of it: 2% at 0.99c.

“Magnetic fields are something separate from electric fields that some materials happen to make.” A magnetic field is what an electric field looks like to a moving observer (and vice versa). What one observer calls a pure magnetic force, another calls a pure electric force; neither is wrong. Only the invariants E→⋅B→ and E2−c2B2 are observer-independent facts about the field.

5. Covariant dynamics and plane waves

Lorentz force. For a particle of four-momentum pμ and proper time τ:

dpμdτ=qFμνuν

Its space part is dp→dt=q(E→+v→×B→) with p→=γmv→; its time part is dℰdt=qE→⋅v→: only the electric field does work.

Lagrangian. L=−mc2γ−qϕ+qv→⋅A→, whose interaction term is −qAμdxμdt. The canonical momentum is P→=γmv→+qA→. A gauge change Aμ→Aμ−∂μχ adds qdχdt to L, a total derivative, so the motion is unchanged while P→ shifts; this is why the quantum wavefunction picks up a phase under gauge changes.

Energy and momentum of the field live in the symmetric tensor Tμν: T00=u, T0i=Si/c (so the field’s momentum density is S→/c2), and Tij is minus the Maxwell stress. ∂μTμν=−FνλJλ contains Poynting’s theorem and momentum balance.

Plane waves from a moving frame. For a wave along +x with Ey=cBz, a boost along x gives Ey′=γ(1−β)Ey=1−β1+βEy, and the same for cBz′. Amplitude scales like the Doppler factor, energy density and intensity like its square: chasing a wave at 0.6c, you see a quarter of its energy density. Reflection from a mirror approaching at β shifts the frequency by 1+β1−β (two Doppler shifts), the principle of radar speed guns.

J^μ = (cρ, J)
four-current; ∂_μJ^μ = 0 is charge conservation
A^μ = (φ/c, A)
four-potential; the Lorenz gauge ∂_μA^μ = 0 holds in every frame
F^μν
antisymmetric field tensor: E/c in the time-space entries, B in the space-space entries
E·B, E² − c²B²
the two invariants: what every observer agrees on
Physical meaning
Space and time mix under a boost, so the fields made by charges (time part of J) and by currents (space part) must mix too. Electricity and magnetism are one field described from different states of motion.
  • Jμ=(cρ,J→)=ρ0uμ; Aμ=(ϕ/c,A→); ∂μJμ=0; Lorenz gauge ∂μAμ=0, □Aμ=μ0Jμ.
  • Fμν=∂μAν−∂νAμ (6 components); ∂μFμν=μ0Jν (Gauss, Ampère-Maxwell); the Bianchi identity gives Faraday and ∇⋅B→=0.
  • E∥,B∥ unchanged; E→⟂′=γ(E→+v→×B→)⟂, B→⟂′=γ(B→−v→×E→/c2)⟂.
  • Invariants E→⋅B→ and E2−c2B2 decide which field can be removed; drift E→×B→/B2 when E<cB; cycloid top speed 2vd.
  • Moving charge: E∝1−β2(1−β2sin2⁡θ)3/2 from the present position; γ sideways, 1/γ2 ahead; B→=v→×E→/c2.
  • Moving line charge λ=γλ0; parallel beams: net force 1/γ2 of the electric part.
  • dpμ/dτ=qFμνuν; L=−mc2/γ−qϕ+qv→⋅A→, P→=γmv→+qA→.
  • Plane wave: both invariants zero; boost along it scales fields by (1−β)/(1+β).

Practise: exam questions on this lesson

From warm-up to top-rank level, with full solutions. More on the practice page.

Before this: lesson 3.9, radiation, and the JAM lesson on special relativity. Back to the GATE Physics course home, where Part C, quantum and statistical physics, follows.

Check yourself

1In one frame there is a pure electric field. Can another inertial observer see a magnetic field?
2E · B is non-zero in some frame. Is there a frame in which the field is purely magnetic?
3How is the electric field of a fast charge distributed compared with Coulomb's law?

Sources

  • D. J. Griffiths, Introduction to Electrodynamics, 4th ed. (2017), chapter 12.3
  • J. D. Jackson, Classical Electrodynamics, 3rd ed. (1999), chapters 11 and 12
  • E. M. Purcell and D. J. Morin, Electricity and Magnetism, 3rd ed. (2013), chapters 5 and 6
  • L. D. Landau and E. M. Lifshitz, The Classical Theory of Fields, 4th ed. (1975), chapters 3 and 4
  • GATE Physics (PH) syllabus, Electromagnetic Theory section, published by the organising institute each year

Your ticks stay in this browser. Save them as a file on the course home.

Updated 2026-11-22. Not affiliated with the IITs, IISc or the GATE organising institute. The general aptitude part of GATE is not covered here. Check the official GATE website for the current pattern. All questions are original.