SUBJECT: MATHEMATICS
CLASS: SS 1
DATE:
TERM: 1st TERM
REFERENCE BOOKS
WEEK FOUR
TOPIC: Modular Arithmetic
CONTENT
Modular Arithmetic
In the previous section, we discovered a new kind of arithmetic, where we add positive integers by roating in number cycle. This arithmetic is called modular arithmetic. In our example, we ignored multiples of 4 and concentrated on the remainders. In this case we say that the modulus is 4
For example,
5 = 1 (mod 4)
Where mod 4 means with modulus 4 or modulo 4.
Note that 9 4 = 2, remainder 1
And 45 4 = 11 remainder 1
We say that 9 and 45 are equal modulo 4,
i.e. 9 = 45 = 1 (mod 4)
Example 1
Reduce 55 to its simplest form:
55 = 1 (mod 3)
55 = 3 (mod 4)
55 = 0 (mod 5)
55 = 1 (mod 6)
EVALUATION
Addition, Subtraction and Multiplication Operations in Module Arithmetic
Addition and Subtraction
The table below shows an addition table (mod 4) in which numbers 0, 1, 2 and 3 are added to themselves.
Second number
⨠| 0 | 1 | 2 | 3 |
1 | 0 | 1 | 2 | 3 |
2 | 1 | 2 | 3 | 0 |
3 | 2 | 3 | 0 | 1 |
4 | 3 | 0 | 1 | 2 |
In the table, multiples of 4 are ignored and remainders are written down. For example 2 ⨠3 = 5 = 1 (mod 4) and 2 ⨠2 = 4 = 0 (mod 4.) note that we often use the symbol ⨠to show addition in modular arithmetic.
Example 1
Find a. 0 3 (mod 4), b. 1 2 (mod 4)
The result is 1.
Therefore, 0 3 = 1 (mod 4)
Therefore, 1 2 = 3 (mod 4).
Second number
0 | 1 | 2 | 3 | |
0 | 0 | |||
1 | 1 | 0 | 3 | |
2 | 2 | 1 | ||
3 | 3 |
Notice the importance here of stating which number comes first, e.g. 2 1 1 2
Example 2
Add 39 ⨠29 (mod 6)
Either
39 ⨠29 = 68
= (6 x 11 + 2)
= 2 (mod 6)
Or, expressing both numbers in mod 6
39 ⨠29 = (6 x 6 + 3) + (6 x 4 + 5)
= (3 + 5) (mod 6)
= 8 (mod 6)
=2 (mod 6)
Multiplication
Example 1
Evaluate the following, modulo 4,
Or expressing both numbers in mod 4
33 ⨠9 = 1 x 1 (mod 4)
= 1 (mod 4)
Example 2
Evaluate the following in the given moduli.
= 22 ⨠5 + 2
= 2 (mod 5)
or
16 = 15 + 1 = 1 (mod 5)
7 = 5 + 2 = 2 (mod 5)
16 ⨠7 = 1 ⨠2 (mod 5)
= 2 (mod 5)
18 = 0 (mod 3)
17 = 2 (mod 3)
18 ⨠17 = 0 ⨠2 (mod 3)
= 0 (mod 3)
In examples 1, 2, it can be seen that it is usually most convenient to convert the given numbers to their simplest form before calculation.
EVALUATION
GENERAL EVALUATION
⨠| 0 | 1 | 2 | 3 | 4 | 5 |
0 | 0 | 0 | 0 | 0 | ||
1 | 0 | |||||
2 | 0 | |||||
3 | 0 | 1 | ||||
4 | 1 | |||||
5 | 0 | 0 |
READING ASSIGNMENT
New General Mathematics for SS 1 Page 239 ex. 20c 1 – 10
WEEKEND ASSIGNMENT
Find the simplest form of the following in the given moduli.
Find the values in the moduli written beside them.
THEORY
⨠| 2 | 3 | 4 | 5 |
2 | ||||
3 | 3 | 0 | ||
4 | ||||
5 | 3 | 2 | 1 |
© Lesson Notes All Rights Reserved 2023