Let $f : \mathbb{R} \to \mathbb{R}$ be differentiable all over $\; \mathbb{R}$ .
Also, $\;\;\lim_\limits{x \to \infty}f(x) = \lim_\limits{x \to -\infty}f(x) = \infty$
prove that there exists $c\in\mathbb{R}$ such that $f'(c) = 0$.
First of all, I sincerely apologize for my poor formatting and usage of Latex.
Now to the point.
I want to prove that statement by showing that $f$ is not one-to-one and therefore show that there are $a,b \in\mathbb{R}$ such that $a\neq b$ and $f(a) = f(b)$ and afterwards use Rolle's theorem and finish.
How could I show that?