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