Stationarity of the action under variations with fixed endpoints gives the Euler-Lagrange equation. The generalized momentum is . The Legendre transform in mechanics is
after solving for . This requires at least local invertibility, ; global single-valuedness requires global invertibility.
Regular Lagrangian 2026-10-06
A Lagrangian is regular when its velocity Hessian matrix is invertible. The inverse function theorem then makes the fiber derivative locally invertible, allowing a local Legendre transform in mechanics to a Hamiltonian. If that fiber derivative is globally invertible, the Lagrangian is called a hyperregular Lagrangian. Regularity alone does not assert global invertibility, and singular Lagrangians may give constrained rather than ordinary unconstrained Hamilton's equations.