Legendre transformation
The Legendre transformation of the Lagrangian replaces the generalized coordinates and velocities (q, q̇) with (q, p); the generalized coordinates and the "generalized momenta" conjugate to the generalized coordinates: