🧮 Brain Teaser

The Measurable Set That Fills Every Interval

Let E[0,1]E \subseteq [0,1] be a Lebesgue measurable set such that for every open interval (a,b)[0,1](a,b) \subseteq [0,1],

0<m(E(a,b))<ba.0 < m(E \cap (a,b)) < b - a.

Must EE exist? If so, construct one. And here is the conceptual punch: show that no such EE can be open or closed.

Lebesgue measurefat Cantor setnowhere denseBaire categorymeasurability

Answer: The Measurable Set That Fills Every Interval

Key Idea / Intuition

The condition says EE is "fat" everywhere — it meets every interval in positive measure — yet its complement is also "fat" everywhere. This rules out open and closed sets immediately: a nonempty open set contains an interval entirely, and a closed set of full measure in some interval would have to contain that interval (by regularity). The construction uses a fat Cantor set as a building block, sprinkled densely via a countable union.


Existence and Construction

Step 1: Fat Cantor sets.

Recall that for any ε(0,1)\varepsilon \in (0,1), one can construct a Cantor-like (fat Cantor) set C[0,1]C \subseteq [0,1] that is closed, nowhere dense (contains no interval), yet has measure m(C)=1εm(C) = 1 - \varepsilon. Its complement is open and dense.

Step 2: The construction of EE.

Let {(an,bn)}n1\{(a_n, b_n)\}_{n \geq 1} be an enumeration of all open intervals with rational endpoints in [0,1][0,1].

Inside each interval (an,bn)(a_n, b_n), place a fat Cantor set Cn(an,bn)C_n \subseteq (a_n, b_n) with

m(Cn)=12(bnan).m(C_n) = \tfrac{1}{2}(b_n - a_n).

Define

E=n=1Cn.E = \bigcup_{n=1}^\infty C_n.

Step 3: Verify the condition.

For any open interval (a,b)[0,1](a,b) \subseteq [0,1], it contains some rational-endpoint interval (an,bn)(a_n, b_n), so

m(E(a,b))m(Cn)=12(bnan)>0.m(E \cap (a,b)) \geq m(C_n) = \tfrac{1}{2}(b_n - a_n) > 0.

Thus m(E(a,b))>0m(E \cap (a,b)) > 0. ✓

Now we need m(E(a,b))<bam(E \cap (a,b)) < b - a, i.e., m(Ec(a,b))>0m(E^c \cap (a,b)) > 0. Apply the same argument to EcE^c: since each CnC_n is nowhere dense, E=nCnE = \bigcup_n C_n is a countable union of nowhere dense sets, hence meager (first category). By the Baire category theorem applied to [0,1][0,1], EE cannot be all of (a,b)(a,b).

Actually, let us give a direct measure argument. Inside (an,bn)(a_n, b_n), the complement Cnc(an,bn)C_n^c \cap (a_n, b_n) has measure 12(bnan)\frac{1}{2}(b_n - a_n). More carefully: construct EE so that also EcE^c hits every interval positively. Apply the same rational-interval enumeration to construct F=nDnF = \bigcup_n D_n where Dn(an,bn)D_n \subseteq (a_n,b_n) is another fat Cantor set disjoint from CnC_n with m(Dn)=14(bnan)m(D_n) = \frac{1}{4}(b_n - a_n). Then ECnE \supseteq \bigcup C_n and EcDnE^c \supseteq \bigcup D_n, so both hit every interval positively.

Step 4: EE cannot be open.

If EE were open and nonempty, it would contain some interval (c,d)(c,d), giving m(E(c,d))=dcm(E \cap (c,d)) = d - c, violating the upper bound.

Step 5: EE cannot be closed.

If EE were closed, then EcE^c is open. If EcE^c is nonempty (which it must be, since EcE^c hits every interval), EcE^c contains an interval (c,d)(c,d), giving m(E(c,d))=0m(E \cap (c,d)) = 0, violating the lower bound.


The Conceptual Punch

Such a set EE is sometimes called a Bernstein-like or density-nowhere-extreme set. It cannot be Borel in any "simple" sense: its indicator function 1E\mathbf{1}_E has the property that for every x[0,1]x \in [0,1],

the density of E at x is neither 0 nor 1,\text{the density of } E \text{ at } x \text{ is neither } 0 \text{ nor } 1,

i.e., xx is never a Lebesgue density point of EE or of EcE^c in a strong uniform sense. This is an existence that lives firmly in the measurable-but-not-nice world, unreachable by topological simplicity.


Written to: questions/2026-08-16_pm.md and answers/2026-08-16_pm.md

Type: analysisEdit on GitHub ↗