Sussman is one of the very few classical mechanics textbooks that gives a reasonable definition of the Legendre transform. Most physicists cannot actually tell you what that transform is, even though it sits at the heart of both classical and quantum mechanics.
http://blog.jessriedel.com/2017/06/28/legendre-transform/