Professional Documents
Culture Documents
1 Modular Arithmetic
1 Modular Arithmetic
1 Modular Arithmetic
Learning Outcome
At the end of this module, the student should be
able to:
a) 8 + 3 = 11
b) 8 - 5 = 3
c) 8 + 16 = 0
d) 8 + 9 = 5
e) 8 - 10 = 10
f) 8 - 12 = 8
Example
If it is 11 o'clock and you have to finish
your math homework in 18 hours, what hour
will it be at that time?
Answer: 11 + 18 = 5.
Hence the time that the homework could
it be finished is 5 o’clock.
Example
If it is 12:00 now, what time is it in 12 hours?
What is the remainder when you divide 12 by 12?
Monday = 0
Tuesday = 1
Wednesday = 2
Thursday = 3
Friday = 4
Saturday = 5
Sunday = 6
Example
Let us say today is Wednesday. What
would be the day 11 days after Wednesday?
What would be the remainder if we are going to divide
11 by 7?
a) 12 ≡ 0 (mod 12)
b) 21 ≡ 9 (mod 12)
c) 37 ≡ 1 (mod 12)
d ) 17≡ 5 (mod 12)
Example
Write in the form a ≡ b(mod n) the statement 3 | 6.
Answer:
Answer:
29 ≡ 8 mod 3
7 ≡ 12 mod 5
15 ≡ 4 mod 6.
An alternative method to determine a true
congruence in a ≡ b(mod n), where a and b are whole
numbers, then when a and b is divided by n, they
must have the same remainder.
a) a ≡ a(mod n)
b) if a ≡ b(mod n) then b ≡ a(mod n)
c) if a ≡ b(mod n) and b ≡ c(mod n), then a ≡ c(mod n)
d) if a ≡ b(mod n) and c ≡ d(mod n), then a + c = b + d
(mod n) and ac ≡ bd (mod n)
e) if a ≡ b(mod n), then a + c ≡ b + c (mod n) and ac ≡
bc (mod n)
f) If a ≡ b (mod n), then ak ≡ bk (mod n)
Activity
Determine whether the following is congruence or not
congruence. Write your answer on the right side of each
item.
a) 5 ≡ 8 (mod 3) f) 11 ≡ 15 (mod 4)
b) 5 ≡ 20 (mod 4) g) 7 ≡ 21 (mod 3)
c) 21 ≡ 45 (mod 6) h) 18 ≡ 60 (mod 7)
d) 88 ≡ 5 (mod 9) i) 72 ≡ 30 (mod 5)
e) 100 ≡ 20 (mod 8) j) 25 ≡ 85 (mod 12)
Activity
Direction: Answer the following questions.
Write your answer after each item.
a) What is 13mod1?
b) What is -4mod9?
c) What is -13mod1?
d) What is -14mod2?
e) What is 14mod2?
Activity
Which of the following integers are valid for
solutions for x?
1. Given x ≡ 17 mod 4
a) -43 b) -17 c) 15 d) 25
2. Given x ≡ 11 mod 8
a) -77 b) 77 c) 27 d) 25
Activity
Fill out the table of a modulo 4 addition table and
transform each item in a form of a ≡ b mod n.
+ 0 1 2 3 a) 3+3=
0 b) 2+3=
1 c) 1+2=
2 d) 0+0=
3 e) 2+2=