TITLE: Convexity implies absolute continuity?
QUESTION [5 upvotes]: The following is taken from an exam:

$f:[a,b]\rightarrow\mathbb{R}$ is convex implies $f$ is absolutely continuous (recall $f'$ exists a.e.)

One has local Lipschitz-ness by convexity, but how to show absolute continuity without global Lipschitz-ness?

REPLY [3 votes]: Convex functions on the real line are expressible as integrals of one-sided derivatives.
The ration $k(x,y)=\frac{f(y)-f(x)}{y-x}$  is increasing in $y$ on $[x,b]$.
Hence, the right-hand derivative $D_+f(x)$ exists for all $x\in [a,b]$.
In a similar way we  conclude that  the left-hand derivative $D_-f(x)$ exists for all $x\in[a,b]$, and that  $D_-f(x)\leq D_+f(x)$.
Hence the set of points for which is  $D_-f(x)< D_+f(x)$ is countable.
If $f$ is convex  on $[a,b]$, then   then both
$D_+f(x)$  and   $D_-f(x)$
are integrable with respect to Lebesgue
measure on
$[a,b]$, and  $f(x)=f(a)+ \int_a^x D_+f(t) dt=f(a)+ \int_a^x D_-f(t) dt$.
More generally, suppose D is an increasing, real-valued function defined (at least) on $[a,b)$. Define $g(x) := \int^x_a D(t)dt$, for $a \leq x \leq  b$. (Possibly  $g(b) =\infty$.) Then $g$ is convex.
In the book Roberts, Varberg, Convex functions, on pp.9-10 is proved that
If $f:(a,b)\rightarrow R$
is continuous and convex then f
is absolutely continuous on each $[c,d]\subset (a,b)$.