Legendre transform
In classical mechanics
Given a Lagrangian system, we can derive the Hamiltonian using the Legendre transformation:
where
Idea
The Legendre transform of a function
In the case of Legendre transform, we express the information of the function associating a value to every slope
The point is that in certain situations the slope
Idea: In a mountain cycling stage, we want information on altitude (because we struggle when we lack oxygen) as a function of the distance covered, and from there we can determine the slope (because it's tough, and we want to know which gears to use). So, we can say that at kilometer 8, the slope will be 6 percent at an altitude of 1250 m. However, for certain purposes, it might be more interesting to express the slope as the independent variable (for example, different slopes dictate the gear setup, but distances don't have the same effect...). We could express altitude as a function of slope, simply by clearing in the derivative and substituting in the original function. But in doing so, we would lose the information on distance! The solution is the Legendre transform.
In Lagrangian mechanics
We could simply solve
for
but then we had lost information. From
The Legendre transform is a modification to
One more reflection about Legendre transform. When we have a manifold, and a metric (or pseudometric) defined on the tangent bundle we can find a canonical isomorphism between every tangent space and its dual. This let us to raise and lower indices at our convenience. Legendre transform appears to me like doing something similar but for any function, not only a bilinear form, defined on the jet bundle (for example a complicated Lagrangian).
Moreover
I think it has to do with some kind of duality in distributions in jet spaces. See [Doubrov 2016] pages 6-7.