TITLE: If $f'$ tends to a positive limit as $x$ approaches infinity, then $f$ approaches infinity
QUESTION [14 upvotes]: Some time ago, I asked this here. A restricted form of the second question could be this:

If $f$ is a function with continuous first derivative in $\mathbb{R}$ and such that $$\lim_{x\to \infty} f'(x) =a,$$ with $a\gt 0$, then $$\lim_{x\to\infty}f(x)=\infty.$$

To prove it, I tried this:
There exist $x_0\in \mathbb{R}$ such that for $x\geq x_0$,
$$f'(x)\gt \frac{a}{2}.$$
There exist $\delta_0\gt 0$ such that for $x_0\lt x\leq x_0+ \delta_0$
$$\begin{align*}\frac{f(x)-f(x_0)}{x-x_0}-f'(x_0)&\gt -\frac{a}{4}\\
\frac{f(x)-f(x_0)}{x-x_0}&\gt f'(x_0)-\frac{a}{4}\\
&\gt \frac{a}{2}-\frac{a}{4}=\frac{a}{4}\\
f(x)-f(x_0)&\gt \frac{a}{4}(x-x_0)\end{align*}.$$
We can assume that $\delta_0\geq 1$. If $\delta_0 \lt 1$, then $x_0+2-\delta_0\gt x_0$ and then $$f'(x_0+2-\delta_0)\gt \frac{a}{2}.$$
Now, there exist $\delta\gt 0$ such that for $x_0+2-\delta_0\lt x\leq x_0+2-\delta_0+\delta$ $$f(x)-f(x_0+2-\delta_0)\gt \frac{a}{4}(x-(x_0+2-\delta_0))= \frac{a}{4}(x-x_0-(2-\delta_0))\gt \frac{a}{4}(x-x_0).$$ It is clear that $x\in (x_0,x_0+2-\delta_0+\delta]$ and $2-\delta_0+\delta\geq 1$.
Therefore, we can take $x_1=x_0+1$. Then $f'(x_1)\gt a/2$ and then there exist $\delta_1\geq 1$ such that for $x_1\lt x\leq x_1+\delta_1$ $$f(x)-f(x_1)\gt \frac{a}{4}(x-x_1).$$
Take $x_2=x_1+1$ and so on. If $f$ is bounded, $(f(x_n))_{n\in \mathbb{N}}$ is a increasing bounded sequence and therefore it has a convergent subsequence. Thus, this implies that the sequence $(x_n)$:
$$x_{n+1}=x_n+1,$$ have a Cauchy's subsequence and that is a contradiction. Therefore $\lim_{x\to \infty} f(x)=\infty$.
I want to know if this is correct, and if there is a simpler way to prove this. Thanks.

REPLY [3 votes]: After reading some of the other answers, I thought it might be helpful to rephrase Shai Covo's answer in more physical language: suppose that instead of $y = f(x)$ we have $x = x(t)$, the position function of a particle at time $t$.  (Of course it makes no mathematical difference what we call the variables...)
The hypothesis is that the velocity function $x'(t)$ approaches a limiting value $v_0 > 0$ as $t$ approaches infinity.  Therefore there must exist a $t_0 \in \mathbb{R}$ such that for all $t \geq t_0$, $v(t) \geq \frac{v_0}{2} > 0$.  Let us therefore compare the position function $x(t)$ to the following one:
$$y(t) = \frac{v_0}{2}\left(t-t_0\right) + x(t_0).$$
We observe:
1) $y(t)$ is a linear function with positive slope, so certainly $\lim_{t \rightarrow \infty} y(t) = \infty$.  
2) We have $x(t_0) = y(t_0)$ and $x'(t) \geq y'(t)$ for all $t \geq t_0$.
Thus on the time interval $[t_0,\infty)$, the particle $x = x(t)$ starts out at the same position as the particle $y = y(t)$ and for all times $t$ the instantaneous velocity of the first particle is always greater than or equal to that of the second particle.  Therefore physical intuition tells us that we must have $x(t) \geq y(t)$ for all $t \geq t_0$, and hence $\lim_{t \rightarrow \infty} x(t) = \infty$.  
How do we make this rigorous?  Replacing $x(t)$ and $y(t)$ by $x(t) - y(t)$ and $0$, what we need to show is that a function which is non-negative at a point $t_0$ and has everywhere non-negative derivative is itself non-negative for all $t \geq t_0$.  But now we can take our pick of mathematical justifications for this: if we assume that the derivative is continuous (as the OP does) then $x(t) = \int_{t_0}^t x'(t) dt$ and the integral of a non-negative function is certainly non-negative, being a limit of non-negative Riemann sums.  Or indeed, if we assume that there exists $t_1 > t_0$ such that $x(t_1) < x(t_0)$ and apply the Mean Value Theorem, then we get 
$$x(t_1) - x(t_0) = x'(c) (t_1-t_0).$$
The left hand side is negative and the right hand side is non-negative: contradiction!
In summary, reasoning physically in a mathematically careful way reduces us to a statement which is easy to prove mathematically.
As a side remark, some educators have suggested that this special case of the Mean Value Theorem  (called the Mean Value Inequality, Increasing Function Theorem, and so forth) is indeed more intuitive than the full Mean Value Theorem and have proposed developing calculus around it.  In my experiences teaching calculus I have found it helpful to point out explicitly this special case of MVT, but that's about it: the full MVT is also (more) useful and not much more bitter a pill...