I was reviewing some past doctoral entrance exams, and I stumbled upon an exercise from 2011 that caught my attention. It seems quite similar to the mean value theorem, but I am unable to think of a proof. I have a feeling that I might be missing something not as subtle to prove it. The exercise is as follows:
Let $f$ be a function defined on $[a, b]$ and differentiable on $[a, b]$ such that $f(a) = f(b)$ and $f'(a) = 0$. Prove that $\exists c \in (a, b)$ such that $$ f'(c) = \frac{f(c)-f(a)}{c-a} $$
So far, I have some preliminary observations. I recognize that: $$f'(a) = \lim_{x\to a} \frac{f(x) - f(a)}{x - a} = 0$$ Additionally, there must be some number $e\in (a, b)$ such that $f'(e) = 0$. I was thinking of using a function similar to what is used in the proof of the mean value theorem, but so far, I have not been successful. Could someone please provide a hint, and if possible, a complete proof? Thank you.