Post · 4 min read· pp. 108–110

Baire Category & Nowhere Differentiable Functions (Part One)

The Baire Category Theorem is a powerful result that relates a metric space to its underlying topology. (And sadly no, it has nothing to do with category theory!)  Informally, the theorem says that ifyou can find a metric with respect to which your topological space is complete, then that space cannot be written as a countable union of nowhere dense sets. In other words, a metric can put a restriction on the topology. Here's the formal statement:

The Baire Category Theorem: Let XX be a complete metric space and let {On}n=1∞\{O_n\}_{n=1}^{\infty} be a collection of open, dense subsets. Then ⋂n=1∞On\bigcap_{n=1}^\infty O_n is dense in XX, that is, ⋂n=1∞On‾=X\overline{\bigcap_{n=1}^\infty O_n}=X.

"Now wait a sec," you might be thinking, "how is this equivalent to your 'informal' statement above?" I'm so glad you asked! Notice that "∩nOn\cap_nO_n is dense in XX" implies that that ∩nOn≠∅\cap_nO_n\neq \varnothing. (Otherwise we could conclude that the closure of the empty set is the whole space, which, assuming XX is nonempty, is bogus*.) By De Morgan's law, this is equivalent to saying ∪nOnc≠X\cup_nO_n^c\neq X where each OncO_n^c - being the complement of an open, dense set - is a closed and nowhere dense set. And this is precisely what our informal statement said above.

 A quick word on what it means to be nowhere dense: As you might guess, nowhere density is the exact opposite of density. If a set is nowhere dense, it exists but there's not much to it. Sort of like an atom, which is mostly empty space, or a spider web. Technically, we say a set AA is nowhere dense if the interior of its closure is empty, i.e. if

int(A‾)=∅.\text{int}({\overline{A}})=\varnothing.
Take, for instance, the set {1n:n∈N}\{\frac{1}{n}:n\in\mathbb{N}\}. This is nowhere dense in R\mathbb{R} because its closure is C={1n:n∈N}∪{0}C=\{\frac{1}{n}:n\in\mathbb{N}\}\cup\{0\} (its one and only limit point is 0) and this has empty interior. To see this, recall that xx is an interior point of a set SS if you can find an open set containing xx which lies entirely in SS. Well, CC has no interior points since any open interval (a,b)⊂R(a,b)\subset\mathbb{R} which contains 1n\frac{1}{n} for some n∈Rn\in\mathbb{R} contains (uncountably many!) irrational numbers - elements which are not members of CC. That is, there is no open interval in R\mathbb{R} which is a subset of CC. Hence CC is nowhere dense. For similar reasons, the Cantor set is also nowhere dense.

To see the Baire Category Theorem in action, we'll sketch the proof that there exists a continuous function f:[0,1]→Rf:[0,1]\to\mathbb{R} which is not differentiable on [0,1][0,1]. In fact, we'll discover that most continuous functions on [0,1][0,1] are NOT differentiable! This may be surprising since most of the continuous functions encountered in the classroom are differentiable. Baire Category tells us that those functions are the exception rather than the rule. To avoid writing an overwhelmingly long post, I'll postpone the proof until next week. In the mean time, I'll leave you with two warm-up exercises:

Warm-up #1

Prove that the irrationals are a dense subset of R\mathbb{R}.

Proof. Let {rn}n=1∞\{r_n\}_{n=1}^\infty be an enumeration of the rationals and for each nn define On=R∖{rn}O_n=\mathbb{R}\smallsetminus\{r_n\}. Then OnO_n is open (since singleton sets in a metric space are closed) and dense (since the closure of OnO_n is On∪{rn}=RO_n\cup\{r_n\}=\mathbb{R}). Then R∖Q=∩nOn\mathbb{R}\smallsetminus \mathbb{Q}=\cap_n O_n is the set of all irrationals and, by the Baire Category Theorem, this is dense.

Warm-up #2

Prove that Q\mathbb{Q} cannot be written as a countable intersection of open sets (i.e. prove Q\mathbb{Q} is not a Gδ_\delta set).

Proof. Suppose to the contrary that Q=∩nOn\mathbb{Q}=\cap_nO_n where each OnO_n is open. Since Q⊂On\mathbb{Q}\subset O_n for each nn and since Q\mathbb{Q} is dense, we know that each OnO_n is dense. Thus Q\mathbb{Q} can be written as a countable intersection of open dense sets.

 Let {rn}n=1∞\{r_n\}_{n=1}^\infty be an enumeration of the rationals. Then we can write the irrationals as R∖Q=∩nR∖{rn}\mathbb{R}\smallsetminus\mathbb{Q}=\cap_n\mathbb{R}\smallsetminus\{r_n\} which is also a countable intersection of open dense sets (for the same reason as in #1 above).

 Thus by the Baire Category Theorem, ∅=Q∩(R∖Q)\varnothing=\mathbb{Q}\cap(\mathbb{R}\smallsetminus\mathbb{Q}) is dense in R\mathbb{R}, which is a contradiction.*

Footnotes:

 *The closure of the empty set is itself. This is because it's already closed (since its complement, XX, is open).