Bachelier said:
But new questions arose from your answers. :)
That's a good sign!
My previous statement about the density of ##\mathbb{Q}## came from a wikipedia page:
http://en.wikipedia.org/wiki/Boundary_(topology). Please read the first line after the examples.
OK, that would be this line: "These last two examples illustrate the fact that the boundary of a dense set with empty interior is its closure." However, the context here is that they are working with subsets of \mathbb{R}.
This is an important point: you can't talk about whether a set is open or closed, or what its boundary or interior are, without specifying which space you are working with. Here are some concrete examples.
Let us define, as I did in a previous post, (-\sqrt{2}, \sqrt{2})_\mathbb{Q} = \{x \in \mathbb{Q} : -\sqrt{2} < x < \sqrt{2}\} and (-\sqrt{2}, \sqrt{2})_\mathbb{R} = \{x \in \mathbb{R} : -\sqrt{2} < x < \sqrt{2}\}. Also define [-\sqrt{2}, \sqrt{2}]_\mathbb{Q} = \{x \in \mathbb{Q} : -\sqrt{2} \leq x \leq \sqrt{2} and [-\sqrt{2}, \sqrt{2}]_\mathbb{R} = \{x \in \mathbb{R} : -\sqrt{2} \leq x \leq \sqrt{2}\}.
Of course, (-\sqrt{2}, \sqrt{2})_\mathbb{Q} = [-\sqrt{2}, \sqrt{2}]_\mathbb{Q}, but (-\sqrt{2}, \sqrt{2})_\mathbb{R} \neq [-\sqrt{2}, \sqrt{2}]_\mathbb{R}.
Then, AS SUBSETS OF \mathbb{Q}:
* (-\sqrt{2}, \sqrt{2})_\mathbb{Q} is both open and closed
* Every point of (-\sqrt{2}, \sqrt{2})_\mathbb{Q} is an interior point
* Every point of (-\sqrt{2}, \sqrt{2})_\mathbb{Q} is a limit point, and there are no other limit points of this set
* The boundary of (-\sqrt{2}, \sqrt{2})_\mathbb{Q} is empty.
Whereas, AS SUBSETS of \mathbb{R}:
* (-\sqrt{2}, \sqrt{2})_\mathbb{Q} is neither open nor closed
* (-\sqrt{2}, \sqrt{2})_\mathbb{Q} has no interior points
* The set of limit points of (-\sqrt{2}, \sqrt{2})_\mathbb{Q} is [-\sqrt{2}, \sqrt{2}]_\mathbb{R}
* The boundary of (-\sqrt{2}, \sqrt{2})_\mathbb{Q} is also [-\sqrt{2}, \sqrt{2}]_\mathbb{R}.
And, AS SUBSETS OF \mathbb{R}:
* (-\sqrt{2}, \sqrt{2})_\mathbb{R} is open but not closed
* Every point of (-\sqrt{2}, \sqrt{2})_\mathbb{R} is an interior point
* The set of limit points of (-\sqrt{2}, \sqrt{2})_\mathbb{R} is [-\sqrt{2}, \sqrt{2}]_\mathbb{R}
* The boundary of (-\sqrt{2}, \sqrt{2})_\mathbb{R} is \{-\sqrt{2}, \sqrt{2}\}.
Finally, AS SUBSETS OF \mathbb{R}:
* [-\sqrt{2}, \sqrt{2}]_\mathbb{R} is closed but not open
* The set of interior points of [-\sqrt{2}, \sqrt{2}]_\mathbb{R} is exactly (-\sqrt{2}, \sqrt{2})_\mathbb{R}
* The set of limit points of [-\sqrt{2}, \sqrt{2}]_\mathbb{R} is [-\sqrt{2}, \sqrt{2}]_\mathbb{R}
* The boundary of [-\sqrt{2}, \sqrt{2}]_\mathbb{R} is \{-\sqrt{2}, \sqrt{2}\}.