0% found this document useful (0 votes)
68 views5 pages

EE512: Error Control Coding: Solution For Assignment On Finite Fields February 16, 2007

Uploaded by

Aditya Dusi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views5 pages

EE512: Error Control Coding: Solution For Assignment On Finite Fields February 16, 2007

Uploaded by

Aditya Dusi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

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

Table 1: Tables for GF(5)

+ 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

Table 2: Tables for GF(7)

(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

Table 3: Tables for GF(4)

2. Construction of GF (16) using three different irreducible polynomials:


(a) Using 1 (x) = x4 + x + 1: Let be a root of 1 (x) = 0; 4 = + 1. Table 4 shows the
construction.
(b) Using 2 (x) = x4 + x3 + 1: Let be a root of 2 (x) = 0; 4 = 3 + 1. Table 4 shows the
construction.
(c) Using 3 (x) = x4 + x3 + x2 + x + 1: Let be a root of 3 (x) = 0; 4 = 3 + 2 + + 1. Table
5 shows the powers of . Note that is not a primitive element of GF (16), since order of

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

Table 4: GF(16) using 1 (x) and 2 (x).

is 5. It can be noticed that the polynomial 3 (x) = x4 + x3 + x2 + x + 1 can be written as


3 (x) = (1 + x)4 + (1 + x)3 + 1 = 2 (1 + x). Thus (1 + ) is a root of 2 (x), and it has to be
a primitive element, since 2 (x) is a primitive polynomial. Table 5 shows the construction of
GF (16) using (1 + ) as the primitive element.

Power Polynomial Vector


(1 + ) inf 0 0000
(1 + )0 1 0001
(1 + ) 1+ 0011
(1 + )2 1 + 2 0101
Power Polynomial
(1 + )3 1 + + 2 + 3 1111
inf 0
(1 + )4 + 2 + 3 1110
0 1
(1 + )5 1 + 2 + 3 1101

(1 + )6 3 1000
2 2
(1 + )7 1 + + 2 0111
3 3
(1 + )8 1 + 3 1001
4 3 2
+ ++1
(1 + )9 2 0100
5 1
(1 + )10 + 3
2
1100
(1 + )11 1 + + 3 1011
(1 + )12 0010
(1 + )13 + 2 0110
(1 + )14 + 3 1010

Table 5: GF (16) using 3 (x).

(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.

Power Polynomial Vector(with basis [1,])


0 0 00
1 1 01
10
2 2 + 1 21
3 2 + 2 22
4 2 02
5 2 20
6 +2 12
7 +1 11

Table 6: GF1 (9)

ii. Construction using non-primitive polynomial: Consider the non-primitive polynomial


2 (x) = x2 + 1. Let be a root of 2 (x) = 0. Since 2 (x) is not a primitive polynomial,
will not be a primitive element of GF (9). 2 (x) can be written as, 2 (x) = (x + 1)2 +
(x + 1) + 2, Thus (1 + ) is a primitive element of GF (9).

Power Polynomial Vector(with basis [1,])


0 0 00
1 1 01
(1 + ) +1 11
(1 + )2 2 20
(1 + )3 2 + 1 21
(1 + )4 2 02
(1 + )5 2 + 2 22
(1 + )6 10
(1 + )7 +2 12

Table 7: GF2 (9)

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.

Simplifying the LHS above, we get that x33 + y 33 + z 33 = 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

x5 1 = (x )(x 2 )(x 3 )(x 4 )(x 5 ).

(a) If GF(16) is a primitive element, we see that Ord(3 ) = 5. Hence,

x5 + 1 = (x + 3 )(x + 6 )(x + 9 )(x + 12 )(x + 1)

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,

x5 1 = (x 3)(x 32 )(x 33 )(x 34 )(x 35 ),


= (x 3)(x 9)(x 5)(x 4)(x 1).

(b) x5 1 factors into linear factors over GF(p) when p 1 is a multiple of 5.


11. (a) i. Cyclotomic Decomposition of GF(9) (: primitive): S = {0 } {, 3 } {2 , 6 }
{4 } {5 , 7 }. Table 8 lists the minimal poynomials.

Element Minimal Polynomial


0 x
1 x+1
, 3 x2 + x + 2
2 , 6 x2 + 1
4 x+2
, 7
5
x2 x + 2

Table 8: Minimal polynomials of GF(9).

ii. Cyclotomic Decomposition of GF(16) (: primitive): S = {0 } {, 2 , 4 , 8 }


{3 , 6 , 12 , 9 } {5 , 2 } {7 , 14 13 , 11 }. Table 9 lists the minimal poynomials.

Element Minimal Polynomial


0 x
1 x+1
, 2 , 4 , 8 x4 + x + 1
3 , 6 , 12 , 9 x + x3 + x2 + x + 1
4

5 , 10 x2 + x + 1
, 14 , 13 , 11
7
x4 + x3 + 1

Table 9: Minimal polynomials of GF(16).

(b) Not neccessarily. As a counterexample, the minimal polynomial of 3 GF(16) (order 5,


nonprimitive element) has degree 4.

You might also like