## Two Turtles Playing with a Hammer: A Game.

### January 16, 2012

While I’m finishing up the Baire Category post, let’s have a little fun. Here’s a game I like to play when I’m in my office hours and have literally nothing else to do. I call it, “**Two Turtles Playing With A Hammer.” **

The game is simple.

- Pick a number (or, have a friend pick one for you!). It’s more fun if you pick a number that’s a well-known irrational or transcendental number. Let’s call this number .
- Pick a natural number (for example, 4 or 12). Usually, 2, 3, 4, or 6 give the nicest looking results. Let’s call your number .
- The point of the game is to approximate using a sequence that looks like this:

where all the ’s are natural numbers. If this is not possible to do, you lose. Else, you win! [Of course, you can feel free to make your own game where this is an alternating sequence.]

**An example. **Let’s just do one that I played around with a bit:

.

Of course, the game is rather pointless, but you can say to your friends, “Look at this! This crazy sum of stuff is pretty dang close to .” They’ll be impressed.

[**Note:** It may be a good (undergraduate-level) exercise to think about the following: given that we only add terms, and given that the denominators must be elements of the naturals, then (given some ) what numbers can we make from these sequences? What if we also set one of the ’s in the assumption (for example, making )?]

**Edited: **I fixed the note above. Another good undergraduate-level question is: what if we allow only one term to be subtracted; can we make any real number? If they’re particularly good at programming, you could ask them to write a program that approximates any number to some number of places with such a sequence (either from the game or using a single subtracted term).

## Baire Category Theorem.

### January 5, 2012

During one of my previous qualifying exams, one of the questions looked, at first, to be a basic Fourier Analysis question. The hint, though, was to *use the Baire Category Theorem*. The problem and hint looked so unrelated that the phrase has become somewhat of a running joke for some of us in the department (“*How are we going to prove this is a cofibration?” “Oh, easy, just use the Baire Category theorem.”*).

The more I read about it, the more I realized that the Baire Category theorem pops up much more than I realized and in a number of surprising and diverse topics. This post is just to introduce you to the BCT and to show off some of its raw power. One of the results below is one that I *genuinely don’t believe —* that is, I know it has to be true (it was proved!) but it just seems *so outrageous *that I can’t being myself to believe it! But, we’ll get to that.

# Leading up to the Theorem.

There are a few different formulations of the theorem, so I’ll pick the one that turns out to be most common in what I’ve read. First, let’s quickly define some terms.

**Definition. **A *complete metric space* is a metric space where each Cauchy sequence converges to a point in the space.

For example, is complete, but is not complete since in the latter space we can take a sequence like: 1, 1.4, 1.41, 1.414, … which are all rational numbers that converge to , but isn’t in the rational numbers.

**Definition. **A subset of a space is *dense *if the closure of the subset is the entire space.

For example, is dense in since the closure of is . The irrationals are also dense in . The integers, , are **not **dense in because the closure of the integers in is just (why?).

**Q: ***What are the dense subsets of a non-empty discrete space? Does this make sense “visually”?*

**Definition. **The *interior *of a subset is the largest open set contained in . In metric spaces, it’s the union of all the balls contained in .

The next definition might be a little strange if you haven’t seen it before and, in fact, there are two nice (equivalent) ways of thinking about this concept. I’ll list both.

**Definition. **A set is *nowhere dense* in some space if either (and hence both):

- The interior of the closure of in has empty interior.
- ; that is, the closure of the compliment of is dense in .

This last definition might seem a bit strange to you, but the “image” of this is the following: a nowhere dense set is literally a set which is not dense anywhere — but what does that mean? Density isn’t usually considered a local property. How do we usually check density, though? We take the closure of the set and if it’s the whole space then we say the set is dense. If we wanted to make this more “local”, what we could say is that we don’t get any neighborhoods of the whole space. This is the same as saying the closure of our subset *has no open neighborhoods inside of it* or that it has empty interior. This givers us the first definition. The second is a direct consequence which is sometimes more useful to think about depending on your original subset.

**Example.** We have with the standard topology. Is nowhere dense in ? Note that and this has empty interior. By the first definition, must be nowhere dense in . If we wanted to use the second definition, we could say that the compliment of in is just everything but the integers; but the closure of this is which means the compliment of is dense in giving us the same conclusion. This is not surprising, since the elements of are “pretty far apart” in .

