Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let $X$ be a metric space, $A$ and $B$ are two subsets of $X$. $d(x, A) = \inf_{z \in A}d(x,z)$ and $\inf_{x \in A,y \in B}d(x,y) = \delta > 0$ We define $$f(x) = \frac{d(x,A)}{d(x,A)+d(x,B)}$$

How to show $f(x)$ is uniform continuous? I know that, since $|d(x,A)-d(y,A)| \leq d(x,y)$, $d(x,A)$ is uniform continuous. Is there some principle that guarentee that uniform continuity is preserved by composition of functions?

share|cite|improve this question
I assume here $A$ and $B$ are disjoint? Otherwise we get some $\frac{0}{0}$ things. – Euler....IS_ALIVE Mar 23 '13 at 19:09
@Euler....IS_ALIVE: It is mentionned that $d(A,B)= \delta >0$. – Seirios Mar 23 '13 at 19:11
up vote 4 down vote accepted

You have $$|f(x)-f(y)|= \frac{ |d(x,A)d(y,B)-d(y,A)d(x,B)|}{(d(x,A)+d(x,B))(d(y,A)+d(y,B))}$$

Eventually, permute $x$ and $y$ so that: $$|f(x)-f(y)|= \frac{ d(x,A)d(y,B)-d(y,A)d(x,B)}{(d(x,A)+d(x,B))(d(y,A)+d(y,B))}$$

But $d(x,A) \leq d(x,y)+d(y,A)$ so $$ \begin{array}{ll} d(x,A)d(y,B)-d(y,A)d(x,B) & \leq d(x,y)d(y,B)+d(y,A)(d(y,B)-d(x,B)) \\ & \leq d(x,y)(d(y,A)+d(y,B)) \end{array}$$

Finally, $$|f(x)-f(y)| \leq \frac{d(x,y)}{d(x,A)+d(x,B)} \leq \frac{d(x,y)}{d(A,B)} =\frac{1}{\delta}d(x,y)$$

Therefore, $f$ is $1/\delta$-lipschitz and a fortiori uniformly continuous.

share|cite|improve this answer

Your Answer


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.