14

I've been trying to wrap my head around the concept of compactness and get an intuitive understand of what it is. The definition used in my text book is the finite subcover definition.

A subset $K$ of a metric space $X$ is said to be compact if every open cover of $K$ contains a finite subcover. More explicitly, the requirement is that if {$G_{\alpha}$} is an open cover of $K$, then there are finitely many indices $\alpha_1,...,\alpha_n$ such that $$K\subset G_{\alpha_{1}}\cup\, ...\cup \, G_{\alpha_{n}}.$$

This definition is not very accessible to me so I've been looking around trying to find something to help me understand it.

So far, I haven't really wrapped my head around the idea yet, but I have learned the following:

  1. Compactness is a kind of limited-ness.

  2. Compactness is one of the two properties of finiteness, the other being discreteness. (I saw this in the explanation about foos, the creatures that are red and short, and the word foo has come to mean something both red and short.)

  3. In $R^k$, compactness is equivalent to being closed and bound.

So I guess my question is, what is it about compactness that led mathematicians to call it "compact"? What exactly is compact about it? What does this have to do with the definition (that is, where does the definition come from)? Furthermore, what does it mean to be discrete? I think it would help if you could give me an example of metric spaces that are:

  1. Compact and discrete

  2. Compact but not discrete

  3. Discrete but not compact

  4. Neither discrete or compact

I've already read this question: What should be the intuition when working with compactness?

The answers on this post explain very well why it is difficult to understand compactness, but I was hoping for something more concrete to help me understand.

Zachary F
  • 1,894
  • 3
    Related - perhaps dup? http://math.stackexchange.com/questions/371928/what-should-be-the-intuition-when-working-with-compactness – leonbloy Sep 02 '15 at 15:39
  • I've read those and have asked these questions to fill in the gaps I feel those answers left. – Zachary F Sep 02 '15 at 15:40
  • 2
    "Compact is as close to finite as you can get" – Hagen von Eitzen Sep 02 '15 at 15:40
  • 6
    "I've read those and have asked these questions to fill in the gaps I feel those answers left." Then you should make those gaps explicit in your post, as well as link to the question. You should make it clear why you question is different from previous similar questions. – Mike Pierce Sep 02 '15 at 15:42
  • I found this video lecture very helpful as a supplement to my undergrad real analysis course in giving me a visual sense of compact sets. – user170231 Sep 02 '15 at 16:12
  • In a metric space, a space is compact if every sequence has a convergent subsequence, I believe. – Akiva Weinberger Sep 02 '15 at 17:46
  • Which of the examples you asked for do you already know? It seems to me you have discussed at least two of them in your Question. – hardmath Sep 02 '15 at 20:24
  • 1
    http://math.stackexchange.com/questions/1165263/what-does-compactness-actually-mean/1165378 my own closed duplicate of this – Alec Teal Sep 02 '15 at 21:05

7 Answers7

8

Consider the following as subspaces of $\mathbb R$

  1. $\{0,1\}$ or in fact any finite set is compact and discrete
  2. $[0,1]$ is compact but not discrete.
  3. $\mathbb Z$ and $\left\{\frac1n:n\in\mathbb N\,\right\}$ are discrete but not compact. (But $\left\{\frac1n:n\in\mathbb N\,\right\}\cup\{0\}$ is compact and not discrete)
  4. $(0,1)$ and $\mathbb Q$ are neither discrete nor compact.
Stefan Hamcke
  • 27,733
4

Your examples:

  1. The discrete metric space on a finite set is compact.
  2. Closed bounded sets in $\mathbb{R}^n$ are compact.
  3. The discrete metric space on an infinite set is not compact.
  4. Many examples in $\mathbb{R}^n$ are available here, but open balls are probably the most easily visualized.

If your goal is to study metric spaces rather than topological spaces, then I suggest you consider the following three statements. The first two are definitions. The third is usually called a theorem (since "compact" is usually already defined to mean "sequentially compact" or "topologically compact").

  1. A metric space $X$ is complete if and only if every Cauchy sequence in $X$ converges to a point in $X$.

  2. A metric space $X$ is totally bounded if and only if for every $\epsilon > 0$ there exist balls $B_1,\dots,B_n$ centered at $x_1,\dots,x_n \in X$ and with radius at most $\epsilon$, such that $B_1,\dots,B_n$ cover $X$. We call such a collection of balls a $\epsilon$-net for $X$.

  3. A metric space $X$ is compact if and only if it is complete and totally bounded.

