Theorem. Let f:X→R be an extended-real-valued function on a vector space X. The following are equivalent:
- f is convex (i.e., epi(f) is convex).
- (Jensen inequality) For all x,y∈X and λ∈(0,1),
f(λx+(1−λ)y)≤λf(x)+(1−λ)f(y).
- (Extended Jensen inequality) For all m∈N, all x1,…,xm∈X, and all λi≥0 with ∑i=1mλi=1,
f(i=1∑mλixi)≤i=1∑mλif(xi).
Context. Item (3) says that convexity is equivalent to "subadditivity under" convex combinations of finitely many points.
Proof sketch. (2) ⇒ (1): show any convex combination of points in the epigraph stays in the epigraph using the inequality. (1) ⇒ (2): apply convexity of the epigraph to (x,f(x)) and (y,f(y)). (2) ⇔ (3): (3) implies (2) by taking m=2; (2) implies (3) by induction and the convex-combination characterization.