Difference between revisions of "Aufgaben:Exercise 2.1: Group, Ring, Field"

From LNTwww
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{quiz-Header|Buchseite=Channel_Coding/Some_Basics_of_Algebra}}
 
{{quiz-Header|Buchseite=Channel_Coding/Some_Basics_of_Algebra}}
  
[[File:EN_KC_A_2_1.png|right|frame|"Addition" and "Multiplication" for  $q = 3$  and  $q = 4$.]]
+
[[File:EN_KC_A_2_1.png|right|frame|"Addition" and "Multiplication" <br> &nbsp; &nbsp; for&nbsp; $q = 3$&nbsp; and&nbsp; $q = 4$.]]
In the&nbsp; [[Channel_Coding/Some_Basics_of_Algebra|"theory section"]]&nbsp; to this chapter, various algebraic terms were defined. For what follows, we assume that all sets consist of&nbsp; $q$&nbsp; elements each, where here either&nbsp; $q = 3$&nbsp; or&nbsp; $q = 4$&nbsp; shall hold. Then holds:
+
In the&nbsp; [[Channel_Coding/Some_Basics_of_Algebra|"theory section"]]&nbsp; to this chapter,&nbsp; various algebraic terms were defined.&nbsp; For what follows,&nbsp; we assume that all sets consist of&nbsp; $q$&nbsp; elements each,&nbsp; where here either&nbsp; $q = 3$&nbsp; or&nbsp; $q = 4$.&nbsp; Then holds:
* A&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Definition_and_examples_of_an_algebraic_group|algebraic group]]&nbsp; is a finite set&nbsp; $G = \{0, \, 1, \hspace{0.05cm}\text{...} \hspace{0.1cm} , \ q-1\}$&nbsp; together with a linking rule defined between all elements. An additive group is denoted by&nbsp; $(G, \ +)$&nbsp; a multiplicative one by&nbsp; $(G, \ \cdot)$.
+
* An&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Definition_and_examples_of_an_algebraic_group|"algebraic group"]]&nbsp; is a finite set&nbsp; $G = \{0, \, 1, \hspace{0.05cm}\text{...} \hspace{0.1cm} , \ q-1\}$&nbsp; together with a linking rule defined between all elements.&nbsp; An&nbsp; "additive group"&nbsp; is denoted by&nbsp; $(G, \ +)$,&nbsp; a multiplicative one by&nbsp; $(G, \ \cdot)$.
  
* A&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Definition_and_examples_of_an_algebraic_ring|"algebraic ring"]]&nbsp; denotes a set&nbsp; $R = \{0, \, 1, \hspace{0.05cm}\text{...} \hspace{0.1cm} , \ q-1\}$&nbsp; together with two arithmetic operations defined therein, namely addition&nbsp; ("$+$")&nbsp; and multiplication&nbsp; ("$\hspace{0.05cm}\cdot\hspace{0.05cm}$").
+
* An&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Definition_and_examples_of_an_algebraic_ring|"algebraic ring"]]&nbsp; denotes a set&nbsp; $R = \{0, \, 1, \hspace{0.05cm}\text{...} \hspace{0.1cm} , \ q-1\}$&nbsp; together with two arithmetic operations defined therein,&nbsp; namely addition&nbsp; ("$+$")&nbsp; and multiplication&nbsp; ("$\hspace{0.05cm}\cdot\hspace{0.05cm}$").
  
* A&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Group.2C_ring.2C_field_-_basic_algebraic_concepts|"algebraic field"]]&nbsp; is a ring where division is additionally allowed and the commutative law is satisfied.
+
* An&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Group.2C_ring.2C_field_-_basic_algebraic_concepts|"algebraic field"]]&nbsp; is a ring where division is additionally allowed and the commutative law is satisfied.
  
  
Since we consider here finite sets only, a field is at the same time a Galois field&nbsp; ${\rm GF}(q)$&nbsp; of order&nbsp; $q$.
+
Since we consider here finite sets only,&nbsp; a&nbsp; "field"&nbsp; is at the same time a&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Definition_of_a_Galois_field|"Galois field"]]&nbsp; ${\rm GF}(q)$&nbsp; of order&nbsp; $q$.
  
