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 $F$ be a closed set of $ \mathbb{R} $ whose complement has finite measure. Let $\delta(x) = d (x, F) =\inf \{ |x - z| \mid z \in F\}$.

Prove $ \delta$ continuous by proving $| \delta(x) - \delta(y) | \leq |x - y|$

I appreciate any kind of hint. Thanks

share|cite|improve this question
up vote 1 down vote accepted

Let $x, y\in\mathbb{R}$. For any $\epsilon>0$, by definition of $\delta(y)$, there exists $z\in F$ such that $$|y-z|\leq\delta(y)+\epsilon.$$ As Ashok said, we have the triangle inequality $$|x-z|\le |x-y|+|y-z|.$$ Combining these two inequalities, we have $$|x-z|\le |x-y|+\delta(y)+\epsilon.$$ By definiton of $\delta(x)$, we have $\delta(x)\leq |x-z|$ since $z\in F$. Hence, we have $$\delta(x)\le |x-y|+\delta(y)+\epsilon.$$ Since $\epsilon>0$ is arbitrary, we have $\delta(x)\le |x-y|+\delta(y)$, or $$\delta(x)-\delta(y)\le |x-y|.$$ By symmetry, we also have $$\delta(y)-\delta(x)\le |y-x|.$$ Therefore, we obtain $$| \delta(x) - \delta(y) | \leq |x - y|.$$

share|cite|improve this answer

I don't think we need $F$ to be a closed set whose complement has finite measure etc. The result holds for any nonempty $F$.

Hint: $|x-z|\le |x-y|+|y-z|$ and take $\inf$ over $z\in F$.

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.