Total time derivatives preserve fixed-endpoint Euler-Lagrange equations
ID: total-time-derivatives-preserve-fixed-endpoint-euler-lagrange-equations
Adding a total derivative to a Lagrangian changes its action only by . Under fixed-endpoint variations, this boundary term is constant, so the Euler-Lagrange equations and their minimizing paths are unchanged. Componentwise, by equality of mixed partial derivatives. Endpoint freedom would require reconsidering the resulting natural boundary conditions for a free endpoint.
New to topics? Read the docs here!