The passage to Hamiltonian mechanics uses the Legendre transform in mechanics. Assume a regular Lagrangian: the velocity Hessian matrix is invertible. Then
defines a locally invertible map from the tangent bundle to the cotangent bundle. Write its local inverse as and define the Hamiltonian
Differentiating this expression, all terms containing cancel because . Hence
The Euler-Lagrange equations become Hamilton's equations:
Conversely, a solution of Hamilton's equations satisfies , hence , and recovers the Euler-Lagrange equations. This proves local equivalence of the two descriptions.
On the cotangent bundle, choose the canonical symplectic form and the convention . Then , so its integral curves are exactly the phase-space equations above. This sign convention is used throughout these solutions. For a hyperregular Lagrangian, the Legendre transform in mechanics is globally invertible and gives global equivalence; regularity alone only gives local equivalence. A singular velocity Hessian matrix may instead produce constraints, so the ordinary unconstrained argument does not apply to every Lagrangian.
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.