Definition (convex function)
A function $f: S\to\R$ is said to be convex if
-
$S$ is convex; and
-
for all $\v x,\v y\in S$ and $\lambda\in(0,1)$, $$ \begin{align*} f\big(\lambda \v x + (1-\lambda)\v y\big) \leq \lambda f(\v x) + (1-\lambda) f(\v y). \tag{*} \end{align*} $$
This means the graph is always under the secant line between two points.
$f$ said to be strictly convex if strict inequality holds in (*).