Well , you may think density (or non density) as a relative characteristic of a set where no-where density is a individual characteristic.
Say for example ,
$\mathbb{Q}$ is dense to $\mathbb{R}$ but not to itself where $\mathbb{Z}$ is dense to itself but not to any other set that embeds it. Thus density depends on how you embeds a set .
On the other hand you may see that no matter which set embeds $\mathbb{Z}$ , it remains no where dense and the direct opposite holds for $\mathbb{Q}$ .
To better understand the scenario you may use an alternative but equivalent definition of no where dense sets i.e. " A set G will be called no-where dense if closure of G will have empty interior i.e. $G^{closure}_{int}$ = $\phi$ ."
Now , as $G^{closure}$ is a closed set, if $\delta G ≠ \phi$ every limit point of $G$ except the boundary points are interior points . Thus the above definition implies either $\delta G= \phi$ or for all $ g \in G^{closure} , g\in \delta G$ .
Now to get the taste of equivalence observe that if a set doesn't have a interior point it can't have an nonempty open interval I $\subset G$ as if if the length of the interval is l , we may take a point $i \in I$ and make a ball $B^{i}_{\epsilon }$ , where $\epsilon < \frac{l}{2}$ , such that
$B^{i}_{\epsilon} \subset I \subset G $ .
But then i becomes an interior point of G which is contradictory to our assumption .
Now you may see the examples given above through it . $\mathbb{Z}$ is no where dense as it doesn't have any limit point .
What for the sequence , $S=\{\frac{1}{n} : n\in\mathbb{N}\}$ ?
It has the limit point 0 but 0 is it's boundary point [ every n.b.d of 0 will contain negetive numbers which will not be in the sequence ] ,so the interior remain empty .
What for cantor set ?
For cantor set we may use a constructive argument .
Let , $I= [0,1]= [0, \frac{1}{3}]\cup[\frac{1}{3} , \frac{2}{3}]\cup[\frac{2}{3}, 1]$
Let now ,
$ I_{0}= [\frac{1}{3} , \frac{2}{3}]$
$[0,\frac{1}{3}]= [0,\frac{1}{9}]\cup[\frac{1}{9},\frac{2}{9}]\cup[\frac{2}{9},\frac{1}{3}]$
$[\frac{2}{3},\frac{7}{9}]\cup[\frac{7}{9} , \frac{8}{9}]\cup[\frac{8}{9}, 1]$
Let $I_{1}=[\frac{1}{9} , \frac{2}{9}]\cup[\frac{7}{9}, \frac{8}{9}]$
Let d(a,b)= |b-a| a metric on $\mathbb{R}$ .
Thus , $d(I_{1})=\frac{1}{3}$ and $d(I_{2})=\frac{2}{9}$ .
Continuing in the fashion it can be seen that , $d(I_{n})= \frac{2^n}{3^n+1}$ .
If we let , $S_n= \sum_{i=0}^{n} d(I_{n})$,
as $n\rightarrow \infty$ , $S_{n}\rightarrow 1$ .
Thus the part excluded becomes the whole interval , accord to your definition there can't be any open interval the set can contain , thus it becomes no where dense .
sorry for asking a question about understanding a definition in a book named Understanding Analyis
– John Colanduoni Apr 16 '15 at 09:03