Discrete Mathematics: Wwlchen
Discrete Mathematics: Wwlchen
Discrete Mathematics: Wwlchen
W W L CHEN
c
W W L Chen, 1991, 2008.
This chapter is available free to all individuals, on the understanding that it is not to be used for nancial gain, and may be downloaded and/or photocopied, with or without permission from the author. However, this document may not be kept on any information storage and retrieval system without permission from the author, unless such system is not accessible to any individuals other than its owners.
Chapter 9
GROUPS AND MODULO ARITHMETIC
9.1. Addition Groups of Integers Example 9.1.1. Consider the set Z5 = {0, 1, 2, 3, 4}, together with addition modulo 5. We have the following addition table: + 0 1 2 3 4 0 0 1 2 3 4 1 1 2 3 4 0 2 2 3 4 0 1 3 3 4 0 1 2 4 4 0 1 2 3
It is easy to see that the following hold: (1) For every x, y Z5 , we have x + y Z5 . (2) For every x, y, z Z5 , we have (x + y) + z = x + (y + z). (3) For every x Z5 , we have x + 0 = 0 + x = x. (4) For every x Z5 , there exists x Z5 such that x + x = x + x = 0. Definition. A set G, together with a binary operation , is said to form a group, denoted by (G, ), if the following properties are satised: (G1) (CLOSURE) For every x, y G, we have x y G. (G2) (ASSOCIATIVITY) For every x, y, z G, we have (x y) z = x (y z). (G3) (IDENTITY) There exists e G such that x e = e x = x for every x G. (G4) (INVERSE) For every x G, there exists an element x G such that x x = x x = e.
Chapter 9 : Groups and Modulo Arithmetic page 1 of 5
Discrete Mathematics
Here, we are not interested in studying groups in general. Instead, we shall only concentrate on groups that arise from sets of the form Zk = {0, 1, . . . , k 1} and their subsets, under addition or multiplication modulo k. It is not dicult to see that for every k N, the set Zk forms a group under addition modulo k. Conditions (G1) and (G2) follow from the corresponding conditions for ordinary addition and results on congruences modulo k. The identity is clearly 0. Furthermore, 0 is its own inverse, while every x = 0 clearly has inverse k x. PROPOSITION 9A. For every k N, the set Zk forms a group under addition modulo k. We shall now concentrate on the group Z2 under addition modulo 2. Clearly we have 0+0=1+1=0 and 0 + 1 = 1 + 0 = 1.
In coding theory, messages will normally be sent as nite strings of 0s and 1s. It is therefore convenient to use the digit 1 to denote an error, since adding 1 modulo 2 changes the number, and adding another 1 modulo 2 has the eect of undoing this change. On the other hand, we also need to consider nitely many copies of Z2 . Suppose that n N is xed. Consider the cartesian product Zn = Z2 . . . Z2 2
n
of n copies of Z2 . We can dene addition in Zn by coordinate-wise addition modulo 2. In other words, 2 for every (x1 , . . . , xn ), (y1 , . . . , yn ) Zn , we have 2 (x1 , . . . , xn ) + (y1 , . . . , yn ) = (x1 + y1 , . . . , xn + yn ). It is an easy exercise to prove the following result. PROPOSITION 9B. For every n N, the set Zn forms a group under coordinate-wise addition 2 modulo 2.
9.2. Multiplication Groups of Integers Example 9.2.1. Consider the set Z4 = {0, 1, 2, 3}, together with multiplication modulo 4. We have the following multiplication table: 0 1 2 3 0 0 0 0 0 1 0 1 2 3 2 0 2 0 2 3 0 3 2 1
It is clear that we cannot have a group. The number 1 is the only possible identity, but then the numbers 0 and 2 have no inverse. Example 9.2.2. Consider the set Zk = {0, 1 . . . , k 1}, together with multiplication modulo k. Again it is clear that we cannot have a group. The number 1 is the only possible identity, but then the number 0 has no inverse. Also, any proper divisor of k has no inverse.
Chapter 9 : Groups and Modulo Arithmetic page 2 of 5
Discrete Mathematics
It follows that if we consider any group under multiplication modulo k, then we must at least remove every element of Zk which does not have a multiplicative inverse modulo k. We then end up with the subset Z = {x Zk : xu = 1 for some u Zk }. k Example 9.2.3. Consider the subset Z = {1, 3, 7, 9} of Z10 . It is fairly easy to check that Z , together 10 10 with multiplication modulo 10, forms a group of 4 elements. In fact, we have the following group table: 1 3 7 9 1 1 3 7 9 3 3 9 1 7 7 7 1 9 3 9 9 7 3 1
PROPOSITION 9C. For every k N, the set Z forms a group under multiplication modulo k. k Proof. Condition (G2) follows from the corresponding condition for ordinary multiplication and results on congruences modulo k. The identity is clearly 1. Inverses exist by denition. It remains to prove (G1). Suppose that x, y Z . Then there exist u, v Zk such that xu = yv = 1. Clearly (xy)(uv) = 1 k and uv Zk . Hence xy Z . k PROPOSITION 9D. For every k N, we have Z = {x Zk : (x, k) = 1}. k Proof. Recall Proposition 4H. There exist u, v Z such that (x, k) = xu + kv. It follows that if (x, k) = 1, then xu = 1 modulo k, so that x Z . On the other hand, if (x, k) = m > 1, then for any k u Zk , we have xu {0, m, 2m, . . . , k m}, so that xu = 1 modulo k, whence x Z . k
9.3. Group Homomorphism In coding theory, we often consider functions of the form : Zm Zn , where m, n N and n > m. 2 2 Here, we think of Zm and Zn as groups described by Proposition 9B. In particular, we are interested 2 2 in the special case when the range C = (Zm ) forms a group under coordinate-wise addition modulo 2 2 in Zn . Instead of checking whether this is a group, we often check whether the function : Zm Zn is 2 2 2 a group homomorphism. Essentially, a group homomorphism carries some of the group structure from its domain to its range, enough to show that its range is a group. To motivate this idea, we consider the following example. Example 9.3.1. If we compare the additive group (Z4 , +) and the multiplicative group (Z10 , ), then there does not seem to be any similarity between the group tables: + 0 1 2 3 0 0 1 2 3 1 1 2 3 0 2 2 3 0 1 3 3 0 1 2 1 3 7 9 1 1 3 7 9 3 3 9 1 7 7 7 1 9 3 9 9 7 3 1
page 3 of 5
Discrete Mathematics
However, if we alter the order in which we list the elements of Z , then we have the following: 10 + 0 1 2 3 0 0 1 2 3 1 1 2 3 0 2 2 3 0 1 3 3 0 1 2 1 7 9 3 1 1 7 9 3 7 7 9 3 1 9 9 3 1 7 3 3 1 7 9
We therefore conclude that (Z4 , +) and (Z , ) have a great deal in common. Indeed, we can imagine 10 that a function : Z4 Z , dened by 10 (0) = 1, may have some nice properties. Definition. Suppose that (G, ) and (H, ) are groups. A function : G H is said to be a group homomorphism if the following condition is satised: (HOM) For every x, y G, we have (x y) = (x) (y). Definition. Suppose that (G, ) and (H, ) are groups. A function : G H is said to be a group isomorphism if the following conditions are satised: (IS1) : G H is a group homomorphism. (IS2) : G H is one-to-one. (IS3) : G H is onto. Definition. We say that two groups G and H are isomorphic if there exists a group isomorphism : G H. Example 9.3.2. The groups (Z4 , +) and (Z , ) are isomorphic. 10 Example 9.3.3. The groups (Z2 , +) and ({1}, ) are isomorphic. Simply dene : Z2 {1} by (0) = 1 and (1) = 1. Example 9.3.4. Consider the groups (Z, +) and (Z4 , +). Dene : Z Z4 in the following way. For each x Z, let (x) Z4 satisfy (x) x (mod 4), when (x) is interpreted as an element of Z. It is not dicult to check that : Z Z4 is a group homomorphism. This is called reduction modulo 4. We state without proof the following result which is crucial in coding theory. PROPOSITION 9E. Suppose that : Zm Zn is a group homomorphism. Then C = (Zm ) forms 2 2 2 a group under coordinate-wise addition modulo 2 in Zn . 2 Remark. The general form of Proposition 9E is the following: Suppose that (G, ) and (H, ) are groups, and that : G H is a group homomorphism. Then the range (G) = {(x) : x G} forms a group under the operation of H.
Chapter 9 : Groups and Modulo Arithmetic page 4 of 5
(1) = 7,
(2) = 9,
(3) = 3,
Discrete Mathematics
Problems for Chapter 9 1. Suppose that : G H and : H K are group homomorphisms. Prove that : G K is a group homomorphism. 2. Prove Proposition 9E.
page 5 of 5