Triangle inequality for distance to set

Click For Summary
SUMMARY

The discussion focuses on proving the inequality |d(x,A) - d(y,A)| ≤ d(x,y) for any points x and y in a metric space X, where A is a subset of X. The proof utilizes the triangle inequality, specifically |d(x,z) - d(y,z)| ≤ d(x,y), to establish continuity of the function x ↦ d(x,A). The participants emphasize that while d(x,A) is not a metric in the traditional sense, the properties of metrics allow for the derivation of the desired inequality through contradiction and careful selection of points in A.

PREREQUISITES
  • Understanding of metric spaces and the properties of metrics.
  • Familiarity with the triangle inequality in metric spaces.
  • Knowledge of continuity in mathematical functions.
  • Basic concepts of set theory, particularly regarding subsets.
NEXT STEPS
  • Study the properties of metric spaces in detail, focusing on examples and counterexamples.
  • Learn about continuity in the context of metric spaces and related functions.
  • Explore advanced topics in topology, particularly those covered in G. Bredon's "Topology and Geometry."
  • Investigate the implications of the triangle inequality in various mathematical contexts.
USEFUL FOR

Mathematicians, students of topology, and anyone interested in the properties of metric spaces and their applications in analysis and geometry.

quasar987
Science Advisor
Homework Helper
Gold Member
Messages
4,796
Reaction score
32

Homework Statement


If X is a metric space and A is a subset of X, show that

|d(x,A) - d(y,A)|\leq d(x,y)

for any x,y in X.

Homework Equations


Triangle inequality:
|d(x,z) - d(y,z)|\leq d(x,y),

d(x,y)\leq d(x,z)+d(z,y)

The Attempt at a Solution


Fidling around with the triangle inequality.

Edit: This is the third problem in G. Bredon's Topology and Geometry book. The goals of the exercice is to establish the continuity of the map x\mapsto d(x,A), but she gives as a hint, "Use the triangle inequality to show that |d(x,A) - d(y,A)|\leq d(x,y))" from which the result clearly follows in view of the continuity of the map x\mapsto d(x,x_0) for some fixed x_0...

The point of this edit is to bring attention to the exact wording of her hint, from which one can arguably conclude that the result should follow essentially from the triangle inequality.
 
Last edited:
Physics news on Phys.org
As I understand it, <br /> |d(x,A) - d(y,A)|\leq d(x,y) should follow from the triangle inequality for d, which is |d(x,z) - d(y,z)|\leq d(x,y) for any x, y and z in X. We know the latter holds because d is a metric. What you want to prove is technically not a triangle inequality, because d(x, A) is not really a metric, in the sense that it doesn't map pairs of points to numbers.
 
Suppose A consists of two points. Label the points x and y so that x is farther from A than y. The only nontrivial case is that x is closer to a different point of A than y. So label the points in A={a,b} so that d(b,x)>d(a,x) and d(a,y)>d(b,y). Now assume the inequality isn't true. |d(x,A)-d(y,A)|>d(x,y) becomes d(x,a)-d(y,b)>d(x,y) -> d(x,a)>d(x,y)+d(y,b)>=d(x,b). That's a contradiction. For a general set A, you should be able to set up some epsilons and find points in A that represent the equivalent of a and b.
 
Dick said:
Suppose A consists of two points. Label the points x and y so that x is farther from A than y. The only nontrivial case is that x is closer to a different point of A than y. So label the points in A={a,b} so that d(b,x)>d(a,x) and d(a,y)>d(b,y). Now assume the inequality isn't true. |d(x,A)-d(y,A)|>d(x,y) becomes d(x,a)-d(y,b)>d(x,y) -> d(x,a)>d(x,y)+d(y,b)>=d(x,b). That's a contradiction. For a general set A, you should be able to set up some epsilons and find points in A that represent the equivalent of a and b.

You can't assume that there exists points in A such that d(x,A) = d(x,a) and similarly for y. The easiest example is if A is open. Then the inf is most likely not in A.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
2
Views
1K
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K