For variations vanishing at both endpoints, differentiating the action and using integration by parts gives
The fundamental lemma of the calculus of variations therefore yields the Euler-Lagrange equations
For the specified Lagrangian, the gauge transformation changes it by
For arbitrary , it is a total derivative precisely when . The corresponding change in action is then an endpoint term whose variation is zero. In general time-dependent notation, the equations are
The electric field and magnetic field are unchanged by the gauge transformation with . Although the original potentials have no time dependence, their transformed versions generally do; allowing this is essential to the stated invariance.

Articles by others on the same topic (0)

There are currently no matching articles.