Open set as a countable union of open bounded intervals Can every nonempty open set be written as a countable union of bounded open intervals of the form $(a_k,b_k)$, where $a_k$ and $b_k$ are real numbers (not $\pm\infty$)?
If yes, can someone point me toward a proof?
If not, counterexample?
Note that this is not the same question as the property "every nonempty open set is the disjoint union of a countable collection of open intervals."
 A: Hint: Let $A$ be open, and consider all intervals $(p,q)$ such that $p$ and $q$ are rational and $(p,q)\subset A$.
A: Yes. The answers to this question show that every non-empty open subset of $\Bbb R$ can be written as the union of countably many pairwise disjoint open intervals, when sets of the form $(a,\to)$ and $(\leftarrow,a)$ and $\Bbb R$ itself are counted as intervals. To complete the argument, you need only show that these open rays can be written as the union of countably many bounded open intervals:
$$\begin{align*}
(a,\to)&=\bigcup_{n\in\Bbb Z^+}(a,a+n)\\\\
(\leftarrow,a)&=\bigcup_{n\in\Bbb Z^+}(a-n,a)\\\\
\Bbb R&=\bigcup_{n\in\Bbb Z^+}(-n,n)
\end{align*}$$
Added: You can’t get pairwise disjointness in these cases, but you can arrange matters so that every point is in at most two of the bounded intervals, indeed, in the closures of at most two of them:
$$\begin{align*}
(a,\to)&=\bigcup_{n\in\Bbb N}(a+2n,a+2n+3)\\\\
(\leftarrow,a)&=\bigcup_{n\in\Bbb Z^+}(a-2n-3,a-2n)\\\\
\Bbb R&=\bigcup_{n\in\Bbb Z^+}\Big((2n,2n+3)\cup(-2n-2,-2n+1)\Big)\;,
\end{align*}$$
where $\Bbb N$ is the set of non-negative integers (i.e., it includes $0$).
If you don’t care about how much overlap your intervals have, of course, you can simply use the fact that the open intervals with rational endpoints are a countable base for the topology of $\Bbb R$.
A: Yes, we can.
The collection of all bounded intervals of the form $(p, q)$, where $p, q \in \Bbb Q$,  form a basis for the usual topology on $\Bbb R$ (denote it by $\mathscr F$). This is easy to prove $-$ it is a common fact that the collection of all intervals (bounded or unbounded) form a basis for $\Bbb R$, say $\mathscr B$. So take any basic open interval $I \in \mathscr B$ and an element $x \in I$. If $I$ is bounded, then it is of the form $(a, b)$. Now choose two rationals $p$ and $q$ such that $ a \lt p \lt x \lt q \lt b$. Then $x \in (p, q) \in \mathscr F$. 
Otherwise if it is of the form $(a,\to)$, then you can choose a natural number $n \gt x$ (archimedean property) and a rational $r$ between $a$ and $x$. Then $x \in (r, n) \in \mathscr F$. Similarly you can do for other types of unbounded intervals like $(\leftarrow,a)$ and $(-\infty, \infty)$. Hence, $\mathscr F$ is a base for the usual topology on $\Bbb R$.
Thus by the definition of a basis, every open set can be written as the union of basic open sets of $\mathscr F$ i.e. bounded open intervals (whose end points are rationals).
