Proof (Legendre transform is convex)

Suppose $\v p$ and $\v q$ are in the domain of $f^\ast$ and let $t\in[0,1]$. Note that $$ \begin{align*} f^\ast((1-t)\v p + t\v q) &= \sup_{\v x} \Big[\big((1-t)\v p + t\v q\big)\cdot \v x- f(\v x)\Big] \\ &=\sup_{\v x} \Big[(1-t)\left(\v p\cdot \v x - f(\v x)\right) + t\left(\v q\cdot \v x - f(\v x)\right)\Big] \\ &\leq (1-t)\sup_{\v x} \left[\v p\cdot \v x-f(\v x)\right] + t \sup_{\v x}\left[\v q\cdot \v x - f(\v x)\right] \\ &= (1-t)f^\ast (\v p) + t f^\ast(\v q) \\ &< \infty \end{align*} $$ so $(1+t)\v p + t\v q$ is in the domain of $f^\ast$ and $f^\ast$ is convex.