I'm sorry for the long question in the title. Given three functions $\underline{f}(x), f(x), \overline{f}(x)$ that satisfy the following
- $\underline{f}(x)\leq f(x)\leq \overline{f}(x)$ for all $x\in\mathbb{R}$,
- $\underline{f}(x)$ and $\overline{f}(x)$ are both uniformly continuous and bounded in $\mathbb{R}$, and
- $f(x)$ is continuous in $\mathbb{R}$.
Is $f(x)$ uniformly continuous in $\mathbb{R}$?
The desired conclusion seems intuitive but I get stuck when trying to prove it. I have hard time putting the conditions together. Any hint is highly appreciated!
No, since a bounded function like $\sin(x^2)$ is not necessarily uniformly continuous. For instance, $\sin(x^{1/2})$ is not.