A complete metric space cannot be a countable union of nowhere dense sets — that is the Baire Category Theorem. Dodging the rationals of [0,1] one by one with nested closed intervals Ik leaves a single irrational point in the intersection, whose lengths shrink to 0.
Prove the Baire Category Theorem: a complete metric space X cannot be written as a countable union X=⋃n=1∞En of nowhere dense sets. In other words, a complete metric space is not meagre (first-category) in itself.
X=n=1⋃∞En,int(En)=∅∀n
B(xk+1,rk+1)⊆B(xk,rk)∖Ek+1,0<rk+1<rk/2
stage 6: I6=[0.75,0.8125], survivor x≈0.78125 — dodged q1=0, q2=1 inside the interval; the rest already lay outside. These nested closed intervals are the proof's nested closed balls B(xk,rk).Show proof
Since E1 is nowhere dense, int(E1)=∅, so U1=X∖E1 is a nonempty open set. Pick x1∈U1; some ρ>0 has B(x1,ρ)⊆U1, and with r1=min(ρ/2,1/2) the closed ball B(x1,r1)⊆U1 with r1<1.
Inductively, suppose B(xk,rk) is chosen. Then V=B(xk,rk)∖Ek+1 is a nonempty open set: B(xk,rk) is nonempty open, and B(xk,rk)⊆Ek+1 would give B(xk,rk)⊆int(Ek+1)=∅, a contradiction. Pick xk+1∈V and shrink the radius below rk/2 so the closed ball fits in V: B(xk+1,rk+1)⊆B(xk,rk)∖Ek+1 with 0<rk+1<rk/2.
The sequence (xk) is Cauchy: for m>k, xm∈B(xk+1,rk+1)⊆B(xk,rk), so d(xk,xm)<rk, and rk<2−(k−1)r1→0. Completeness of X gives a limit xk→x∈X.
For fixed k, the tail (xm)m≥k lies in the closed set B(xk,rk), so the limit x∈B(xk,rk). Hence x∈⋂kB(xk,rk) for all k; with x∈B(x1,r1)⊆X∖E1 and, for j≥2, x∈B(xj,rj)⊆B(xj−1,rj−1)∖Ej, we get x∈/Ej for every j.
But x∈X=⋃jEj, so x∈Ej for some j — a contradiction. Hence a complete metric space cannot be a countable union of nowhere dense sets. The intuition: each nowhere dense set leaves a "hole", and completeness traps the limit point obtained by descending through those holes inside the space.
Use the model's nested intervals to prove an irrational exists in [0,1]: enumerate the rationals of [0,1] as q1,q2,… and at each stage take a closed interval Ik dodging qk whenever it lands inside. Show the lengths ℓk=bk−ak→0 (using density of the rationals), and that the point x with ⋂kIk={x} differs from every qk.
qk∈Ik−1⟹ℓk=ℓk−1/4,qk∈/Ik
ℓk→0,k=1⋂∞Ik={x},x=qk∀k
stage 14: I14=[0.80859375,0.8125] (length 1/256), survivor x≈0.810546875 — dodged q1=0, q2=1, q7=3/4, q11=4/5 inside the interval; x differs from all 14 rationals listed.Show proof
By construction each Ik is a closed interval with Ik+1⊆Ik; when qk lands in Ik−1 we take Ik of one-quarter the length with qk∈/Ik (if qk already lies outside, Ik=Ik−1).
The lengths tend to 0. Suppose no more "hits" occur after stage K; then In=IK for all n≥K and the length stays positive. But IK has positive length, so it contains infinitely many rationals, each appearing exactly once in the enumeration — hence some qm∈IK has index m>K. Then Im−1=IK∋qm, so stage m is a hit — a contradiction. Hits therefore occur infinitely often, and each one quarters the length, so ℓk→0.
By completeness of R (the nested interval theorem), nested closed intervals whose lengths tend to 0 intersect in exactly one point: ⋂kIk={x}. And since x∈Ik while qk∈/Ik, we have x=qk for every k.
Since {qk} enumerates every rational of [0,1], x is an irrational in [0,1]. Hence [0,1]=⋃k{qk} — a countable union of points — is impossible, and [0,1] is uncountable. This is the point-set version of Baire's theorem: a singleton is nowhere dense in R, so [0,1], being complete, cannot be a countable union of points without contradicting Baire.
[Idea-level sketch — not a complete proof] C[0,1] with the sup norm ∥f∥∞ is a complete metric space. For m≥1 let Fm={f:∃x∀y∣f(x)−f(y)∣≤m∣x−y∣}. Using that each Fm is closed nowhere dense (sketch), explain the idea that "nowhere-differentiable functions are typical" — i.e. comeager. The closed/nowhere-dense verifications below are sketched, not fully proved here.
Fm={f∈C[0,1]:∃x∀y∣f(x)−f(y)∣≤m∣x−y∣}
differentiable somewhere⊆m=1⋃∞Fm(meagre)
stage 10: I10=[0.796875,0.8125], survivor x≈0.8046875 — three shrinkings dodged q1, q2, q7 inside. The same nested-ball idea, applied in C[0,1], makes nowhere-differentiable functions typical.Show proof
[Sketch] Fm is closed. If fj∈Fm with fj→f uniformly, witnessed by xj — i.e. ∣fj(xj)−fj(y)∣≤m∣xj−y∣ — pass to a convergent subsequence xj′→x (Bolzano–Weierstrass); the estimate survives the limit as ∣f(x)−f(y)∣≤m∣x−y∣, so f∈Fm.
[Sketch] Fm is nowhere dense. Given f∈Fm and ε>0, first approximate f within ε/2 by a piecewise-linear p (uniform continuity), then superimpose a fine zigzag of amplitude <ε/2 whose slopes exceed those of p by more than m. At every candidate point x, a nearby tooth of the zigzag breaks the m-Lipschitz bound, so the perturbed g∈/Fm while ∥g−f∥∞<ε. Being closed, Fm has empty interior.
A function differentiable at even one point lies in ⋃mFm. If f′(x0) exists, then ∣f(y)−f(x0)∣≤m1∣y−x0∣ for ∣y−x0∣<δ (take m1≥∣f′(x0)∣+1), while for far points ∣y−x0∣≥δ boundedness gives ∣f(y)−f(x0)∣≤2∥f∥∞≤δ2∥f∥∞∣y−x0∣. With an integer m≥max(m1,2∥f∥∞/δ) we get ∣f(y)−f(x0)∣≤m∣y−x0∣ for all y — i.e. f∈Fm.
Hence "functions differentiable somewhere" ⊆⋃m=1∞Fm is a countable union of nowhere dense sets — meagre. Its complement, the nowhere-differentiable functions, is comeager, and by Baire (problem 1) it is not just nonempty but dense. To stress again: the closed/nowhere-dense verifications above are idea-level sketches, not complete proofs.