Distance between sets (metric spaces)

Hi there. I was working on this problem. And I wanted to know if my demonstration is right, I'm not sure if it's complete.

The problem says: The distance D(A,B) between two nonempty subsets A and B of a metric space (X,d) is defined to be:

Inf denotes the infimus.

Show that D does not define a metric on the power set of X.

Well, so what I considered is that if a belongs to A, and b belongs to B, but a doesn't belongs to B, and b doesn't belongs to A (i.e. A and B has no elements in common), then the distance could never be zero. But I don't know if this is enough to show that it doesn't define a metric.

Anyway, I could show using the sets

That the triangle inequality insn't accomplished, so I have a counter example.

Bye there, and thanks in advance.

Re: Distance between sets (metric spaces)

If , then , but we may have this equality even if .

The "distance" can be even if and are disjoint: take , and .

Re: Distance between sets (metric spaces)

Ok. Then I could use the sets: , with the metric d(x,y)=|x-y| to show that the triangle inequality isn't accomplished, right? I think I got, I've noted it just after I've posted, didn't proved it yet, but I think it can be done easily.

I've defined the metric between the elements of the subsets as d(x,y)=|x-y|, then D(A,B)=1 and D(A,C)=D(C,B)=0, so the triangle inequality isn't accomplished. Is this right?

Thank you.

Re: Distance between sets (metric spaces)

Quote:

Originally Posted by

**Ulysses** Ok. Then I could use the sets:

, with the metric d(x,y)=|x-y| to show that the triangle inequality isn't accomplished, right? I think I got, I've noted it just after I've posted, didn't proved it yet, but I think it can be done easily.

The point is: it is totally unnecessary to do any more.

The problem is done. It fails the "zero test".

So it is not a metric.

Re: Distance between sets (metric spaces)

With the "zero test" you mean the first proof I approached was right? I thought so, because the null element must always be present in a definite space, right? like in algebra.

Re: Distance between sets (metric spaces)

"zero test" means girdav's first post, saying that, "d(A,B)=0 doesn't mean A=B", this get d fail to be a metric.

Re: Distance between sets (metric spaces)

Alright. But is any of my proofs right? I appreciate his work, but is not that intuitive to me. Anyway, I'll take another look at it, but I'd like to know if what I did was right, or if there is any inconsistency on the proofs I've attempted. In the first place, the case I thought of, of A and B having no elements in common, so zero isn't an element of the distance, would that be enough? or doesn't matter at all? and in the other hand, the three sets I've used to proof that it doesn't accomplish the triangle inequality is right?

I see more clearly what he did now. The distance is zero, because x is infinitely close to zero, right?

Re: Distance between sets (metric spaces)

Re: Distance between sets (metric spaces)

Ty Fernando :) sorry for that, the thing is that I choose other sets at first, and then "corrected it", because one of the set I choose at first didn't work as I expected, and then I realize I should use the zero set. And the {} didn't know why it wasn't working (I see now I wasn't using the code properly).

Bye there!

Re: Distance between sets (metric spaces)

use "\{\}" for

Re: Distance between sets (metric spaces)

I have a few more doubts,

Quote:

Originally Posted by

**girdav** If

, then

, but we may have this equality even if

.

The "distance" can be

even if

and

are disjoint: take

,

and

.

Here, the cartesian product: , which is the product of all the elements of R with zero, is this equal to I think I understand now, as you defined X in R^2, you must have R^2, right? would it be a mistake to consider an element in R and an element in R^2?

And in the other hand, I wanted to know if the empty set is equal to , I mean, if the empty set is equal to the set which it's unic element is zero (I think it's not, but one of my companions asked me, and I wasn't completly sure).

Thank you.

Re: Distance between sets (metric spaces)

Quote:

Originally Posted by

**Ulysses** I have a few more doubts,Here, the cartesian product: ma

, which is the product of all the elements of R with zero, is this equal to

I think I understand now, as you defined X in R^2, you must have R^2, right? would it be a mistake to consider an element in R and an element in R^2?

Nothing to do with . For example, has infinite elements and only one, besides, every element of has the form which is different from .

Quote:

And in the other hand, I wanted to know if the empty set is equal to

, I mean, if the empty set is equal to the set which it's unic element is zero (I think it's not, but one of my companions asked me, and I wasn't completly sure).

is a set with only one element: . The empty set is a set with no elements: . So, .