Theorem (maximum of a convex function)

Let $f$ be a convex function on a bounded convex set $C$.

$f$ attains its maximum at an extreme point of $C$.

Proof