**Example. **Our favorite limit-point example, is a subset of . Is it nowhere dense? Using the first definition, the closure is just which has empty interior (why?). With the second definition, the compliment of has closure equal to and so it is dense. In either case, this proves that is nowhere dense in the reals.

**Example. **The ball . The closure of this set is which has interior equal to . Therefore, this set is not nowhere dense. That’s a bit sad. But you can see that this set really is “somewhere dense” visually.

**Example. **The Cantor set is closed (there are a number of cute ways to prove this) so to show it is nowhere dense in it suffices to show that it has empty interior by the first definition. Prove it!

You may have been surprised with the last example, or even the example. For the latter one, it seems like the points are really “getting close” to 0, so maybe some density should occur; it’s not the case, though! For the Cantor set, many points in this set can be “very close” to one-another so it is a bit surprising that this set is not dense anywhere. If one goes through the construction slowly, you’ll see why the points are “just far enough apart” to reasonably be considered (that is, intuitively considered) nowhere dense.

# The Theorem.

Why would we ever care about nowhere dense sets? Well, they’re kind of crappy in the following sense: even if we unioned a countable number of nowhere dense subsets together, we could never recover the original set. An analogy from anthropology would go like this: we might be able to find tons of copies of some ancient book, but if each of them are missing a whole lot (nowhere dense) then even combining them all together we can’t recover the original manuscript.

Oh. And why do jigsaw puzzle makers make each of the puzzle pieces look like that?

Because if they made them nowhere dense, we would never be able to finish the puzzle. Buh-dum-tsh.

**Theorem (Baire Category Theorem). **A non-empty complete metric space is not the countable union of nowhere dense sets.

This shouldn’t be too scary to you at this point. Let’s do some immediate consequence examples.

**Example. **Do you think we could union a countable number of things that look like together and get something like the real numbers? That is, maybe we could take

and so on, and union them all together to make .

Nope. The BCT says to not even try. Each of these translates of is nowhere dense, so a countable union of them would not get you .

**Non-Example. **What if we did the same thing as above, but we wanted to union them all together to get , the rationals. What would Baire say about that? Probably, “Don’t use my theorem with this, because isn’t a complete metric space.”

**Non-Example. **What if we tried the same thing with the translates above as subsets of , but we union them all and then union that with the irrational numbers. In this case, too, we can’t use Baire, because the irrational numbers are actually dense in the reals; the BCT doesn’t say anything about unions with dense subsets.

**Example. **What if we have a complete metric space with no isolated points? Can it be countable?

(Recall, an isolated point is one which has a neighborhood not containing any other point of the space. For example, if we took in the subspace topology of the reals, then is an isolated point of this subspace since it, itself, is open and it contains no other point of the subspace.)

In this case, we can cleverly use the BCT to show that every complete metric space with no isolated points is uncountable. Suppose it were countable. Then every point of the space is nowhere dense (! Why is this the case? What is the closure of a point? What is its interior? Does this argument show why we cannot have isolated points?). But since our space is countable, it is the countable union of its points, each of which is nowhere dense. Baire would have a real problem with that. This contradicts BCT, so such a space must be uncountable.

# Why is it called the “Category” theorem?

This “category” isn’t the same category as in category theory. The term comes from the original language that the theorem was stated in. It’s a bit ugly, so I’ve yet to mention it, but I might as well spell it out for you now:

- We call a set
**of****First Category**if it can be written as a countable union of nowhere dense sets. This is also called a*meagre*set. (Amusingly, the meagre is also the name of a fish.) Sometimes this is Americanized (that is, bastardized) and pronounced as “meager set” which would mean something like, “thin set” or “set having little substance” which is, intuitively, what this set should “look” like. - We call a set
**of Second Category**if it is not of first category.

We also have what’s called a **Baire Space**, which is just a space where every non-empty open set is of second category. This means, intuitively, that an open set needs to have some “density” to it. The original Baire Category theorem stated that every complete metric space is a Baire Space. This is “almost” equivalent to what we have above; see below.

# Other Formulations of the BCT.

