In this article, we will see how the Legendre transform is a clever way of encoding the information carried by a function F(x) into another function G(s) which might be easier to deal with. We’ll provide some geometrical intuition and give some examples at the end to use this tool in practice.