# Set is Open iff Union of Open Balls

## Theorem

Let $M = \struct {A, d}$ be a metric space.

Let $U \subseteq A$.

Then $U$ is open in $M$ if and only if it is a union of open balls.

## Proof

### Necessary Condition

Let $U$ be open in $M$.

Let $a \in U$.

Then by definition of open set:

- $\exists \delta_a \in \R_{>0}: \map {B_{\delta_a} } {a, d} \subseteq U$

where $\map {B_{\delta_a} } {a, d}$ is the open $\delta_a$-ball of $a$ in $M$.

Therefore:

- $\displaystyle U = \bigcup_{a \mathop \in U} \map {B_{\delta_a} } {a, d}$

and so $U$ is a union of open balls.

$\Box$

### Sufficient Condition

Let $U$ be a union of open balls of $M$.

Let the centers of these open balls be the elements of an indexing set $I$.

Then $U$ can be written as:

- $\displaystyle U = \bigcup_{a \mathop \in I} \map {B_{\delta_a} } {a, d}$

where $\delta_a \in \R_{>0}$ is the radius of the open ball of $a$.

Let $x \in U$.

Then by definition of union:

- $\exists a \in I: x \in \map {B_{\delta_a} } {a, d}$

From Open Ball is Neighborhood of all Points Inside, $\map {B_{\delta_a} } {a, d}$ is a neighborhood of $x$.

- $\map {B_{\delta_a} } {a, d} \subseteq U$

From Superset of Neighborhood in Metric Space is Neighborhood, it follows that $U$ is a neighborhood of $x$.

Since $x$ is arbitrary, it follows that $U$ is a neighborhood of each of its points.

Hence by definition, $U$ is open in $M$.

$\blacksquare$

## Sources

- 1962: Bert Mendelson:
*Introduction to Topology*... (previous) ... (next): $\S 2.6$: Open Sets and Closed Sets: Theorem $6.2$