Gauge Transformations and Lorenz Gauge

Take a proton, sitting still. Its potential is the Coulomb one — φ=kq/r\varphi = kq/r, A⃗=0⃗\vec A = \vec 0 — and it happens to satisfy two famous gauge conditions at once. The Lorenz condition 1c2∂tφ+∇ ⁣⋅ ⁣A⃗=0\tfrac{1}{c^2}\partial_t\varphi + \nabla\!\cdot\!\vec A = 0: yes, both terms vanish. The Coulomb condition ∇ ⁣⋅ ⁣A⃗=0\nabla\!\cdot\!\vec A = 0: yes, trivially, since A⃗\vec A is zero. Now walk past at 0.6c0.6c and look again. Same physical object, boosted. And a nanometre from the proton the two conditions come apart:

∇′ ⁣⋅ ⁣A⃗′  =  −2.882 T,1c2∂φ′∂t′  =  +2.882 T,∂μA′μ  =  0.\nabla'\!\cdot\!\vec A' \;=\; -2.882\ \mathrm{T}, \qquad \frac{1}{c^2}\frac{\partial\varphi'}{\partial t'} \;=\; +2.882\ \mathrm{T}, \qquad \partial_\mu A'^\mu \;=\; \mathbf{0} .

The Coulomb gauge is broken — by nearly three tesla, which is not a rounding error. The Lorenz gauge survives exactly, and it survives because the two terms are equal and opposite to the last digit. Not a coincidence and not a lucky example: ∂μAμ\partial_\mu A^\mu is a Lorentz scalar — every index contracted — so if it vanishes in one frame it vanishes in all of them. ∇ ⁣⋅ ⁣A⃗\nabla\!\cdot\!\vec A is not a scalar; it is three-quarters of one, and the missing quarter is exactly the piece a boost mixes back in. That is the article. Gauge freedom itself — that you may replace AμA^\mu by Aμ+∂μχA^\mu + \partial^\mu\chi anywhere, everywhere, at any time, and not one measurable quantity moves — looks at first like an embarrassment: a theory with more variables than physics. It is instead the deepest structure in the subject. Demand that the redundancy be local, and electromagnetism is not merely permitted but forced into existence. And a warning that belongs in the first paragraph, because the literature gets it wrong constantly: the Lorenz gauge is named for Ludvig Lorenz, a Dane, who published it in 1867. It is not named for Hendrik Lorentz, the Dutchman of the Lorentz transformation — who turned fourteen that year.

Key takeaways
  • Signature (+,−,−,−)(+,-,-,-);   ∂μ=(1c∂t, +∇)\;\partial_\mu = \big(\tfrac1c\partial_t,\ +\nabla\big),   ∂μ=(1c∂t, −∇)\;\partial^\mu = \big(\tfrac1c\partial_t,\ -\nabla\big);   p⋅p=+m2c2\;p\cdot p = +m^2c^2.
  • The freedom: Aμ→Aμ+∂μχ\boxed{A^\mu \to A^\mu + \partial^\mu\chi} for any smooth χ\chi, and FμνF^{\mu\nu} is identically unchanged — because ∂μ∂νχ=∂ν∂μχ\partial^\mu\partial^\nu\chi = \partial^\nu\partial^\mu\chi. Not approximately; identically. No experiment at any precision can see χ\chi.
  • In three-vector language: φ→φ+∂tχ\varphi \to \varphi + \partial_t\chi and A⃗→A⃗−∇χ\vec A \to \vec A - \nabla\chi — note the minus, forced by ∂i=−∂i\partial^i = -\partial_i. (The familiar φ→φ−∂tλ\varphi \to \varphi - \partial_t\lambda, A⃗→A⃗+∇λ\vec A \to \vec A + \nabla\lambda is the same map with λ=−χ\lambda = -\chi. The base text mixes the two and is internally inconsistent.)
  • Owned result — the Lorenz gauge is the only standard gauge every inertial frame agrees on. ∂μAμ\partial_\mu A^\mu is a scalar, so ∂μAμ=0\partial_\mu A^\mu = 0 holds in every frame at once. ∇ ⁣⋅ ⁣A⃗=0\nabla\!\cdot\!\vec A = 0 is not: boost a Coulomb-gauge potential and it leaves the Coulomb gauge, by −2.882 T-2.882\ \mathrm{T}.
  • You can always get there: given ∂μAμ=f\partial_\mu A^\mu = f, solve □χ=−f\Box\chi = -f — always soluble. And a residual freedom survives: any χ\chi with □χ=0\boxed{\Box\chi = 0} preserves the Lorenz condition. Hence 4−1−1=24 - 1 - 1 = 2 — the two transverse photon polarisations.
  • Key idea: gauge freedom is not slack we tolerate. It is the reason for the theory. Insist that a convention — the phase of the electron's wavefunction — be choosable independently at every point, and you are forced to invent a compensating field transforming as Aμ→Aμ+∂μχA^\mu \to A^\mu + \partial^\mu\chi. That field is the photon. Electromagnetism is the price of a local convention.
The core insight

FμνF^{\mu\nu} is the physics; AμA^\mu is a coordinate on the space of potentials that produce it. All the AμA^\mu related by Aμ→Aμ+∂μχA^\mu \to A^\mu + \partial^\mu\chi form one gauge orbit, and every point on it describes the identical physical world. A gauge condition is a rule for picking one representative per orbit — a slice through the orbits. The question this article answers is which slice a boost respects. Lorenz's slice, ∂μAμ=0\partial_\mu A^\mu = 0, is cut by a scalar equation, so a boost maps it to itself. Coulomb's slice, ∇ ⁣⋅ ⁣A⃗=0\nabla\!\cdot\!\vec A = 0, is cut by an equation that names a frame, so a boost drags a potential straight off it.

