Gauge Transformations
The chapter opener ended with a mild embarrassment. Potentials were introduced to make the two homogeneous Maxwell equations automatic — and — and the move worked: six field components collapsed into four potential components, and two of the four Maxwell equations dissolved into identities. But the bookkeeping came out loose. The map from potentials to fields is many-to-one: infinitely many distinct pairs describe exactly the same electromagnetic field, everywhere and for all time. You met a static slice of this already, in magnetostatics, where could absorb any gradient. Electrodynamics doubles the plot: now the scalar potential joins the conspiracy, and the two shifts must be choreographed together or the electric field breaks. This article measures the slack exactly. One arbitrary scalar function — the gauge function — generates the entire redundancy: with the compensating leaves both fields untouched, and every pair of potential descriptions of the same field is connected by exactly such a . That converse is the sharp part, and it is what licenses everything the rest of the chapter does: because the freedom is total and harmless, you may spend it, imposing one scalar condition on the potentials to make their equations of motion as pleasant as possible. Two ways of spending it dominate physics — the Coulomb gauge and the Lorenz gauge, each the subject of its own article next — and the retarded potentials, the point-charge potentials, and every radiation formula downstream are all written in the currency this article mints. Beyond the chapter, the same transformation, read as a symmetry principle rather than a nuisance, is the structural template for the Standard Model.
- The potentials behind given fields are not unique: and , for any smooth scalar , produce identical and .
- The two shifts are locked together: the gradient added to would contaminate through , and the shift of is precisely the antidote. In statics the shift sleeps; time-dependence wakes it.
- The freedom is complete as well as harmless: any two potential descriptions of the same field are connected by one shared gauge function — no residue, no exceptions (on simply connected domains).
- Fixing a gauge means imposing one scalar condition (, the Coulomb gauge; , the Lorenz gauge) to pick a convenient representative from each equivalence class.
- Physical statements must be gauge-invariant: the fields, forces, energies, and loop integrals qualify; the pointwise values of and do not.
- The consistency of the whole potential formulation quietly requires charge conservation — continuity is gauge freedom's structural partner, not an extra assumption.
- Key idea: the transformation , leaves and unchanged for any scalar — and it exhausts the freedom, so only gauge-invariant quantities are physical.
The transformation , leaves and unchanged for any scalar ; it exhausts the redundancy of the potentials, and only gauge-invariant quantities are physical.
Where this lives today
Gauge freedom graduated from nuisance to organizing principle. The Standard Model is built by demanding invariance under transformations of exactly this type — the electromagnetic generalized to matrix-valued functions — and reading the interactions off as the price of the demand; every collider cross-section computed for the LHC is evaluated in some gauge (Feynman gauge for loops, often axial gauges for jets) with the final number checked gauge-invariant, the modern industrial version of this article's doctrine. In precision QED, the electron's magnetic moment is currently computed through five loops — tens of thousands of gauge-dependent integrals conspiring to a gauge-invariant 13 significant figures that agree with experiment. The discipline bites in numerical work too: numerical-relativity and electromagnetics codes must fix a gauge to run at all, a poor slice can crash a simulation with pure coordinate pathologies, and gauge-invariant extraction of observables is a named pipeline step. And the Aharonov–Bohm loop integral of equation (3) is now engineering: superconducting flux qubits store quantum information in gauge-invariant flux states threading a ring — the that in 1959 was a philosophical scandal is read out billions of times per second in quantum processors.
Origins · 1 minHendrik Antoon Lorentz and how this was discovered
Lorentz was the great organizer of classical electron theory: from his chair at Leiden he rebuilt Maxwell's theory around charged particles and fields, derived the force law that bears his name, and in his 1904 encyclopedia article and lectures set out the potential formulation of electrodynamics in essentially the modern form — including the transformation , as the general statement of the potentials' freedom, and the systematic use of the condition that decouples their wave equations. His authority was such that the condition and the gauge were christened "Lorentz's" — though the Dane Ludvig Lorenz had used it in 1867, when Hendrik Antoon was fourteen; the community's slow correction to "Lorenz gauge" is the next article's opening story. Lorentz shared the 1902 Nobel Prize with Zeeman, chaired the Solvay councils that midwifed quantum theory, and was the physicist Einstein said he admired above all others. That the transformations of special relativity also carry his name is a separate, fully deserved credit — the man is under-cited only in the one place he is over-cited.
The physical picture
Think of the potentials as an altitude map and the fields as the terrain's slopes. Nobody hiking the landscape ever measures altitude — only steepness, at every point, in every direction. You can raise the whole map by a constant, or warp its reference level from place to place and moment to moment, and so long as the warp is choreographed so every slope comes out the same, the two maps describe one landscape. The gauge function is exactly such a warp. Two physicists using different 's disagree about and at every single point of spacetime — and compute identical forces on every charge, identical fluxes, identical energies. Neither is wrong. They are using different coordinates on the same physics. The magnetostatics version of this story — met three chapters ago — had only one knob: add to and survives, because the curl of a gradient dies identically. Electrodynamics is where the choreography becomes visible. The electric field now reads too, through , so a time-dependent added to would change — unless the scalar potential simultaneously absorbs , whose gradient cancels the intrusion term for term. One scalar function, two coordinated shifts, both fields blind to it. The diagram below wires up the cancellation.
How much freedom is that, really? Count. The potentials carry four functions of space and time, . The gauge function eats one. A gauge condition — one scalar equation — pins one more. Two functional degrees of freedom remain, and these are physical: they are the two transverse polarizations that will become the radiation field later in this chapter, and the two polarization states of the photon in the quantum theory. The potentials over-describe the physics by exactly the amount can reach, no more. The picture to carry forward is a space of descriptions sliced into equivalence classes. Every point is a pair ; two points connected by some lie on the same gauge orbit, and all points of an orbit describe one physical field history. A gauge condition is a surface slicing through the space, meeting each orbit in (ideally) one point — the chosen representative. The Coulomb slice and the Lorenz slice cut differently, and each intersects every orbit, which is why you may always demand either condition. That freedom-spending is the next two articles' business; this article's business is the orbit structure itself.
The transformation, measured exactly
Everything rests on the field definitions delivered by the chapter opener, Scalar and Vector Potentials:
where: and are the scalar and vector potentials; the pair of definitions makes and Faraday's law automatic. Read (1) as a division of labor inside : the piece is curl-free by construction, while carries all of the curl that Faraday's law demands — and note that now reports to both fields, which is exactly why its freedom must be chaperoned. The claim to be established, then spent for the rest of the chapter, is the gauge transformation:
where: is any smooth scalar field — the gauge function — with no equation of motion, no boundary condition, no physical content whatsoever. The primed and unprimed potentials produce identical fields (Derivation A), and every pair of potential descriptions of the same fields is related by exactly one such , up to an additive constant (Derivation B). Note the units: carries volt-seconds, so has the units of (V·s/m) and the units of — the dimensional bookkeeping already hints that one scalar can feed both potentials.
The goal is the direct audit: substitute the transformation (2) into the field definitions (1) and watch both fields emerge unscathed, for an arbitrary smooth — no gauge condition, no restriction to statics. The strategy is brute honesty, because the point of the calculation is structural: the magnetic field survives by one vector-calculus identity, while the electric field survives only because the two shifts in (2) are coordinated — running the algebra shows the choreography is not merely sufficient but forced, sign and all. Watch where each intruder term comes from and which partner kills it.
Step 1. The magnetic field. Take the curl of the shifted vector potential:
Why the second term dies: the curl of a gradient vanishes identically for any twice-differentiable scalar — the same identity, recalled from the vector-calculus chapter, that let magnetostatics shuffle freely. never sees at all, whatever its time dependence.
Step 2. The electric field — insert both shifts. Substituting and into the definition of :
Why two intruders appear: the shift smuggles into through the induction term — this is the new, purely electrodynamic threat, absent in statics — while the shift contributes through the gradient term.
Step 3. The cancellation. For smooth , spatial and temporal derivatives commute, , so the two intruder terms are equal and opposite:
Why the sign in (2) is forced: had shifted by , the intruders would add instead of cancel and would differ from by . The transformation is not a family of options — it is the unique pairing that protects both fields with one scalar.
Step 4. The static check. If has no time dependence, the shift is zero and the transformation collapses to the magnetostatic , — exactly the freedom exploited in Gauge Freedom and the Coulomb Gauge back in magnetostatics. The electrodynamic transformation contains the static one as its sleeping limit.
Invariance is only half the theorem, and the less interesting half. If some other residual freedom existed — some way two potential pairs could agree on the fields without being -related — then gauge fixing could silently discard physics. The converse closes that door, and it is where the time-dependent theory earns its keep beyond the magnetostatic version.
Go deeper · Derivation B · 2 minCompleteness — the gauge function exhausts the freedom
The goal is the converse theorem: if and generate the same and everywhere and for all time, then there exists a single scalar with and simultaneously. The strategy is to name the differences and , feed each field equality in turn, and watch the two conditions weld into one shared gauge function. The magnetostatic half of the argument — curl-free means gradient — is recalled from the magnetostatics chapter, where it was proved with its simply-connected fine print; the electrodynamic content here is the gluing: showing the scalar that generates is the same scalar whose time derivative generates .
Step 1. Equal magnetic fields force to be a gradient. gives at every instant. On a simply connected region, a curl-free field is a gradient — the converse theorem proved in Gauge Freedom and the Coulomb Gauge — applied now at each time separately:
Why inherits time dependence: the theorem is applied instant by instant, producing a potential for at each ; smoothness of in time lets the family be chosen smoothly, giving one scalar field of space and time. The simply-connected caveat is real — around a topological hole, could be curl-free yet not a gradient, the loophole the Aharonov–Bohm ring exploits.
Step 2. Equal electric fields tie to that same . reads . Insert and commute the derivatives:
a function of time alone — spatially constant, because its gradient vanishes everywhere. Why this is almost, but not yet, the theorem: we have ; the stray says the scalar shift is the time derivative of only up to a spatially uniform offset.
Step 3. Absorb the stray function. Define . Since the correction carries no space dependence, — Step 1 is undisturbed — while soaks up the offset exactly:
Why this closes the theorem: one scalar now generates both shifts. The only remaining ambiguity in itself is an additive constant, which moves neither potential. So the gauge orbits of the picture section are exactly the equivalence classes: same fields if and only if -related.
Step 4. What was time-dependent about it. In statics the theorem was one application of curl-free-means-gradient. Here it ran twice — once per field — and the two runs had to agree on a single ; the spatially-uniform was the entire slack between them, and it was pure bookkeeping. The freedom of electrodynamic potentials is precisely one scalar function of space and time, no more, no less. The counting is self-consistent: 4 potential functions − 1 gauge function − 1 gauge condition = 2 physical polarizations.
Spending the freedom: gauge conditions
Nothing physical distinguishes points on one orbit, so calculation strategy may. A gauge condition is one scalar equation imposed on , chosen purely for convenience — the art is matching the slice to the problem. The two workhorses each get a full article next; here is the menu with the price tags, including two limiting slices that appear in specialist work:
| gauge condition | what it buys | where it shines |
|---|---|---|
| Coulomb: | obeys an instantaneous Poisson equation | statics; radiation theory and QED, where carries exactly the two transverse polarizations |
| Lorenz: | and obey decoupled, symmetric wave equations | everything time-dependent in this chapter: retarded potentials, Liénard–Wiechert, radiation; manifestly relativistic |
| temporal (Weyl): | one potential eliminated outright | Hamiltonian and lattice formulations of field theory |
| axial: | one component of eliminated | certain quantization and plasma problems |
Two cautions about the table. First, a gauge condition does not always kill the freedom completely — a residual family of 's may preserve the condition; each gauge article prices its own residue. Second, attainability is a theorem, not a hope: one must prove the slice meets every orbit by exhibiting the repairing . Those proofs belong to the next two articles — the Coulomb repair is a Poisson problem (solved in the magnetostatics twin, revisited dynamically in Coulomb Gauge), the Lorenz repair a wave equation (Lorenz Gauge). What survives the slicing unchanged — the gauge-invariant ledger — is worth stating as doctrine:
where: and are the field energy density and Poynting vector (built from fields only), and the loop integral of is invariant because the gradient integrates to zero around any closed curve — Stokes converts it to the enclosed flux , a field quantity. That last entry is the deepest: in quantum mechanics the phase shifts electron interference fringes even when the electrons never touch — the Aharonov–Bohm effect — so gauge-invariant combinations of potentials carry physics that the fields at the particle's location do not. Gauge freedom demotes the potentials' pointwise values, not the potentials themselves.
Continuity: the structural partner
There is a quieter theorem sitting inside the potential formulation, and it deserves to be seen once in bare three-dimensional form. When the field definitions (1) are inserted into the two source Maxwell equations, the chapter opener assembled the coupled system
where: and are the sources; these two equations carry all of Maxwell (the other two are identities), in any gauge — the ugly block is precisely the Lorenz-gauge combination waiting to be zeroed two articles from now. The theorem: the system (4) is solvable only for sources that conserve charge, and conversely a violation of continuity cannot even be written in potential form.
Go deeper · Derivation C · 2 minContinuity is built in — the potential system polices its own sources
The goal is to show that the coupled potential equations (4) force the continuity equation identically — not as a consequence of the sources' good behavior but as an algebraic identity of the left-hand sides, so that charge conservation is a precondition for any potential description at all. The strategy: take of the scalar equation, add of the vector equation, and watch every potential term annihilate its partner. This is the potential-side restatement of the consistency audit performed on Maxwell's equations directly in the Maxwell chapter — recalled, not repeated; what is new here is where the cancellation comes from: the terms that die are exactly the gauge-condition combinations, which is the sense in which continuity is gauge freedom's partner.
Step 1. Differentiate the scalar equation. Multiplying the first of (4) by and applying :
Why this move: the continuity equation needs ; the scalar equation is the only place lives.
Step 2. Take the divergence of the vector equation. Dividing the second of (4) by and applying , using and :
The two terms cancel on the spot, leaving
Why the cancellation is the point: what survived on the left is, term for term, the same pair of objects produced in Step 1 — mixed derivatives of exactly the combination and that gauge conditions manipulate.
Step 3. Subtract. Step 1 minus Step 2 (derivatives commute on smooth potentials):
Why this is stronger than it looks: the right side vanished identically — for any potentials whatsoever, in any gauge, before any equation is solved. A source with makes the system (4) inconsistent: no exists for it. Continuity is not checked after the fact; it is the admission ticket.
Step 4. The symmetry reading. In the Lagrangian formulation this identity is Noether's theorem for the gauge symmetry: because the action is blind to , the source it couples to must be conserved. The full four-dimensional version — one line of tensor antisymmetry, — belongs to the relativity chapter; the three-dimensional grind above is the same fact wearing work clothes.
Limiting cases
| case | result | meaning |
|---|---|---|
| static | , untouched | the magnetostatic freedom of the E4 twin — the electrodynamic transformation's sleeping limit |
| constant | nothing moves | the identity element: gauge transformations form a group under addition of gauge functions |
| , | a constant-in-time offset of traded for a linearly growing — the zero-of-potential convention is itself a gauge choice | |
| with , const | const | the familiar "potentials are defined up to a constant" of circuit theory is the tiniest corner of gauge freedom |
| covariant packaging | , | both shifts are one four-gradient; the relativity chapter's four-potential makes the choreography a single statement |
Worked examples
1 · A static point charge with zero scalar potential (confidence builder)
Setup. Nothing dramatizes non-uniqueness like describing the most familiar field in physics with the "wrong" potential. Claim: the pair
describes the static Coulomb field of a point charge at the origin — no scalar potential at all, and a vector potential that grows forever.
Step 1. Compute the fields. The electric field: — the Coulomb field, exactly. The magnetic field: is radial with a spherically symmetric magnitude, and the curl of such a field vanishes (its circulation vanishes on every closed loop: on a loop lying in a sphere because is radial, which kills the radial component of the curl; on a loop in a plane through the origin the contributions are , an exact differential whose integral around any closed path is zero, which kills the tangential components), so . Both fields correct, for all .
Step 2. Find the gauge function connecting this to the standard description . We need , so , giving
Check the vector shift it induces: . ✓ Both shifts, one , as Derivation B guarantees.
Step 3. Numbers, to feel the gauge dependence. Take nC, m, s. The physical field is in both descriptions. The bookkeeping wildly disagrees: the standard gauge says V, ; the exotic gauge says , — and growing by V·s/m every second. An instrument that could read " at a point" would see a runaway; every real instrument reads and sees a time-independent 36 V/m forever.
The lesson: "the electric field is static" is physics; "the potentials are static" is a gauge choice. Even which potential does the work — in one description, in the other — is coordinates.
2 · Length gauge versus velocity gauge — the transformation AMO physics uses daily (exam level)
Setup. In strong-field atomic physics, a laser field at the atom is modeled (in the dipole approximation — the field is taken uniform over the atom, honest for atoms far smaller than the wavelength) as . Two standard potential descriptions coexist in the literature. Velocity gauge: , . Length gauge: , . Verify both, find the connecting , and put numbers on a real laser.
Step 1. Verify the velocity gauge: . ✓ And since is uniform in space.
Step 2. Verify the length gauge: . ✓ Here the field is delivered by a quasi-static-looking potential ramp — the "length" name comes from the interaction energy it hands a charge.
Step 3. The connecting gauge function. Need , so . Check the scalar shift: . ✓ One , both shifts — this is the Göppert-Mayer transformation of AMO theory.
Step 4. Numbers. A Ti:sapphire pulse at intensity , wavelength 800 nm: V/m and rad/s. The velocity-gauge amplitude is V·s/m; the length-gauge potential across one ångström is — an energy swing of 2.74 eV for an electron, nearly twice the 1.55 eV photon energy, which is why tears atoms apart. Any ionization rate, being physical, must come out gauge-invariant; truncated approximations need not, and chasing that discrepancy is a live methods literature.
Honesty note. The uniform oscillating with is not an exact vacuum Maxwell solution (Ampère–Maxwell would demand a curl of ) — it is the leading term of the true laser field for nm 1 Å. The gauge transformation itself is exact; only the field being described is approximate.
Going further
References. Griffiths, Introduction to Electrodynamics, 4th ed., §10.1.2–10.1.3 · Jackson, Classical Electrodynamics, 3rd ed., §6.2–6.3 · Zangwill, Modern Electrodynamics, §15.2–15.3 · Aharonov & Bohm, Phys. Rev. 115, 485 (1959) Key results in this article: the gauge transformation , leaves invariant via and the commutation of with ; the wave equation for reaching the Lorenz gauge is ; covariantly, is invariant under , and follows from the antisymmetry of . All expressions use standard SI with . The Lorenz-gauge repair equation and the covariant tensor statements are treated at statement level here, with full derivations in the companion articles. Worked-example numbers: 36.0 V/m; V/m, V·s/m, 2.74 eV vs 1.55 eV.
Builds on: Scalar and Vector Potentials · Maxwell's Equations in Vacuum · Vector Identities and Product Rules · Gauge Freedom and the Coulomb Gauge (magnetostatics) Leads to: Coulomb Gauge · Lorenz Gauge · Inhomogeneous Wave Equations for Potentials · Retarded Potentials
If potentials are pure bookkeeping, why does the Aharonov–Bohm effect see A where B is zero?
Because what the electron reads is not the pointwise value of (gauge-dependent, meaningless) but the closed-loop integral (gauge-invariant, equal to the enclosed flux). Outside a long solenoid but the loop integral around it equals the confined flux — a nonlocal, invariant fact about the region's topology. The effect therefore does not contradict gauge freedom; it sharpens the doctrine. The invariant content of the potentials is more than the local fields (it includes flux-around-holes information), while the gauge-variant part remains exactly as unphysical as this article says. Note the fine print in Derivation B: curl-free implies gradient only on simply connected regions, and the AB ring is precisely not one.
How is this article different from the gauge article back in magnetostatics?
Division of labor. The magnetostatics twin (Gauge Freedom and the Coulomb Gauge) owns the static story: with untouched, the converse theorem for curl-free fields with its simply-connected fine print, the attainability of by solving a Poisson problem, and the uniform-field menagerie. This article owns the electrodynamic structure: the coordinated shift and why its sign is forced (Derivation A), the completeness converse when everything depends on time — two applications of the static theorem glued by a single (Derivation B) — the gauge-orbit/slice picture, the gauge menu, and the continuity identity (Derivation C). The static twin's freedom is this article's transformation with : one limiting row of the table.
Does the gauge function itself satisfy any equation?
None whatsoever, and that is the point: is arbitrary — any smooth scalar field of space and time generates a legal transformation. Equations for appear only when you want something: to move a given potential pair onto a chosen slice. Demanding the Lorenz condition of the transformed pair forces — a wave equation with known source, always solvable, as the Lorenz article proves. Demanding the Coulomb condition forces a Poisson equation. In each case the existence of solutions is what makes the gauge attainable, and the multiplicity of solutions (homogeneous solutions of the same operator) is exactly the residual freedom that survives.
If lambda is arbitrary, could I use a discontinuous or multivalued one?
Only at your peril, and sometimes at your profit. The derivations assumed twice differentiable so that curls of gradients vanish and derivatives commute; a kink would inject delta-function artifacts into the potentials that must then cancel in the fields — legal with distributions, pointless in most problems. Multivalued gauge functions are genuinely useful in multiply connected regions: the standard potential descriptions outside a flux-carrying solenoid differ by exactly such a , and in quantum mechanics the demand that the matter phase stay single-valued quantizes the allowed multivaluedness — the germ of flux quantization in superconductors. Within this chapter, take smooth and single-valued.
Why do we say charge conservation is a partner of gauge symmetry rather than a consequence of Maxwell's equations?
Both statements are true and illuminate different faces. The Maxwell chapter derived continuity by combining the two source equations — a consequence. Derivation C shows something sharper: in the potential formulation the left-hand sides identically satisfy the continuity combination, so a non-conserving source cannot even be coupled to potentials — the theory refuses to be written. In the Lagrangian formulation this becomes Noether's second theorem: local gauge invariance of the action forces the coupled matter current to be conserved before any equation of motion is imposed. "Partner" is the honest word — neither causes the other; both are shadows of one structure, which is what makes promoting gauge invariance to a principle so powerful: conservation laws come bundled.
In the worked example, A grows without bound as t increases. Is that not unphysical?
It is un-measurable, which is the only standard potentials answer to. Every field computed from the runaway is the static Coulomb field at all times; no experiment distinguishes the descriptions. The runaway does violate aesthetic side conditions people impose silently — potentials that stay bounded, vanish at infinity, share the fields' time-independence — and those side conditions are precisely what a good gauge choice enforces. The practical moral: gauge freedom permits monstrous descriptions, gauge fixing is how you decline them.
Do the two remaining physical degrees of freedom mean the photon has two polarizations?
Yes — the counting survives quantization intact. Classically: four potential components, minus one function removable by , minus one gauge condition, leaves two functional degrees of freedom, which for radiation are the two transverse polarization amplitudes of the wave chapter. Quantum mechanically the same ledger says the photon has two polarization states, not three or four — the massless vector particle's little-group representation, in field-theory language. The counting is not a coincidence: gauge redundancy is precisely how a manifestly local, four-component description coexists with a two-state physical particle. A massive photon would break the ledger — it gains a longitudinal state, and gauge freedom is lost (current experimental bound on the photon mass: below kg, from solar-wind magnetohydrodynamics and torsion-balance work).