Suppose that $a<b<c$ for real numbers $a, b, c$. Suppose that $f(x)$ is continuous on $[a, c]$ and differentiable on $(a, c)$. Then prove that there exists $a<\alpha<\beta<c$ such that $$\frac{f(b)-f(a)}{b-a}=f'(\alpha), \frac{f(c)-f(a)}{c-a}=f'(\beta)$$
I understand that there exists $\alpha$, $\beta$, but how would I prove that $\alpha<\beta$? Do I have to divide into cases? Can anyone give me any hints?