Definition (Legendre transform)

The Legendre transform of $f(\v x): \R^n\to\R$ is defined as $$ \begin{align*} f^\ast(\v p) = \sup_{\v x} \left[\v p\cdot \v x - f(\v x)\right] \end{align*} $$ whose domain is all $\v p\in\R^n$ for which the right hand side is finite.