Is the complement of a countable set in $\mathbb{R}$ dense? Application to convergence of probability distribution functions.
I am wondering if we have a set $A\in\mathbb{R}$ that is countable, whether $A^{c}$ is dense in $\mathbb{R}$? I thought I saw this quoted somewhere on google but I can not find it again! I am working through a proof relating to uniqueness of weak limits of sequences distribution functions. The set of discontinuity points of distribution functions are countable, and the proof suggests the complement of this set is dense in $\mathbb{R}$, and I am unsure how this conclusion is arrived at.
Any help would be greatly appreciated.
Solution 1:
Yes it is. Suppose it's not : then there exists an nonempty open set $U$ of $\mathbb{R}$ which doesn't meet $A^C$. So $(A^C)^C = A$ contains a non empty open interval, and since open interval are in bijection with $\mathbb{R}$, $A$ is not countable.
Solution 2:
Let $a\in \Bbb R$ and suppose $U$ is an open set containing $a$. Then since $U$ contains uncountably many points in $\Bbb R$ and since $A$ is countable, $U\setminus A$ is uncountable and thus contains points of $A^C$ distinct from $a$. It follows that $a$ is in the closure of $A^C$. As $a$ was an arbitrary point in $\Bbb R$, it follows that $A^C$ is dense in $\Bbb R$.