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 [itex]\mathbb{R}[/itex].
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, [itex](-\sqrt{2}, \sqrt{2})_\mathbb{Q} = \{x \in \mathbb{Q} : -\sqrt{2} < x < \sqrt{2}\}[/itex] and [itex](-\sqrt{2}, \sqrt{2})_\mathbb{R} = \{x \in \mathbb{R} : -\sqrt{2} < x < \sqrt{2}\}[/itex]. Also define [itex][-\sqrt{2}, \sqrt{2}]_\mathbb{Q} = \{x \in \mathbb{Q} : -\sqrt{2} \leq x \leq \sqrt{2}[/itex] and [itex][-\sqrt{2}, \sqrt{2}]_\mathbb{R} = \{x \in \mathbb{R} : -\sqrt{2} \leq x \leq \sqrt{2}\}[/itex].
Of course, [itex](-\sqrt{2}, \sqrt{2})_\mathbb{Q} = [-\sqrt{2}, \sqrt{2}]_\mathbb{Q}[/itex], but [itex](-\sqrt{2}, \sqrt{2})_\mathbb{R} \neq [-\sqrt{2}, \sqrt{2}]_\mathbb{R}[/itex].
Then, AS SUBSETS OF [itex]\mathbb{Q}[/itex]:
* [itex](-\sqrt{2}, \sqrt{2})_\mathbb{Q}[/itex] is both open and closed
* Every point of [itex](-\sqrt{2}, \sqrt{2})_\mathbb{Q}[/itex] is an interior point
* Every point of [itex](-\sqrt{2}, \sqrt{2})_\mathbb{Q}[/itex] is a limit point, and there are no other limit points of this set
* The boundary of [itex](-\sqrt{2}, \sqrt{2})_\mathbb{Q}[/itex] is empty.
Whereas, AS SUBSETS of [itex]\mathbb{R}[/itex]:
* [itex](-\sqrt{2}, \sqrt{2})_\mathbb{Q}[/itex] is neither open nor closed
* [itex](-\sqrt{2}, \sqrt{2})_\mathbb{Q}[/itex] has no interior points
* The set of limit points of [itex](-\sqrt{2}, \sqrt{2})_\mathbb{Q}[/itex] is [itex][-\sqrt{2}, \sqrt{2}]_\mathbb{R}[/itex]
* The boundary of [itex](-\sqrt{2}, \sqrt{2})_\mathbb{Q}[/itex] is also [itex][-\sqrt{2}, \sqrt{2}]_\mathbb{R}[/itex].
And, AS SUBSETS OF [itex]\mathbb{R}[/itex]:
* [itex](-\sqrt{2}, \sqrt{2})_\mathbb{R}[/itex] is open but not closed
* Every point of [itex](-\sqrt{2}, \sqrt{2})_\mathbb{R}[/itex] is an interior point
* The set of limit points of [itex](-\sqrt{2}, \sqrt{2})_\mathbb{R}[/itex] is [itex][-\sqrt{2}, \sqrt{2}]_\mathbb{R}[/itex]
* The boundary of [itex](-\sqrt{2}, \sqrt{2})_\mathbb{R}[/itex] is [itex]\{-\sqrt{2}, \sqrt{2}\}[/itex].
Finally, AS SUBSETS OF [itex]\mathbb{R}[/itex]:
* [itex][-\sqrt{2}, \sqrt{2}]_\mathbb{R}[/itex] is closed but not open
* The set of interior points of [itex][-\sqrt{2}, \sqrt{2}]_\mathbb{R}[/itex] is exactly [itex](-\sqrt{2}, \sqrt{2})_\mathbb{R}[/itex]
* The set of limit points of [itex][-\sqrt{2}, \sqrt{2}]_\mathbb{R}[/itex] is [itex][-\sqrt{2}, \sqrt{2}]_\mathbb{R}[/itex]
* The boundary of [itex][-\sqrt{2}, \sqrt{2}]_\mathbb{R}[/itex] is [itex]\{-\sqrt{2}, \sqrt{2}\}[/itex].