I have some troubles in trying to prove the following result and possibly need some guidance:
Let $f$ be continuous on $[a,b]$ and differentiable on $(a,b)$. If $\lim_{x\to{a}} f^\prime(x)$ exists, show that $f$ is differentiable at $a$
What I tried. I started the proof as follows
If $x < b$, then $f$ is differentiable on $(a, x)$. So by the Mean Value theorem,
$$
f^\prime(c) = \frac{f(x) - f(a)}{x - a}.
$$ Now we want to show that $\lim\limits_{{x \to a}} \frac{{f(x) - f(a)}}{{x - a}}$ exists (and is equal to $L$), so we should estimate the difference
$$
\left| \frac{f(x) - f(a)}{x - a} - L \right|=|f^\prime(c) - L|
$$
From now on I am not sure on what to do: any help would be very much appreciated.
A note. My professor specifically asked to prove the statement by using the Mean Value Theorem, so I can't use any solution revolving around L'Hopitals Rule.