How do we express $(e, \pi)$ as unions of open intervals with rational endpoints

general-topologymetric-spaces

One of the definition of basis of a topology is that any open set can be expressed as unions of basis, but I always thought the other definition was easier to use. So for this definition, how do we express $(e, \pi)$ as unions of open intervals with rational endpoints which forms a basis for the usual topology for R.

Best Answer

There is no real problem: consider the sets $A=\{a\in\mathbb{Q}:e<a<(e+\pi)/2\}$ and $B=\{b\in\mathbb{Q}:(e+\pi)/2<b<\pi\}$ Then $$ (e,\pi)=\bigcup_{\substack{a\in A \\ b\in B}}(a,b) $$ Clearly the union is contained in $(e,\pi)$. The infimum $m$ of the union has to be $e$, otherwise there would be $r\in\mathbb{Q}$ such that $e<r<m$ (between any two real numbers there is at least one rational number). This contradicts $m$ to be the infimum, because $r\in A$.

Similarly, the supremum of the union is $\pi$ and so the union is the whole $(e,\pi)$.

We used no particular property of $e$ and $\pi$: indeed the same argument proves that any open interval is the union of open intervals with rational extremes.