Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Could you give me An example of a function uniformly continuous on $\mathbb{R}$ but not Lipschitz continuous?

share|improve this question
13  
$\sqrt{|x|}{}{}{}{}{}{}{}{}$ –  t.b. Oct 3 '11 at 6:00
5  
Why don't post that as an answer? –  Stefan Geschke Oct 3 '11 at 6:33
    
@Stefan: I keep badgering about this, good to see that he listens to you :-) –  Asaf Karagila Oct 3 '11 at 11:13
1  
@t.b.: I guess when the OP asked about Lipschitz continuity, the interest was in $\operatorname{Lip}(1)$ and not other Lipschitz classes. $\sqrt{|x|}\in\operatorname{Lip}(\frac{1}{2})$ but not $\operatorname{Lip}(1)$. $\frac{1}{\log(x)+\log(1-x)}$ is not in $\operatorname{Lip}(\alpha)$ on $[0,1]$ for any $\alpha>0$. –  robjohn Oct 3 '11 at 23:28
    
@robjohn: I don't know but I think so. Lipschitz classes = Hölder $\alpha$-classes? –  t.b. Oct 3 '11 at 23:33
show 1 more comment

1 Answer

up vote 18 down vote accepted

There are many examples. Here are two of them and a simple method to produce many more:

  • $f(x) = \sqrt{|x|}$
  • $g(x) = |x|\sin{\frac{1}{|x|}}$, where $f(0) = 0$ is understood
  • If $f:[0,\frac{1}{2}] \to \mathbb{R}$ is a continuous function, define $\phi_f:[0,1] \to \mathbb{R}$ $$\phi_f(x) = \begin{cases} f(x), & \text{ if } 0 \leq x \leq \frac{1}{2}, \\ f(1-x), & \text{ if } \frac{1}{2} \leq x \leq 1.\end{cases}$$ Note that the graph of $\phi_f$ is simply the reflection of the graph of $f$ at the vertical line $x = \frac{1}{2}$. Then $\phi_f$ is continuous, satisfies $\phi_f(0)= \phi_f(1)$ and can thus be extended to a continuous periodic function by setting $\varphi_{f}(x) = \phi_f(x-\lfloor x \rfloor)$ for $x \in \mathbb{R}$. The function $\varphi_f$
    • is uniformly continuous
    • coincides with $f$ on $[0,\frac{1}{2}]$
    • is not Lipschitz continuous if $f$ fails to be Lipschitz continuous.

Four key observations to prove the above claims and an aside:

  1. A continuous function on a compact interval is uniformly continuous, see the Wikipedia page on the Heine-Cantor theorem.

  2. If $f:(a,b) \to \mathbb{R}$ has the property that $f$ is continuous at $c \in (a,b)$ and if $f$ is uniformly continuous on both intervals $(a,c)$ and $(c,b)$, respectively, then $f$ is uniformly continuous on all of $(a,b)$.

  3. If $f:(a,b) \to \mathbb{R}$ is differentiable and $f'$ is bounded then $f$ is Lipschitz continuous. This follows from the mean value theorem: if $|f'(\xi)| \leq L$ for all $\xi \in (a,b)$ then $|f(x)-f(y)| \leq |f'(\xi)|\,|x-y| \leq L|x-y|$ for all $x,y \in (a,b)$.

  4. If $f$ is Lipschitz continuous and differentiable at $x$ then $f'(x)$ is bounded by the Lipschitz constant: $$|f'(x)| = \lim_{h \to 0} \frac{|f(x+h)-f(x)|}{|h|} \leq \frac{L|x+h-x|}{|h|} = L.$$
  5. Finally, a Lipschitz continuous function is differentiable almost everywhere — that's not easy: it's a consequence of Lebesgue's differentiation theorem and has a beautiful generalization as Rademacher's theorem.

Edit: Why are $f(x) = \sqrt{|x|}$ and $g(x)=|x|\sin{\frac{1}{|x|}}$ uniformly continuous on all of $\mathbb{R}$?

Let $C \gt 0$. By 1. above both $f$ and $g$ are uniformly continuous on $[-C,C]$ since $[-C,C]$ is compact. On $[C,\infty)$ and $(-\infty,-C]$ both $f$ and $g$ have a bounded derivative, hence they are uniformly continuous there by 3. above. Now apply 2. to the intervals $(-C,C)$ and $(C,\infty)$ to see that $f$ and $g$ are uniformly continuous on $(-C,\infty)$ and apply it again to $(-\infty,-C)$ and $(-C,\infty)$ to see that they are uniformly continuous on all of $\mathbb{R}$.

share|improve this answer
    
t.b.: I have the third thoerem you state, but with a slight variant: all intervals are closed instead of open. Could you comment on this? –  Pedro Tamaroff Sep 14 '12 at 14:01
1  
It doesn't really matter: a uniformly continuous function extends uniquely to the closure. That's a general fact: Let $X$ and $Y$ be metric spaces and assume $Y$ is complete. If $D$ is dense in $X$ and $f\colon D \to Y$ is uniformly continuous then $f$ extends uniquely to a uniformly continuous function $F\colon X \to Y$ (such that $F|_D = f$). Does this address your question? (It's a good exercise to prove this general result!) –  t.b. Sep 14 '12 at 14:07
    
Seems good enough! Thanks! –  Pedro Tamaroff Sep 14 '12 at 14:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.