The number system we use is base 10, which is also known as
decimal. One common theory is that we use base 10 because
that is how many fingers most people have. Whatever the
reason, using base 10 means that we group things into 10s.
One consequence of this grouping number is that we must be
able to count objects up to 10. We have to have symbols to
represent every possible amount less than our grouping
number. This is why we use the digits 0 through 9. If we
used a different base for our number system, we would need
a different set of digits.
One good question is what digits other bases would have.
Well, binary (base 2) groups by 2s, so it only needs the
digits 0 and 1. Octal (base 8) uses the digits 0 through 7.
We have already seen that our decimal (base 10) system uses
the digits 0 through 9.
What about number systems with a
base higher than 10? In particular, let's look at
hexadecimal (base 16). Base 16 needs symbols to count from
0 to 15. The numbers 10, 11, 12, 13, 14, and 15 do not
suffice because they are two characters each. Our number
systems are 'positional'. This means that where a symbol
(digit) is placed conveys meaning. This is obvious when we
look at the numbers 19 and 91 in base 10. There is quite a
bit of difference between 19 and 91. We know this because
of the relative positions of the digits. We can't use two
characters to represent 10 through 15 objects. We need a
single symbol for each of them.
We could make up unique symbols for the numbers we have to
be able to represent, but that presents some problems. We
could agree that a star meant 10 items, a cowboy hat meant
11, and so on. Personally, I would have trouble remembering
what each symbol meant and I would prefer not to have to
draw a cowboy hat every time I wanted to symbolize 11 in
base 16. There is also the problem of entering this
information into a computer. From time to time, people have
to enter hexadecimal numbers into the computer. My computer
keyboard doesn't have a cowboy hat key. What's the solution?
Fortunately, this was all worked out long ago. It was
decided that when we were dealing with a number base greater
than 10, we would start using the letters of the alphabet,
(in order) when we ran out of numeric digits. It may seem
odd at first, but it actually becomes fairly easy to figure
out which letter stands for what quantity. In decimal, the
numbers count up like this: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.
In hexadecimal, the numbers count up like this: 0, 1, 2, 3,
4, 5, 6, 7, 8, 9, A, B, C, D, E, F. In hexadecimal, the A
symbolizes a grouping of what we know as 10 objects. B
represents a grouping of what we think of as 11 objects.
This continues up to F, which represents what we think of
as 15 objects. Remember that the digits must stop one short
of the number base. That is why F (15) is the largest digit
in base 16.
For reference, here are the common number systems in use
with computers, listed with their digits:
binary | (base 2) | 0, 1 |
octal | (base 8) | 0, 1, 2, 3, 4, 5, 6, 7 |
decimal | (base 10) | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 |
hexadecimal | (base 16) | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F |