

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


We review the notion of congruence mod n from Math 290, and revisit the arithmetic of the set Zn of all congruence classes of integers modulo n.
written a ā” b (mod n), if n | (a ā b). Congruence mod n is a relation on Z.
(1) a ā” a (mod n) (congruence mod n is reflexive), (2) if a ā” b (mod n), then b ā” a (mod n) (congruence mod n is symmetric), and (3) if a ā” b (mod n) and b ā” c (mod n), then a ā” c (mod n) (congruence mod n is transitive). Remark. Thus congruence mod n is an equivalence relation on Z. Proof. (1) Since a ā a = 0 is divisible of n, that is a ā a = n0, then a ā” a (mod n). (2) Suppose a ā” b (mod n). Then a ā b = nk for some k ā Z, and so b ā a = n(āk). This says that b ā” a (mod n). (3) Suppose a ā” b (mod n) and b ā” c (mod n). Then a ā b = nk for some k ā Z and b ā c = nl for some l ā Z. It follows that a ā c = (a ā b) + (b ā c) = nk + nl = n(k + l).
This says that a ā” c (mod n). Some of the arithmetic of congruence mod n is very similar to the corresponding arith- metic of Z.
(1) a + c ā” b + d (mod n), and (2) ac ā” bd (mod n).
Proof. We suppose that a ā b = nk for some k ā Z and c ā d = nl for some l ā Z. (1) We have
(a + c) ā (b + d) = (a ā b) + (c ā d) = nk + nl = n(k + l).
This says that a + c ā” b + d (mod n). (2) We have
ac ā bd = ac ā bc + bc ā bd = (a ā b)c + b(c ā d) = nkc + bnl = n(kc + bl).
This says that ac ā” bd (mod n).
set [a] = {b ā Z : b ā” a (mod n)}.
Because b ā” a (mod n) means b ā a = nk for some k ā Z, we have
[a] = {a + kn : k ā Z}.
For example, when n = 6, we have
[1] = { 1 , 1 ± 6 , 1 ± 12 ,... } = {... , ā 11 , ā 5 , 1 , 7 , 13 ,... }.
Proof. Suppose that a ā” c (mod n). We show [a] = [c] by showing the inclusions [a] ā [c] and [c] ā [a]. For b ā [a] we have b ā” a (mod n). Since a ā” c (mod n) we have by transitivity that b ā” c (mod n). Thus b ā [c]. For b ā [c], we have b ā” c (mod n). Since a ā” c (mod n), we have by symmetry that c ā” a (mod n). Thus by transitivity we have b ā” a (mod n), meaning b ā [a]. Now suppose that [a] = [c]. By reflexivity, a ā” a (mod n), so that a ā [a], and hence a ā [c]. Then we have a ā” c (mod n). Recall for two sets A and C we have three possibilites: either A ā© C = ā (A and C are disjoint), A = C (they are identical), or A ā© C is nonempty but A 6 = C.
Proof. If [a] and [c] are disjoint, there is nothing to prove. So suppose that [a] ā© [c] is nonempty. Then there is b ā [a] ā© [c], which means that b ā” a (mod n) and b ā” c (mod n). By symmetry and transitivity we have a ā” c (mod n). Hence by Theorem 2.3 we have [a] = [c].
(1) If a ā Z and r is the remainder when a is divided by n, then [a] = [r]. (2) There are exactly n distinct congruence classes modulo n, namely [0], [1],... , [nā1].
Remark. The set {[0], [1],... , [n ā 1]} is denoted by Zn.