Good evening everyone, I'm asking for a proof of "Rolle's theorem generalization". The thesis is as follows:
Let be $a \in \mathbb{R}$ and $f:[a,\infty) \longrightarrow \mathbb{R}$ a continuous function such that $\lim_{{x\to \infty}} {f(x)} = f(a)$. Prove that if the derivative exists in $(a,\infty)$ then $\exists$ $x_0>a$ such that $f'(x)=0$.
I tried to prove that but I wasn't able to do it, so if you can help me I'll appreciate it a lot. Thank you for your time.
If there is no point $x_0$ with $f'(x_0) = 0$, then either $f'(x) > 0$ or $f'(x)<0$ for all $x$. WLOG $f'(x) >0$, so the function is strictly increasing. Thus $f(a+1) > f(a)$, and $\forall x: x > a+1 \implies f(x) > f(a+1)$, so $\lim_{x \to \infty} f(x) \ge f(a+1) > f(a)$, a contradiction.