# 2.1 Number Bases

SPM Form 4 Mathematics (KSSM) · Chapter 2 Number Bases. Interactive version with diagrams: https://spmtuition.com/math/form-4/chapter-2-number-bases/2-1-number-bases/

## Place value

![Two 4-by-4 squares, three rows of four units and one unit represent 231 in base four.](https://spmtuition.com/diagrams/expand-math-base-four.svg)

*Count the units in each place-value group.*

In base b, digits run from 0 to b − 1. Place values from the right are b⁰, b¹, b², ….

| Digit in 231₄ | Place value | Digit value |
| --- | --- | --- |
| 2 | 4² = 16 | 32 |
| 3 | 4¹ = 4 | 12 |
| 1 | 4⁰ = 1 | 1 |

Thus 231₄ = 32 + 12 + 1 = 45₁₀. A subscript gives the base, not a multiplier.

### Practice questions: Place value

1. Which digit is invalid in base 5?
   A. 5
   B. 0
   C. 3
   D. 4
   **Answer:** A. 5. Base 5 uses only 0, 1, 2, 3 and 4.

2. What is the value of digit 2 in 203₄?
   A. 32
   B. 2
   C. 8
   D. 16
   **Answer:** A. 32. Its place value is 4², so its digit value is 2 × 16.

## Convert bases

**Worked example:** Convert 29₁₀ to base 3.

1. 29 ÷ 3 = 9 remainder 2
2. 9 ÷ 3 = 3 remainder 0
3. 3 ÷ 3 = 1 remainder 0; 1 ÷ 3 = 0 remainder 1
4. Read remainders upwards: 1002₃

**Answer:** 29₁₀ = 1002₃

1. Convert the original number to base ten
2. Divide repeatedly by the new base
3. Read remainders from last to first

> **Exam tip:** Keep zero remainders. Omitting one changes the place values.

### Practice questions: Convert bases

1. Convert 101₂ to base ten.
   A. 3
   B. 5
   C. 4
   D. 6
   **Answer:** B. 5. 1 × 4 + 0 × 2 + 1 = 5.

2. Convert 12₁₀ to base 3.
   A. 120₃
   B. 102₃
   C. 110₃
   D. 100₃
   **Answer:** C. 110₃. 12 = 1 × 9 + 1 × 3 + 0.

## Addition and subtraction

Carry one unit into the next column whenever a column reaches the base. Borrow one base-unit when subtracting.

**Worked example:** Calculate 24₅ + 13₅.

1. Units: 4 + 3 = 7₁₀ = 12₅; write 2, carry 1
2. Fives: 2 + 1 + 1 = 4
3. Result = 42₅; check: 14₁₀ + 8₁₀ = 22₁₀

**Answer:** 42₅

**Worked example:** Calculate 102₃ − 21₃.

1. Align columns: 102₃ − 021₃
2. Units: 2 − 1 = 1
3. Borrow from 3²: middle column becomes 3; 3 − 2 = 1

**Answer:** 11₃

> **Exam tip:** Do not carry at ten unless the base is ten. Show non-decimal working without a calculator.

### Practice questions: Addition and subtraction

1. Calculate 11₂ + 1₂.
   A. 12₂
   B. 10₂
   C. 111₂
   D. 100₂
   **Answer:** D. 100₂. Three plus one is four. Binary carrying gives 100₂.

---

Online SPM tuition for Physics, Chemistry, Biology, Mathematics and Additional Mathematics, Form 4–5, in English or BM. Students who want tuition or extra help can request it at https://spmtuition.com/tuition/.
