Is my solution to the following problem correct?This is a problem from TIFR GS $2014$.Can someone provide me with a better solution?
Let $f:\mathbb {R\to R}$ be differentiable and $f'(x)\to 1$ as $x\to \infty$,show that $f$ is unbounded.
Solution: Since, $\lim\limits_{x\to \infty} f'(x)=1$,so there exists $x_0\in \mathbb R$ such that,
$x>x_0\implies 1-\frac{1}{100}<f'(x)<1+\frac{1}{100}$
So,$ f'(x)>0$ for all $x\in [x_0,\infty)$
So,$f$ is increasing on $[x_0,\infty)$.
If $f$ is bounded,then let $s=\sup\limits_{x\in [x_0,\infty)} f(x)$.
Let $\epsilon>0$ (small)
Take $s-\epsilon$,then there exists $x\in [x_0,\infty)$ such that $s-\epsilon<f(x)\leq s$.
Since,$f$ is increasing on $[x_0,\infty)$,so for each $t>x$ we have $s-\epsilon<f(x)\leq f(t)\leq s$.
Choose $x+2\epsilon>x$
We can apply LMVT on $f$ in the interval $[x,x+2\epsilon]$ to get $c\in (x,x+2\epsilon)$ such that $f(x+2\epsilon)=f(x)+2\epsilon . f'(c)$
Now,$1-\frac{1}{100}<f'(c)<1+\frac{1}{100}$
So,$2\epsilon(1-\frac{1}{100})<2\epsilon.f'(c)<2\epsilon(1+\frac{1}{100})$
$\implies f(x)+2\epsilon(1-\frac{1}{100})<f(x+2\epsilon)<f(x)+2\epsilon(1+\frac{1}{100})$
Now,$s-\epsilon<f(x)\leq s$,so $s<s+\frac{49\epsilon}{50}=s+\epsilon-\frac{\epsilon}{50}=s-\epsilon+2\epsilon(1-\frac{1}{100})<f(x)+2\epsilon(1-\frac{1}{100})<f(x+2\epsilon)$,which is a contradiction as $f(x+2\epsilon)\leq s$.
The idea is that $f'$ is eventually almost 1 and hence it grows like $g(x)=x$.
To make it more precise, since $f'(x)\to 1$ as $x\to \infty$ there is $M>0$ such that, \begin{equation} f'(x)> \frac12, \end{equation} for all $x>M$. By the mean value theorem, for each $x>M$ there is $M< \xi< x$ such that; \begin{equation} \frac{f(x)-f(M)}{x-M}= f'(\xi)> \frac12. \end{equation} This implies that, \begin{equation} f(x)\geq f(M)+ \frac12(x-M), \end{equation} for all $x\geq M$. Let $x\to \infty$ and you get the result.