[Math] Prove that every convex function is continuous

continuityconvex-analysisreal-analysis

A function $f : (a,b) \to \Bbb R$ is said to be convex if
$$f(\lambda x+(1-\lambda)y)\le \lambda f(x)+(1-\lambda)f(y)$$
whenever $a < x, y < b$ and $0 < \lambda <1$. Prove that every convex function is continuous.


Usually it uses the fact:
If $a < s < t < u < b$ then $$\frac{f(t)-f(s)}{t-s}\le \frac{f(u)-f(s)}{u-s}\le\frac{f(u)-f(t)}{u-t}.$$

I wonder whether any other version of this proof exists or not?

Best Answer

The pictorial version. (But it is the same as your inequality version, actually.)

Suppose you want to prove continuity at $a$. Choose points $b,c$ on either side. (This fails at an endpoint, in fact the result itself fails at an endpoint.)

AA1

By convexity, the $c$ point is above the $a,b$ line, as shown:

A2

Again, the $b$ point is above the $a,c$ line, as shown:

A3

The graph lies inside the red region,

A4

so obviously we have continuity at $a$.