$f\colon(-1,1)\rightarrow \mathbb{R}$ is bounded and continuous does it mean that $f$ is uniformly continuous?
Well, $f(x)=x\sin(1/x)$ does the job for counterexample? Please help!
|
$f\colon(-1,1)\rightarrow \mathbb{R}$ is bounded and continuous does it mean that $f$ is uniformly continuous? Well, $f(x)=x\sin(1/x)$ does the job for counterexample? Please help! |
||||
|
|
|
You're close: $$\sin\frac{1}{x+1}$$ is a counterexample to the statement. |
|||
|
|
|
$\sin(x^2)$ is also a nice example and it's happening because it's not periodic. |
|||||||
|
|
For continuity to lead to uniform continuity, domain has to be compact, and as you can see the domain is not compact here. Also, rightly $ f(x)=sin(\frac{1}{x+1}) $ serves as a counterexample or even $ \sin(e^x)$ for that matter. |
|||