I can not find the example of a continuous function on $(0,1)$ that is bounded on $(0,1)$, but not uniformly continuous on $(0,1)$. Is there any? Thank you.
[Math] An example of a bounded, continuous function on $(0,1)$ that is not uniformly continuous
continuityexamples-counterexampleslimitsreal-analysisuniform-continuity
Related Question
- [Math] A function continuous and bounded on a closed and bounded set but not uniformly continuous there
- [Math] Give an example of a function that is bounded and continuous on the interval [0, 1) but not uniformly continuous on this interval.
- Find a function $f$ that is continuous and bounded on $[0, \infty)$ but which is not uniformly continuous on $[0, \infty)$
- Find a continuous bounded function $f:(0,1]\to \mathbb{R}$ that is not uniformly continuous.
Best Answer
If you are not aware of the result mentioned in the example of @Tomek Kania,Here is elementary approach to prove that $\sin (\frac{1}{x})$ is not uniformly continuous on $(0,1)$. $$f(x) = \sin\left(\frac{1}{x}\right).$$ It is certainly bounded. However, it is not uniformly continuous. Given $\epsilon=\frac{1}{4}$, for any $\delta\gt 0$ we can find a large enough value of $n$ so that $$\frac{2}{(2n+1)\pi} - \frac{1}{2n\pi} = \frac{4n - (2n+1)}{2n(2n+1)\pi} = \frac{2n-1}{2n(2n+1)\pi}\lt \delta,$$ yet $$f\left(\frac{2}{(2n+1)\pi}\right) =\sin\left(\frac{(2n+1)\pi}{2}\right) = \pm 1,$$ and $$f\left(\frac{1}{2n\pi}\right) = \sin(2n\pi) = 0,$$ so letting $x=\frac{2}{(2n+1)\pi}$ and $y=\frac{1}{2n\pi}$, we have $$|x-y|\lt\delta\text{ but }|f(x)-f(y)| \geq \epsilon.$$