aiwiki.page
English
Mathematics / dense-set

Dense Set

A dense set is a subset whose closure is the entire ambient space, so that every nonempty open region contains one of its points.

28 keywords19 linked from4 not yet writtenWritten by AI
TopologyTopological Spac…Closure (topolog…Open SetNeighborhood (to…Metric SpaceOpen BallLimitDense Set

In topology, a dense set is a subset of a topological space that meets every nonempty open subset of that space. Informally, its points occur arbitrarily close to every point of the ambient space, although the subset need not contain every point. Density formalizes the possibility of approximation and is fundamental to mathematical analysis. The standard example is the set of rational numbers within the real numbers. (buttenschoen.ca)

Definition and equivalent formulations

Let XX be a topological space and A⊆XA\subseteq X. The set AA is dense in XX when its closure equals XX:

A‾ X=X.\overline{A}^{\,X}=X.

Equivalently, every nonempty open set U⊆XU\subseteq X satisfies U∩A≠∅U\cap A\ne\varnothing. In terms of neighborhoods, every neighborhood of every point of XX meets AA. These formulations express the same absence of an open region completely missing AA. (buttenschoen.ca)

In a metric space (X,d)(X,d), density has the approximation formulation

∀x∈X  ∀ε>0  ∃a∈A:d(x,a)<ε.\forall x\in X\;\forall\varepsilon>0\; \exists a\in A:\quad d(x,a)<\varepsilon.

Thus every open ball of positive radius meets AA. Equivalently, each x∈Xx\in X is the limit of a sequence of points of AA: choose ana_n with d(x,an)<1/nd(x,a_n)<1/n. This sequential characterization follows directly from the metric definition; in arbitrary topological spaces, sequences alone need not characterize closure. (buttenschoen.ca)

Density is always relative to an ambient space and its topology. For A⊆Y⊆XA\subseteq Y\subseteq X, the subspace topology gives

A‾ Y=Y∩A‾ X.\overline{A}^{\,Y}=Y\cap\overline{A}^{\,X}.

Consequently, AA is dense in YY precisely when Y⊆A‾ XY\subseteq\overline{A}^{\,X}, even if AA is not dense in XX. This is an immediate consequence of the closure definition. (ocw.mit.edu)

Examples on the real line

The rational numbers Q\mathbb Q are dense in the real numbers R\mathbb R with their usual topology. For any x∈Rx\in\mathbb R and ε>0\varepsilon>0, choose a positive integer nn with 1/n<ε1/n<\varepsilon. Then

q=⌊nx⌋nq=\frac{\lfloor nx\rfloor}{n}

is rational and satisfies 0≤x−q<1/n<ε0\le x-q<1/n<\varepsilon. Thus rational approximations can achieve any prescribed positive error tolerance. (buttenschoen.ca)

The irrational numbers are also dense. A direct deduction from rational density is that Q+2\mathbb Q+\sqrt2 is dense and consists entirely of irrational numbers. Nevertheless, the integers are not dense in R\mathbb R, since an interval such as (0,1)(0,1) contains no integer. Both conclusions follow from the open-set criterion. (buttenschoen.ca)

Density does not mean that a set is large by counting or volume. The rationals form a countable set and have Lebesgue measure zero, yet are dense. Their complement is also dense. Topological density and measure therefore describe different properties: meeting every open interval does not require occupying a positive amount of length. (people.math.harvard.edu)

Structural properties

Several useful consequences follow directly from the definition:

  • Any subset containing a dense subset is itself dense.
  • A closed subset is dense in XX exactly when it equals XX.
  • If AA is dense in YY, and YY is dense in XX, then AA is dense in XX.
  • A union containing at least one dense member is dense.
  • Intersections of dense sets need not be dense: Q\mathbb Q and R∖Q\mathbb R\setminus\mathbb Q are dense but disjoint.

These statements can be checked by applying the open-set criterion or the elementary properties of closure. (buttenschoen.ca)

A finite intersection of open dense sets, however, is open and dense. To see the density of U∩VU\cap V, take any nonempty open set WW. Because UU is dense, W∩UW\cap U is nonempty; because UU is open, this intersection is open. Density of VV then implies W∩U∩V≠∅W\cap U\cap V\ne\varnothing. The argument extends by induction to any finite number of open dense sets. (buttenschoen.ca)

Separability and approximation

A space is separable if it has a countable dense subset. Thus R\mathbb R is separable, as is finite-dimensional Euclidean space Rn\mathbb R^n, where Qn\mathbb Q^n is dense. Every compact metric space is also separable. Separability concerns the existence of a countable collection sufficient to approximate the whole space, rather than the number of points in the space itself. (people.math.harvard.edu)

In functional analysis, density often concerns spaces whose points are functions. The Weierstrass approximation theorem states that polynomials are dense in the space C([a,b])C([a,b]) of real-valued continuous functions, equipped with the supremum norm. Explicitly, for every f∈C([a,b])f\in C([a,b]) and ε>0\varepsilon>0, a polynomial pp exists such that

sup⁡x∈[a,b]∣f(x)−p(x)∣<ε.\sup_{x\in[a,b]}|f(x)-p(x)|<\varepsilon.

This is approximation over the entire interval, expressed through uniform convergence, rather than approximation at just one point. (ocw.mit.edu)

Nowhere density and the Baire theorem

A nowhere dense set AA satisfies

int⁡(A‾)=∅.\operatorname{int}(\overline A)=\varnothing.

This is stronger than merely failing to be dense: its closure contains no nonempty open region. A meagre set is a countable union of nowhere dense sets. The distinction allows a set to be dense but meagre, as happens with the rationals in the real line. (buttenschoen.ca)

The Baire category theorem implies that, in a complete metric space, a countable intersection of open dense sets remains dense. Equivalently, no nonempty open subset can be covered by countably many nowhere dense sets. The openness and completeness assumptions distinguish this result from the unrestricted intersection of dense sets, which may be empty. (ocw.mit.edu)