There are three distinct formulations of the BCT that are generally given (the texts I have in my office give at most two, but the third is a consequence of the first so this is perhaps why). Right above this, we give one of them.

**BCT (1). **Every complete metric space is a Baire space; that is, every open subset in a complete metric space is not the countable union of nowhere dense sets.

**BCT (3). **Every complete metric space is not the union of nowhere dense sets.

I list these together because it’s clear that the third is a consequence of the first. (These numbers are because the second BCT is actually called “the second BCT” in a few places.)

**BCT (2). **Every locally compact Hausdorff space is a Baire space. Recall that locally compact means that every point of our space has a compact neighborhood.

Note that it’s not the case that the first BCT implies the second, and it’s not the case that the second implies the first. It would be nice if there were some meta-BCT that implied both of them, but when we write down exactly what we need for something to be a Baire space, we’re left with a couple of choices; if you’re interested in this, you should check out the proofs for both of these theorems and see where we’re using locally compact verses where we’re using complete.

# A Surprising Result.

One of the coolest results I’ve seen using the BCT (and, indeed, one of the coolest results I’ve seen perhaps in general) is the following.

Maybe, first, it’s nice to ask the following question (that you can even ask to your friends!): what’s your idea of a “general” continuous function? That is, just think of the most generic continuous function you can. Visualize it. Maybe draw it. What do you have? Probably some sort of polynomial. (When I do this, I actually draw fifth degree polynomials most of the time.) Is this really so generic?

First, let’s just define exactly what we mean by “generic.”

**Definition. **If is a subset of some space , the compliment of is nowhere dense, and all points in share some property, then we call this property *generic *of .

This should be reasonable: something genertic should be representative of the whole. That is, if something is not generic, then it should not happen very often; in our language, the set of non-generic things should be nowhere dense.

**Theorem (Banach, Mazurkiewicz, 1931). **The generic (in the sense of the above definition) continuous function on a compact interval (that is, )) is nowhere differentiable, and not monotone on any subinterval of .

Just think about that for a second. Let it sink in. Nowhere differentiable is strange enough; we can (and will) use the BCT to talk about a nowhere differentiable function. But, what’s more, it’s not monotone on *any subinterval, no matter how small*. And, yes, this function is generic. What.

As a note, somewhat strangely, because of the above definition of “generic” it is entirely possible to have two different kinds of “generic” things representing some space. The definition doesn’t say anything about the generic property being unique and, in general, it isn’t.

# BCT in Functional Analysis.

to do.

Whenever I talk to students who have had basic point-set topology, I’m not surprised if they haven’t seen the BCT; it’s near the end of the point-set part of Munkres, and one natural stopping point for a semester-long point-set class is Urysohn’s lemma which is done before BCT. I don’t remember learning the BCT in point-set when I took it and it wasn’t until Functional Analysis that I had to study it again. This is a shame for a few reasons, but I wanted to point out just two.

**This theorem is able to be proved (or at least stated) after complete metric spaces are defined and would take only around one lecture to do with applications.**Depending on the speed of the professor and the way one works through the book, one probably gets to metric spaces around the middle of the semester. The students have had analysis, and are, therefore, familiar with completeness (or, at worst, they’re comfortable with Cauchy sequences!) so it is not difficult to define complete metric spaces. What else would we need? Nowhere-dense sets. That’s all.**This can be a great “visual” theorem in some spaces.**One common problem point-set topology students seem to have is that they will work through definitions without developing any kind of intuition behind what something is (eg, limit points). Therefore, it’s nice to learn properties of spaces we know and love. The BCT is easily applied to the reals, the irrationals, the rationals, and the cantor set. It also is a great brain-stretching exercise to think about how “close” points can be in a nowhere dense set on the real line.

This may be a non-issue for those of you whose point-set class included this, but I wanted to point is out nonetheless. I would go as far as saying that this is “more important” to cover in a first course in point-set than the proof of Urysohn’s lemma [which is the first “deep” result in Munkres]. Of course, the proof is important, but in an introductory course I feel that proving Urysohn’s lemma for metric spaces and stating it for general spaces is a better way to go. Feel free to disagree and yell at me!

**Edit: **This rant used to be part of the BCT post I made recently, but because it’s not really mathematics and more about teaching I decided to post it on its own so I don’t have to subject everyone to reading my rants.