Number Bases
Senior 3 · Mathematics
Number Bases
Lesson 5 of 5
25 min
The front of the railway station in St. Gallen, Switzerland, carries a giant clock with three rows of lamps. Each row is a binary numeral: the top row gives the hours, the middle row the minutes and the bottom row the seconds. A lit lamp is the digit 1 and a dark lamp is 0. In this lesson you read it, meet base twelve, and finish the unit by solving equations in which the unknown is a digit or the base itself.

Definition
Bit: a binary digit, 0 or 1. Byte: a group of 8 bits.
Notation: bits are usually grouped in fours when written, for example .
Example: one byte can hold any numeral from to : 256 different values.
Important
Rule. With bits you can write different numbers, from 0 up to .
Why: each bit has 2 choices, so bits give patterns. The largest, all ones, is one less than .
Computers use base two because an electronic switch has two states that are easy to tell apart, on and off, so every number, letter, colour and sound is stored as bits.
Worked example 1: reading the station clock
In the photograph the lamps are: hours , minutes , seconds . What time is shown?
Solution
The time is 9:25:46, as the photographer recorded. Five bits are enough for the hours, because ; six bits are needed for minutes and seconds, because is less than 60 but is not.
Definition
Duodecimal (base twelve): the place-value system that groups in twelves. It needs twelve digits, so after 0 to 9 it uses two extra symbols for ten and eleven.
Notation: in this unit and , as in hexadecimal. Some books use and (for "ten" and "eleven") instead.
Example: .
Twelve can be divided exactly by 2, 3, 4 and 6, while ten can be divided only by 2 and 5. That is why twelve appears in so many old measures: 12 months in a year, 12 hours on a clock face, eggs and pencils sold by the dozen (12) and the gross (). A trader who counts "5 gross, 3 dozen and 8" is already writing a base-twelve numeral: .
| Base ten | 10 | 11 | 12 | 13 | 24 | 100 | 144 |
|---|---|---|---|---|---|---|---|
| Base twelve | A | B | 10 | 11 | 20 | 84 | 100 |
Worked example 2: working in base twelve
(a) Write 1000 in base twelve. (b) Work out .
Solution
(a) remainder 4; remainder 11 (); remainder 6. So . Check: . ✓
(b) Ones: : write 9, carry 1. Twelves: : write 1, carry 1. Answer . Check: . ✓
Some questions give a numeral with a missing digit, or in an unknown base, and ask you to find it. Write each side in base ten using place values; this gives an ordinary equation.
Important
Rule. To solve an equation in number bases: (1) write every numeral in base ten, with the unknown base or digit in the place values; (2) solve the equation; (3) keep only answers that make sense: a base must be a whole number greater than every digit used in it, and a digit must be a whole number from 0 to .
Why the check: the equation in base ten does not know that digits must be smaller than the base, so it can give an answer that no real numeral could have.
Worked example 3: an unknown base, linear
(a) Find if . (b) Find if . (c) Is there a base with ?
Solution
(a) , so . The digits 2 and 3 are less than 7, so is valid. Check: . ✓
(b) , so and . Valid (digits 3 and 4 are less than 7).
(c) gives . But the numeral uses the digit 5, which is not allowed in base 3. So there is no such base.
Worked example 4: an unknown base, quadratic
Find if .
Solution , so
is rejected (a base is a positive whole number), so , which is greater than every digit (1, 3, 2). Check: . ✓ This is the factorising method from the unit on quadratic equations, used in a new setting.
Worked example 5: a missing digit
Find the digit if .
Solution , so , and . A base-five digit may be 0 to 4, so is valid: , as in the first lesson of this unit. ✓
Warning
Solving is not the end. An answer such as for a numeral containing the digit 5, , or must be rejected. If no answer survives the check, say clearly that no such base exists.
Tip
The smallest possible base is a quick first check. Before solving, note the largest digit in the numeral: the base must be at least one more than it. In , , so any answer below 4 is wrong at once.
Numberphile: Base 12 (9 min). Dr James Grime makes the case for counting in twelves. Watch for the reasons he gives, such as twelve having more factors than ten, and compare them with the ones in this lesson.
Practice
The last three questions are harder.
Further reading for this unit
Sources and credits
The Rwandan worked examples, the diagrams, the practice items and the quiz questions were written by Ganzaa.