for , where

The Legendre transform is an Involuntory Operator that converts Convex functions into Convex functions, as defined via the equation below. It is used to convert functions of one quantity into the conjugate quantity, such as position/momentum, pressure/volume, temperature/entropy, etc. It is unclear how the Legendre Transform should be visualised. Help me ❓

Converting between Lagrangian and Hamiltonian mechanics

We can use Legendre Transformations to convert between Lagrangian Mechanics and Hamiltonian mechanics. Since position and momentum are conjugate variables, we can convert the Lagrangian and the Hamiltonian .

A detailed explanation on this conversion can be found on NYU’s lecture notes for mechanics, lecture 6.