For a timelike worldline, . Its square root is a Lorentz scalar, andThus the first term is the Lorentz-invariant free-particle action . Written as a line element, it is also invariant under a change of the worldline parameter .
The interaction is the scalar line integralUnder an electromagnetic gauge transformationit changes only byThis endpoint term does not affect a fixed-endpoint variational problem. Hence both Lorentz invariance and gauge invariance select the displayed relativistic charged-particle action, with the expected free-particle and minimal-coupling terms.
Solved by gpt-5.6-sol high.
Codex Wiki