10 - Relationship between open sets and closed sets
Where we left off last time
What happened last time? Where did we get to and where we going?
-
Topology of the real line: We were developing some of the notions involved in the topology of the real line. In particular, we talked about open and closed sets, and we want to talk a bit about their relationship today.
-
Open set: A set in a metric space is open if every point is an interior point, where by "interior point" we mean a point that has a neighborhood around it that is completely contained in . Consider the following picture:
It is clear that all three points illustrated in are interior points. There exists a neighborhood around each of these points such that the neighborhood is completely contained in . Of course, the closer and closer we might get to the boundary, the smaller and smaller the neighborhood would have to get in order for the neighborhood to be completely contained in . For the set , the point on the boundary clearly poses a problem. No matter how small I make a neighborhood of this point, the neighborhood will never be completely contained in . Thus, is not an open set. So why are open sets really important? We kind of alluded to that last time, but we were just making definitions.
-
Importance of open sets: Why do we care so much about open sets? We're used to thinking of pictures in Euclidean space, but let's try to think a little more broadly. This could be any metric space. And really what I'm saying when I say that a set is open is that if I take any point then I can push it around a little bit and it still remains in the set . So to be open means I can perturb points in and still have them stay within . So an example might be to look at the set of all triples of points in the plane. Take three points in the plane. Are they collinear? Yes if they all lie on the same line, of course. Suppose we look at the set of all triples of points that are not collinear. Is such a set an open set? Intuitively yes because if three points are not collinear, then if perturb it is it not still not collinear? If you were really close to being collinear, then you may not be able to perturb it much but just a little bit. So that's one of the reasons why the concept of an open set is extremely important. It means you can push something around but it still remains in the set. Is that true of the point illustrated in ? No, if you push it around, then it may leave the set.
-
Closed sets: What does it mean for a set to be closed? A set is closed if contains all of its limit points, where by "limit point" we mean a point of a set such that every deleted neighborhood of contains a point of . Why do you think it's important for us to understand when a set is closed? What does it mean for a closed set to contain all its limit points? What's so important about have a set contain its limit points? Consider the following picture of a closed set :
It might be the case as we continue our exploration of metric spaces that maybe we'll have a sequence, and we will want to know whether or not it actually has a limit. And, if so, is that limit also in the set? The example above concerns points, but we could also be talking about functions (in engineering or physics you might be concerned with whether or not a sequence of functions has a limit — it could be some wave form of some signal). We have to define what it means to be a limit of a sequence, but I claim that's very closely related to the notion of a limit point of a set. So asking whether or not a set contains all of its limit points will be a very useful consideration in the not too distant future. This is just some motivation for these concepts and why we are studying them so carefully.
Closure of a set
What exactly is the closure of a set and why is it important?
-
Closure of a set (definition): The closure of a set is , where denotes the set of limit points of . Consider the sets and below.
Is the set open? No, not if it contains the pictured boundary points. Is closed? No, it does not contain all of its limit points. But if I throw in all of the limit points, which includes a lot of stuff but in particular the so-called boundary points, then I have what looks to be a closed set, namely . In the context of closures and the set illustrations above, we have . Is the set , the closure of , actually a closed set? We certainly hope so! We hope we gave it a good name. So let's try to prove that the closure of a set is, in fact, a closed set.
-
The closure of a set is a closed set: To show is a closed set, we must show that contains all of its limit points. But what is a limit point of ? A point is a limit point of if every neighborhood of contains a point such that .\
Suppose is a limit point of . We want to show that we must have . If is a limit point of , then every neighborhood of contains a point such that ; that is, or .\
If we take a limit point of , is it necessarily true that ? Every neighborhood of must contain a point in but such a neighborhood seems to not necessarily contain a point of .\
To show , we must show or ; that is, the point is either in itself or is a limit point of (i.e., any neighborhood of contains a point of ). Consider any neighborhood of , say . We want to show that contains a point of if is not already in .\
If , then we are done. Thus, assume . We will show that contains a point of . What do we know about ? Since is a limit point of , we know must contain a point of ; let's call such a point . Since , it must be the case that or . If , then we are done. Thus, assume ; that is, assume . Then is a limit point of ; that is, contains a point of ; let's call such a point . Choose such that . If we can choose in such a way, then we will be done because we will have shown that any neighborhood of , namely , contains a point of , namely . But how do we know a neighborhood such that actually exists?\
Since every neighborhood is an open set, it follows that is an open set; that is, every point of is an interior point of . Let be such an interior point. Then, by the definition of an interior point, there is a neighborhood such that . This concludes the proof.
-
Every neighborhood is an open set: Why are neighborhoods open? Consider the following figure:
Why is it that if you give me a point and a neighborhood around it, , that I can find around any other point a neighborhood around it, , such that ? The neighborhood of is defined by its radius. We can write the neighborhood of as to communicate that is the defining radius of the neighborhood. What can we say about the distance from to in the picture above? We must have that . Let's call this ; that is, . What's the radius you would suggest that might work here to ensure that the neighborhood of is completely contained in the neighborhood of ? It seems like should work. Is positive? Yes, because . Let this suggested radius be denoted by ; that is, . Our claim, then, is that anything that's distance less than from is going to be distance less than from . Why is that true? Triangle inequality! So this is really where we're using the metric. It's really important that we're in a metric space; otherwise, this neighborhood wouldn't necessarily be open. (It's important that we have the triangle inequality in order for neighborhoods to be open.) Our claim, more precisely stated, is that , and we can check this by noting that if the distance from some point to is less than , i.e. , then , the key observation being that , thus justify the claim that . The lesson here is that the triangle inequality is very important for this seemingly intuitive property to be true.
-
A set is closed if and only if it is equal to its closure:
- : If is closed then so , and that means , and we clearly have . So .
- : If , then contains all of its limit points; that is, is closed.
-
If a set is a subset of another closed set, then the closure of such a set is also contained in the set: Let be a closed set. If , then . What this is saying is, in some sense, we know is a closed set and any other closed set that contains must contain . So, in some sense, the closure of a set, , is the smallest set that contains . The moral of the story here is that is the smallest closed set containing .
The proof sketch here is not too bad. If is a closed set, then contains all of its limit points. In particular, contains the limit points of . Another way of communicating this is to say that if is a limit point of , then is a limit point of . But contains all of its limit points. So all of the limit points of are in as well. So contains the limit points of as well as itself. Thus, .
Relationship between open and closed sets
What is the relationship between open and closed sets?
-
Motivation: We have this curious definition for an open set (i.e., a set is an open set if every point of is an interior point of ) and a curious definition for a closed set (i.e., a set is a closed set if every limit point of is a point of ), but they don't really seem all that related, and yet I claim there is an intimate relationship between open sets and closed sets. So what is the relationship?
-
Relationship between open and closed sets: In a metric space , we claim that is open if and only if is closed, where stands for the complement of and is defined as the set of all points not in ; that is, contains all of the points in but not in or simply . Or differently, . Is it true that if I am outside of a closed set then I can take a point and push it around a little and still be outside of that closed set? Yes. So let's see if we can justify this fact. Why is this theorem true?
Let be an open set. Then any point is an interior point. What that means is that for any there exists a neighborhood of such that it is contained entirely in or, equivalently, that is disjoint from . So we just turned this into a statement about the complement of . Consider the picture below.
We have an open set and an arbitrary point , and the claim is that if has a neighborhood around it that is completely within , then the neighborhood of completely misses which sits outside of but in the metric space . What's the goal here? The goal is to show that contains all its limit points. And I've just picked an arbitrary point that's not in that has a neighborhood that completely separates it from . So could this point be a limit point of ? No! Therefore, contains all of its limit points. More precisely, for any , is not a limit point of . (This is because if were a limit point of then any neighborhood of should contain a point of , but the one we've chosen does not (as pictured above). Hence, contains all of its limit points. We could display the outline of the proof as follows to illustrate the if and only if nature holds:
So complements of open sets are closed and complements of closed sets are open. What can we say about unions of open sets? As an aside, are the rationals a closed set? No, because it does not contain all of its limit points. We can approach using rational points. So it's not closed. Are the rationals an open set? If I perturb a rational will it necessarily remain rational? No, or if you like, around any rational can I find an open set consisting of only rationals? No. So the rationals are neither open nor closed.
-
Unions of open sets: Is the union of two open sets open? Yes. Why? Every point of a union of two open sets was interior to one of the sets so it's true then, in the union of the two sets, that every point will be interior to their union because such a point has a neighborhood around it completely contained in one of those two sets, so therefore contained in both of those sets. Okay, what if I take a union of infinitely many open sets? Is that still open? What about closed sets? If I take the union of two closed sets, is the union closed? Yes, we should be able to come up with an argument for that, but it seems likely. What about the union of infinitely many closed sets? Is that necessarily closed? No, we may have some examples ready to give.
-
Unions and intersections: Suppose we look at the following sets , which are closed sets centered around 0. If we union everything, then we get , which is not closed. Suppose is a collection of sets (where we use here to make it clear that there may be uncountably many sets in our collection; is just an element of some indexing set , where may be uncountable; one is typically used to using an indexing set of natural numbers, but the indexing set could also be the set of real numbers). Then
Let's prove this. We have the following:
This fact will be very useful to us now that we have noted that open sets are complements of closed sets.
-
A four-part theorem: We have the following:
- An arbitrary union of open sets is, in fact, open.
- Proof. If , where each is open, then what does it mean for to be in the union ? Well, that means is in at least one of the sets . Our goal here is to show that every point in the union has a neighborhood around it that's completely contained inside . Okay, since , it must be the case that for some . So has a neighborhood such that , but , as desired. So we have the desired neighborhood.
- The arbitrary intersection of closed sets is closed.
-
Proof. Suppose are closed. Then are open. So these are a bunch of things that are open and the union of a bunch of open sets is open. So its complement is closed. But isn't just ? Recall we established that
What we have here is that
that is, the arbitrary intersection of closed sets is the complement of an arbitrary union of open sets . From above, we know that an arbitrary union of open sets is open, and we also know that the complement of an open set is closed. Thus, the arbitrary intersection of closed sets is closed, as desired.
- The intersection of a finite collection of open sets is open, whereas the arbitrary intersection of open sets is not open; for example, consider , which is closed.
-
Proof. To establish this, you have to do something slightly different. If I intersect to two open sets and , then why is their intersection going to be open? Why is it that if I pick a point in the intersection then it will be an interior point of the intersection? Consider the picture below:
Why is it that will be open? Why is it that if I pick a point in their intersection then this point will be an interior point of the intersection? We know this point in the intersection is an interior point of and also an interior point of , so why is it an interior point of both of them (i.e., the intersection)? Consider the point pictured in the figure with two concentric dashed circles around it. The smaller concentric circle represents the interior point contained entirely in while the larger concentric circle represents the interior point contained entirely in . How do I know this point, which is certainly in the intersection of and is actually an interior point of ? Take the interior point with a neighborhood of smaller radius! In the picture above, this means taking the interior point contained entirely in . So for finitely many open sets you would do what? Take the minimum radius one. Now, why would this idea fail in the case of infinitely many intersections? What would go wrong with this idea? The minimum would not necessarily exist because the concentric circles could get smaller and smaller and smaller. So it doesn't have a minimum. It has an infimum, but it's not going to be greater than 0. That's the problem. So here's the sketch. There exists a neighborhood for each . Let . Then shows is interior to .
- The union of a finite collection of closed sets is closed.
- Proof. This follows from above (by taking complements) in a similar way that the second proof follows from the first.
- An arbitrary union of open sets is, in fact, open.
Other definitions
What are some other definitions that might be useful before calling it a day?
-
Density of a set in a metric space: A set is said to be dense in a metric space if every point of is a limit point of or in (or both). So an example of this would be that is dense in because isn't it true that every point in is a limit point of or a rational number itself? That is true. Here's another way of saying this: If every point of is a limit point of or in , then every point of is necessarily in the , the closure of . So we could say that is dense in if . Or, alternatively, if we have that , then that means that any open set in contains a point in — that's what means. You give me any point in , then any open set around it contains a point of . In sum, the following are all equivalent ways of saying that a set is dense in :
- A set is said to be dense in a metric space if every point of is a limit point of or in (or both).
- .
- Any open set of contains a point in .
To give some intuition as to what this might mean for other metric spaces, you might want to know, for example, if I have a bunch of functions, can I approximate it by sines and cosines, or sums of sines and cosines. That's what Fourier analysis is all about. That is, in some sense, asking the question of whether or not a certain subset of functions is dense in a whole space of functions. Is the set of all polynomial functions dense in the set of all continuous functions? Is the set of linear combinations of sines and cosines dense in a set of periodic functions? That's really what we're saying.