Some introductory Topology questions

1MileCrash
Messages
1,338
Reaction score
41
Hi all,

My Topology textbook arrived in the mail today, so I started reading it. It begins with an introduction to an object called metric spaces.

It says

A metric on a set X is a function d: X x X -> R that satisfies the following conditions:

-some conditions--

I am not completely sure about this notation (mainly the "d:" part.) I believe that X x X is simply the Cartesian product. My guess is that d is the function's name, and the rest just says the domain of this function in relation to the set X (kinda?)

So is it correct to read it in this way: d: X x X -> R

Means:

Some function d, of x and y, where x and y refer to axis of a 2d plane. This 2d plane is the cartesian product of the set X and itself.

So if X were the set {1,2,3}, this notation defines d to be a function of x and y such that either x or y is equal to 1, 2, or 3?

Or is this not right?
 
Physics news on Phys.org
That is right.

With X={1,2,3}, you could consider d(1,1), d(1,2), d(1,3), d(2,1), ..., d(3,3) as function values, for example.
 
Cool, thank you.

This will be fun :)
 
1MileCrash said:
Some function d, of x and y, where x and y refer to axis of a 2d plane. This 2d plane is the cartesian product of the set X and itself.

Not sure where you get a 2d plane from. If ##X=\mathbb{R}##, then ##X\times X = \mathbb{R}^2## and that's certainly a 2d plane. But ##X## can be something far more general. For example, ##X=\{\text{Obama}, \text{Christmas Tree}\}##. I don't see how ##X\times X## is some kind of plane then.
 
1MileCrash said:
I am not completely sure about this notation (mainly the "d:" part.) I believe that X x X is simply the Cartesian product. My guess is that d is the function's name, and the rest just says the domain of this function in relation to the set X (kinda?)

