Hamilton's principle/Applications/The electromagnetic Lagrangian: Difference between revisions
hamiltons-principle>HPVBuild Initial import of A-10 |
Remove phrase duplicated by the piped link |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:The electromagnetic Lagrangian}} | |||
{{Plebeian|Hamilton's principle/Explainers/Electromagnetism from an action}} | {{Plebeian|Hamilton's principle/Explainers/Electromagnetism from an action}} | ||
| Line 11: | Line 12: | ||
[[File:OPL-HP-F-26.png|thumb|right|400px|Counting physical polarisations from gauge redundancy.]] | [[File:OPL-HP-F-26.png|thumb|right|400px|Counting physical polarisations from gauge redundancy.]] | ||
[[Hamilton's principle/Applications/Classical field theory]] ended with a complex | [[Hamilton's principle/Applications/Classical field theory|Classical field theory]] ended with a complex | ||
scalar field invariant under a constant phase rotation | scalar field invariant under a constant phase rotation | ||
<math>\phi \to e^{i\alpha}\phi</math>. Now demand invariance when | <math>\phi \to e^{i\alpha}\phi</math>. Now demand invariance when | ||
| Line 64: | Line 65: | ||
with the second term the coupling to a current. Applying the field equation (2) | with the second term the coupling to a current. Applying the field equation (2) | ||
of [[Hamilton's principle/Applications/Classical field theory]] with | of [[Hamilton's principle/Applications/Classical field theory|Classical field theory]] with | ||
<math>A_\alpha</math> as the field gives | <math>A_\alpha</math> as the field gives | ||
| Line 97: | Line 98: | ||
after integrating by parts and discarding the boundary term. For arbitrary | after integrating by parts and discarding the boundary term. For arbitrary | ||
<math>\alpha</math>, | <math>\alpha</math>, [[Hamilton's principle/Mathematics/The fundamental lemma|the fundamental lemma]] forces | ||
[[Hamilton's principle/Mathematics/The fundamental lemma]] forces | |||
:<math>\partial_\alpha j^\alpha = 0 | :<math>\partial_\alpha j^\alpha = 0 | ||
| Line 123: | Line 123: | ||
So the map from velocities to momenta is not invertible. The Hessian | So the map from velocities to momenta is not invertible. The Hessian | ||
<math>\partial^2\mathcal{L}/\partial(\partial_0 A_\alpha)\, | <math>\partial^2\mathcal{L}/\partial(\partial_0 A_\alpha)\, | ||
\partial(\partial_0 A_\beta)</math> is singular, and | \partial(\partial_0 A_\beta)</math> is singular, and [[Hamilton's principle/Mathematics/The Legendre transform|the Legendre transform]] fails exactly as that | ||
[[Hamilton's principle/Mathematics/The Legendre transform]] fails exactly as that | |||
page warned it would. | page warned it would. | ||
| Line 134: | Line 133: | ||
== The two facts are one fact == | == The two facts are one fact == | ||
By [[Hamilton's principle/Mathematics/Noether's second theorem]], invariance | By [[Hamilton's principle/Mathematics/Noether's second theorem|Noether's second theorem]], invariance | ||
under a group depending on an arbitrary function <math>\alpha(x)</math> produces | under a group depending on an arbitrary function <math>\alpha(x)</math> produces | ||
an identity among the field equations. Here that identity is | an identity among the field equations. Here that identity is | ||
| Line 165: | Line 164: | ||
This is the promised connection. On | This is the promised connection. On | ||
[[Hamilton's principle/Mathematics/The Legendre transform]] the failure of the | [[Hamilton's principle/Mathematics/The Legendre transform|the Legendre transform]] the failure of the | ||
transform was named as a limitation; here it is explained. | transform was named as a limitation; here it is explained. | ||
| Line 178: | Line 177: | ||
depend on it, and a dependence signals an error. It is the field-theoretic | depend on it, and a dependence signals an error. It is the field-theoretic | ||
analogue of choosing generalised coordinates in | analogue of choosing generalised coordinates in | ||
[[Hamilton's principle/Mathematics/Holonomic constraints]] — a chart on a space | [[Hamilton's principle/Mathematics/Holonomic constraints|Holonomic constraints]] — a chart on a space | ||
whose points are gauge classes, not potentials. | whose points are gauge classes, not potentials. | ||
| Line 190: | Line 189: | ||
and the Euler-Lagrange equations of | and the Euler-Lagrange equations of | ||
[[Hamilton's principle/Mathematics/Several dependent variables]] give the Lorentz | [[Hamilton's principle/Mathematics/Several dependent variables|Several dependent variables]] give the Lorentz | ||
force. Two features are worth noting. | force. Two features are worth noting. | ||
| Line 207: | Line 206: | ||
Provenance: every equation on this page is derived here or is standard. No | Provenance: every equation on this page is derived here or is standard. No | ||
primary source for Maxwell is cited; the Maxwell row is not part of this volume's | primary source for Maxwell is cited; the Maxwell row is not part of this volume's | ||
survey. See [[Hamilton's principle/Sources]]. | survey. See [[Hamilton's principle/Sources|Sources]]. | ||
</blockquote> | </blockquote> | ||
== Next == | == Next == | ||
[[Hamilton's principle/Applications/The Einstein-Hilbert action]] repeats the | [[Hamilton's principle/Applications/The Einstein-Hilbert action|the Einstein-Hilbert action]] repeats the | ||
construction for a group of arbitrary functions acting on spacetime itself. | construction for a group of arbitrary functions acting on spacetime itself. | ||
| Line 218: | Line 217: | ||
<references /> | <references /> | ||
Latest revision as of 05:16, 16 September 2026
Maxwell's equations follow from an action, and the action follows almost entirely from a symmetry requirement. This page derives the electromagnetic Lagrangian and uses it as the volume's worked case of a degenerate variational problem — one where the Legendre transform fails, Noether's second theorem applies, and the two facts turn out to be the same fact.
Making the phase local

Classical field theory ended with a complex scalar field invariant under a constant phase rotation . Now demand invariance when depends on position:
The kinetic term breaks, because the derivative picks up an extra piece:
Repairing it requires a new field transforming so as to cancel the unwanted term:
and the covariant derivative
which transforms as , exactly as does. Replacing every by restores invariance.
The demand for local phase invariance forces a new field into existence. That field is the electromagnetic potential, and (3) is the gauge transformation. Nothing about electromagnetism was assumed.
The field Lagrangian

must have its own dynamics, and its Lagrangian is fixed by the same method. Build the gauge-invariant combination
which is unchanged under (3), since the two extra terms are and its transpose, equal by symmetry of mixed partials. The only Lorentz and gauge invariant scalar quadratic in is , so
with the second term the coupling to a current. Applying the field equation (2) of Classical field theory with as the field gives
which is the inhomogeneous pair of Maxwell's equations — Gauss's law and Ampère's law with the displacement current.
The homogeneous pair is not a field equation at all. It is the identity
which follows from (5) by inspection. So no magnetic monopoles and Faraday's law hold automatically once the field is expressed through a potential, and they require no dynamics. The asymmetry between the two Maxwell pairs, which looks arbitrary in the standard presentation, is the difference between an equation of motion and an identity.
The action must be gauge invariant, and that constrains the source

The coupling term in (6) is not obviously invariant. Under (3) it changes by
after integrating by parts and discarding the boundary term. For arbitrary , the fundamental lemma forces
Gauge invariance requires charge conservation. It is not an additional assumption and not a consequence of the equations of motion: an action coupling the potential to a non-conserved current is not gauge invariant and does not define a theory.
Degeneracy
Now the point of the page. Compute the momentum conjugate to :
For this gives identically, since is antisymmetric. The momentum conjugate to vanishes.
So the map from velocities to momenta is not invertible. The Hessian is singular, and the Legendre transform fails exactly as that page warned it would.
The reason is not an accident of the Lagrangian. does not appear in , because it would have to enter through , which is zero by antisymmetry — which is itself forced by gauge invariance.
The two facts are one fact
By Noether's second theorem, invariance under a group depending on an arbitrary function produces an identity among the field equations. Here that identity is
which holds identically, before any field equation is imposed, because vanishes by antisymmetry and vanishes by (10).
So one of the four equations in (7) is not independent. Counting:
| quantity | count |
|---|---|
| components of | 4 |
| minus the identity (12) | −1 |
| minus the gauge freedom (3) | −1 |
| physical polarisations | 2 |
Two, which is the observed number of photon polarisations. The vanishing momentum (11), the identity (12), and the gauge freedom (3) are three descriptions of one redundancy — and Noether's second theorem is the statement that they must appear together.
This is the promised connection. On the Legendre transform the failure of the transform was named as a limitation; here it is explained.
Gauge fixing
Because carries unphysical freedom, solving (7) requires removing it. Imposing a condition such as selects one representative from each gauge class and makes (7) into four wave equations with sources.
This is not part of the physics. The choice is a convenience, results must not depend on it, and a dependence signals an error. It is the field-theoretic analogue of choosing generalised coordinates in Holonomic constraints — a chart on a space whose points are gauge classes, not potentials.
The charged particle
For a single particle of charge in a given field, the action is
and the Euler-Lagrange equations of Several dependent variables give the Lorentz force. Two features are worth noting.
The canonical momentum is , not . Conjugate momentum and mechanical momentum differ whenever the Lagrangian is linear in the velocities, and the distinction matters in every quantum treatment.
The Lagrangian (13) is not gauge invariant: under (3) it changes by a total time derivative. That is harmless — a total derivative changes the action by endpoint terms only and leaves the equations of motion alone. Noether covers this too, noting that an integral differing from by an integral over a divergence admits the same group.
Provenance: every equation on this page is derived here or is standard. No primary source for Maxwell is cited; the Maxwell row is not part of this volume's survey. See Sources.
Next
the Einstein-Hilbert action repeats the construction for a group of arbitrary functions acting on spacetime itself.