This formulation is easier to intuit, in my opinion. The completeness says you can't "escape" $X$ along a sequence which is otherwise "trying" to converge. For example, $[0,2] \cap \mathbb{Q}$ is not compact because we can "escape" it along a sequence converging to $\sqrt{2}$.

You can think of total boundedness as kind of a combination of boundedness and "manageability". Here are three ways to view this "manageability", in increasing order of rigor:

  1. There are only finitely many "independent directions" in which one can go in the set. (In the context of normed linear spaces, the Riesz lemma makes this statement precise.)
  2. Although an "interesting" compact metric space is not finite, if we reduce our resolution so we can only distinguish points which are more than $\epsilon$ apart, then it becomes finite (because the balls, to our low-resolution eyes, are now points).
  3. By the pigeonhole principle, if you have a sequence in $X$ and a $\epsilon$-net, then infinitely many terms of the sequence must be in one of the balls in the $\epsilon$-net. Thus by taking $\epsilon=1,1/2,1/3,\dots$ and diagonalizing, we find that every sequence has a Cauchy subsequence. If we have completeness then this sequence must in fact be convergent.
Ian
  • 101,645
  • So the idea I'm getting from your post is that compactness means that, if elements of a set are stepping stones, then no path inside the set can leave the set without going through a limit point, and the distance between any two steps is only so far. Is that it? – Zachary F Sep 02 '15 at 16:42
  • @ZacharyF Not really. I think the second of the last three perspectives may help you get a better picture. The "for all $\epsilon$" part of the story is quite important, though. – Ian Sep 02 '15 at 17:01
  • There can be infinitely many independent directions in a compact space. Take the closed unit ball of the dual of an infinite-dimensional normed space, and endow it with the weak$^\ast$ topology. – Daniel Fischer Sep 02 '15 at 18:20
  • @DanielFischer That statement was about total boundedness, not compactness. – Ian Sep 02 '15 at 18:22
  • Ah, forgot about the "metric" bit, sorry. Still, we have compact metric spaces with infinitely many independent directions, take a Hilbert cube for example. So I have reservations about that point. – Daniel Fischer Sep 02 '15 at 18:27
  • @DanielFischer They are independent in the underlying vector space but the very "high index" ones are "very restricted", so my point holds in a sort of "moral" sense. More precisely, we can only go any fixed distance along a finite number of independent directions. – Ian Sep 02 '15 at 18:31
2

Here is one way I like to think of it:

Suppose you're trying to cover an infinite compact set, and you really want to give it an infinite cover that doesn't have a finite subcover. So you get a collection of infinite sets that looks like it nearly covers everything - maybe you've left behind a countable subset of an uncountable set or something. You must only have a little bit left to do, right? Well compactness say that 'little bit' does almost all the work - in the sense that once you add the little bit to your pseudo-cover, you can throw away almost all the work you had done before!

Let me explain with an example. Consider $(0,1)$. Then the collection $\{(\frac{1}{n+1},\frac{1}{n}),n \in \mathbb{N}\}$ almost covers $(0,1)$, but you're missing the endpoints! Can we fix it without allowing a finite subcover? Sure! You can add in tiny, mutually disjoint open intervals that enclose the endpoints and you certainly can't have a finite subcover since every set contains a point no other set contains (it's messy to write it down, but intervals that connect the midpoints of the intervals you've already used should do).

Now consider $[0,1]$. Surely it would be absurd to suggest we can't do a similar trick?! Well, we can't, because it's compact. There's no way that even the cleverest person in the world could give you a really weird infinite covering of open sets that would not allow a finite subcover.

Worse still, we can add $0$ or $1$ independently and still be clever. You need to add both of them to fool everyone.

2

I will try my best to motivate that definition.

