Consider a countable collection of uncountable subsets $A_1, A_2, A_3, \ldots$ and the subset $B = \cup_{i = 1}^\infty A_i$ of a metric space $X$. $\bar{A}$ denotes the closure of the set $A$. I came up with the following example of a set $B$ as described above such that $\bar{B} \supsetneq \cup_{i=1}^{\infty} \bar{A_i}$, but I am not sure if it is correct, and so I present it for verification:
Let $X = \mathbb{R}^2$, endowed with the standard Euclidean metric. Consider the set $S = \left\{q \in \mathbb{Q} : 0 < q <1\right\}$. Then $S$ is countable. Let $\left\{s_i\right\}$ for $i \in \mathbb{N}$ be an enumeration of $S$.
Define, for each $i \in \mathbb{N}$, $A_i = \left\{w \in \mathbb{R}^2 : \lvert w \rvert = s_i \right\}$. Then $\forall i$:
- $\lvert A_i \rvert = \mathfrak{c}$; consider the bijection $f_i: \lbrack 0,1) \rightarrow A_i$ defined by $f_i(x) = (s_i \cos(\frac{x}{2\pi}), s_i \sin(\frac{x}{2\pi}))$ with the trigonometric argument restrictions of $0 \leq x < 2\pi$.
- $\bar{A_i} = A_i$, clearly, as circles in $\mathbb{R}^2$ are closed sets.
- $\bar{B} = \left\{ x \in \mathbb{R}^2 : \lvert x \rvert \leq 1 \right\} $; embarrassingly, I am having some difficulty formalizing my intuition here. The basic idea in my mind is that for every $x \in \bar{B}$ and $\epsilon > 0$, $\exists k \in \mathbb{Q}: \max (0, \lvert x \rvert - \epsilon) < k < \lvert x \rvert \leq 1$ since $\bar{\mathbb{Q}} = \mathbb{R}$, so $k \in S = s_j$ for some $j \in \mathbb{N}$, and (I am waving hands here) we have that $A_j \cap \left\{a \in \mathbb{R}^2 : \lvert x-a \rvert < \epsilon \right\} \neq \emptyset$. If my example is correct, I would appreciate some simple and clean way to finish the argument here.
Then, in particular, $C = \left\{ 0 \right\} \cup \left\{ x \in \mathbb{R}^2 : \lvert x \rvert = 1 \right\} \subset \bar{B}$, but $C \neq \bar{A_i}$ for any $i$ $\implies C \neq \cup_{i=1}^{\infty} \bar{A_i} \implies \bar{B} \supsetneq \cup_{i=1}^{\infty} \bar{A_i}$.
Although I cannot quite put my finger on it yet, what property of $\mathbb{R}^2$ allowed me to construct $\bar{B}$ as shown given my $A_i$'s (assuming, of course, that my example is correct)? That is, what property characterizes the metric spaces (of uncountable cardinality) in which the $A_i$'s and $S$ constructed in my example would fail to produce $\bar{B}$ as above, and more generally, as a proper superset of the $A_i$'s (where $\bar{B} = \cup_{i=1}^{\infty} \bar{A_i}$)?