Advanced Physics‹›⌂ 0:00 studied

Module 11 · 10 min read · Free chapter

Relativistic electrodynamics: field transformations, field tensor and invariants

In short

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.

What are you preparing for? We show the practice and previous year questions of your exam.

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, x′=x−vtx' = x - vt, 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, x′=γ(x−vt)x' = \gamma(x - vt) and t′=γ(t−vxc2)t' = \gamma(t - \dfrac{vx}{c^2}), the wave operator is unchanged:

∇2−1c2∂2∂t2=∇′2−1c2∂2∂t′2\nabla^2 - \frac{1}{c^2}\frac{\partial^2}{\partial t^2} = \nabla'^2 - \frac{1}{c^2}\frac{\partial^2}{\partial t'^2}

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 ρv⃗\rho\vec v.

Transformation of E and B (2021, IFoS 2019)

The rules. Let frame S′ move with velocity v⃗\vec v relative to S. Split each field into parts parallel and perpendicular to v⃗\vec v. Then

E⃗∥′=E⃗∥,B⃗∥′=B⃗∥\vec E'_\parallel = \vec E_\parallel, \qquad \vec B'_\parallel = \vec B_\parallel
E⃗⊥′=γ(E⃗+v⃗×B⃗)⊥,B⃗⊥′=γ(B⃗−v⃗×E⃗c2)⊥\vec E'_\perp = \gamma(\vec E + \vec v\times\vec B)_\perp, \qquad \vec B'_\perp = \gamma(\vec B - \frac{\vec v\times\vec E}{c^2})_\perp

Low speed check. For v≪cv \ll c, E⃗′≈E⃗+v⃗×B⃗\vec E' ≈ \vec E + \vec v\times\vec B. 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 E′=γEE' = \gamma E = 10 kV m⁻¹ along y, and B′=γvEc2B' = \dfrac{\gamma vE}{c^2} = 1.25×0.6×80003×108\dfrac{1.25\times 0.6\times 8000}{3\times 10^{8}} 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 B⃗=v⃗×E⃗c2\vec B = \dfrac{\vec v\times\vec E}{c^2} 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 xμ=(ct,x,y,z)x^\mu = (ct, x, y, z). Charge and current combine into Jμ=(cρ,J⃗)J^\mu = (c\rho, \vec J), and the potentials into Aμ=(ϕc,A⃗)A^\mu = (\dfrac{\phi}{c}, \vec A). With ∂μ=(1c∂∂t,∇)\partial_\mu = (\dfrac{1}{c}\dfrac{\partial}{\partial t}, \nabla):

  • continuity, ∂ρ∂t+∇⋅J⃗=0\dfrac{\partial\rho}{\partial t} + \nabla\cdot\vec J = 0, becomes ∂μJμ=0\partial_\mu J^\mu = 0;
  • the Lorenz gauge becomes ∂μAμ=0\partial_\mu A^\mu = 0;
  • the two potential wave equations become □Aμ=μ0Jμ\Box A^\mu = \mu_0J^\mu, with □=1c2∂2∂t2−∇2\Box = \dfrac{1}{c^2}\dfrac{\partial^2}{\partial t^2} - \nabla^2.

The field tensor. Define

Fμν=∂μAν−∂νAμF^{\mu\nu} = \partial^\mu A^\nu - \partial^\nu A^\mu

It is antisymmetric, Fνμ=−FμνF^{\nu\mu} = -F^{\mu\nu}, so its diagonal is zero and it has six independent entries. With the metric signature (+, −, −, −), working them out gives

Fμν=(0−Exc−Eyc−EzcExc0−BzByEycBz0−BxEzc−ByBx0)F^{\mu\nu} = \begin{pmatrix} 0 & -\frac{E_x}{c} & -\frac{E_y}{c} & -\frac{E_z}{c} \\ \frac{E_x}{c} & 0 & -B_z & B_y \\ \frac{E_y}{c} & B_z & 0 & -B_x \\ \frac{E_z}{c} & -B_y & B_x & 0 \end{pmatrix}

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 F′μν=ΛμαΛνβFαβF'^{\mu\nu} = \Lambda^\mu{}_\alpha\Lambda^\nu{}_\beta F^{\alpha\beta}.

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:

∂μFμν=μ0Jν\partial_\mu F^{\mu\nu} = \mu_0J^\nu

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

∂λFμν+∂μFνλ+∂νFλμ=0\partial^\lambda F^{\mu\nu} + \partial^\mu F^{\nu\lambda} + \partial^\nu F^{\lambda\mu} = 0

