Solution

ID: past-exam-of-the-optics-and-electrodynamics-course-of-the-university-of-cambridge/2012/paper-1/4/solution

Take and metric signature . The four-current, four-potential and four-gradient are
The first two transform as contravariant four-vectors under an inertial-frame Lorentz transformation, within a consistently transformed electromagnetic gauge. The lowered-index gradient is a covector. Their contraction is a Lorentz scalar:
Indeed, and , so the two matrices cancel in the contraction. Local charge conservation in one inertial frame implies local charge conservation in every inertial frame. Integrating over a region gives the charge change equal to minus its outward current flux; global conserved charge requires no flux through the system boundary.

New to topics? Read the docs here!