How to Prove the Triangle Inequality Property for the Metric d?

  • Thread starter kingwinner
  • Start date
  • Tags
    Metric
In summary: Does that seem like it covers the case?In summary, a metric d on X x Y is defined by d((x1,y1),(x2,y2))=max(ρ(x1,x2),σ(y1,y2)). To verify that d is a metric, we need to prove the "triangle inequality" property, which states that for any (x1,y1),(x2,y2),(x3,y3) in X x Y, max(ρ(x1,x2),σ(y1,y2))≤ max(ρ(x1,x3),σ(y1,y3)) + max(ρ(x3,x2),σ(y3,y2)). To count the cases, we can consider two cases
  • #1
kingwinner
1,270
0

Homework Statement


Let (X,ρ) and (Y,σ) be metric spaces.
Define a metric d on X x Y by d((x1,y1),(x2,y2))=max(ρ(x1,x2),σ(y1,y2)).
Verify that d is a metric.

Homework Equations



The Attempt at a Solution


I proved positive definiteness and symmetry, but I am not sure how to prove the "triangle inequality" property of a metric. How many cases do we need in total, and how can we prove it?

Any help is appreciated!
 
Physics news on Phys.org
  • #2
So to verify the triangle inequality, we need to prove that
max(ρ(x1,x2),σ(y1,y2))≤ max(ρ(x1,x3),σ(y1,y3)) + max(ρ(x3,x2),σ(y3,y2)) for ANY (x1,y1),(x2,y2),(x3,y3) in X x Y.

How many separate cases do we need? I have trouble counting them without missing any...Is there a systematic way to count?

Case 1: max(ρ(x1,x2),σ(y1,y2))=ρ(x1,x2), max(ρ(x1,x3),σ(y1,y3))=ρ(x1,x3), max(ρ(x3,x2),σ(y3,y2)) =ρ(x3,x2)

This case is simple, the above inequality is true since ρ is a metric.


Case 2: max(ρ(x1,x2),σ(y1,y2))=ρ(x1,x2), max(ρ(x1,x3),σ(y1,y3))=σ(y1,y3), max(ρ(x3,x2),σ(y3,y2)) =ρ(x3,x2)

For example, how can we prove case 2?


Any help is appreciated!
 
Last edited:
  • #3
Suppose that [tex]\rho(x_1,x_2)\ge\sigma(y_1,y_2)[/tex]. What do you know about [tex]\rho(x_1,x_3)+\rho(x_3,x_2)[/tex]? Can you infer anything about the right-hand side of your inequality based on that?
 
  • #4
Case 2: max(ρ(x1,x2),σ(y1,y2))=ρ(x1,x2), max(ρ(x1,x3),σ(y1,y3))=σ(y1,y3), max(ρ(x3,x2),σ(y3,y2)) =ρ(x3,x2)

Tinyboss said:
Suppose that [tex]\rho(x_1,x_2)\ge\sigma(y_1,y_2)[/tex]. What do you know about [tex]\rho(x_1,x_3)+\rho(x_3,x_2)[/tex]? Can you infer anything about the right-hand side of your inequality based on that?
We'll have ρ(x1,x3)+ρ(x3,x2) ≥ σ(y1,y2)).

But I think for case 2, we need to prove that ρ(x1,x2)≤σ(y1,y3)+ρ(x3,x2) instead?? How can we prove it?

Thanks!
 
  • #5
Still confused...please help...
 
  • #6
Okay, you need to show, for all points, that

[tex]\max(\rho(x_1,x_2),\sigma(y_1,y_2))\le\max(\rho(x_1,x_3),\sigma(y_1,y_3))+\max(\rho(x_3,x_2),\sigma(y_3,y_2))[/tex].

Suppose [tex]\rho(x_1,x_2)\ge\sigma(y_1,y_2)[/tex]. Since [tex]\rho[/tex] is a metric, you know that [tex]\rho(x_1,x_3)+\rho(x_3,x_2)\ge\rho(x_1,x_2)[/tex].

So what do you know about [tex]\max(\rho(x_1,x_3),\square)+\max(\rho(x_3,x_2),\square)[/tex], regardless of what's in the squares? You know it's at least as big as [tex]\rho(x_1,x_2)[/tex].
 

Related to How to Prove the Triangle Inequality Property for the Metric d?

1. What is a metric?

A metric is a mathematical concept used to measure the distance between two points in a space. It is a function that takes in two points and returns a non-negative value representing the distance between them.

2. Why is it important to prove that d is a metric?

Proving that d is a metric is important because it ensures that the function accurately measures distance and follows certain properties that make it useful in various mathematical and scientific applications. Without this proof, the use of d as a metric may lead to incorrect conclusions.

3. What are the properties that d must satisfy to be considered a metric?

To be considered a metric, d must satisfy three properties: non-negativity, symmetry, and the triangle inequality. Non-negativity means that the distance between two points cannot be negative. Symmetry means that the distance from point A to point B is the same as the distance from point B to point A. The triangle inequality states that the distance from point A to point B is always less than or equal to the sum of the distances from point A to point C and from point C to point B.

4. How is d typically represented in mathematical notation?

In mathematical notation, d is typically represented as d(x,y) or d(x,y) = ||x-y||, where x and y are points and ||x-y|| represents the distance between them.

5. How is d different from other distance functions?

D is different from other distance functions because it satisfies the three properties mentioned above: non-negativity, symmetry, and the triangle inequality. Other distance functions may not necessarily satisfy these properties, making them unsuitable for use as a metric.

Similar threads

  • Calculus and Beyond Homework Help
Replies
19
Views
2K
  • Calculus and Beyond Homework Help
Replies
8
Views
3K
  • Calculus and Beyond Homework Help
Replies
6
Views
200
  • Calculus and Beyond Homework Help
Replies
26
Views
2K
  • Calculus and Beyond Homework Help
Replies
15
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
3K
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
11
Views
1K
Back
Top