Let XX be a real vector space and let f:XRf:X\to \overline{\mathbb R} be an .

The function ff is convex if its

epi(f)={(x,r)X×R:f(x)r}\operatorname{epi}(f)=\{(x,r)\in X\times\mathbb R:f(x)\le r\}

is a in X×RX\times\mathbb{R}.

Equivalent characterizations

Context. This geometric definition is equivalent to analytic inequalities such as Jensen's inequality; see .

Examples
  • On a normed space, xxx\mapsto \|x\| is convex (uses the triangle inequality; see ).
  • The of a set Ω\Omega is convex iff Ω\Omega is convex.
  • The to a convex set is convex (in normed spaces).