Before we move on to presenting numbers with arbitrary base \(b\) where \(b\) is a natural number greater than \(1\text{,}\) we consider one more special case. One of the most common bases other than base \(10\) is base \(2\text{.}\) While base \(10\) numbers are written with the ten symbols \(0\text{,}\)\(1\text{,}\)\(2\text{,}\)\(3\text{,}\)\(4\text{,}\)\(5\text{,}\)\(6\text{,}\)\(7\text{,}\)\(8\text{,}\) and \(9\) numbers in base \(2\) are written using the two symbols
\begin{equation*}
0 \text{ and } 1.
\end{equation*}
Base \(2\) representation is particular of interest because digital devices (such as computers) work with the two states on and off, which are represented by \(0\) and \(1\text{.}\) To distinguish numbers in base \(2\) representation from numbers in base \(10\) representation we add a subscript \(2\) to the number in base \(2\) representation. For example, we write
\begin{equation*}
1001_2=9
\end{equation*}
where we interpret \(1001_2\) as a number in base \(2\) representation and \(9\) as a number in base \(10\) representation. Numbers in base \(2\) representation are also called binary numbers.
The values of the places of base \(10\) numbers are the powers of \(10\text{.}\) As before we write these from right to left because (by convention) the least significant digit of numbers in decimal representation is on the right. For an \(n\) digit decimal (that is, bas \(10\)) number we have the place values:
So to convert a number in base \(2\) representation
write down the base \(2\) expansion, which consists of the digits of the base \(2\) representation converted to decimal and the place values, which are the powers of \(2\)
Figure11.6.Binary (base \(2\)) numbers, their base \(2\) digits, their base \(2\) expansion, and in base \(10\text{.}\) The two symbols used in binary numbers are \(0\) and \(1\text{.}\) Recall that \(2^0=1\) and that \(2^1=2\text{.}\)
With 4 digits we have counted from zero to fifteen. By now the pattern is clear and we can keep counting like this indefinitely, adding one more digit when we have exhausted all combinations with the current number of digits.