Proving Triangle Inequality for d(x,A) & d(y,A)

In summary, the given inequality states that the absolute difference between d(x,A) and d(y,A) is less than or equal to d(x,y). The proof is split into two cases, where the first case shows that the absolute difference is less than d(x,y) and the second case shows that it is also greater than or equal to -d(x,y). By combining these two cases, it can be concluded that the absolute difference is indeed less than or equal to d(x,y).
  • #1
Somefantastik
230
0
Hey folks, can someone quickly check my algebra?

Given:

[tex] d(x,A) \leq d(x,y) + d(y,A) [/tex]

To show:

[tex] \left|d(x,A) - d(y,A) \right| \leq d(x,y) [/tex]

Proof:

from given, [tex] d(x,A) - d(yA) \leq d(x,y); [/tex]

and

[tex] -d(x,A) + d(y,A) \geq -d(x,y); [/tex]

[tex]\Rightarrow d(y,A) - d(x,A) \geq -d(x,y); [/tex]

[tex]\Rightarrow -d(x,y) \leq d(x,A)-d(y,A) \leq d(x,y); [/tex]

Therefore

[tex] \left|d(x,A) - d(y,A) \right| \leq d(x,y) [/tex]
 
Mathematics news on Phys.org
  • #2
Your penultimate line doesn't follow.

Instead, split up in the two cases a) d(y,A) less than d(x,A) and b) greater than

For a), we have d(x,A)-d(y,A)=|d(x,A)-d(y,A)|, and hence, your first line of the proof may be written as:
0<= |d(x,A)-d(y,A)|<d(x,y)

you can manage b) on your own
 
  • #3
[tex]d(y,A) - d(x,A) \geq -d(x,y); [/tex]

Does not imply

[tex]-d(x,y) \leq -(-d(x,A)+d(y,A))[/tex]

but the transition between the last two lines of your proof relies on it. You just switched the sides and direction of the inequality (which is fine) and multiplied one side by -1 (not good). If we could do that, it would be a two line proof. ;-)
 
  • #4
I knew there was something fishy. Thank you for your time y'all, I think I got it.
 

Related to Proving Triangle Inequality for d(x,A) & d(y,A)

What is the definition of the "triangle inequality"?

The triangle inequality states that the sum of any two sides of a triangle must be greater than the third side.

What is "d(x,A)" and "d(y,A)" in the context of proving triangle inequality?

In this context, "d(x,A)" represents the distance between a point x and a set A, while "d(y,A)" represents the distance between a point y and the same set A.

Why is it important to prove triangle inequality for d(x,A) & d(y,A)?

Proving triangle inequality for d(x,A) & d(y,A) is important because it helps us understand the relationship between distances and sets, and it is a fundamental concept in geometry and analysis.

How is triangle inequality proven for d(x,A) & d(y,A)?

Triangle inequality for d(x,A) & d(y,A) can be proven using the triangle inequality theorem, which states that the sum of any two sides of a triangle must be greater than the third side. In this case, we can apply this theorem to the distances between a point x and a set A, and a point y and the same set A.

Can triangle inequality be applied to any set and points?

Yes, triangle inequality can be applied to any sets and points, as long as the points and the set are in a metric space. This means that the points and the set must have a defined distance function, and the distance between any two points must follow the properties of a metric space.

Similar threads

Replies
2
Views
1K
Replies
1
Views
960
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
Replies
1
Views
817
Replies
2
Views
707
  • General Math
Replies
2
Views
1K
  • General Math
Replies
1
Views
848
Replies
5
Views
483
Replies
4
Views
1K
Replies
7
Views
1K
Back
Top