Where this lives today

The gauge principle is the organising idea of modern physics, and it runs in the opposite direction to the one this article took. We started with AμA^\mu and discovered a redundancy. The modern construction starts with the redundancy and derives AμA^\mu: postulate that the phase of the electron's wavefunction, ψ→eiθψ\psi \to e^{i\theta}\psi, is a convention choosable independently at every point of spacetime, and the free Dirac equation immediately fails to be invariant. Repairing it requires a compensating field transforming as Aμ→Aμ+∂μχA^\mu \to A^\mu + \partial^\mu\chi — and there is only one way to do it. Electromagnetism is not discovered; it is deduced, and the photon's masslessness, the universality of its coupling, and charge conservation all fall out of the same demand. Yang and Mills generalised the argument in 1954 by replacing the phase eiθe^{i\theta} (the group U(1)U(1)) with a non-commuting group, and the Standard Model is the result: SU(3)×SU(2)×U(1)SU(3) \times SU(2) \times U(1), whose gauge fields are the eight gluons, the WW and ZZ, and the photon. And the Lorenz gauge remains the working choice wherever covariance matters. Every calculation of radiation uses it, because it turns Maxwell's equations into □Aμ=μ0Jμ\Box A^\mu = \mu_0 J^\mu with its retarded solution; quantum electrodynamics is quantised in it — the Gupta–Bleuler and covariant-gauge formalisms — because the alternatives force you to choose a frame and then defend the choice. Ludvig Lorenz's 1867 condition, written to make retarded potentials work, turned out to be the only one Einstein's 1905 postulates would have permitted anyway.

Origins · 2 minHermann Weyl and how this was discovered
HW
Hermann Weyl
1885–1955 · Eichinvarianz 1918 · the phase reinterpretation · the gauge principle

The word "gauge" is a fossil of a beautiful mistake. In 1918, in "Gravitation und Elektrizität," Hermann Weyl tried to unify gravity and electromagnetism by proposing that the scale of a measuring rod — its Eichung, its calibration or gauge — might be a local convention, choosable independently at each point of spacetime, with electromagnetism as the compensating field keeping the geometry consistent. He called the symmetry Eichinvarianz, and the name has stuck to every theory built this way since. As physics it was wrong, and Einstein said so almost immediately. If lengths really depended on the path taken through an electromagnetic field, two identical atoms with different histories would have different sizes — and therefore different spectral lines. Atomic spectra are sharp. Weyl's theory predicted they should not be, and he eventually conceded the point. The repair came from quantum mechanics, and it was not Weyl's. In 1926 Vladimir Fock noticed that the Schrödinger equation for a charged particle is invariant under a local phase change of the wavefunction provided the potential shifts by a gradient; in 1927 Fritz London saw that this was Weyl's idea exactly, with the scale factor made imaginary — a rotation of phase rather than a stretching of length. Nothing measurable stretches, so Einstein's objection evaporates: a phase is not a size. Only in 1929, in "Elektron und Gravitation," did Weyl adopt the quantum reading, recasting his symmetry as local U(1)U(1) phase invariance and giving the gauge principle its definitive form — which Pauli's 1941 review then made standard. The credit therefore divides, and it is worth dividing honestly. The idea of a local, arbitrarily choosable convention is Weyl's, from 1918, and it was wrong in its first incarnation. The correct reading — that the convention is a phase, not a scale — is Fock's and London's. The synthesis Yang and Mills would generalise in 1954 is Weyl's again, from 1929. The misleading name he coined in the wrong theory is the one we still use.

History
1867
— Ludvig Lorenz (Danish), in "On the Identity of the Vibrations of Light with Electrical Currents," introduces the retarded potentials and the condition now called the Lorenz gauge. Hendrik Lorentz, of the Lorentz transformation, turns fourteen that year.
1918
— Hermann Weyl, in "Gravitation und Elektrizität," proposes that the scale of lengths is a local convention and coins Eichinvarianz — gauge invariance. Einstein objects at once: path-dependent lengths would smear atomic spectra, which are sharp.
1926
— Vladimir Fock shows that the Schrödinger equation for a charged particle is invariant under a local change of the wavefunction's phase, provided the potential shifts by a gradient.
1927
— Fritz London identifies Fock's phase symmetry as Weyl's idea with the scale factor made imaginary: a rotation of phase, not a stretching of length. Einstein's objection dissolves.
1929
— Weyl, in "Elektron und Gravitation," adopts the quantum reading and recasts his symmetry as local U(1) phase invariance, giving the gauge principle its modern form.
1941
— Pauli's review article establishes the modern terminology and makes gauge invariance standard.
1954
— Yang and Mills generalise the gauge principle to non-commuting groups; the Standard Model is built on the result.

The physical picture

The potentials are not unique, and it is easy to say exactly how. Take any smooth χ(t,x⃗ )\chi(t,\vec x\,) — literally any — and shift the four-potential by its four-gradient. The field tensor is a four-curl, Fμν=∂μAν−∂νAμF^{\mu\nu} = \partial^\mu A^\nu - \partial^\nu A^\mu, and a curl annihilates a gradient: the extra piece is ∂μ∂νχ−∂ν∂μχ\partial^\mu\partial^\nu\chi - \partial^\nu\partial^\mu\chi, which vanishes identically because partial derivatives commute. So E⃗\vec E, B⃗\vec B, every force, every energy: unchanged. Heaviside thought this made the potentials fraudulent. The modern reading is the reverse. The redundancy has a shape, and the shape is a symmetry — one with an arbitrary function's worth of parameters at every point of spacetime, a vastly bigger object than the handful of parameters in a rotation. Symmetries that large are not decorations; they are constraints. The price of redundancy is that you must eventually choose. Gauge fixing is picking one AμA^\mu per physical situation, and the standard choices differ enormously in convenience — see the table below. None of them changes the physics. All of them change how much work you do. And exactly one of them is a statement every observer in the universe can agree to without re-deriving it in their own frame.

