Dense subset

A subset whose closure is the whole space.
Dense subset

Let (X,d)(X,d) be a and let DXD\subseteq X. The set DD is dense in XX if

D=X\overline{D}=X

(see ). Equivalently, DD is dense in XX iff for every nonempty UXU\subseteq X, one has UDU\cap D\neq\varnothing.

Density means that every point of XX can be approximated arbitrarily well by points of DD. Dense subsets are central in approximation theorems and in separability questions.

Examples:

  • Q\mathbb{Q} is dense in R\mathbb{R}.
  • The set {(q1,,qk):qiQ}\{(q_1,\dots,q_k): q_i\in\mathbb{Q}\} is dense in Rk\mathbb{R}^k.
  • Z\mathbb{Z} is not dense in R\mathbb{R} (e.g., (0,1)(0,1) contains no integers).