Number Classification
Binary Numbers

We normally work with numbers in base 10. In this section we consider numbers in base 2, often called binary numbers.

In  base 10  we use the digits 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.

In  base 2  we use only the digits 0 and 1.

Binary numbers are at the heart of all computing systems since, in an electrical circuit, 0 represents no current flowing whereas 1 represents a current flowing.

In base 10 we use a system of place values as shown below:

1000100101
4215→4 × 1000 + 2 × 100 + 1 × 10 + 5 × 1
3102→3 × 1000 + 1 × 100 + 2 × 1

Note that, to obtain the place value for the next digit to the left, we multiply by 10. If we were to add another digit to the front (left) of the numbers above, that number would represent 10 000s.

In base 2 we use a system of place values as shown below:

6432168421
1000000→1 × 64 = 64
1001001→1 × 64 + 1 × 8 + 1 × 1 = 73

Note that the place values begin with 1 and are multiplied by 2 as you move to the left.

Once you know how the place value system works, you can convert binary numbers to base 10, and vice versa.

Worked Examples

1

Convert the following binary numbers to base 10:

For each number, consider the place value of every digit.

(a)
111 Show me
421
111→4 + 2 + 1 = 7

The binary number 111 is 7 in base 10.

(b)
101 Show me
421
101→4 + 1 = 5

The binary number 101 is 5 in base 10.

(c)
1100110 Show me
6432168421
1100110→64 + 32 + 4 + 2 = 102

The binary number 1100110 is 102 in base 10.

2

Convert the following base 10 numbers into binary numbers:

We need to write these numbers in terms of the binary place value headings 1, 2, 4, 8, 16, 32, 64, 128, ..., etc.

(a)
3 Show me
21
3 = 2 + 1→11

The base 10 number 3 is written as 11 in base 2.

(b)
11 Show me
8421
11 = 8 + 2 + 1→1011

The base 10 number 11 is written as 1011 in base 2.

(c)
140 Show me
1286432168421
140 = 128 + 8 + 4→10001100

The base 10 number 140 is written as 10001100 in base 2.

Exercises

Convert the following binary numbers to base 10:

(a)
110
(b)
1111
(c)
1001
(d)
1101
(e)
10001
(f)
11011
(g)
1111111
(h)
1110001
(i)
10101010
(j)
11001101
(k)
111000111
(l)
1100110

Convert the following base 10 numbers to binary numbers:

(a)
9
(b)
8
(c)
14
(d)
17
(e)
18
(f)
30
(g)
47
(h)
52
(i)
49
(j)
84
(k)
200
(l)
500

Convert the following base 10 numbers to binary numbers:

(a)
5
(b)
9
(c)
17
(d)
33

Notice any pattern in these binary numbers.

(e)

What will be the next base 10 number that will fit this pattern?

A particular binary number has 3 digits.

(a)

What are the largest and smallest possible binary numbers?

Largest:

Smallest:

(b)

Convert these numbers to base 10.

Largest:

Smallest:

When a particular base 10 number is converted it gives a 4-digit binary number. What could the original base 10 number be?

Any whole number from to .

Calculate the difference between the base 10 number 11111 and the binary number 11111, giving your answer in base 10.

The binary number 11111 is in base 10, so the difference is .