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.

Let $S\subset\Bbb R$ not empty, define $f:\Bbb R\rightarrow\Bbb R$ such that $f(x)= \inf\{|x-s| ;s\in S\}$

then, prove that $|f(x)-f(y)|\le|x-y| $ for any $x,y \in \Bbb R$

share|improve this question
1  
Have you tried the case where $S$ consists of a single point? –  JSchlather Sep 8 '12 at 1:41

1 Answer 1

up vote 5 down vote accepted

$|x - s| \le |x - y| + |y - s|$ for every $s \in S$. Hence $f(x) \le |x - y| + f(y)$.

Similarly $f(y) \le |x - y| + f(x)$.

Hence $|f(x) - f(y)| \le |x - y|$.

share|improve this answer
1  
Indeed, the distance function on any metric space is continuous, by the same proof that you have given. –  Lubin Sep 8 '12 at 3:22

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.