Taking the divergence of the first equation, with F antisymmetric, gives ∂νJν=0\partial_\nu J^\nu = 0. Charge conservation is built in.

Invariants. Two scalars can be made from F:

FμνFμν=2(B2−E2c2),E⃗⋅B⃗F_{\mu\nu}F^{\mu\nu} = 2(B^2 - \frac{E^2}{c^2}), \qquad \vec E\cdot\vec B

Both are the same in every inertial frame. So E2−c2B2E^2 - c^2B^2 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 E2−c2B2>0E^2 - c^2B^2 > 0, 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 102410^{24}. 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 E⃗=E0x^\vec E = E_0\hat x and B⃗=B0y^\vec B = B_0\hat y are perpendicular, so E⃗⋅B⃗=0\vec E\cdot\vec B = 0. The invariant E2−c2B2E^2 - c^2B^2 decides what happens.

Case E0<cB0E_0 < cB_0. Boost with velocity

v⃗d=E⃗×B⃗B2,vd=E0B0<c\vec v_d = \frac{\vec E\times\vec B}{B^2}, \qquad v_d = \frac{E_0}{B_0} < c

along z. In that frame E⃗′=γ(E⃗+v⃗d×B⃗)=0\vec E' = \gamma(\vec E + \vec v_d\times\vec B) = 0 and only a magnetic field remains. A charge simply circles there.

Back in the lab, it circles while drifting along E⃗×B⃗\vec E\times\vec B, a cycloid at low speeds. This drift is used in the crossed-field velocity selector and in plasma physics.

Case E0>cB0E_0 > cB_0. Now no frame removes E, but a boost with v=c2B0E0v = \dfrac{c^2B_0}{E_0} 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 E0=cB0E_0 = cB_0. 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 dp⃗dt=q(E⃗+v⃗×B⃗)\dfrac{d\vec p}{dt} = q(\vec E + \vec v\times\vec B), with p⃗=γmv⃗\vec p = \gamma m\vec v.

Formula sheet

Idea Formula
Parallel parts E∥′=E∥E'_\parallel = E_\parallel, B∥′=B∥B'_\parallel = B_\parallel
Perpendicular E γ(E⃗+v⃗×B⃗)⊥\gamma(\vec E + \vec v\times\vec B)_\perp
Perpendicular B γ(B⃗−v⃗×E⃗c2)⊥\gamma(\vec B - \dfrac{\vec v\times\vec E}{c^2})_\perp
Four-current Jμ=(cρ,J⃗)J^\mu = (c\rho, \vec J)
Four-potential Aμ=(ϕc,A⃗)A^\mu = (\dfrac{\phi}{c}, \vec A)
Maxwell ∂μFμν=μ0Jν\partial_\mu F^{\mu\nu} = \mu_0J^\nu
Invariants E2−c2B2E^2 - c^2B^2, E⃗⋅B⃗\vec E\cdot\vec B

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 E2−c2B2E^2 - c^2B^2 is a Lorentz invariant." (15 marks)

  1. Four-vectors (3 marks). AμA^\mu, JμJ^\mu, ∂μ\partial_\mu; metric stated.
  2. Tensor (4 marks). FμνF^{\mu\nu} definition; full matrix; antisymmetry.
  3. Covariance (4 marks). ∂μFμν=μ0Jν\partial_\mu F^{\mu\nu} = \mu_0J^\nu gives Gauss and Ampère-Maxwell; identity gives the other two.
  4. Invariant (4 marks). FμνFμνF_{\mu\nu}F^{\mu\nu}; 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 ∂μJμ=0\partial_\mu J^\mu = 0 follows from ∂μFμν=μ0Jν\partial_\mu F^{\mu\nu} = \mu_0J^\nu. 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.
  • E∥′=E∥E'_\parallel = E_\parallel; E⃗⊥′=γ(E⃗+v⃗×B⃗)⊥\vec E'_\perp = \gamma(\vec E + \vec v\times\vec B)_\perp; B⃗⊥′=γ(B⃗−v⃗×E⃗c2)⊥\vec B'_\perp = \gamma(\vec B - \dfrac{\vec v\times\vec E}{c^2})_\perp.
  • Jμ=(cρ,J⃗)J^\mu = (c\rho, \vec J); Aμ=(ϕc,A⃗)A^\mu = (\dfrac{\phi}{c}, \vec A); ∂μJμ=0\partial_\mu J^\mu = 0.
  • Fμν=∂μAν−∂νAμF^{\mu\nu} = \partial^\mu A^\nu - \partial^\nu A^\mu; six components.
  • ∂μFμν=μ0Jν\partial_\mu F^{\mu\nu} = \mu_0J^\nu plus the identity.
  • Invariants E2−c2B2E^2 - c^2B^2 and E⃗⋅B⃗\vec E\cdot\vec B.
  • Magnetism from length contraction; drift E⃗×B⃗B2\dfrac{\vec E\times\vec B}{B^2}.

