Mathwords logoMathwords

Nowhere Dense — Definition, Formula & Example

Nowhere dense is a property of a set that stays thin even after you add all of its limit points. Its closure never fills any open region, however small.

Let XX be a topological space. A subset A⊆XA \subseteq X is nowhere dense if the interior of its closure is empty, int⁡(A‾)=∅\operatorname{int}(\overline{A}) = \varnothing. An equivalent condition is that every nonempty open set U⊆XU \subseteq X contains a nonempty open set VV with V∩A=∅V \cap A = \varnothing.

Key Formula

int⁡(A‾)=∅\operatorname{int}\big(\overline{A}\big) = \varnothing
Where:
  • AA = The subset of the space X being tested
  • A‾\overline{A} = The closure of A: A together with all of its limit points
  • int⁡\operatorname{int} = The interior: the union of all open sets contained in the given set

Worked Example

Problem: In R\mathbb{R} with the standard topology, decide which of these sets is nowhere dense: A=ZA = \mathbb{Z}, the integers, and B=Q∩(0,1)B = \mathbb{Q} \cap (0, 1), the rational numbers strictly between 00 and 11.
Step 1: Find the closure of AA. The complement of Z\mathbb{Z} is a union of open intervals, so it is open. That makes Z\mathbb{Z} closed, and it equals its own closure.
R∖Z=⋃n∈Z(n,n+1),Z‾=Z\mathbb{R} \setminus \mathbb{Z} = \bigcup_{n \in \mathbb{Z}} (n, n+1), \qquad \overline{\mathbb{Z}} = \mathbb{Z}
Step 2: Check the interior of A‾=Z\overline{A} = \mathbb{Z}. Every open interval contains non-integers. For example, any interval around 33, such as (2.9,3.1)(2.9, 3.1), contains 3.053.05, which is not an integer. So no open interval fits inside Z\mathbb{Z}, and the interior is empty. AA is nowhere dense.
3.05∈(2.9,3.1),3.05∉Z  ⟹  int⁡(Z)=∅3.05 \in (2.9, 3.1), \quad 3.05 \notin \mathbb{Z} \implies \operatorname{int}(\mathbb{Z}) = \varnothing
Step 3: Now test BB. On its own, BB has empty interior, because every interval contains irrational numbers. But every point of [0,1][0, 1] is a limit of rationals in (0,1)(0, 1), so the closure is [0,1][0, 1]. Its interior (0,1)(0, 1) is nonempty, so BB is not nowhere dense.
B‾=[0,1],int⁡(B‾)=(0,1)≠∅\overline{B} = [0, 1], \qquad \operatorname{int}\big(\overline{B}\big) = (0, 1) \neq \varnothing
Answer: Z\mathbb{Z} is nowhere dense in R\mathbb{R}. Q∩(0,1)\mathbb{Q} \cap (0, 1) is not, because its closure [0,1][0, 1] contains the open interval (0,1)(0, 1).

Why It Matters

Nowhere dense sets are the building blocks of the Baire category theorem: a nonempty complete metric space is never a countable union of nowhere dense sets. In a real analysis course, this theorem shows that R\mathbb{R} is uncountable, since each single point is nowhere dense. It also proves that continuous functions which are differentiable nowhere exist, and that they are in fact typical.

Common Mistakes

Mistake: Checking only whether the set itself has empty interior, and skipping the closure.
Correction: Empty interior is weaker than nowhere dense. The set Q∩(0,1)\mathbb{Q} \cap (0, 1) in the example contains no open interval, yet its closure [0,1][0, 1] does. Always take the closure first, then test its interior. For closed sets the two tests agree.

Related Terms

  • Closed Set — The closure in the definition is always a closed set
  • Topology — Supplies the open sets that define interior and closure
  • Hausdorff Dimension — Measures size of nowhere dense fractals like the Cantor set
  • T1 Space — Points are closed, so non-isolated points are nowhere dense
  • Open Set — Closure of a nowhere dense set contains no open set