Figure
PUNCHLINE — the same potential, boosted. LEFT: a proton at rest, whose Coulomb potential satisfies BOTH gauge conditions at once. RIGHT: the same potential seen at 0.6c, one nanometre out. The Coulomb condition is broken by −2.882 T. The Lorenz condition survives EXACTLY, because its two terms come out at ∓2.882 T and cancel to the last digit — which they must, since ∂ₘAᵐ is a Lorentz SCALAR while ∇·A is not
One potential, two gauge conditions, one boost — and only one of them survives REST FRAME — proton at rest φ = kq/r, A = 0 LORENZ ∂ₘAᵐ = 0 ✓ (1/c²)∂ₜφ = 0 · ∇·A = 0 COULOMB ∇·A = 0 ✓ trivially — A is zero Both conditions hold. Nothing so far distinguishes them. boost 0.6c BOOSTED — same proton, 1.00 nm out γ = 1.25, φ′ = γφ, A′ₓ = γvφ/c² COULOMB ∇′·A′ = −2.882 T ✗ BROKEN not a rounding error — three tesla LORENZ ∂ₘA′ᵐ (1/c²)∂ₜ′φ′ = + 2.882 T ∇′·A′ = − 2.882 T = 0 ✓ EXACTLY ∂ₘAᵐ is a SCALAR. ∇·A is not.

The core equations

  Aμ  ⟶  A′μ  =  Aμ+∂μχ  ⟹  F′μν=Fμν  (1)\boxed{\;A^\mu \;\longrightarrow\; A'^\mu \;=\; A^\mu + \partial^\mu\chi\;} \qquad\Longrightarrow\qquad \boxed{\;F'^{\mu\nu} = F^{\mu\nu}\;} \qquad (1)

where: χ(t,x⃗ )\chi(t,\vec x\,) — any smooth scalar function. Physical reading: substitute into Fμν=∂μAν−∂νAμF^{\mu\nu} = \partial^\mu A^\nu - \partial^\nu A^\mu and the extra term is ∂μ∂νχ−∂ν∂μχ=0\partial^\mu\partial^\nu\chi - \partial^\nu\partial^\mu\chi = 0, because mixed partials commute. An identity, not an approximation. Nothing measurable can depend on χ\chi. In three-vector components — and mind the sign:

φ  →  φ+∂χ∂t,A⃗  →  A⃗−∇χ(2)\varphi \;\to\; \varphi + \frac{\partial\chi}{\partial t}, \qquad\qquad \vec A \;\to\; \vec A - \nabla\chi \qquad (2)

where: the minus on ∇χ\nabla\chi is forced by ∂i=−∂i\partial^i = -\partial_i. Physical reading: the textbook form φ→φ−∂tλ\varphi \to \varphi - \partial_t\lambda, A⃗→A⃗+∇λ\vec A \to \vec A + \nabla\lambda is the same transformation with λ=−χ\lambda = -\chi; both are correct, and mixing them is not.

  ∂μAμ  =  1c2∂φ∂t+∇ ⁣⋅ ⁣A⃗  =  0  (the Lorenz condition)(3)\boxed{\;\partial_\mu A^\mu \;=\; \frac{1}{c^2}\frac{\partial\varphi}{\partial t} + \nabla\!\cdot\!\vec A \;=\; 0\;} \qquad\text{(the Lorenz condition)} \qquad (3)

where: ∂μAμ\partial_\mu A^\mu is fully contracted — one upper index, one lower, summed. Physical reading: it is therefore a Lorentz scalar, and a scalar that vanishes in one frame vanishes in every frame. That one line is the entire argument for the Lorenz gauge's privileged status. The Coulomb condition ∇ ⁣⋅ ⁣A⃗=0\nabla\!\cdot\!\vec A = 0 contracts only the spatial indices, which is not a Lorentz-covariant operation — it names a frame's notion of "space" — so it does not survive a boost.

□χ=−∂μAμ(always soluble)(4)  □χ=0  (residual freedom)(5)\Box\chi = -\partial_\mu A^\mu \quad\text{(always soluble)} \qquad (4) \qquad\qquad \boxed{\;\Box\chi = 0\;} \quad\text{(residual freedom)} \qquad (5)

where: □=∂μ∂μ=1c2∂t2−∇2\Box = \partial_\mu\partial^\mu = \tfrac{1}{c^2}\partial_t^2 - \nabla^2. Physical reading of (4): start from any potential; if ∂μAμ=f≠0\partial_\mu A^\mu = f \ne 0, solve the inhomogeneous wave equation □χ=−f\Box\chi = -f (it always has a retarded solution) and the shifted potential satisfies (3). The Lorenz gauge is reachable from anywhere. Reading of (5): the Lorenz condition does not fix AμA^\mu completely — any further χ\chi with □χ=0\Box\chi = 0 preserves it. That surviving freedom removes the second unphysical component, and it is why the photon has two polarisations, not three.

The gauge freedom, and the one gauge every frame agrees on

Derivation AThe field tensor cannot see the gauge — and the three-vector sign that trips everyone

Two things to establish, and the second is where the errors live: that FμνF^{\mu\nu} is identically invariant under Aμ→Aμ+∂μχA^\mu \to A^\mu + \partial^\mu\chi — a two-line proof that nonetheless carries the whole meaning of the word "gauge" — and then the three-vector form of that transformation, whose sign is not a matter of taste and which the base text for this article gets internally inconsistent.