Let's say $y$ is "close" to $x$ if the distance between $x$ and $y$ is less than $1$. Now, we know that — with this definition of "close" — everything in $\Bbb R$ is "close" to something in $\Bbb Z=\{\dots,-2,-1,0,1,2,\dots\}$. Also, it's quite easy to see that we can't replace $\Bbb Z$ with a finite set. With this definition of "close," $\Bbb R$ is not "close" to any finite set.

What about $(0,1)$? Well, with this definition of "close," everything is close to $\frac12$. However, what if we change our definition of close? We can make the definition of "close to $x$" depend on $x$. For example, let's say that $y$ is "close" to $x$ if $y\in(\frac x2,1)$. (This isn't a symmetric relation anymore, sorry.) Now, can we say that everything in $(0,1)$ is "close" to some finite set? It's not hard to show that, now, no finite set works. We can see that everything in $(0,1)$ is close to something in $\{\frac12,\frac14,\frac18,\dots\}$, but we can't say it's "close" to some finite set.

So there's more than one possible definition of "close." Can anything be a definition of "close"? No, that would be too boring. One thing we know should be true about the definition of "close": the set of things "close" to $x$ should be some open set containing $x$. (I don't want the set of points "close" to $0$ to be $[0,1)$, for example, since this means that not a single negative number is "close" to $0$.) I don't care about anything else; as long as it satisfies this, it's a plausible definition of "close" to me.

And $[0,1]$? This is harder to prove, but it turns out that no matter what definition of "close" you think of, I can find a finite set $A$ such that everything in $[0,1]$ is "close" to it. Which leads us to:

A space $X$ is called compact if, for every definition of "close" you can think of (in the sense above), there is a finite set $A$ such that everything in the space is close to something in $A$.

This ends us being a useful definition, because now, instead of studying the whole (potentially infinite) space $X$, we usually only really need to pay attention to a finite subset. However, in this formulation, it's not too useful. It doesn't look formal enough, honestly.

How can we make this more formal? Well, let a definition of "close" be agreed on, and let $O_x$ be the set of points "close" to $x$. Clearly, $\{O_x:x\in X\}$ covers $X$ (since every point $a$ is covered by $O_a$). If the space was compact, the definition above says there'd be a finite set $A$ such that $\{O_x:x\in A\}$ covered $X$. That is, there would be a finite subcover. If the space wasn't compact, there'd be a definition of "close" that doesn't work — and hence a cover $\{O_x:x\in X\}$ with no finite subcover.

All this leads to our equivalent definition:

A space $X$ is compact if every open cover has a finite subcover.

1

Theorem. (Heine-Borel.) A metric space is compact iff it is complete and totally bounded.

So you can think of compactness as a strengthening of completeness in which a certain smallness condition (namely, total boundedness) is added to the mix. Okay, so why bother with this weird mix of completeness and smallness? The nice thing about compactness is that its a topological property.

goblin GONE
  • 67,744
0

A compact set is "the next best thing" to a finite set. Almost all statements about finite sets are true of compact set- they are closed, bounded, etc.

user247327
  • 18,710
  • 1
    Compact sets are not typically discrete, though. For example. Taking this metaphor very far is going to get you into trouble. – Richard Rast Sep 02 '15 at 17:17
  • 1
    I'm going to upvote, because once you see the link between compactness and finite-ness you cannot go back! – ToolPurger Sep 02 '15 at 21:13
0

From what I remember taking Analysis, compactness is a generalization of a closed interval $[a, b] \subset \mathbb{R}$ under the standard Euclidean metric to general metric spaces with general metrics.

A closed interval on $\mathbb{R}$ is a closed set that's "small" in some sense. Think about comparing $[a,b]$ to $(a,b)$ under the Euclidean metric; $(a,b)$ is homeomorphic to $\mathbb{R}$, which is mostly easy to see; in some sense, these sets are topologically "large" because the boundaries are "infinitely far away" from their boundaries.

However, $[a,b]$ is not homeomophic to $\mathbb{R}$ without adding some end-points of $\pm\infty$. Because $[a,b]$ contains its boundaries, elements are "close" to their boundaries, and the set is "small".