Find a function $f$ that is continuous and bounded on $[0, \infty)$ but which is not uniformly continuous on $[0, \infty)$

252 Views Asked by At

From Spivak Calculus 4th edition.

Question: Find a function $f$ that is continuous and bounded on $[0, \infty)$ but which is not uniformly continuous on $[0, \infty)$.

I understand that functions that are not uniformly continuous inevitably have a slope that gets steeper and steeper.

However, given that $\sin(\frac1x)$ is not continuous at $0$, I am having trouble coming up with a function that satisfies this. All the variations on $\sin(x)$ I can come up with are all not bounded.

2

There are 2 best solutions below

2
On BEST ANSWER

What about $\sin(x^2)$? This is bounded and has similar rapid oscillation as $x$ approaches $\infty$.

0
On

Consider the function $$\sin(\big\lfloor\frac x\pi\big\rfloor\cdot x)$$It's pretty easy to show that this function is continuous, and the oscillation gets faster as the function approaches infinity.