Number bases · Lesson 1 of 1

Number bases

Place values as powers of the base, converting to and from base ten, changing between two other bases, arithmetic in a base, and finding an unknown base.

22 minYou should already know: Number foundations & fractions
  1. 1

We count in base ten: each place is worth ten times the one to its right (units, tens, hundreds and so on). In base five, each place is worth five times the one to its right: units, fives, twenty-fives, one hundred and twenty-fives. A base-five number uses only the digits 0 to 4.

Try it

Number basesChange the number and the base
place value53 = 12552 = 2551 = 550 = 1
digit1101
value1252501
1101fivein base five151in base ten
In base five the place values are powers of 5: 125, 25, 5, 1. Multiply each digit by its place value and add: 1 × 125 + 1 × 25 + 0 × 5 + 1 × 1 = 151. Every digit must be less than 5.

Pick a number and a base. To base ten multiplies each digit by its place value. From base ten keeps dividing by the base. The two methods undo each other, so each is a check on the other.

To base ten: multiply by place values

3021five=3×53+0×52+2×5+1=375+0+10+1=386\begin{aligned} &3021_{\text{five}} \\ &= 3 \times 5^3 + 0 \times 5^2 + 2 \times 5 + 1 \\ &= 375 + 0 + 10 + 1 \\ &= 386 \end{aligned}
5³ = 12533755² = 250052101113021 in base five = 375 + 0 + 10 + 1 = 386
Place values in base fiveEach place is 5 times the one to its right

More: changing to base ten

From base ten: divide and read the remainders upwards

To write 45 in base three, keep dividing by 3 and note each remainder:

  • 45÷3=15{45 \div 3 = 15} remainder 0;
  • 15÷3=5{15 \div 3 = 5} remainder 0;
  • 5÷3=1{5 \div 3 = 1} remainder 2;
  • 1÷3=0{1 \div 3 = 0} remainder 1.

Read the remainders from the bottom up: 1200three1200_{\text{three}}.

3 )453 )15r 03 )5r 03 )1r 20r 1read up45 = 1200 in base three
Divide, then read upwardsThe first remainder is the units digit

More: changing from base ten

Between two other bases: go through base ten

To change 314five314_{\text{five}} to base three:

  • first to base ten: 314five=3×25+1×5+4=84314_{\text{five}} = 3 \times 25 + 1 \times 5 + 4 = 84;
  • then keep dividing 84 by 3, and read the remainders upwards: 10010three10010_{\text{three}}.

More: between two other bases

Arithmetic in a base

Add column by column as usual, but carry whenever a column reaches the base. In base five, 4+3=74 + 3 = 7, which is one 5 and 2 over: write 2 and carry 1.

1143+341323 + 4 = 7 = 5 + 2: write 2, carry 1
Carrying in base fiveCarry 1 each time a column reaches 5

To subtract, borrow one from the next column. In base five, a borrowed 1 is worth 5 in the column to its right, not 10.

To multiply or divide, the safest way is to change both numbers to base ten, work there, then change the answer back.

More: arithmetic in a base

An unknown base

Write both numbers in base ten, with the unknown base as a letter, and solve the equation.

Worked example · WAEC 2014

WAEC 2014 · Paper 2 · Q2 (b)

If 124n=232five124_n = 232_{\text{five}}, find nn.

  1. Base ten on each side

    • 124n=1×n2+2×n+4{124_n = 1 \times n^2 + 2 \times n + 4}, which is n2+2n+4{n^2 + 2n + 4}.
    • 232five=2×25+3×5+2=67{232_{\text{five}} = 2 \times 25 + 3 \times 5 + 2 = 67}.

    Think first. What are the place values in base nn?

  2. Solve

    • n2+2n+4=67{n^2 + 2n + 4 = 67}.
    • Take 67 from both sides: n2+2n−63=0{n^2 + 2n - 63 = 0}.
    • Factorise: (n+9)(n−7)=0{(n + 9)(n - 7) = 0}, so n=−9{n = -9} or n=7{n = 7}.
  3. Choose the base

    A base must be a positive whole number bigger than every digit used (here 4), so n=7n = 7.

    Think first. Which root can be a base?

An unknown digit works the same way. Call it pp, write the number in base ten with pp in it, and solve. Remember that a digit must be less than the base.

More: an unknown base or digit

Your turn

WAEC 2019 · Paper 2 · Q3 (b)

  1. (b)

    If 1342five−241five=xten1342_{\text{five}} - 241_{\text{five}} = x_{\text{ten}}, find the value of xx.

Worked solution (try it first)

(b)

  1. Change both to base ten: 1342five=1×125+3×25+4×5+21342_{\text{five}} = 1 \times 125 + 3 \times 25 + 4 \times 5 + 2
    =222= 222 and 241five=2×25+4×5+1241_{\text{five}} = 2 \times 25 + 4 \times 5 + 1
    =71= 71.
  2. So x=222−71=151x = 222 - 71 = 151.

Report a problem with this question

More past questions like this