Let $f(x) \in C^2 [a,b]$ and $f''(x) \neq 0$. Prove that for any $\xi \in (a.b)$ , there exists $c \in [a,b]$ such that $$f'(\xi)=\frac{f(c)-f(a)}{c-a}\qquad \text{or} \qquad~f'(\xi)=\frac{f(c)-f(b)}{c-b}.$$
Someone asked me the problem above, but I'm not sure whether it holds or not. Can anyone help to verify that? Thanks.
Since $f''$ is continuous and never $0$ it is always positive or always negative. I will give the proof in the case $f''(t)>0$ for all $t$. (The other case is similar). In this case $f$ is strictly convex adn $f'$ is strictly increasing.
Consider two cases:
a) $ (f'(a)<)f'(\xi) \leq \frac {f(b)-f(a)} {b-a}$. In this case the continuous function $\frac {f(x)-f(a)} {x-a}$ must attain the value $f'(\xi)$ (by IVP) because this function tends to $f'(a)$ as $x$ decreases to $a$ and tends to $\frac {f(b)-f(a)} {b-a}$ as $c \to b$.
b) $(f'(b)>) f'(\xi) >\frac {f(b)-f(a)} {b-a}$. In this case $\frac {f(x)-f(b)} {x-b}$ tends to $f'(b)$ as $x \to b$ and it tends to $\frac {f(b)-f(a)} {b-a}$ as $x \to a$ so once again it must attain the value $f'(\xi)$.