# Uniform continuous and not Hölder continuous

Can someone give me an example of a function which is uniform continuous on its domain, but not Hölder continuous (for any $\alpha$)?

-
An example is given in the Wiki page. –  David Mitra May 12 '12 at 17:23

As mentioned in the wiki entry, the function defined by $f(x)=\cases{{1\over \ln x},&$0<x\le 1/2$\cr \strut0, &$x=0$}$ is an example of a uniformly continuous function that is not Hölder continuous for any $\alpha>0$.
$f$ is continuous on $[0,1/2]$; and thus, since $[0,1/2]$ is compact, uniformly continuous on $[0,1/2]$.
But, $f$ is not Hölder continuous for any $\alpha>0$ at $x=0$. If it were, then there would exist positive $C$ and $\alpha$ such that $\bigl|0- {1\over \ln x}\bigr|\le C|x|^\alpha$ for all $0< x\le1/2$. But then, we would have $C|x|^\alpha |\ln x|\ge 1$, which can't happen as $\lim\limits_{x\rightarrow0^+}C|x|^\alpha |\ln x|=0$.
According to the Wiki definition, $f$ is Hölder continuous for $\alpha=0$. That is, it is bounded. But one may extend $f$ to an unbounded, uniformly continuous function on $\Bbb R^+\cup\{0\}$ which is still not Hölder continuous at $x=0$.