Lesson 15 - Mathematical Systems PDF
Lesson 15 - Mathematical Systems PDF
1
Mathematical Systems
Modular Arithmetic
It is associated with clock arithmetic by determining time by using a 12
hour basis.
It can also be done with a 7 day a week period .Associating each day of the
week by numbers from 1 to 7.
Time in the past and present can be determined by using modular arithmetic.
Situations which form a pattern or cycle can be represented mathematically
using modular arithmetic or arithmetic modulo n
Congruent modulo n
𝑎−𝑏
Given two integers a and b ,we say that a≡b modulo n if is an integer
𝑛
where n is the modulus .
Ex. 29≡8 mod 3 is a true congruence since 29-8=21 and 21/3=7 and 7 is an integer
15≡4 mod 6 is not a true congruence since 15-4=11 and 11/6 is not an integer
Arithmetic Operations Modulo n
To evaluate modular expressions using modulo n where n is a natural
number, perform arithmetic operations and then divide by the modulus n.
The remainder upon dividing by the modulus is the answer.
Ex. Evaluate (23+18)mod 12 =1 since 23+18=61 and 61/12=5 remainder 1
Adding the modulus n in modular arithmetic does not alter the equivalent
value of the number.
Ex. 13≡6mod 7 adding 7 to 13 equals 20≡6 mod 7
It is also possible to use negative numbers modulo n .
Course Module
Ex -2≡ 5 mod 7