Context A.4.3.1 Application to Variational Mechanics
In
variational mechanics, the Legendre transform converts the
Lagrangian formulation with coordinates
\((q, \dot{q}, t)\) into the Hamiltonian formulation with canonical phase-space coordinates
\((q, p, t)\text{:}\)
\begin{gather*}
p_i \triangleq \frac{\partial L}{\partial \dot{q}_i}\\
H(q, p, t) \triangleq \sum_i{p_i \dot{q}_i} - L(q, \dot{q}, t) \, .
\end{gather*}