Mains answer practice

Write your answer first, then open the points a good answer should cover.

  1. Explain why Maxwell's equations are not invariant under Galilean transformations but are under Lorentz transformations.

    Show answer points
    • Galilean: wave equation changes form, c depends on frame
    • Maxwell predicts a single speed c
    • Lorentz transformations keep the wave operator invariant
    • E and B mix under a boost
    • electrodynamics was relativistic before Einstein
  2. A frame moves with v = 0.6c along x relative to a region with E = 0 and B = 1 T along z. Find E' and B'.

    Show answer points
    • γ = 1.25
    • B∥ components unchanged: B along z is ⊥
    • E' = γ(v × B) = 1.25 × 0.6c × 1 in −y
    • |E'| ≈ 2.25 × 10⁸ V m⁻¹
    • B' = γB = 1.25 T along z
  3. Write the continuity equation and the Lorenz gauge condition in four-vector form.

    Show answer points
    • J^μ = (cρ, J)
    • ∂_μ J^μ = ∂ρ/∂t + ∇·J = 0
    • A^μ = (φ/c, A)
    • ∂_μ A^μ = (1/c²)∂φ/∂t + ∇·A = 0
    • both are Lorentz scalars
  4. Construct the electromagnetic field tensor and show which components are E and which are B.

    Show answer points
    • F^μν = ∂^μA^ν − ∂^νA^μ
    • antisymmetric 4 × 4, six independent entries
    • F^0i = −E_i/c
    • F^ij = −ε_ijk B_k
    • diagonal zero
  5. Show that ∂_μ F^μν = μ₀J^ν contains Gauss's law and the Ampère-Maxwell law.

    Show answer points
    • ν = 0: ∂_i F^i0 = μ₀cρ
    • gives ∇·E = ρ/ε₀
    • ν = i: ∂_0F^0i + ∂_jF^ji = μ₀J^i
    • gives ∇ × B − (1/c²)∂E/∂t = μ₀J
    • the Bianchi identity gives the other two
  6. Name the two Lorentz invariants of the electromagnetic field and use them to show that a light wave looks like a light wave in every frame.

    Show answer points
    • E² − c²B²
    • E·B
    • plane wave: E = cB, so first is zero
    • E ⊥ B, so second is zero
    • both stay zero in every frame
  7. Explain how the magnetic force on a charge moving parallel to a current-carrying wire appears as an electric force in the charge's rest frame.

    Show answer points
    • lab: wire neutral, current I, charge moves with v
    • charge frame: positive and negative line densities contract differently
    • wire acquires net line charge
    • electric force in that frame
    • transforms back to qvB: magnetism is relativistic electrostatics
  8. A charge is in crossed fields E = 3 × 10⁴ V m⁻¹ and B = 0.1 T. Find the drift velocity and explain it using a frame change.

    Show answer points
    • E < cB, so a frame without E exists
    • v_d = E × B/B²
    • |v_d| = E/B = 3 × 10⁵ m s⁻¹
    • in that frame only B: circular motion
    • lab: circles plus drift, independent of charge and mass

Previous year questions

Previous year questions for UPSC CSE will appear here once each one is checked word for word against the official question paper.

Learn with AI

A tutor that asks instead of telling, a partner that argues the other side, and this chapter told through your own district.

Tell the tutor what you are stuck on. It will guide you with questions and give the answer after a few tries.

🙋 Raise a doubt or feedback

Stuck somewhere, or spotted a mistake? Write to the ExamHike team. We usually reply within a day, and you will see the reply on My progress.

Log in to ask a doubt or send feedback →

Frequently asked questions

Are E and B frame-independent?

No; perpendicular components mix under a boost.

What are the field invariants?

E² − c²B² and E·B.

How is magnetism relativistic?

A moving charge sees a contracted, charged wire.

What is the E × B drift?

Velocity E × B/B², the same for all charges.

More in this module: Electromagnetic waves and blackbody radiation

Official sources

Facts in this chapter were checked against these official sources.

  1. IGNOU BPHCT-131 Electromagnetic waves unit
  2. MIT OpenCourseWare 8.07 Electromagnetism II notes
  3. MIT OpenCourseWare 8.20 Introduction to Special Relativity