In the book Roberts, Varberg, Convex functions, on pp.9-10 is proved that
If $f:(a,b)\rightarrow \mathbb R$ is continuous and convex then $f$ is absolutely continuous on each $[c,d]\subset (a,b)$.
How can this be extended to the case when the domain of $f$ is instead $[a,b]$?
Edit
I wish to prove the following theorem:
If $f:[a,b] \rightarrow \mathbb R$ is continuous and convex then $f(b)-f(a)=\int_a^b f'(t)dt$.
Thanks
Hint. It should be enough to use the case from the book, together with:
If $\phi$ is nondecreasing, then $$ \int_a^b \phi(t)\,dt = \lim_{\alpha\searrow a, \beta \nearrow b} \int_\alpha^\beta \phi(t),dt $$