0

I´m trying to prove that if $d$ is a metric in $X$ and $A \subset X$, then:

$$ \lvert d(x,A) - d(y,A) \rvert \le d(x,y), \phantom{5} \forall x, y \in X $$

The question seems very simple but I´m having problems to solve it. Any suggestions?

1 Answers1

2

By symmetry, you just need to prove for one side that $d(x,A)-d(y,A)\leq d(x,y)$ for all $x,y\in X$. Pick $a\in A\subset X$, by triangle inequality, you get $$d(x,a)\leq d(x,y)+d(y,a)$$ Then take $\inf_{a\in A}$ on both sides, you get $$d(x,A)\leq d(x,y)+d(y,A)$$ By reordering, you get the inequality. This is a trick for this question, and I think you can figure this out why it works. Another side is similar, so I omit the proof.

Mike
  • 1,040