Section 11.2 Binary Representation
Before we move on to presenting numbers with arbitrary base where is a natural number greater than we consider one more special case. One of the most common bases other than base is base While base numbers are written with the ten symbols and numbers in base are written using the two symbols
Base representation is particular of interest because digital devices (such as computers) work with the two states on and off, which are represented by and To distinguish numbers in base representation from numbers in base representation we add a subscript to the number in base representation. For example, we write
where we interpret as a number in base representation and as a number in base representation. Numbers in base representation are also called binary numbers.
Subsection Base Expansion
The values of the places of base numbers are the powers of 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 digit decimal (that is, bas ) number we have the place values:
Similarly the place values of base numbers are the powers of two. For an digit base (or binary) number we have the place values:
For a binary number
In the video in Figure 11.5 we recap the material covered above and present examples.
For the remainder of the section we continue considering the conversion of base to base and also count in base
In Figure 11.7 we give more examples of numbers in base their base expansion, and the number in decimal representation.
|
base |
base |
|
|||
---|---|---|---|---|---|---|
base |
base 10 | |||||
So to convert a number in base representation
- write down the base
expansion, which consists of the digits of the base representation converted to decimal and the place values, which are the powers of - evaluate this expression to obtain the base
representation.
Try yourself.
Checkpoint 11.8. Convert from binary to decimal.
Give the expanded base form of
Give in decimal representation.
Subsection Counting in Base
For a better understanding of binary (or base ) numbers, we consider counting in that representation.
When we start counting using only the two symbols 0 and 1. As in the case of decimal numbers we start with zero.
Still with one digit we can also write the number one:
So with one digit we were able to count zero and one. As in the case of decimal numbers we add one more digit and obtain:
With two digits we have counted to three. As we cannot go further with those two digits, we continue with:
With three digits we have counted to seven. Adding one more digit we continue with:
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.
Checkpoint 11.9. Count in base .
Count in base 2
In the first column enter the numbers in base Recall that the characters used to represent base numbers are:
In the other columns enter the values for the digits of the base expansions.
For your convenience the last number in each row is the corresponding decimal number.

A square divided into 2x2 squares, the top-right one has an 1 in it, the bottom-right one has a 0, the two left ones are empty.
Label: Binary Su Doku
Title text: This one is from the Red Belt collection, of ’medium’ difficulty.
This one is from the Red Belt collection of ’medium’ difficulty
https://xkcd.com/74
).