uniform continuity on $[0, +\infty)$

Let $f:[0,\infty)\rightarrow R$ be a continuous function. If $\lim_{x\rightarrow+\infty} f(x)$ is finite, show that $f$ is uniformly continuous.

Also, can I change "$\lim_{x\rightarrow+\infty} f(x)$ is finite" to "$f$ is bounded" and get the same conclusion? Thank you!


Solution 1:

Let $\epsilon>0$ be fixed and suppose $\lim_{x\to\infty} f(x) = L \geq 0.$ Then there exists $x_0$ such that $|L-f(x)|<\epsilon/4$ for all $x\geq x_0.$ In particular, for any $x,y\geq x_0$ we have $|f(x)-f(y)|<\epsilon/2.$

Continuous functions on compact domains are uniformly continuous so there is a $\delta>0$ such that $|f(x)-f(y)|<\epsilon/2$ for all $x,y\in [0,x_0].$

Now suppose $x,y\in [0,\infty)$ and $|x-y|<\delta.$ If $x,y$ are both in $[0,x_0]$ or $[x_0,\infty)$ then $|f(x)-f(y)|<\epsilon.$ If there is one in each segment, assume WLOG $x\in [0,x_0], y\in [x_0,\infty).$

Then $|f(x)-f(y)| = |f(x) - f(x_0)| + |f(x_0)-f(y)| < \epsilon/2 + \epsilon/2 = \epsilon$ so $f$ is uniformly continuous.


I gave you a full solution because I share Paul Garrett's philosophy that students should be given good models for solutions to work from, rather than always be challenged to produce them from scratch. What is important to extract from my answer is 1) the idea behind the working and 2) the technique to make the idea rigorous.

The idea was essentially this: Uniformly continuous means that if you pick an $\epsilon>0$ you must be able to find a $\delta>0$ such that points in the domain that are within $\delta$ distance of each other must have images whose difference is less than $\epsilon.$ It's quite a nice picture if you imagine what this means on the graph. Now we know continuous functions on compact domains are uniformly continuous. The limit condition means the function starts to become near a value $L$ so for big $x$ it doesn't change much, so it certainly seems to satisfy the uniform continuity condition there. Lastly, we can patch together the uniform continuity of the two pieces.


For the second part of your question, the answer is no. You may have seen the theorem that if $f$ is differentiable then it is uniformly continuous if and only if $f'$ is bounded. You should try to prove this. Hint: The mean value theorem is important. So to see if your theorem true, maybe check if it's true with the extra condition that $f$ is differentiable. Can you think of a function that is bounded but has unbounded derivative?

Solution 2:

hint

let $\epsilon > 0$, $\exists A > 0$ such that $|f(x) - L| < \frac{\epsilon }{2}$ for $x > A$

where $\lim_{x\rightarrow \infty} f(x) =L$

on$[0,A]$ $ f$ is uniformly contionuous