An essential property of the Galois field&nbsp; ${\rm GF}(q) = \{\hspace{0.1cm}z_0,\hspace{0.1cm} z_1,\hspace{0.05cm}\text{...} \hspace{0.1cm} , \hspace{0.1cm}z_{q-1}\}$&nbsp; is that it has at least one primitive element. An element&nbsp; $z_i &ne; 0$&nbsp; is said to be primitive if the following condition is satisfied &nbsp;$(k$ is integer$)$:
+
An essential property of the Galois field&nbsp; ${\rm GF}(q) = \{\hspace{0.1cm}z_0,\hspace{0.1cm} z_1,\hspace{0.05cm}\text{...} \hspace{0.1cm} , \hspace{0.1cm}z_{q-1}\}$&nbsp; is that it has at least one primitive element:&nbsp; An element&nbsp; $z_i &ne; 0$&nbsp; is said to be&nbsp; "primitive"&nbsp; if the following condition is satisfied &nbsp;$(k$&nbsp; is an integer$)$:
 
:$$z_i^k  \hspace{0.15cm}{\rm mod}\hspace{0.15cm}q = \left\{ \begin{array}{c} \ne 1\\
 
:$$z_i^k  \hspace{0.15cm}{\rm mod}\hspace{0.15cm}q = \left\{ \begin{array}{c} \ne 1\\
 
  1  \end{array} \right.\quad
 
  1  \end{array} \right.\quad
\begin{array}{*{1}c} {\rm f\ddot{u}r} \hspace{0.15cm}1 \le k < q-1
+
\begin{array}{*{1}c} {\rm for} \hspace{0.15cm}1 \le k < q-1
\\  {\rm f\ddot{u}r} \hspace{0.15cm}k = q-1 \\ \end{array}
+
\\  {\rm for} \hspace{0.15cm}k = q-1 \\ \end{array}
\hspace{0.35cm} \Rightarrow \hspace{0.35cm} z_i \hspace{0.15cm}{\rm ist \hspace{0.15cm}ein\hspace{0.15cm} primitives \hspace{0.15cm}Element}  
+
\hspace{0.35cm} \Rightarrow \hspace{0.35cm} z_i \hspace{0.15cm}{\rm is \hspace{0.15cm}a\hspace{0.15cm} primitive \hspace{0.15cm}element}  
 
\hspace{0.05cm}. $$
 
\hspace{0.05cm}. $$
  
Only for a primitive element&nbsp; $z_i$&nbsp; the arithmetic oparation&nbsp; $z_i^k$&nbsp; $($with&nbsp; $k = 1, \, 2, \, 3, \, \hspace{0.05cm}\text{...} )$ yields all elements of the Galois field except the zero element $z_0 = 0$.
+
Only for a primitive element&nbsp; $z_i$&nbsp;  
 +
*the arithmetic oparation&nbsp; $z_i^k$&nbsp; $($with&nbsp; $k = 1, \, 2, \, 3, \, \hspace{0.05cm}\text{...} )$&nbsp; yields all elements of the Galois field  
 +
*except the zero element $z_0 = 0$.
  
  
Line 26: Line 28:
  
  
 +
Hints:
 +
* The exercise covers the topic of the chapter&nbsp; [[Channel_Coding/Some_Basics_of_Algebra| "Some basics of algebra"]].
  
 
+
* Note that for group, ring and field with each&nbsp; $q$&nbsp; elements,&nbsp; the arithmetic operations&nbsp; "$+$"&nbsp; and&nbsp; "$\hspace{0.05cm}\cdot\hspace{0.05cm}$"&nbsp; are to be understood modulo&nbsp; $q$.
 
 
Hints:
 
* The exercise covers the topic of the chapter&nbsp; [[Channel_Coding/Some_Basics_of_Algebra| "some basics of algebra"]].
 
* Note that for group, ring and field with each&nbsp; $q$&nbsp; elements, the arithmetic operations "$+$" and "$\hspace{0.05cm}\cdot\hspace{0.05cm}$" are to be understood modulo&nbsp; $q$&nbsp; respectively.
 
  
  
Line 39: Line 39:
 
===Questions===
 
===Questions===
 
<quiz display=simple>
 
<quiz display=simple>
{Which of the given tables describe a group?
+
{Which of the given tables describe a&nbsp; '''group'''?
 
|type="[]"}
 
|type="[]"}
 
+ Table &nbsp;$\rm A3$,
 
+ Table &nbsp;$\rm A3$,
Line 46: Line 46:
 
- Table &nbsp;$\rm A4$&nbsp; and table &nbsp;$\rm M4$&nbsp; together.
 
- Table &nbsp;$\rm A4$&nbsp; and table &nbsp;$\rm M4$&nbsp; together.
  
{Which of the given tables describe a ring?
+
{Which of the given tables describe a&nbsp; '''ring'''?
 
|type="[]"}
 
|type="[]"}
 
- Table &nbsp;$\rm A3$,
 
- Table &nbsp;$\rm A3$,
Line 54: Line 54:
 
- Table &nbsp;$\rm A3$&nbsp; and table &nbsp;$\rm M4$&nbsp; together.
 
- Table &nbsp;$\rm A3$&nbsp; and table &nbsp;$\rm M4$&nbsp; together.
  
{Which of the tables describe a field or a Galois field?
+
{Which of the tables describe a&nbsp; '''(Galois) field'''?
 
|type="[]"}
 
|type="[]"}
 
- Table &nbsp;$\rm A3$,
 
- Table &nbsp;$\rm A3$,
Line 61: Line 61:
 
- Table &nbsp;$\rm A4$&nbsp; and table &nbsp;$\rm M4$&nbsp; together.
 
- Table &nbsp;$\rm A4$&nbsp; and table &nbsp;$\rm M4$&nbsp; together.
  
{Which elements of the set&nbsp; $\{0, \, 1, \, 2\} \ \Rightarrow \ q = 3$&nbsp; are primitive?
+
{Which elements of the set&nbsp; $\{0, \, 1, \, 2\} \ \Rightarrow \ q = 3$&nbsp; are&nbsp; "primitive"?
 
|type="[]"}
 
|type="[]"}
 
- $z_0 = 0$,
 
- $z_0 = 0$,
Line 67: Line 67:
 
+ $z_2 = 2.$
 
+ $z_2 = 2.$
  
{Which elements of the set&nbsp; $\{0, \, 1, \, 2, \, 3\} \ \Rightarrow \ q = 4$&nbsp; are primitive?
+
{Which elements of the set&nbsp; $\{0, \, 1, \, 2, \, 3\} \ \Rightarrow \ q = 4$&nbsp; are&nbsp; "primitive"?
 
|type="[]"}
 
|type="[]"}
 
- $z_0 = 0$,
 
- $z_0 = 0$,
Line 77: Line 77:
 
===Solution===
 
===Solution===
 
{{ML-Kopf}}
 
{{ML-Kopf}}
'''(1)'''&nbsp; With the number set $Z_3 = \{0, \, 1, \, 2\}$ describes
+
'''(1)'''&nbsp; With the number set&nbsp; $Z_3 = \{0, \, 1, \, 2\}$&nbsp; describes
* the table A3 the additive group $(Z_3, \, +)$,
+
* the table A3 the additive group&nbsp; $(Z_3, \, +)$,
* the table M3 the multiplicative group $(Z_3, \, \cdot)$.
+
* the table M3 the multiplicative group&nbsp; $(Z_3, \, \cdot)$.
 +
 
  
 +
&#8658; &nbsp; <u>Solution suggestion 1 and 2</u>.&nbsp;
  
&#8658; &nbsp; <u>Solution suggestion 1 and 2</u>. The solution suggestions 3 and 4 do not apply here, because only one arithmetic operation (addition or multiplication) is defined for each group.
+
The solution suggestions 3 and 4 do not apply here,&nbsp; because only one arithmetic operation&nbsp; (addition or multiplication)&nbsp; is defined for each group.
  
  
  
'''(2)'''&nbsp; On an algebraic ring, in contrast, two arithmetic operations are defined. Thus, the <u>proposed solutions 3 and 4</u> are correct:
+
'''(2)'''&nbsp; On an algebraic ring,&nbsp; in contrast,&nbsp; two arithmetic operations are defined.&nbsp; Thus,&nbsp; the&nbsp; <u>proposed solutions 3 and 4</u>&nbsp; are correct:
* Tables A3 and M3 describe the ring $(Z_3, \, +, \, \cdot)$.
+
* Tables A3 and M3 describe together the ring&nbsp; $(Z_3, \, +, \, \cdot)$.
* Tables A4 and M4 describe the ring $(Z_4, \, +, \, \cdot)$.
+
* Tables A4 and M4 describe together  the ring&nbsp; $(Z_4, \, +, \, \cdot)$.
  
  
In contrast, A3 and M4 do not describe a ring because they refer to different quantities.
+
In contrast,&nbsp; A3 and M4 do not describe a ring because they refer to different quantities.
  
  
  
'''(3)'''&nbsp; Every field is also a ring, but not every ring is also a field:  
+
'''(3)'''&nbsp; Every field is also a ring,&nbsp;  but not every ring is also a field:  
*For the latter, division is also defined and for each element there is also the '''multiplicative inverse'''.  
+
*For the latter,&nbsp;  division is also defined and for each element there is also the&nbsp; '''multiplicative inverse'''.  
*A '''finite number ring''' of order $q$ (that is, with $q$ elements) is a field only if $q$ is a prime number.  
+
*A&nbsp; '''finite number ring'''&nbsp; of order&nbsp; $q$&nbsp; (that is,&nbsp; with&nbsp; $q$&nbsp; elements)&nbsp; is a field only if&nbsp; $q$&nbsp; is a prime number.  
*This is then also called a '''Galois field''' ${\rm GF}(q)$.
+
*This is then also called a '''Galois field'''&nbsp; ${\rm GF}(q)$.
  
  
So the correct answer is <u>answer 3</u>:  
+
So the correct answer is&nbsp; <u>answer 3</u>:  
*The arithmetic operations according to tables A3 and M3 together result in the Galois field ${\rm GF}(3)$.
+
*The arithmetic operations according to tables A3 and M3 together result in the Galois field&nbsp; ${\rm GF}(3)$.
*In contrast, tables A4 (addition) and M4 multiplication) together with the set $\{0, \, 1, \, 2, \, 3\}$ do not result in the Galois field ${\rm GF}(4)$.  
+
*In contrast,&nbsp; tables A4 (addition) and M4 multiplication) together with the set&nbsp; $\{0, \, 1, \, 2, \, 3\}$&nbsp; do not result in the Galois field&nbsp; ${\rm GF}(4)$.  
*A condition for a Galois field is that for each element $z_i$ there exists a multiplicative inverse ${\rm Inv}_{\rm M}{(z_i)}$ such that the equation $z_i \cdot {\rm Inv}_{\rm M}(z_i) = 1$ is satisfied.  
+
*A condition for a Galois field is that for each element&nbsp; $z_i$&nbsp; there exists a multiplicative inverse&nbsp; ${\rm Inv}_{\rm M}{(z_i)}$&nbsp; such that the equation&nbsp; $z_i \cdot {\rm Inv}_{\rm M}(z_i) = 1$&nbsp; is satisfied.  
*According to table M4, however, $\rm Inv_M(2)$ does not exist. There is no "$1$" in the third row.
+
*According to table M4,&nbsp; however, $\rm Inv_M(2)$&nbsp; does not exist.&nbsp; There is no&nbsp; "$1$"&nbsp; in the third row.
  
  
For example, a Galois field $\rm GF(4)$ is obtained by extending the binary set $\{0, \, 1\}$ to the set $\{0, \, 1, \, \alpha, \, 1+\alpha\}$. For more details, see the [[Channel_Coding/Extension_Field#GF.2822.29_.E2.80.93_Example_of_an_extension.C3.B6rpers|"example of an extension field"]] page.
+
For example,&nbsp; a Galois field&nbsp; $\rm GF(4)$&nbsp; is obtained by extending the binary set&nbsp; $\{0, \, 1\}$&nbsp; to the set&nbsp; $\{0, \, 1, \, \alpha, \, 1+\alpha\}$.&nbsp; For more details, see the page&nbsp; [[Channel_Coding/Extension_Field#GF.2822.29_.E2.80.93_Example_of_an_extension.C3.B6rpers|"Example of an extension field"]] page.
  
  
'''(4)'''&nbsp; The zero element is never a primitive element. Also $z_1 = 1$ is not a primitive element, because then $q = 3$ would have to hold:
+
'''(4)'''&nbsp; The zero element is never a primitive element.&nbsp; Also&nbsp; $z_1 = 1$&nbsp; is not a primitive element,&nbsp; because then with&nbsp; $q = 3$&nbsp; would have to hold:
 
:$$z_1^1 \hspace{0.15cm}{\rm mod\hspace{0.15cm}} 3\hspace{0.1cm} \ne 1  \hspace{0.05cm},\hspace{0.3cm}z_1^2 \hspace{0.15cm}{\rm mod\hspace{0.15cm}} 3\hspace{0.1cm} = 1
 
:$$z_1^1 \hspace{0.15cm}{\rm mod\hspace{0.15cm}} 3\hspace{0.1cm} \ne 1  \hspace{0.05cm},\hspace{0.3cm}z_1^2 \hspace{0.15cm}{\rm mod\hspace{0.15cm}} 3\hspace{0.1cm} = 1
 
\hspace{0.05cm}.$$
 
\hspace{0.05cm}.$$
  
On the other hand, $z_2 = 2$ is a primitive element because of
+
On the other hand,&nbsp; $z_2 = 2$&nbsp; is a primitive element because of
  
 
:$$2^1 \hspace{0.15cm}{\rm mod\hspace{0.15cm}} 3\hspace{0.1cm} = 2  \hspace{0.05cm},\hspace{0.3cm}2^2 \hspace{0.15cm}{\rm mod\hspace{0.15cm}} 3\hspace{0.1cm} = 1
 
:$$2^1 \hspace{0.15cm}{\rm mod\hspace{0.15cm}} 3\hspace{0.1cm} = 2  \hspace{0.05cm},\hspace{0.3cm}2^2 \hspace{0.15cm}{\rm mod\hspace{0.15cm}} 3\hspace{0.1cm} = 1
 
\hspace{0.05cm}.$$
 
\hspace{0.05cm}.$$
  
The correct solution is <u>solution suggestion 3</u>.
+
The correct solution is&nbsp; <u>solution suggestion 3</u>.
  
  
  
'''(5)'''&nbsp; The set $\{0, \, 1, \, 2, \, 3\}$ has <u>no primitive element</u> and accordingly does not satisfy the requirements of a Galois field:  
+
'''(5)'''&nbsp; The set&nbsp; $\{0, \, 1, \, 2, \, 3\}$&nbsp; has <u>no primitive element</u> and accordingly does not satisfy the requirements of a Galois field:  
 
:$$z_1 \hspace{-0.1cm} \ = \ \hspace{-0.1cm} 1\text{:}\hspace{0.35cm}  1^1 = 1\hspace{0.05cm},\hspace{0.1cm}1^2 = 1\hspace{0.05cm},\hspace{0.1cm}1^3 = 1\hspace{0.05cm},$$
 
:$$z_1 \hspace{-0.1cm} \ = \ \hspace{-0.1cm} 1\text{:}\hspace{0.35cm}  1^1 = 1\hspace{0.05cm},\hspace{0.1cm}1^2 = 1\hspace{0.05cm},\hspace{0.1cm}1^3 = 1\hspace{0.05cm},$$
 
:$$z_2 \hspace{-0.1cm} \ = \ \hspace{-0.1cm} 2\text{:}\hspace{0.35cm}  2^1 = 2\hspace{0.05cm},\hspace{0.1cm}2^2 \hspace{0.15cm}{\rm mod}\hspace{0.15cm}4 = 0 \hspace{0.05cm},\hspace{0.1cm}2^3 \hspace{0.15cm}{\rm mod}\hspace{0.15cm}4 = 0\hspace{0.05cm},$$
 
:$$z_2 \hspace{-0.1cm} \ = \ \hspace{-0.1cm} 2\text{:}\hspace{0.35cm}  2^1 = 2\hspace{0.05cm},\hspace{0.1cm}2^2 \hspace{0.15cm}{\rm mod}\hspace{0.15cm}4 = 0 \hspace{0.05cm},\hspace{0.1cm}2^3 \hspace{0.15cm}{\rm mod}\hspace{0.15cm}4 = 0\hspace{0.05cm},$$
Line 132: Line 134:
  
  
[[Category:Channel Coding: Exercises|^2.1 Einige Grundlagen der Algebra^]]
+
[[Category:Channel Coding: Exercises|^2.1 Some Basics of Algebra^]]

Latest revision as of 15:17, 27 August 2022

"Addition" and "Multiplication"
    for  $q = 3$  and  $q = 4$.

In the  "theory section"  to this chapter,  various algebraic terms were defined.  For what follows,  we assume that all sets consist of  $q$  elements each,  where here either  $q = 3$  or  $q = 4$.  Then holds:

  • An  "algebraic group"  is a finite set  $G = \{0, \, 1, \hspace{0.05cm}\text{...} \hspace{0.1cm} , \ q-1\}$  together with a linking rule defined between all elements.  An  "additive group"  is denoted by  $(G, \ +)$,  a multiplicative one by  $(G, \ \cdot)$.
  • An  "algebraic ring"  denotes a set  $R = \{0, \, 1, \hspace{0.05cm}\text{...} \hspace{0.1cm} , \ q-1\}$  together with two arithmetic operations defined therein,  namely addition  ("$+$")  and multiplication  ("$\hspace{0.05cm}\cdot\hspace{0.05cm}$").
  • An  "algebraic field"  is a ring where division is additionally allowed and the commutative law is satisfied.


Since we consider here finite sets only,  a  "field"  is at the same time a  "Galois field"  ${\rm GF}(q)$  of order  $q$.

An essential property of the Galois field  ${\rm GF}(q) = \{\hspace{0.1cm}z_0,\hspace{0.1cm} z_1,\hspace{0.05cm}\text{...} \hspace{0.1cm} , \hspace{0.1cm}z_{q-1}\}$  is that it has at least one primitive element:  An element  $z_i ≠ 0$  is said to be  "primitive"  if the following condition is satisfied  $(k$  is an integer$)$:

$$z_i^k \hspace{0.15cm}{\rm mod}\hspace{0.15cm}q = \left\{ \begin{array}{c} \ne 1\\ 1 \end{array} \right.\quad \begin{array}{*{1}c} {\rm for} \hspace{0.15cm}1 \le k < q-1 \\ {\rm for} \hspace{0.15cm}k = q-1 \\ \end{array} \hspace{0.35cm} \Rightarrow \hspace{0.35cm} z_i \hspace{0.15cm}{\rm is \hspace{0.15cm}a\hspace{0.15cm} primitive \hspace{0.15cm}element} \hspace{0.05cm}. $$

Only for a primitive element  $z_i$ 

  • the arithmetic oparation  $z_i^k$  $($with  $k = 1, \, 2, \, 3, \, \hspace{0.05cm}\text{...} )$  yields all elements of the Galois field
  • except the zero element $z_0 = 0$.



Hints:

  • Note that for group, ring and field with each  $q$  elements,  the arithmetic operations  "$+$"  and  "$\hspace{0.05cm}\cdot\hspace{0.05cm}$"  are to be understood modulo  $q$.



Questions

1

Which of the given tables describe a  group?

Table  $\rm A3$,
Table  $\rm M3$,
Table  $\rm A3$  and table  $\rm M3$  together,
Table  $\rm A4$  and table  $\rm M4$  together.

2

Which of the given tables describe a  ring?

Table  $\rm A3$,
Table  $\rm M3$,
Table  $\rm A3$  and table  $\rm M3$  together,
table  $\rm A4$  and table  $\rm M4$  together,
Table  $\rm A3$  and table  $\rm M4$  together.

3

Which of the tables describe a  (Galois) field?

Table  $\rm A3$,
Table  $\rm M3$,
Table  $\rm A3$  and table  $\rm M3$  together,
Table  $\rm A4$  and table  $\rm M4$  together.

4

Which elements of the set  $\{0, \, 1, \, 2\} \ \Rightarrow \ q = 3$  are  "primitive"?

$z_0 = 0$,
$z_1 = 1$,
$z_2 = 2.$

5

Which elements of the set  $\{0, \, 1, \, 2, \, 3\} \ \Rightarrow \ q = 4$  are  "primitive"?

$z_0 = 0$,
$z_1 = 1$,
$z_2 = 2$,
$z_3 = 3$.


Solution

(1)  With the number set  $Z_3 = \{0, \, 1, \, 2\}$  describes

  • the table A3 the additive group  $(Z_3, \, +)$,
  • the table M3 the multiplicative group  $(Z_3, \, \cdot)$.


⇒   Solution suggestion 1 and 2

The solution suggestions 3 and 4 do not apply here,  because only one arithmetic operation  (addition or multiplication)  is defined for each group.


(2)  On an algebraic ring,  in contrast,  two arithmetic operations are defined.  Thus,  the  proposed solutions 3 and 4  are correct:

  • Tables A3 and M3 describe together the ring  $(Z_3, \, +, \, \cdot)$.
  • Tables A4 and M4 describe together the ring  $(Z_4, \, +, \, \cdot)$.


In contrast,  A3 and M4 do not describe a ring because they refer to different quantities.


(3)  Every field is also a ring,  but not every ring is also a field:

  • For the latter,  division is also defined and for each element there is also the  multiplicative inverse.
  • finite number ring  of order  $q$  (that is,  with  $q$  elements)  is a field only if  $q$  is a prime number.
  • This is then also called a Galois field  ${\rm GF}(q)$.


So the correct answer is  answer 3:

  • The arithmetic operations according to tables A3 and M3 together result in the Galois field  ${\rm GF}(3)$.
  • In contrast,  tables A4 (addition) and M4 multiplication) together with the set  $\{0, \, 1, \, 2, \, 3\}$  do not result in the Galois field  ${\rm GF}(4)$.
  • A condition for a Galois field is that for each element  $z_i$  there exists a multiplicative inverse  ${\rm Inv}_{\rm M}{(z_i)}$  such that the equation  $z_i \cdot {\rm Inv}_{\rm M}(z_i) = 1$  is satisfied.
  • According to table M4,  however, $\rm Inv_M(2)$  does not exist.  There is no  "$1$"  in the third row.


For example,  a Galois field  $\rm GF(4)$  is obtained by extending the binary set  $\{0, \, 1\}$  to the set  $\{0, \, 1, \, \alpha, \, 1+\alpha\}$.  For more details, see the page  "Example of an extension field" page.


(4)  The zero element is never a primitive element.  Also  $z_1 = 1$  is not a primitive element,  because then with  $q = 3$  would have to hold:

$$z_1^1 \hspace{0.15cm}{\rm mod\hspace{0.15cm}} 3\hspace{0.1cm} \ne 1 \hspace{0.05cm},\hspace{0.3cm}z_1^2 \hspace{0.15cm}{\rm mod\hspace{0.15cm}} 3\hspace{0.1cm} = 1 \hspace{0.05cm}.$$

On the other hand,  $z_2 = 2$  is a primitive element because of

$$2^1 \hspace{0.15cm}{\rm mod\hspace{0.15cm}} 3\hspace{0.1cm} = 2 \hspace{0.05cm},\hspace{0.3cm}2^2 \hspace{0.15cm}{\rm mod\hspace{0.15cm}} 3\hspace{0.1cm} = 1 \hspace{0.05cm}.$$

The correct solution is  solution suggestion 3.


(5)  The set  $\{0, \, 1, \, 2, \, 3\}$  has no primitive element and accordingly does not satisfy the requirements of a Galois field:

$$z_1 \hspace{-0.1cm} \ = \ \hspace{-0.1cm} 1\text{:}\hspace{0.35cm} 1^1 = 1\hspace{0.05cm},\hspace{0.1cm}1^2 = 1\hspace{0.05cm},\hspace{0.1cm}1^3 = 1\hspace{0.05cm},$$
$$z_2 \hspace{-0.1cm} \ = \ \hspace{-0.1cm} 2\text{:}\hspace{0.35cm} 2^1 = 2\hspace{0.05cm},\hspace{0.1cm}2^2 \hspace{0.15cm}{\rm mod}\hspace{0.15cm}4 = 0 \hspace{0.05cm},\hspace{0.1cm}2^3 \hspace{0.15cm}{\rm mod}\hspace{0.15cm}4 = 0\hspace{0.05cm},$$
$$z_3 \hspace{-0.1cm} \ = \ \hspace{-0.1cm} 3\text{:}\hspace{0.35cm} 3^1 = 3\hspace{0.05cm},\hspace{0.1cm}3^2 \hspace{0.15cm}{\rm mod}\hspace{0.15cm}4 = 1 \hspace{0.05cm},\hspace{0.1cm}3^3 \hspace{0.15cm}{\rm mod}\hspace{0.15cm}4 = 3\hspace{0.05cm}.$$