## 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.

Since any function that is monotone on an interval is also a.e. differentiable on that interval, it follows that every nowhere differentiable function fails to be monotone on every interval. In fact, the much weaker result “monotone on an interval implies differentiability on a nonempty subset of the interval” is enough.

I feel a bit silly now, since I even remember having proved something like this in a homework set a while back. Thank you, I’ll edit that when I update!

A typo in the first non-example after statement of the theorem. Should be “Q is not complete” instead of R.

Thank you! That was a silly typo.

Please do write on BCT in Functional Analysis! :)

I’m not sure the second definition of nowhere dense is right. The second definition says that the rationals (as a subset of the reals) would be nowhere dense, which isn’t true. The right second definition would be “Complement of Y has dense interior” And the first definition can be simplified as “closure of Y has empty interior”.

[…] Motivation: In writing a post about the Baire Category Theorem, I learned the neat fact that a “generic” $fin […]