EE512: Error Control Coding: Solution For Assignment On Finite Fields February 16, 2007
EE512: Error Control Coding: Solution For Assignment On Finite Fields February 16, 2007
1. (a) Addition and Multiplication tables for GF (5) and GF (7) are shown in Tables 1 and 2.
+ 0 1 2 3 4 0 1 2 3 4
0 0 1 2 3 4 0 0 0 0 0 0
1 1 2 3 4 0 1 0 1 2 3 4
2 2 3 4 0 1 2 0 2 4 1 3
3 3 4 0 1 2 3 0 3 1 4 2
4 4 0 1 2 3 4 0 4 3 2 1
+ 0 1 2 3 4 5 6 0 1 2 3 4 5 6
0 0 1 2 3 4 5 6 0 0 0 0 0 0 0 0
1 1 2 3 4 5 6 0 1 0 1 2 3 4 5 6
2 2 3 4 5 6 0 1 2 0 2 4 6 1 3 5
3 3 4 5 6 0 1 2 3 0 3 6 2 5 1 4
4 4 5 6 0 1 2 3 4 0 4 1 5 2 6 3
5 5 6 0 1 2 3 4 5 0 5 3 1 6 4 2
6 6 0 1 2 3 4 5 6 0 6 5 4 3 2 1
(b) GF (4) = {0, 1, , 2 }, 2 = + 1, 3 = 1. The addition and multiplication tables are shown
in Table 3.
+ 0 1 2 0 1 2
0 0 1 2 0 0 0 0 0
1 1 0 2 1 0 1 2
2 0 1 0 2 1
2 2 1 0 2 0 2 1
1
Power Polynomial Vector Power Polynomial Vector
inf 0 0000 inf 0 0000
0 1 0001 0 1 0001
0010 0010
2 2 0100 2 2 0100
3 3 1000 3 3 1000
4 +1 0011 4 3
+1 1001
5 2 + 0110 5 3 + + 1 1011
6 3 + 2 1100 6 3 + 2 + + 1 1111
7 3 + + 1 1011 7 2 + + 1 0111
8 2 + 1 0101 8 3 + 2 + 1110
9 3 + 1010 9 2 + 1 0101
10 2
++1 0111 10 3 + 1010
11 3 + 2 + 1110 11 + 2 + 1
3
1101
12 3 + 2 + + 1 1111 12 +1 0011
13 3 + 2 + 1 1101 13 2 + 0110
14 3 + 1 1001 14 3 + 2 1100
(d) Isomorphism between two fields is a one-one and onto mapping of the elements of one field
to another such that all the operations of the fields are preserved. If is an isomorphism
from F1 F2 , (a1 a2 ) = (a1 )o(a2 ), where a1 , a2 F1 , is the operation defined in F1 ,
and o is the operation defined in F2 . Observing the elements of GF (16) constructed using
1 (x), 7 is a root of 2 (x). Thus mapping 7 GF1 GF2 is an isomorphism between
GF1 and GF2 . Similarily, 3 is a root of 3 (x). Thus mapping 3 GF1 GF3 is an
isomorphism between GF1 and GF3 .
3. (a) Finding all polynomials of degree 2 and degree 3 that are irreducible over GF(2) and GF(3):
2
i. x2 + x + 1 is the only irreducible polynomial of degree 2 over GF (2). x3 + x + 1 and
x3 + x2 + 1 are the irreducible polynomials of degree 3 over GF (2). To check if the
irreducible polynomial of degree m over GF (p), f (x) is primitive, it is required to find
the smallest number n such that f (x) divides xn 1. If n = pm 1, then f (x) is primitive,
If n < pm 1, then f (x) is not primitive. Since there is just one irreducible polynomial of
degree 2 over GF (2), it has to be primitive. Both the irreducible polynomials of degree
3 over GF (2) are also primitive.
ii. x2 + x + 2, x2 + 2x + 2 and x2 + 1 are the irreducible polynomials of degree 2 over
GF (3). It can be seen that x2 + 1 divides x4 1 over GF (3); thus, it is not a primitive
polynomial. It can be verified that the other two irreducible polynomials of degree 2 over
GF (3)are primitive. x3 + 2x + 1,x3 + 2x2 + 1,x3 + x2 + 2,x3 + 2x + 2,x3 + x2 + x + 2 and
x3 + 2x2 + 2x + 2 are the irreducible polynomilas of degree 3 over GF (3). x3 + 2x + 1
and x3 + 2x2 + 1 are the primitive polynomials of degree 3 over GF (3), the rest of the
irreducible polynomials are not primitive (It can be verified that they divide x13 1).
(b) Construction of GF (9) in two different ways:
i. Construction using primitive polynomial: Consider the primitive polynomial 1 (x) =
x2 + x + 2. Let be a root of 1 (x) = 0; therefore, 2 = 2 + 1.
To find the isomorphism between GF1 and GF2 , note that 2 GF1 is a root of 2 (x), thus
2 is an isomorphism.
4. (a) Let GF (9) = {0, 1, , 2 , ...., 7 }, where is the root of the primitive polynomial (x) =
x2 + x + 2. The multiplicative group GF (9) = {1, , 2 , ..., 7 }. Ord(i ) = n/(n, i), where n
3
is the order of the multiplicative group (8 in this case) and (n, i) denotes the GCD of n and
i. Primitive elements are the elements with order 8.
Elements of order 2 = { 4 };
Elements of order 4 = { 2 ,6 };
Elements of order 8 = { , 3 , 5 , 7 } (primitive).
Similarly, let GF (16) = {0, 1, , 2 , , 14 , 4 = + 1.
Elements of order 3 = {5 , 10 };
Elements of order 5 = {3 , 6 , 9 , 12 };
Elements of order 15 = {, 2 , 4 , 7 , 8 , 11 , 13 , 14 } (primitive).
(b) Order of elements in GF(32): Order of the Multiplicative group GF (32) is n = 31. Since n is
prime, (n, i) = 1 for all i = all elements are primitive. For all non-zero, non-unity elements
of GF (pm ) to be primitive, pm 1 should be prime.
5. (a) Multiplication and addition in GF(p)are defined modulo p. Thus, order of an element a is the
smallest number n such that an = 1 mod p. Using this condition, order of every element can
be determined. Moreover, order of any element should divide the order of the multiplicative
group p 1. An element is primitive if its order is equal to p 1.
GF(7): Elements of order 2 = { 6}; Elements of order 3 = { 2,4}; Elements of order 6
(primitive) = { 3,5}.
GF(11): Elements of order 2 = { 10}; Elements of order 5 = { 3,4,5,9}; Elements of order 10
(primitive) = { 2,6,7,8}.
(b) All non-zero, non-unity elements of GF (p) cannot be primitive for p > 3 since (p 1) would
not be prime, and there would be elements with order less than (p 1). In GF (3) there is
only one non-zero, non-unity element and it has to be primitive.
m
m1 2 m1
6. (a) Let GF (2m ). We know that 2 = . Therefore, 2 = . Hence, 2 is a
square root of .
(b) Proof is similar to that for the previous part.
7. In GF(16),
(x + y)3 = x3 + y 3 + 3x2 y + 3xy 2 = x3 + y 3 + xy(x + y).
Using the given values for x + y and x3 + y 3 , we get that (14 )3 = + xy(14 ). Simplifying, we
get xy = 14 or y = 14 /x. Using in x + y = 14 , we get
14
x+ = 14 ,
x
or the quadratic equation f (x) = x2 + 14 x + 14 = 0.
By trial and error, we see that the roots of f (x) in GF(16) are 6 and 8 . Hence, possible solutions
for (x, y) are (6 , 8 ) or (8 , 6 ).
8. (a) Since x + y = 3 ,
(x + y)2 = x2 + y 2 = (3 )2 = 6
. We see that the second equation is consistent with and fully dependent on the first equation.
The set of solutions is {(x, x + 3 ) : x GF(16)}.
(b) The second equation is inconsistent with the first equation. Hence, no solution exists.
9. We are given that x3 + y 3 + z 3 = 0 for x, y, x GF(64). Note that x63 = y 63 = z 63 = 1.
Since (a + b)2 = a2 + b2 for a, b GF(64), we see that (a + b)32 = a32 + b32 . Using this, we get
(x3 + y 3 + z 3 )32 = 0.
4
10. Suppose GF(q) is an element of order 5. Then, is a root of x5 1, since 5 1 = 0. Notice
that 2 , 3 , 4 and 5 = 1 are all distinct and additional roots of x5 1. Since x5 1 can have
no further roots in GF(q), we get
in GF(16)[x].
In GF(2)[x],
x5 + 1 = (x + 1)(x4 + x3 + x2 + x + 1)
is a complete factorization into irreducibles.
In GF(11), we see from Problem (5a) that 3 is an element of order 5. Hence,
5 , 10 x2 + x + 1
, 14 , 13 , 11
7
x4 + x3 + 1