Basic approach to Legendre transform

The geometry behind Legendre transforms

Further reading