It says the domain and the codomain of the function (the R being the codomain). The general notation is
f: A \to B
is a function whose domain is A and whose codomain is B (which means it always takes a value in B - this doesn't mean every point in B can be reached!). Examples:
\arctan(x): \mathbb{R} \to \mathbb{R}
\arctan(x): \mathbb{R} \to (-\pi/2,\pi/2)
\sqrt{x}: [0,\infty) \to \mathbb{R}
\sqrt{x}: [0,\infty) \to [0,\infty)
\cos(x): (-\infty,\infty) \to [-1,1]
\sin(x): (-\pi/2,\pi/2) \to (-1,1)

Non-examples:
\sqrt{x}: \mathbb{R} \to \mathbb{R}
\arctan(x): \mathbb{R} \to (-1,1)
 
Office_Shredder said:
It says the domain and the codomain of the function (the R being the codomain). The general notation is
f: A \to B
is a function whose domain is A and whose codomain is B (which means it always takes a value in B - this doesn't mean every point in B can be reached!).

So..

What that says is that A is the domain, and that B is some type of "category" that the elements of A belong to? (A is the set of all possible arguments of the function, and it is a subset of B, and B is some category to which all possible arguments belong too (like the real numbers?))
 
micromass said:
Not sure where you get a 2d plane from. If ##X=\mathbb{R}##, then ##X\times X = \mathbb{R}^2## and that's certainly a 2d plane. But ##X## can be something far more general. For example, ##X=\{\text{Obama}, \text{Christmas Tree}\}##. I don't see how ##X\times X## is some kind of plane then.


I would still think of that as 2 dimensional. If the use of the word "plane" requires both axes to be continuous then I guess I would call that a 2d "grid" and not plane. Is that what you mean?
 
1MileCrash said:
I would still think of that as 2 dimensional. If the use of the word "plane" requires both axes to be continuous then I guess I would call that a 2d "grid" and not plane. Is that what you mean?

The thing is that "two dimensional" and "plane" refer to very specific situations. You shouldn't use those words in other situations. I know what you mean though.
 
1MileCrash said:
So..

What that says is that A is the domain, and that B is some type of "category" that the elements of A belong to? (A is the set of all possible arguments of the function, and it is a subset of B, and B is some category to which all possible arguments belong too (like the real numbers?))

Haven't you learned about functions or the ##f:A\rightarrow B## notation before? If so, it's something you need to learn before starting topology.
 
  • #10
micromass said:
Haven't you learned about functions or the ##f:A\rightarrow B## notation before? If so, it's something you need to learn before starting topology.

I did but a long time ago in an introductory proof class.

EDIT: I think my question was riddled with confusion. B should be related to the range of the function right? So the set of all possible outputs of the function is a subset of the codomain?
 
  • #11
Yes, the range is a subset of the co-domain.
 
  • #12
Ok, one more question. Is the codomain noted because the actual range can sometimes be an ugly looking set, and providing the codomain in the notation tells us enough about this function?
 
  • #13
Essentially. The codomain is just telling you what kind of objects the function gives you - for example if I just told you a metric is a function defined on X \times X, and it has the following property: d(x,y) \geq 0 the first thing you should ask me is "what the heck does \geq mean? What set is d(x,y) contained in and what is the ordering and why is there a zero?"

Questions which are moot if I tell you the codomain is \mathbb{R}.

The reason why a codomain is usually not the same as the range when the function is defined is because it's not obvious what the range is when the function is defined, but a codomain is required for the function to have any meaning (you have to specify what the output looks like). Notice that the codomain is fairly arbitrary - I could say the codomain of the square root function is R, or the non-negative real numbers, or the interval from -3 to infinity and those would all be acceptable
 
  • #14
Understood, thanks all! May be back with more questions as I keep going. :)
 
  • #15
Another question!

My book mentions that d is a "distance function." Does this mean that the codomain of d will always be the reals (I know of no other way to express a "distance") for any metric/metric space?
 
  • #16
1MileCrash said:
Another question!

My book mentions that d is a "distance function." Does this mean that the codomain of d will always be the reals (I know of no other way to express a "distance") for any metric/metric space?

By definition, a distance function or metric is a function ##d:X\times X\rightarrow \mathbb{R}^+##. So the codomain are the nonnegative reals.
 
  • #17
Alright. My book just puts R, but includes a positive or zero result as a property of a metric, so I guess those are equivalent.
 
  • #18
Also, I think I understand what you were saying before regarding the 2d plane.

XxX -> R

Means it goes from the set XxX, which just so happens to be a set of ordered pairs, to the set of real numbers. I don't need to involve the idea of planes, really.
 
  • #19
I finally got to the exercises. The first one is proving that a certain d is a metric on set X. It trivially is, based on what I see, but I want to make sure that I wrote a proof that is reasonably coherent.

Also, where I wrote "This is only possible if... = 0, since d is non-negative" was kind of stupid. It's really because 0 is the only other possible value of d.

If someone that can read my handwriting could just take a look.. I would appreciate it!

EDIT: I see that the pic got resized, try:

http://postimg.org/image/qqelnlcrb/
 

Attachments

  • tpoexe1.jpg
    tpoexe1.jpg
    14.1 KB · Views: 505
Last edited by a moderator:
  • #20
I would try to use less words, but the ideas are right.
 
  • Like
Likes 1 person
  • #21
I just did two more proofs, proving that the taxicab metric was a metric, and proving the minkowski inequality with Cauchy schwarts inequality.

The first was pretty easy, but it led me to a question I will post about later.

The second took a few hours (I know, I suck) but it was one of the most badass proofs I've ever done when I finally saw the result unfold. I'll have to rewrite it because there are a lot of scratch outs and stuff, but I will post them!
 
  • #22
Proving Minkowski is actually not so easy, so don't worry if it took you a while. It's indeed quite elegant. Good job that you managed to prove it!
 
  • #23
Thanks, it was quite cool. My trouble was getting a dot product to appear ( and realizing it was there once I did ).

Here's what I did to prove it, among the scratch work.

http://oi42.tinypic.com/2hey6v9.jpg
 
  • #24
Pretty nice proof. Very impressive that you found it yourself!

It's not the standard proof though, here is the proof that is usually given for this:

<br /> \begin{eqnarray*}<br /> \|\mathbf{x} + \mathbf{y}\|_2^2<br /> &amp; = &amp; \sum_{i=1}^n (x_i + y_i)^2\\<br /> &amp; = &amp; \sum_{i=1}^n x_i(x_i + y_i) + \sum_{i=1}^n y_i(x_i + y_i)\\<br /> &amp; = &amp; \mathbf{x} \cdot (\mathbf{x} + \mathbf{y}) + \mathbf{y}\cdot (\mathbf{x} + \mathbf{y})\\<br /> &amp; \leq &amp; \|\mathbf{x}\|_2 \|\mathbf{x} + \mathbf{y}\|_2 + \|\mathbf{y}\|_2 \|\mathbf{x} + \mathbf{y}\|_2\\<br /> &amp; = &amp; (\|\mathbf{x}\|_2 + \|\mathbf{y}\|_2) \|\mathbf{x} + \mathbf{y}\|_2<br /> \end{eqnarray*}<br />

Now divide both sides by ##\|\mathbf{x} + \mathbf{y}\|_2## and you obtain the inequality.
 
  • #25
That last picture takes 40 seconds to load. I didn't see any of the first ones, because I gave up much earlier than that. So I have to suggest that when you have to use an image hosting site, use another one.

The option that micromass is using is of course much better than using images: https://www.physicsforums.com/showpost.php?p=3977517&postcount=3
 
  • #26
micromass said:
Pretty nice proof. Very impressive that you found it yourself!

It's not the standard proof though, here is the proof that is usually given for this:

<br /> \begin{eqnarray*}<br /> \|\mathbf{x} + \mathbf{y}\|_2^2<br /> &amp; = &amp; \sum_{i=1}^n (x_i + y_i)^2\\<br /> &amp; = &amp; \sum_{i=1}^n x_i(x_i + y_i) + \sum_{i=1}^n y_i(x_i + y_i)\\<br /> &amp; = &amp; \mathbf{x} \cdot (\mathbf{x} + \mathbf{y}) + \mathbf{y}\cdot (\mathbf{x} + \mathbf{y})\\<br /> &amp; \leq &amp; \|\mathbf{x}\|_2 \|\mathbf{x} + \mathbf{y}\|_2 + \|\mathbf{y}\|_2 \|\mathbf{x} + \mathbf{y}\|_2\\<br /> &amp; = &amp; (\|\mathbf{x}\|_2 + \|\mathbf{y}\|_2) \|\mathbf{x} + \mathbf{y}\|_2<br /> \end{eqnarray*}<br />

Now divide both sides by ##\|\mathbf{x} + \mathbf{y}\|_2## and you obtain the inequality.

That's very clear. I don't think I would have thought to do that on my own, though.

Why do you put a subscript by your norms?
 
  • #27
Fredrik said:
That last picture takes 40 seconds to load. I didn't see any of the first ones, because I gave up much earlier than that. So I have to suggest that when you have to use an image hosting site, use another one.

The option that micromass is using is of course much better than using images: https://www.physicsforums.com/showpost.php?p=3977517&postcount=3

Sorry, I'm on a mobile at the moment and had to commandeer my dad's cellphone to read micromass's markup. When I get back home I can type it up proper.
 
  • #28
1MileCrash said:
When I get back home I can type it up proper.
This is not necessary if your questions have been answered. Just keep it in mind for the next time you ask a question.
 
  • #29
Another question (that doesn't require latex)

I am trying to prove that the Euclidean metric is a metric.

It is defined as the root of a number that is always positive (or zero).

And to prove it is a metric, it has to be nonnegative.

How do I handle the root? I assumed I don't just say "take the positive root so that my proof works."

Or does the definition of the euclidean metric already imply that we are taking the positive root?
 
  • #30
The square root of a non-negative real number y is defined as the non-negative real number x such that ##x^2=y##.
 
  • #31
I'm having trouble googling this one..

What is |R^(omega)?
 
  • #32
1MileCrash said:
I'm having trouble googling this one..

What is |R^(omega)?

Which book are you doing? Munkres?
 
  • #33
No, it's my textbook for the class. "Foundations of Topology" C. Wayne Patty
 
  • #34
1MileCrash said:
No, it's my textbook for the class. "Foundations of Topology" C. Wayne Patty

Never heard of that. Well, ##\mathbb{R}^\omega## is usually defined as the set of sequences in ##\mathbb{R}##. So

\mathbb{R}^\omega = \{(x_n)_n~\vert~x_n\in \mathbb{R}\}

This is the definition Munkres uses. I think your book uses the same definition.
 
  • #35
My book gives a definition in an appendix that seems to match what you're saying.

Unfortunately, I'm having a hard time grasping the idea (the set you've wrote, I can read, but I can't "see it."). It is the set of all possible sequences of any length in R? Is that like a power set of R, but where order matters for the elements? Or am I way off?
 
  • #36
1MileCrash said:
My book gives a definition in an appendix that seems to match what you're saying.

Unfortunately, I'm having a hard time grasping the idea (the set you've wrote, I can read, but I can't "see it."). It is the set of all possible sequences of any length in R? Is that like a power set of R, but where order matters for the elements? Or am I way off?

It is the set of sequences of infinite length.

Put another way, it is the set of all functions ##f:\mathbb{N}\rightarrow \mathbb{R}##.
 
  • #37
OK, I've been thinking about it for a while.

From what I gather from that function notation you've used, it is essentially a declaration that these elements are also of countably infinite length, since by noting N as the domain, it must also have a one-to-one correspondence with the natural numbers. Right?
 
  • #38
1MileCrash said:
OK, I've been thinking about it for a while.

From what I gather from that function notation you've used, it is essentially a declaration that these elements are also of countably infinite length, since by noting N as the domain, it must also have a one-to-one correspondence with the natural numbers. Right?

Not necessarily a one-to-one correspondence. For example

f:\mathbb{N}\rightarrow \mathbb{R}: n\rightarrow 1

is perfectly valid. This corresponds to a sequence ##(x_n)_n## with ##x_n = 1## for all ##n##.
 
  • #39
micromass said:
Not necessarily a one-to-one correspondence. For example

f:\mathbb{N}\rightarrow \mathbb{R}: n\rightarrow 1

is perfectly valid. This corresponds to a sequence ##(x_n)_n## with ##x_n = 1## for all ##n##.

Errm, I must not have phrased it well. When I said "countably infinite length," I am speaking of cardinality. I don't mean that any element of R^omega is a tuple where every number is different (because then every element of R^omega would be the same except for order)

f:\mathbb{N}\rightarrow \mathbb{R}: n\rightarrow 1

Tells me that the resulting ordered set is a countable one (and thus has a one to one correspondence with the natural numbers, in terms of cardinality, not any values) because our domain is N. If our domain is N then our tuple has the same cardinality as N, it doesn't matter that values are repeated in the tuple.

Essentially, I'm lead to believe that all R^(omega) is is just an "countably infinite dimensional space." If R^3 is the set of all possible 3-tuples, and R^omega is the set of all possible "countably infinite-tuples" then R^omega doesn't seem to be very special.
 
  • #40
OK, I agree with you then.
 
  • #41
micromass said:
OK, I agree with you then.

Alright. So is looking at R^omega as just being exactly like any other dimensional space R^n except that now, n is no natural number but is countable infinity, an OK way to view it? Or is it more complicated than that?

Thanks again for your help and patience.
 
  • #42
1MileCrash said:
Alright. So is looking at R^omega as just being exactly like any other dimensional space R^n except that now, n is no natural number but is countable infinity, an OK way to view it? Or is it more complicated than that?

Thanks again for your help and patience.

That's one way to think of it, yes. As you know, ##\mathbb{R}^n## is a vector space with finite dimensions. The space ##\mathbb{R}^\omega## is a vector space too, so it acts in the same way of ##\mathbb{R}^n##. The only difference is that ##\mathbb{R}^\omega## is an infinite dimensional vector space, so that might cause some differences.

You got to be aware that ##\mathbb{R}^n## and ##\mathbb{R}^\omega## often behave very differently, especially in topology. So it's not because it holds for ##\mathbb{R}^n##, that it holds for ##\mathbb{R}^\omega##. But I do think your intuition about ##\mathbb{R}^\omega## is correct.
 
  • #43
micromass said:
That's one way to think of it, yes. As you know, ##\mathbb{R}^n## is a vector space with finite dimensions. The space ##\mathbb{R}^\omega## is a vector space too, so it acts in the same way of ##\mathbb{R}^n##. The only difference is that ##\mathbb{R}^\omega## is an infinite dimensional vector space, so that might cause some differences.

You got to be aware that ##\mathbb{R}^n## and ##\mathbb{R}^\omega## often behave very differently, especially in topology. So it's not because it holds for ##\mathbb{R}^n##, that it holds for ##\mathbb{R}^\omega##. But I do think your intuition about ##\mathbb{R}^\omega## is correct.

OK, I do think I can see why some things will be different. I can't imagine a vector of infinite length in any other space, but a vector in R^omega can be of infinite length easily. Then maybe that makes certain things undefined, like a difference between two distance functions on R^omega, and maybe that effects certain theorems. Just thinking out loud!
 
  • #44
1MileCrash said:
OK, I do think I can see why some things will be different. I can't imagine a vector of infinite length in any other space, but a vector in R^omega can be of infinite length easily. Then maybe that makes certain things undefined, like a difference between two distance functions on R^omega, and maybe that effects certain theorems. Just thinking out loud!

It's good that you mention distance functions (metrics). This is one difference that you should be aware of.

In things like ##\mathbb{R}^2##, we have a distance function as follows

d((x,y),(x&#039;,y&#039;)) = \sqrt{(x-x&#039;)^2 + (y-y&#039;)^2}

You showed in this thread, that we can generalize that on ##\mathbb{R}^n## as

d((x_1,...,x_n),(y_1,...,y_n)) = \sqrt{\sum_{i=1}^n (x_i - y_i)^2}

However, this generalization does not work for ##\mathbb{R}^\omega##. The natural thing to do is of course

d((x_1,x_2,...),(y_1,y_2,...)) = \sqrt{\sum_{i=1}^{+\infty} (x_i - y_i)^2}

But then we are dealing with an infinite series on the RHS. And this might diverge. So the natural metric that we want may not be defined. This is one possible difference.

That said, it is possible to put some metric on ##\mathbb{R}^\omega##, but it's not a very nice one.
 
  • #45
Of course.. a metric is f:XxX->R, but if the function could possibly diverge, then the codomain is not R, so that function can't be a metric.
 
  • #46
I'm baack... I took a break from topology to learn a lot of linear algebra. I've moved on from metrics to the definitions of topologies and topological spaces.

It took a while for me to comprehend the metric and topology relationship, but I think I'm starting to understand it.

My book says that the discrete metric generates the discrete topology, which is the collection of the empty set and the set itself. So, I infer that a topology is a collection of sets such that if you take any two elements from a member of the topology, and run them through the metric, you get some value? Is that right?

That's the only way I can make the connection between the discrete metric and the discrete topology. Since for any two non-equal values for the discrete metric, the result is 1, it makes sense to me that this is the defining quality that generates the elements of the topology.I do not mean to infer that all topologies have an associated metric, I understand that that is not the case, because a "metrizable" topology is a special kind. The way I have begun to understand it is that a metric outputs values of "distance" from elements of a set, and that we can make a collection of subsets of X such that the distinction between members of this collection is the distance value returned by the metric for its members. We can call this a topology. We can then look at the properties of the topology directly and call any collection of subsets of X a topology if they also have these properties, even if they have no metric associated with them.

Is this remotely correct, or am I way in left field?
 
  • #47
Sorry, but I really don't get what you're trying to say here:

1MileCrash said:
I infer that a topology is a collection of sets such that if you take any two elements from a member of the topology, and run them through the metric, you get some value?

we can make a collection of subsets of X such that the distinction between members of this collection is the distance value returned by the metric for its members.

I don't even know what you mean, so I can't interpret whether you have the right intuition or not.
 
  • #48
Sorry, let me try to say that in a better way, I typed that in a rush:

My book talks about topologies that are "generated" from metrics, but it doesn't really explain how that happens (how to I "generate" a collection of subsets of X (topology) from a metric on X?)

But, since it listed the examples of topologies that are generated from metrics, I can try to put it together myself.

The simplest example they gave is that the discrete metric (which is the metric d(x,y) such that d = 1 if x=/=y and d = 0 if x = y) generates a topology called the discrete topology on X which is the collection of the following subsets of X: { ∅, X }.

So, knowing that the discrete metric generates the discrete topology, I'm trying to find a special link between the two, so that I can see how a metric generates a topology.

The only connection that I can make is that if I take any two elements of X, I get d=1, so all elements of X share that property.

Then, I wonder if that is the property that separates the collection of subsets of a topology. In other words, is the discrete topology composed of only the sets ∅ and X because all elements of X share the property that d = 1 for any two, and there is no other possibility (and thus members of the topology) for the discrete metric?Thanks again
 
  • #49
1MileCrash said:
The simplest example they gave is that the discrete metric (which is the metric d(x,y) such that d = 1 if x=/=y and d = 0 if x = y) generates a topology called the discrete topology on X which is the collection of the following subsets of X: { ∅, X }.
That is the indiscrete topology (also known as the trivial topology), not the discrete topology. The discrete topology is the power set of X, i.e. the collection of all subsets of X.

The discrete metric generates the discrete topology because every singleton in X is an open set (for example, the neighborhood of radius 1/2 around the point x consists of just the point x). Also, any union of open sets is an open set, and every subset of X can be expressed as a union of singletons. So every subset of X is open.
 
  • #50
Pretty weird that they don't explain what it means for a topology to be generated by a metic.

Anyway, given a metric space ##(X,d)##, we can define the open ball centered in ##x\in X## with radius ##r>0## as

B(x,r) := \{y\in X~\vert~d(x,y) &lt; r\}

Now, a subset ##G\subseteq X## is defined to be open in the metric space if for any pont ##x\in G##, there is an ##r>0## such that ##B(x,r)\subseteq G##. I assume these are all concepts you've already seen??

Anyway, take your metric space ##(X,d)##. The topology generated by the metric space is simply the collection of all open sets.

Also, the discrete metric on a set ##X## induces the topology ##\mathcal{P}(X)## (the power set). So any subset of ##X## is in the topology. In your previous post, you seemed to imply that the topology was ##\{\emptyset, X\}##, this is not the case. The latter topology is the indiscrete or trivial topology.
 
Back
Top