The canonical momentum is
In components, the Euler-Lagrange equation is
Thus
The last term is the th component of , so
the Lorentz force law.
The canonical momentum is , and the Legendre transform gives
Its Hamilton's equations are
and, componentwise,
Combining the second equation with recovers the Lorentz force law.
Under the gauge transformation,
because the curl of a gradient vanishes, and
The transformed Lagrangian is
A total time derivative changes the action only by endpoint terms, whose variation vanishes for fixed endpoints, so the Euler-Lagrange equations are unchanged.
The new momentum is
Use the type-two generating function for a canonical transformation
It gives , , and
This equals , so the gauge change is a time-dependent canonical transformation.

Articles by others on the same topic (0)

There are currently no matching articles.