Step 1. Substitute the shifted potential into the definition:   F′μν=∂μ(Aν+∂νχ)−∂ν(Aμ+∂μχ)=Fμν+(∂μ∂ν−∂ν∂μ)χ\;F'^{\mu\nu} = \partial^\mu(A^\nu + \partial^\nu\chi) - \partial^\nu(A^\mu + \partial^\mu\chi) = F^{\mu\nu} + \big(\partial^\mu\partial^\nu - \partial^\nu\partial^\mu\big)\chi. Why: nothing but the definition and linearity of the derivative.

Step 2. Kill the extra term. For any χ\chi with continuous second derivatives, ∂μ∂νχ=∂ν∂μχ\partial^\mu\partial^\nu\chi = \partial^\nu\partial^\mu\chi, so the bracket vanishes and   F′μν=Fμν\;\boxed{F'^{\mu\nu} = F^{\mu\nu}}. Why: <strong>the antisymmetrised derivative of a gradient is zero</strong> — the four-dimensional version of ∇×∇χ=0⃗\nabla\times\nabla\chi = \vec 0. This is why the freedom exists at all: FF is a curl, and curls are blind to gradients. Because it is an identity, no experiment at any precision can ever measure χ\chi.

Step 3. Unpack into components, carefully. A0=φ/cA^0 = \varphi/c and ∂0=1c∂t\partial^0 = \tfrac1c\partial_t, so the time slot gives φ/c→φ/c+1c∂tχ\varphi/c \to \varphi/c + \tfrac1c\partial_t\chi, i.e.   φ→φ+∂tχ\;\boxed{\varphi \to \varphi + \partial_t\chi}. The spatial slots have ∂i=−∂i\partial^i = -\partial_i, so Ai→Ai−∂iχA^i \to A^i - \partial_i\chi, i.e.   A⃗→A⃗−∇χ\;\boxed{\vec A \to \vec A - \nabla\chi}. Why: <strong>the minus is forced, not chosen.</strong> It comes from raising the index on the gradient — the same minus that gave F0i=−Ei/cF^{0i} = -E^i/c. Anyone who writes A⃗→A⃗+∇χ\vec A \to \vec A + \nabla\chi alongside Aμ→Aμ+∂μχA^\mu \to A^\mu + \partial^\mu\chi has contradicted themselves.

Step 4. Check the fields directly, which is the reassurance worth having.   E⃗→−∇(φ+∂tχ)−∂t(A⃗−∇χ)=E⃗\;\vec E \to -\nabla(\varphi + \partial_t\chi) - \partial_t(\vec A - \nabla\chi) = \vec E, the two χ\chi terms cancelling because ∇\nabla and ∂t\partial_t commute; and   B⃗→∇×(A⃗−∇χ)=B⃗\;\vec B \to \nabla\times(\vec A - \nabla\chi) = \vec B, since the curl of a gradient vanishes. Why: the cancellation in E⃗\vec E <strong>requires</strong> the relative sign of (2) to be right. Flip one of the two and the χ\chi terms <strong>add</strong>, and you have manufactured a spurious electric field −2∇∂tχ-2\nabla\partial_t\chi out of a choice of notation. That is exactly the symptom of the base's inconsistency, and exactly how you catch it. *Verified in verify_aq-sr-gauge-transformations-lorenz-gauge.py: F′μν=FμνF'^{\mu\nu} = F^{\mu\nu} asserted entry-by-entry, symbolically, for arbitrary χ(t,x,y,z)\chi(t,x,y,z) and arbitrary potentials; the component form derived from Aμ→Aμ+∂μχA^\mu \to A^\mu + \partial^\mu\chi rather than assumed; E⃗\vec E and B⃗\vec B asserted unchanged; and the base's mixed pair shown to change E⃗\vec E by −2∇∂tλ≠0-2\nabla\partial_t\lambda \ne 0.*

Go deeper · Derivation B · 2 minThe Lorenz gauge is the only standard gauge every frame agrees on
Derivation BThe Lorenz gauge is the only standard gauge every frame agrees on

This is the article's owned result, and the reason a Danish physicist's name is attached to a condition rather than a transformation. There are many gauges; the question is which a Lorentz boost respects. The answer follows from a single observation about index structure — and then, to make it concrete rather than merely formal, we boost an actual potential and watch one condition break.

Step 1 — count the indices. ∂μAμ\partial_\mu A^\mu has one lower index and one upper index, summed: fully contracted, hence a Lorentz scalar. Under a boost,   ∂μ′A′μ=(Λμα∂α)(ΛμβAβ)=δβα ∂αAβ=∂αAα\;\partial'_\mu A'^\mu = \big(\Lambda_\mu{}^\alpha\partial_\alpha\big)\big(\Lambda^\mu{}_\beta A^\beta\big) = \delta^\alpha_\beta\,\partial_\alpha A^\beta = \partial_\alpha A^\alpha — the two Λ\Lambda's cancel. Why: <strong>this is the whole theorem.</strong> A scalar has the same value in every frame, so if ∂μAμ=0\partial_\mu A^\mu = 0 for me it is zero for you, with no re-fixing. Contrast ∇ ⁣⋅ ⁣A⃗=∂iAi\nabla\!\cdot\!\vec A = \partial_i A^i: the sum runs over i=1,2,3i = 1,2,3 only — not a Lorentz contraction but three-quarters of one — and "which components are spatial" is exactly the question a boost refuses to answer frame-independently.

Step 2 — a potential in both gauges at once. Take a charge at rest: φ=kq/r\varphi = kq/r, A⃗=0⃗\vec A = \vec 0, ∂tφ=0\partial_t\varphi = 0. Then ∇ ⁣⋅ ⁣A⃗=0\nabla\!\cdot\!\vec A = 0 (Coulomb ✓) and 1c2∂tφ+∇ ⁣⋅ ⁣A⃗=0\tfrac{1}{c^2}\partial_t\varphi + \nabla\!\cdot\!\vec A = 0 (Lorenz ✓). Why: a potential satisfying both conditions is the perfect test specimen — whatever happens under the boost is a property of the <strong>conditions</strong>, not of the potential.

Step 3 — boost it and compute both conditions. From The Four-Potential, φ′=γφ\varphi' = \gamma\varphi and A⃗′=φ′v⃗/c2\vec A' = \varphi'\vec v/c^2, so Ax′=γvφ/c2A'_x = \gamma v\varphi/c^2. Working at t′=0t' = 0, where x=γx′x = \gamma x' and ∂x/∂t′=−γv\partial x/\partial t' = -\gamma v:

∇′ ⁣⋅ ⁣A⃗′=∂Ax′∂x′=γvc2⋅γ ∂φ∂x=γ2vc2 ∂xφ,1c2∂φ′∂t′=γc2 (−γv) ∂xφ=−γ2vc2 ∂xφ.\nabla'\!\cdot\!\vec A' = \frac{\partial A'_x}{\partial x'} = \frac{\gamma v}{c^2}\cdot\gamma\,\frac{\partial\varphi}{\partial x} = \frac{\gamma^2 v}{c^2}\,\partial_x\varphi , \qquad \frac{1}{c^2}\frac{\partial\varphi'}{\partial t'} = \frac{\gamma}{c^2}\,(-\gamma v)\,\partial_x\varphi = -\frac{\gamma^2 v}{c^2}\,\partial_x\varphi .

Why: both terms are the same quantity with opposite signs. The chain rule supplies +γ+\gamma to the space derivative and −γv-\gamma v to the time derivative, and that relative minus is the entire mechanism.

Step 4 — read off both verdicts. Adding them,   ∂μA′μ=γ2vc2∂xφ−γ2vc2∂xφ=0\;\boxed{\partial_\mu A'^\mu = \tfrac{\gamma^2 v}{c^2}\partial_x\varphi - \tfrac{\gamma^2 v}{c^2}\partial_x\varphi = 0} — the Lorenz condition survives, exactly, for any static φ\varphi whatsoever. Taken alone, though,   ∇′ ⁣⋅ ⁣A⃗′=γ2vc2 ∂xφ≠0\;\boxed{\nabla'\!\cdot\!\vec A' = \tfrac{\gamma^2 v}{c^2}\,\partial_x\varphi \ne 0} — the Coulomb condition is broken. Why: the boost did not destroy the Coulomb condition by accident or by a large velocity; it destroyed it <strong>structurally</strong>, by mixing φ\varphi into A⃗\vec A. To work in Coulomb gauge in the new frame you must perform a second, frame-specific gauge transformation — which is precisely why the Coulomb gauge is not manifestly covariant. Worked Example 1 puts −2.882 T-2.882\ \mathrm{T} on the broken condition. *Verified in verify_aq-sr-gauge-transformations-lorenz-gauge.py: ∂μ′A′μ=∂μAμ\partial'_\mu A'^\mu = \partial_\mu A^\mu proved from ΛμαΛμβ=δβα\Lambda_\mu{}^\alpha\Lambda^\mu{}_\beta = \delta^\alpha_\beta; the boosted static potential's Lorenz condition simplified to exactly zero for arbitrary static φ(x,y,z)\varphi(x,y,z); its ∇′ ⁣⋅ ⁣A⃗′\nabla'\!\cdot\!\vec A' shown to be γ2v ∂xφ/c2\gamma^2v\,\partial_x\varphi/c^2, non-zero; and the printed ∓2.882 T\mp 2.882\ \mathrm{T} recomputed from φ=ke/r\varphi = ke/r at x′=1.00 nmx' = 1.00\ \mathrm{nm}, β=0.6\beta = 0.6.*

Go deeper · Derivation C · 2 minReaching the Lorenz gauge, the freedom that survives it, and why light has two polarisations
Derivation CReaching the Lorenz gauge, the freedom that survives it, and why light has two polarisations

The Lorenz condition would be a curiosity if it were hard to satisfy. It is not: it is reachable from any starting potential by solving one wave equation. And it does not finish the job — a residual freedom survives, and that leftover is exactly what reduces the photon's four components to the two we observe, which is the deepest payoff in this article.

Step 1 — reachability. Suppose ∂μAμ=f(x)≠0\partial_\mu A^\mu = f(x) \ne 0. Transform with some χ\chi: the new divergence is   ∂μA′μ=∂μ(Aμ+∂μχ)=f+□χ\;\partial_\mu A'^\mu = \partial_\mu(A^\mu + \partial^\mu\chi) = f + \Box\chi. Setting it to zero requires   □χ=−f\;\boxed{\Box\chi = -f} — an inhomogeneous wave equation, which always has a solution. Why: <strong>the Lorenz gauge is always available.</strong> There is no potential in electrodynamics from which you cannot reach it, so imposing it costs nothing in generality.

Step 2 — what survives. Having arrived, ask what further χ\chi keeps us there. Repeat Step 1 with f=0f = 0: we need   □χ=0\;\boxed{\Box\chi = 0}. Why: <strong>the Lorenz condition is a partial gauge fixing, not a complete one.</strong> Any solution of the homogeneous wave equation — and there are infinitely many — moves AμA^\mu while keeping ∂μAμ=0\partial_\mu A^\mu = 0. This slack is the <strong>residual gauge freedom</strong>, and it is not a nuisance: it is the tool that finishes the counting.

Step 3 — count for a free wave. Take a source-free plane wave Aμ=ϵμeikνxνA^\mu = \epsilon^\mu e^{ik_\nu x^\nu}. The field equation □Aμ=0\Box A^\mu = 0 forces kμkμ=0k_\mu k^\mu = 0 (null — the wave travels at cc). The Lorenz condition forces   kμϵμ=0\;k_\mu\epsilon^\mu = 0: one constraint, killing one of the four components of ϵμ\epsilon^\mu. Why: the polarisation vector must be Minkowski-orthogonal to the wave vector. That is the first of the two deletions.

Step 4 — spend the residual freedom, and land on two. Residual transformations with □χ=0\Box\chi = 0 are themselves plane waves, χ=ia eikνxν\chi = ia\,e^{ik_\nu x^\nu} with the same null kk; they shift   ϵμ→ϵμ−a kμ\;\epsilon^\mu \to \epsilon^\mu - a\,k^\mu. Choose aa to set ϵ0=0\epsilon^0 = 0. With k⃗\vec k along zz, kμ=(ω/c)(1,0,0,1)k^\mu = (\omega/c)(1,0,0,1), the Lorenz condition kμϵμ=(ω/c)(ϵ0−ϵ3)=0k_\mu\epsilon^\mu = (\omega/c)(\epsilon^0 - \epsilon^3) = 0 then forces ϵ3=ϵ0=0\epsilon^3 = \epsilon^0 = 0 as well. Only ϵ1\epsilon^1 and ϵ2\epsilon^2 survive — transverse to the propagation direction. Why: <strong>  4−1−1=2\;4 - 1 - 1 = 2.</strong> Four components; Lorenz removes one; the residual freedom removes a second. That is why light has exactly two polarisation states — not three, as a naive vector field would suggest. *Verified in verify_aq-sr-gauge-transformations-lorenz-gauge.py: ∂μA′μ=∂μAμ+□χ\partial_\mu A'^\mu = \partial_\mu A^\mu + \Box\chi symbolically; an explicit instance of reachability (Aμ=(0,κx,0,0)A^\mu = (0, \kappa x, 0, 0), a pure-gauge potential with ∂μAμ=κ\partial_\mu A^\mu = \kappa, gauged to zero by χ=κx2/2\chi = \kappa x^2/2 satisfying □χ=−κ\Box\chi = -\kappa); the plane-wave conditions kμkμ=0k_\mu k^\mu = 0 and kμϵμ=0k_\mu\epsilon^\mu = 0; the residual shift ϵμ→ϵμ−akμ\epsilon^\mu \to \epsilon^\mu - ak^\mu shown to preserve both; and the count 4−1−1=24-1-1=2 carried out on an explicit ϵμ\epsilon^\mu.*

Figure
THE DEGREE-OF-FREEDOM LEDGER for a free electromagnetic wave. The four-potential starts with 4 components. The Lorenz condition kᵐεₘ = 0 deletes one. The residual gauge freedom □χ = 0 — which survives Lorenz precisely because it is a homogeneous solution — deletes a second, by shifting εᵐ → εᵐ − a kᵐ. What is left is two TRANSVERSE polarisations: 4 − 1 − 1 = 2. This is why light has two polarisation states and not three, and why a massive vector boson has three
The degree-of-freedom ledger: 4 − 1 − 1 = 2 START 4 components of εᵐ ε⁰ ε¹ ε² ε³ a naive 4-vector field − 1 LORENZ kᵐεₘ = 0 with k along z: ε⁰ = ε³ one constraint · 3 left − 1 RESIDUAL □χ = 0 shifts εᵐ → εᵐ − a kᵐ ε⁰ = ε³ = 0 choose a · 2 left LEFT 2 ε¹ ε² transverse to k The two surviving components are perpendicular to the direction of travel — the two polarisations of light. Give the boson a mass and the gauge symmetry breaks: the residual freedom vanishes, and the third (longitudinal) polarisation reappears. That is exactly what the Higgs mechanism does to the W and Z.

Limiting cases

Gauge conditionLorentz-invariant?What it buys
Lorenz, ∂μAμ=0\partial_\mu A^\mu = 0YES — a scalar equation□Aμ=μ0Jμ\Box A^\mu = \mu_0 J^\mu: four decoupled wave equations. The covariant workhorse
Coulomb, ∇ ⁣⋅ ⁣A⃗=0\nabla\!\cdot\!\vec A = 0NO — it names a frame's space∇2φ=−ρ/ε0\nabla^2\varphi = -\rho/\varepsilon_0: φ\varphi is the instantaneous Coulomb potential. Good for bound states, bad for covariance
Radiation, φ=0\varphi = 0 and ∇ ⁣⋅ ⁣A⃗=0\nabla\!\cdot\!\vec A = 0noreachable in source-free regions using the residual freedom; displays the two transverse polarisations directly
residual, □χ=0\Box\chi = 0—the freedom that survives Lorenz, and removes the second unphysical component

Worked examples

1 · Boost a proton: the Coulomb gauge breaks by 2.882 tesla; the Lorenz gauge does not move

A proton sits at rest. Its Coulomb potential satisfies both gauge conditions. View it from a frame moving at 0.6c0.6c and evaluate both conditions a nanometre from the proton, on the axis of motion.

Step 1 — identify. In the rest frame φ=ke/r\varphi = ke/r, A⃗=0⃗\vec A = \vec 0, φ\varphi static. So ∇ ⁣⋅ ⁣A⃗=0\nabla\!\cdot\!\vec A = 0 (Coulomb ✓) and 1c2∂tφ+∇ ⁣⋅ ⁣A⃗=0+0=0\tfrac{1}{c^2}\partial_t\varphi + \nabla\!\cdot\!\vec A = 0 + 0 = 0 (Lorenz ✓). Both hold; nothing yet separates them.

Step 2 — the boosted potential. From The Four-Potential, φ′=γφ\varphi' = \gamma\varphi and Ax′=γvφ/c2A'_x = \gamma v\varphi/c^2, with β=0.6\beta = 0.6,   γ=1.25\;\gamma = \mathbf{1.25},   v=1.7987×108 m s−1\;v = \mathbf{1.7987\times10^{8}\ \mathrm{m\,s^{-1}}}.

Step 3 — locate the field point and get the gradient. Evaluate at x′=1.00 nmx' = 1.00\ \mathrm{nm} on axis at t′=0t' = 0; the corresponding rest-frame coordinate is x=γx′=1.25 nmx = \gamma x' = \mathbf{1.25\ \mathrm{nm}}. With ke=(8.9875×109)(1.6022×10−19)=1.4400×10−9 V mke = (8.9875\times10^{9})(1.6022\times10^{-19}) = \mathbf{1.4400\times10^{-9}\ \mathrm{V\,m}},

∂φ∂x=−kex2=−1.4400×10−9(1.25×10−9)2=−9.2158×108 V m−1.\frac{\partial\varphi}{\partial x} = -\frac{ke}{x^2} = -\frac{1.4400\times10^{-9}}{(1.25\times10^{-9})^2} = \mathbf{-9.2158\times10^{8}\ \mathrm{V\,m^{-1}}} .

Step 4 — evaluate the two conditions. The prefactor is   γ2v/c2=(1.5625)(1.7987×108)/(8.9875×1016)=3.1272×10−9 s m−1\;\gamma^2 v/c^2 = (1.5625)(1.7987\times10^{8})/(8.9875\times10^{16}) = \mathbf{3.1272\times10^{-9}\ \mathrm{s\,m^{-1}}}, so

∇′ ⁣⋅ ⁣A⃗′=γ2vc2 ∂xφ=(3.1272×10−9)(−9.2158×108)=−2.882 T,1c2∂φ′∂t′=+2.882 T.\nabla'\!\cdot\!\vec A' = \frac{\gamma^2 v}{c^2}\,\partial_x\varphi = (3.1272\times10^{-9})(-9.2158\times10^{8}) = \mathbf{-2.882\ \mathrm{T}} , \qquad \frac{1}{c^2}\frac{\partial\varphi'}{\partial t'} = \mathbf{+2.882\ \mathrm{T}} .

Step 5 — the boundary number, and the verdict. The Coulomb condition now reads −2.882 T-2.882\ \mathrm{T} instead of zero: broken, by nearly three tesla. The Lorenz condition is the sum of the two terms, −2.882+2.882=0-2.882 + 2.882 = \mathbf{0}: intact, exactly. The cancellation is not luck — Derivation 2 shows it is identically zero for any static φ\varphi, because ∂μAμ\partial_\mu A^\mu is a scalar and it was zero before the boost. To keep working in Coulomb gauge in the new frame you would have to perform a second, frame-specific gauge transformation and re-solve; in Lorenz gauge you do nothing at all. That is the practical meaning of "manifestly covariant," priced in tesla.

2 · Why light has exactly two polarisations: 4 − 1 − 1 = 2

Take a source-free plane wave of wavelength 500 nm500\ \mathrm{nm} travelling along zz. Count its physical degrees of freedom by spending the Lorenz condition and then the residual gauge freedom.

Step 1 — identify. Write Aμ=ϵμeikνxνA^\mu = \epsilon^\mu e^{ik_\nu x^\nu}. Naively ϵμ\epsilon^\mu has four independent components. The physical answer is two, and the two deletions have different origins.

Step 2 — the wave vector.   k=2π/λ=2π/(500×10−9)=1.2566×107 m−1\;k = 2\pi/\lambda = 2\pi/(500\times10^{-9}) = \mathbf{1.2566\times10^{7}\ \mathrm{m^{-1}}} and   ω=ck=3.7674×1015 rad s−1\;\omega = ck = \mathbf{3.7674\times10^{15}\ \mathrm{rad\,s^{-1}}}. The four-wavevector is kμ=(ω/c, 0, 0, k)k^\mu = (\omega/c,\,0,\,0,\,k), and   kμkμ=(ω/c)2−k2=0\;k_\mu k^\mu = (\omega/c)^2 - k^2 = \mathbf{0} — null, as □Aμ=0\Box A^\mu = 0 demands.

Step 3 — spend the Lorenz condition (deletion 1). ∂μAμ=0\partial_\mu A^\mu = 0 gives kμϵμ=0k_\mu\epsilon^\mu = 0, which with kμ=(ω/c)(1,0,0,1)k^\mu = (\omega/c)(1,0,0,1) reads (ω/c)(ϵ0−ϵ3)=0(\omega/c)(\epsilon^0 - \epsilon^3) = 0, so   ϵ0=ϵ3\;\epsilon^0 = \epsilon^3. One constraint; three components left.

Step 4 — spend the residual freedom (deletion 2). Gauge transformations with □χ=0\Box\chi = 0 survive the Lorenz condition; taking χ=ia eikνxν\chi = ia\,e^{ik_\nu x^\nu} with the same null kk shifts ϵμ→ϵμ−akμ\epsilon^\mu \to \epsilon^\mu - a k^\mu. This changes ϵ0\epsilon^0 and ϵ3\epsilon^3 by the same amount aω/ca\omega/c, so it preserves ϵ0=ϵ3\epsilon^0 = \epsilon^3 — as it must. Choose a=ϵ0c/ωa = \epsilon^0 c/\omega to set ϵ0=0\epsilon^0 = 0; then ϵ3=ϵ0=0\epsilon^3 = \epsilon^0 = \mathbf{0} as well. A second component gone.

Step 5 — the boundary number, and the physics. What is left is ϵμ=(0, ϵ1, ϵ2, 0)\epsilon^\mu = (0,\ \epsilon^1,\ \epsilon^2,\ 0): two components, both perpendicular to the direction of travel. The count is   4−1−1=2\;\mathbf{4 - 1 - 1 = 2}, and each deletion has a name — the Lorenz condition and the residual gauge freedom. This is the classical shadow of a deep quantum fact: a massless spin-1 particle has two helicity states, not three, and the missing state is precisely the one gauge invariance forbids.

Going further

Texts. Griffiths, Introduction to Electrodynamics, 4th ed., §10.1.2 · Jackson, Classical Electrodynamics, 3rd ed., §6.3 · Rindler, Introduction to Special Relativity, 2nd ed., ch. 7 · Jackson & Okun, "Historical roots of gauge invariance," Rev. Mod. Phys. 73, 663 (2001) · Weyl, "Elektron und Gravitation," Z. Phys. 56, 330 (1929).

Provenance. Signature (+,−,−,−)(+,-,-,-); ∂μ=(1c∂t,−∇)\partial^\mu = (\tfrac1c\partial_t, -\nabla); SI units. Base defect found and repaired: the AllQFT base's gauge-transformation card states the four-vector law as Aμ→Aμ+∂μΛA^\mu \to A^\mu + \partial^\mu\Lambda but prints a three-vector note in the opposite convention (A⃗→A⃗+∇λ\vec A \to \vec A + \nabla\lambda) without recording that λ=−Λ\lambda = -\Lambda — as printed, the two lines are inconsistent and do not follow from one another. The consistent unpacking is φ→φ+∂tχ\varphi \to \varphi + \partial_t\chi, A⃗→A⃗−∇χ\vec A \to \vec A - \nabla\chi (Derivation 1); the verify script shows the mismatched pair changes E⃗\vec E by −2∇∂tλ-2\nabla\partial_t\lambda.

History correction (sourced). A common framing credits Weyl's 1929 paper with the phase reinterpretation of gauge invariance. That is not right: the phase reading is Fock's (1926) and London's (1927); Weyl's 1929 "Elektron und Gravitation" adopted it and gave it its definitive form. Weyl's own 1918 proposal was a scale invariance and was wrong as physics. See Jackson & Okun, Rev. Mod. Phys. 73, 663 (2001).

Scope. The four-potential itself, □Aμ=μ0Jμ\Box A^\mu = \mu_0 J^\mu, and minimal coupling belong to The Four-Potential; the field tensor's components and invariants to The Electromagnetic Field Tensor; the retarded solution in this gauge to The Wave Equation for the Four-Potential.

Is the Lorenz gauge named after Hendrik Lorentz?

No. It is named for Ludvig Lorenz (1829–1891), a Danish physicist who introduced the condition in 1867 along with the retarded potentials. Hendrik Antoon Lorentz (1853–1928) was Dutch and gave us the Lorentz transformation, the Lorentz force and the Lorentz factor — and he was fourteen when Lorenz published. The confusion is made worse by an accident: the condition genuinely is Lorentz-invariant, so the misspelling looks justified. It is not.

If the potentials are not unique, why bother with them at all?

Because they are the variables the equations are simple in. In the Lorenz gauge, Maxwell's coupled first-order system for E⃗\vec E and B⃗\vec B becomes four decoupled second-order wave equations □Aμ=μ0Jμ\Box A^\mu = \mu_0 J^\mu, each with a standard retarded solution. And quantum mechanically the potentials are not optional: the Aharonov–Bohm effect measures ∮Aμ dxμ\oint A_\mu\,\mathrm dx^\mu in a region where every field is exactly zero, so a theory of E⃗\vec E and B⃗\vec B alone is incomplete.

Does the Coulomb gauge give wrong answers, then?

No — it gives the same answers, because FμνF^{\mu\nu} is gauge-invariant and every measurable quantity is built from FμνF^{\mu\nu}. What it lacks is manifest covariance. It hides the relativity: φ\varphi becomes the instantaneous Coulomb potential, which looks like action at a distance (it is not — the apparent instantaneity cancels against the vector potential in any physical field). And a Coulomb-gauge potential does not stay in Coulomb gauge under a boost, so you must re-fix by hand in each frame. For bound-state and quantum-optics problems, where you have a preferred frame anyway, that cost is worth paying.

What exactly is "residual" gauge freedom?

The Lorenz condition is one equation, so it removes one of the four components of AμA^\mu — but not all of them. Any further χ\chi satisfying the homogeneous wave equation □χ=0\Box\chi = 0 shifts AμA^\mu by ∂μχ\partial^\mu\chi while leaving ∂μAμ\partial_\mu A^\mu still zero. That leftover slack is the residual freedom, and it is not a defect: it removes the second unphysical component, bringing the photon's count from four down to two.

Why does a massless photon have two polarisations rather than three?

Because gauge invariance deletes one. A massive spin-1 particle has three polarisation states — two transverse and one longitudinal. For the photon, the Lorenz condition kills one component and the residual gauge freedom kills a second, leaving 4−1−1=24 - 1 - 1 = 2, both transverse. The connection runs both ways: give the gauge boson a mass and you break the gauge symmetry, the residual freedom vanishes, and the longitudinal polarisation reappears — which is what the Higgs mechanism does to the WW and ZZ.

Is gauge symmetry a real symmetry of nature, or just bookkeeping?

Both, and the tension is genuine. A gauge transformation relates two descriptions of the identical physical state, so unlike a rotation it generates no new physics or conserved charge on its own — in that sense it is redundancy, not symmetry. But the requirement of local gauge invariance is enormously restrictive, and that is where the physics is: it forces the existence of AμA^\mu, forces the photon to be massless, forces the coupling to be universal, and ties electromagnetism to charge conservation. The redundancy is bookkeeping; the demand that the bookkeeping be locally arbitrary is a law of nature.

Before this

Where this leads