Assume, to the contrary, that \((0,1)\) is countable. Since it is finite, it must be denumerable and so there is a bijection \(f: \mathbb{N} \to (0,1)\text{.}\) Hence we can write \((0,1) = \{x_1,x_2,x_3,\dots\}\) where \(x_i = f(i)\text{.}\) Now each of these \(x\)’s has an infinite decimal expansion, so we can write a big array as follows:
\begin{align*}
x_1 &= 0.a_{11} a_{12} a_{13} \cdots,\\
x_2 &= 0.a_{21} a_{22} a_{23} \cdots,\\
x_3 &= 0.a_{31} a_{32} a_{33} \cdots,\\
\vdots &= \vdots
\end{align*}
where each \(a_{ij} \in \{0,1,\dots,9\}\text{.}\)
Now we construct a number \(z\) that is not on the list. Write \(z = 0.b_1 b_2 b_3
\cdots\text{.}\) And set
\begin{align*}
b_n &= \begin{cases}
1 & \mbox{ if } a_{nn} \neq 1\\
2 & \mbox{ if } a_{nn} = 1
\end{cases}
\end{align*}
and since each digit of \(z\) is either \(1,2\) we know that
\begin{equation*}
\frac{1}{9}=0.111111\dots \lt z \lt 0.222222\dots = \frac{2}{9}
\end{equation*}
and hence \(z \in (0,1)\text{.}\)
Of course, since
\(f\) is a bijection, our number
\(z\) must appear somewhere on our list. So let us assume that it is the
\(k^{th}\) number on the list, namely that
\(z = x_k\text{.}\) But, by construction, the
\(k^{th}\) digit of
\(z\) is not the same as the
\(k^{th}\) digit of
\(x_k\text{.}\) So
\(z \neq x_k\text{.}\) In this way, there is no
\(k\) such that
\(z = x_k\) and
\(z\) is not in the list — a contradiction since
\(f\) must be a bijection.
Hence there is no bijection from
\(\mathbb{N} \) to the set
\((0,1) \text{,}\) and thus
\((0,1)\) is uncountable.