Difference between revisions of "Channel Coding/Some Basics of Algebra"

From LNTwww
 
(24 intermediate revisions by 3 users not shown)
Line 8: Line 8:
 
== # OVERVIEW OF THE SECOND MAIN CHAPTER # ==
 
== # OVERVIEW OF THE SECOND MAIN CHAPTER # ==
 
<br>
 
<br>
This chapter discusses the ''Reed-Solomon codes'', invented in the early 1960s by&nbsp; [https://en.wikipedia.org/wiki/Irving_S._Reed "Irving Stoy Reed"]&nbsp; and&nbsp; [https://en.wikipedia.org/wiki/Gustave_Solomon "Gustave Solomon"]&nbsp;. Unlike binary block codes, these are based on a Galois field&nbsp; ${\rm GF}(2^m)$&nbsp; with&nbsp; $m > 1$. So they work with multilevel symbols instead of binary characters (bits).
+
This chapter discusses the&nbsp; &raquo;Reed-Solomon codes&laquo;,&nbsp; invented in the early 1960s by&nbsp; [https://en.wikipedia.org/wiki/Irving_S._Reed $\text{Irving Stoy Reed}$]&nbsp; and&nbsp; [https://en.wikipedia.org/wiki/Gustave_Solomon $\text{Gustave Solomon}$].&nbsp; Unlike binary block codes,&nbsp; these codes are based on a Galois field &nbsp; ${\rm GF}(2^m)$ &nbsp; with&nbsp; $m > 1$.&nbsp; So they work with multi-level symbols instead of binary characters&nbsp; ("bits").
  
Specifically, this chapter covers:
+
Specifically,&nbsp; this chapter covers:
  
*The basics of linear algebra: &nbsp; set, group, ring, field, finite field,
+
*The basics of&nbsp; &raquo;linear algebra&laquo;: &nbsp; &raquo;set&laquo;, &nbsp; &raquo;group&laquo;, &nbsp; &raquo;ring&laquo;, &nbsp; &raquo;field&laquo;,&nbsp; finite field&laquo;,
*the definition of extension fields &nbsp; ⇒ &nbsp; ${\rm GF}(2^m)$&nbsp; and the corresponding operations,
+
 
*the meaning of irreducible polynomials and primitive elements,
+
*the definition of&nbsp; &raquo;extension fields&laquo; &nbsp; ⇒ &nbsp; ${\rm GF}(2^m)$&nbsp; and the corresponding operations,
*the description and realization possibilities of a Reed-Solomon code,
+
 
*the error correction of such a code at the binary ersaure channel (BEC),
+
*the meaning of&nbsp; &raquo;irreducible polynomials&laquo; &nbsp; and&nbsp; &raquo;primitive elements&laquo;,
*the decoding using the ''Error Locator Polynomial'' &nbsp; ⇒ &nbsp; ''Bounded Distance Decoding'' (BDD),
+
 
*the block error probability of Reed-Solomon codes and typical applications.
+
*the&nbsp; &raquo;description and realization possibilities&laquo; &nbsp; of a Reed-Solomon code,
 +
 
 +
*the error correction of such a code at the&nbsp; &raquo;binary ersaure channel&laquo; &nbsp; $\rm (BEC)$,
 +
 
 +
*the decoding using the&nbsp; &raquo;Error Locator Polynomial &nbsp; ⇒ &nbsp; "Bounded Distance Decoding" &nbsp; $\rm (BDD)$,
 +
 
 +
*the&nbsp; &raquo;block error probability&laquo; &nbsp; of Reed-Solomon codes&nbsp; and &nbsp; &raquo;typical applications&laquo;.
  
  
Line 26: Line 32:
 
== Definition of a Galois field ==
 
== Definition of a Galois field ==
 
<br>
 
<br>
Before we can turn to the description of Reed&ndash;Solomon codes, we need some basic algebraic notions. We begin with the properties of the Galois field&nbsp; ${\rm GF}(q)$, named after the Frenchman&nbsp; [https://en.wikipedia.org/wiki/%C3%89variste_Galois Évariste Galois], whose biography is rather unusual for a mathematician.<br>
+
Before we can turn to the description of&nbsp; Reed&ndash;Solomon codes,&nbsp; we need some basic algebraic notions.&nbsp; We begin with the properties of the Galois field &nbsp; ${\rm GF}(q)$,&nbsp; named after the Frenchman&nbsp; [https://en.wikipedia.org/wiki/%C3%89variste_Galois $\text{Évariste Galois}$], whose biography is rather unusual for a mathematician.<br>
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Definition:}$&nbsp;  A&nbsp; $\rm Galois\:field$&nbsp; ${\rm GF}(q)$&nbsp; is a&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Definition_and_Examples_of_an_Algebraic_Ring| "finite field"]]&nbsp; with&nbsp; $q$&nbsp; elements&nbsp; $z_0$,&nbsp; $z_1$,&nbsp; ... ,&nbsp; $z_{q-1}$, if the eight statements listed below &nbsp;$\rm (A)$&nbsp; ... &nbsp;$\rm (H)$&nbsp; with respect to ''addition'' ("$+$") and ''multiplication'' ("$\cdot $") are true.   
+
$\text{Definition:}$&nbsp;  A &nbsp; $\rm Galois\:field$&nbsp; ${\rm GF}(q)$&nbsp; is a&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Group.2C_ring.2C_field_-_basic_algebraic_concepts|$\text{finite field}$]]&nbsp; with&nbsp; $q$&nbsp; elements&nbsp; $z_0$,&nbsp; $z_1$,&nbsp; ... ,&nbsp; $z_{q-1}$, if the eight statements listed below &nbsp;$\rm (A)$&nbsp; ... &nbsp;$\rm (H)$&nbsp; with respect to&nbsp; "addition" &nbsp; &rArr; &nbsp; "$+$" &nbsp; and&nbsp; "multiplication"&nbsp; &rArr; &nbsp;"$\hspace{0.05cm}\cdot \hspace{0.05cm}$" &nbsp; are true.   
 
*Addition and multiplication are to be understood here modulo&nbsp; $q$&nbsp;.
 
*Addition and multiplication are to be understood here modulo&nbsp; $q$&nbsp;.
*The&nbsp; $\rm order$&nbsp; $q$&nbsp; indicates the number of elements of the Galois field}}.
+
 
 +
*The&nbsp; $\rm order$&nbsp; $q$&nbsp; indicates the number of elements of the Galois field.}}
  
  
Line 43: Line 50:
 
\hspace{0.05cm}. </math>
 
\hspace{0.05cm}. </math>
  
$\rm (B)$&nbsp; There is a neutral element $N_{\rm A}$ with respect to addition, the so-called <i>zero element</i>. $\hspace{0.2cm}\Rightarrow \hspace{0.2cm}\rm Identity \ for \ "\hspace{-0.05cm}+\hspace{0.05cm}"$:
+
$\rm (B)$&nbsp; There is a neutral element&nbsp; $N_{\rm A}$&nbsp; with respect to addition,&nbsp; the so-called&nbsp; "zero element" $\hspace{0.2cm}\Rightarrow \hspace{0.2cm}\rm Identity \ for \ "\hspace{-0.05cm}+\hspace{0.05cm}"$:
  
 
::<math>\exists \hspace{0.15cm} z_j \in {\rm GF}(q)\text{:}
 
::<math>\exists \hspace{0.15cm} z_j \in {\rm GF}(q)\text{:}
 
\hspace{0.25cm}z_i + z_j  = z_i \hspace{0.25cm} \Rightarrow \hspace{0.25cm} z_j  = N_{\rm A} = \text{ 0} \hspace{0.05cm}.</math>
 
\hspace{0.25cm}z_i + z_j  = z_i \hspace{0.25cm} \Rightarrow \hspace{0.25cm} z_j  = N_{\rm A} = \text{ 0} \hspace{0.05cm}.</math>
  
$\rm (C)$&nbsp; There is a neutral element $N_{\rm M}$ with respect to multiplication, the so-called <i>identity element</i> $\hspace{0.2cm}\Rightarrow \hspace{0.2cm}\rm Identity \ for \ "\hspace{-0.05cm}&middot;\hspace{0.05cm}"$:
+
$\rm (C)$&nbsp; There is a neutral element&nbsp; $N_{\rm M}$&nbsp; with respect to multiplication,&nbsp; the so-called&nbsp; "identity element" $\hspace{0.2cm}\Rightarrow \hspace{0.2cm}\rm Identity \ for \ "\hspace{-0.05cm}&middot;\hspace{0.05cm}"$:
  
 
::<math>\exists \hspace{0.15cm} z_j \in {\rm GF}(q)\text{:}
 
::<math>\exists \hspace{0.15cm} z_j \in {\rm GF}(q)\text{:}
Line 54: Line 61:
 
\hspace{0.05cm}. </math>
 
\hspace{0.05cm}. </math>
  
$\rm (D)$&nbsp; For each&nbsp; $z_i$&nbsp; there exists an ''additive inverse'' &nbsp; ${\rm Inv_A}(z_i)$  $\hspace{0.2cm}\Rightarrow \hspace{0.2cm}\rm Inverse \ for \ "\hspace{-0.05cm}+\hspace{0.05cm}"$:
+
$\rm (D)$&nbsp; For each&nbsp; $z_i$&nbsp; there exists an&nbsp; "additive inverse" &nbsp; ${\rm Inv_A}(z_i)$  $\hspace{0.2cm}\Rightarrow \hspace{0.2cm}\rm Inverse \ for \ "\hspace{-0.05cm}+\hspace{0.05cm}"$:
  
 
::<math>\forall \hspace{0.15cm}  z_i \in {\rm GF}(q),\hspace{0.15cm} \exists \hspace{0.15cm} {\rm Inv_A}(z_i) \in {\rm GF}(q)\text{:}
 
::<math>\forall \hspace{0.15cm}  z_i \in {\rm GF}(q),\hspace{0.15cm} \exists \hspace{0.15cm} {\rm Inv_A}(z_i) \in {\rm GF}(q)\text{:}
\hspace{0.25cm}z_i + {\rm Inv_A}(z_i) = N_{\rm A} = {0}  \hspace{0.3cm}\Rightarrow \hspace{0.3cm}\text{kurz:}\hspace{0.3cm}
+
\hspace{0.25cm}z_i + {\rm Inv_A}(z_i) = N_{\rm A} = {0}  \hspace{0.3cm}\Rightarrow \hspace{0.3cm}\text{short:}\hspace{0.3cm}
 
{\rm Inv_A}(z_i) = - z_i \hspace{0.05cm}. </math>
 
{\rm Inv_A}(z_i) = - z_i \hspace{0.05cm}. </math>
  
$\rm (E)$&nbsp; For each&nbsp; $z_i$&nbsp; except the zero element, there exists the ''multiplicative inverse'' &nbsp; ${\rm Inv_M}(z_i)$ $\hspace{0.2cm}\Rightarrow \hspace{0.2cm}\rm Inverse \ for \ "\hspace{-0.05cm}\cdot\hspace{0.05cm}"$:
+
$\rm (E)$&nbsp; For each&nbsp; $z_i$&nbsp; except the zero element,&nbsp; there exists the&nbsp; "multiplicative inverse" &nbsp; ${\rm Inv_M}(z_i)$ $\hspace{0.2cm}\Rightarrow \hspace{0.2cm}\rm Inverse \ for \ "\hspace{-0.05cm}\cdot\hspace{0.05cm}"$:
  
 
::<math>\forall \hspace{0.15cm}  z_i \in {\rm GF}(q),\hspace{0.15cm} z_i \ne N_{\rm A}, \hspace{0.15cm} \exists \hspace{0.15cm} {\rm Inv_M}(z_i) \in {\rm GF}(q)\text{:}
 
::<math>\forall \hspace{0.15cm}  z_i \in {\rm GF}(q),\hspace{0.15cm} z_i \ne N_{\rm A}, \hspace{0.15cm} \exists \hspace{0.15cm} {\rm Inv_M}(z_i) \in {\rm GF}(q)\text{:}
\hspace{0.25cm}z_i \cdot {\rm Inv_M}(z_i) = N_{\rm M} = {1}\hspace{0.3cm}\Rightarrow \hspace{0.3cm}\text{kurz:}\hspace{0.3cm}
+
\hspace{0.25cm}z_i \cdot {\rm Inv_M}(z_i) = N_{\rm M} = {1}\hspace{0.3cm}\Rightarrow \hspace{0.3cm}\text{short:}\hspace{0.3cm}
 
{\rm Inv_M}(z_i) = z_i^{-1}
 
{\rm Inv_M}(z_i) = z_i^{-1}
 
\hspace{0.05cm}. </math>
 
\hspace{0.05cm}. </math>
  
$\rm (F)$&nbsp; For addition and multiplication the ''commutative law'' applies in each case $\hspace{0.2cm}\Rightarrow \hspace{0.2cm}\rm Commutative \ Law$:
+
$\rm (F)$&nbsp; For addition and multiplication applies in each case the&nbsp; "$\rm Commutative \ Law$":
  
 
::<math>\forall \hspace{0.15cm}  z_i,\hspace{0.15cm} z_j \in {\rm GF}(q)\text{:}
 
::<math>\forall \hspace{0.15cm}  z_i,\hspace{0.15cm} z_j \in {\rm GF}(q)\text{:}
Line 73: Line 80:
 
\hspace{0.05cm}.</math>
 
\hspace{0.05cm}.</math>
  
$\rm (G)$&nbsp; For addition and multiplication, the ''associative law'' applies in each case $\hspace{0.2cm}\Rightarrow \hspace{0.2cm}\rm Associative \ Law$:
+
$\rm (G)$&nbsp; For addition and multiplication applies in each case the&nbsp; "$\rm Associative \ Law$":
  
 
::<math>\forall \hspace{0.15cm}  z_i,\hspace{0.1cm} z_j ,\hspace{0.1cm} z_k \in {\rm GF}(q)\text{:}
 
::<math>\forall \hspace{0.15cm}  z_i,\hspace{0.1cm} z_j ,\hspace{0.1cm} z_k \in {\rm GF}(q)\text{:}
Line 79: Line 86:
 
\hspace{0.05cm}.</math>
 
\hspace{0.05cm}.</math>
  
$\rm (H)$&nbsp; For the combination "addition &ndash; multiplication" the ''distributive law'' is valid $\hspace{0.2cm}\Rightarrow \hspace{0.2cm}\rm Distributive \ Law$:
+
$\rm (H)$&nbsp; For the combination&nbsp; "addition &ndash; multiplication"&nbsp; holds the&nbsp; "$\rm Distributive \ Law$":
 
::<math>\forall \hspace{0.15cm}  z_i,\hspace{0.15cm} z_j ,\hspace{0.15cm} z_k \in {\rm GF}(q)\text{:}
 
::<math>\forall \hspace{0.15cm}  z_i,\hspace{0.15cm} z_j ,\hspace{0.15cm} z_k \in {\rm GF}(q)\text{:}
 
\hspace{0.25cm}(z_i + z_j) \cdot z_k = z_i \cdot z_k + z_j \cdot z_k  
 
\hspace{0.25cm}(z_i + z_j) \cdot z_k = z_i \cdot z_k + z_j \cdot z_k  
Line 87: Line 94:
 
== Examples and properties of Galois fields ==
 
== Examples and properties of Galois fields ==
 
<br>
 
<br>
We first check that for the binary number set&nbsp; $Z_2 = \{0, 1\}$ &nbsp; &#8658; &nbsp; $q=2$&nbsp; (valid for the simple binary code) the eight criteria mentioned on the last page are met, so that we can indeed speak of "${\rm GF}(2)$". You can see the addition&ndash; and multiplication table below:
+
We first check that for the binary number set&nbsp; $Z_2 = \{0, 1\}$ &nbsp; &#8658; &nbsp; $q=2$ &nbsp; $($valid for the simple binary code$)$
 +
*the eight criteria mentioned in the last section are met,
 +
 +
*so that we can indeed speak of&nbsp; "${\rm GF}(2)$".  
 +
 
 +
 
 +
You can see the addition table and multiplication table below:
  
 
:$$Z_2 = \{0, 1\}\hspace{0.25cm} \Rightarrow\hspace{0.25cm}\text{Addition:      }  
 
:$$Z_2 = \{0, 1\}\hspace{0.25cm} \Rightarrow\hspace{0.25cm}\text{Addition:      }  
Line 101: Line 114:
  
 
One can see from this representation:
 
One can see from this representation:
*Each element of the addition&ndash; and multiplication table of&nbsp; $Z_2$&nbsp; is again&nbsp; $z_0 = 0$&nbsp; or&nbsp; $z_0 = 1$ &nbsp; &#8658; &nbsp; the criterion&nbsp; $\rm (A)$&nbsp; is satisfied.<br>
+
#Each element of the addition and multiplication table of&nbsp; $Z_2$&nbsp; is again&nbsp; $z_0 = 0$&nbsp; or&nbsp; $z_0 = 1$ &nbsp; &#8658; &nbsp; the criterion&nbsp; $\rm (A)$&nbsp; is satisfied.<br>
 
+
#The set&nbsp; $Z_2$&nbsp; contains the zero element&nbsp; $(\hspace{-0.05cm}N_{\rm A} = z_0 = 0)$&nbsp; and the one element $(\hspace{-0.05cm}N_{\rm M} = z_1 = 1)$&nbsp; &#8658; &nbsp; the criteria&nbsp; $\rm (B)$&nbsp; and&nbsp; $\rm (C)$&nbsp; are satisfied.<br>
*The set&nbsp; $Z_2$&nbsp; contains the zero element&nbsp; $(\hspace{-0.05cm}N_{\rm A} = z_0 = 0)$&nbsp; and the one element $(\hspace{-0.05cm}N_{\rm M} = z_1 = 1)$&nbsp; &#8658; &nbsp; the criteria&nbsp; $\rm (B)$&nbsp; and&nbsp; $\rm (C)$&nbsp; are satisfied.<br>
+
#The additive inverses&nbsp; ${\rm Inv_A}(0) = 0$&nbsp; and&nbsp; ${\rm Inv_A}(1) = -1 \ {\rm mod}\  2 = 1$&nbsp; exist and belong to&nbsp; $Z_2$ &nbsp; &#8658; &nbsp; the criterion&nbsp; $\rm (D)$&nbsp; is satisfied.  
 
+
#Similarly, the multiplicative inverse&nbsp; ${\rm Inv_M}(1) = 1$ &nbsp; &#8658; &nbsp; the criterion&nbsp; $\rm (E)$&nbsp; is satisfied.<br>
*The additive inverses&nbsp; ${\rm Inv_A}(0) = 0$&nbsp; and&nbsp; ${\rm Inv_A}(1) = -1$&nbsp; exist and belong to&nbsp; $Z_2$.  
+
#The validity of the commutative law&nbsp; $\rm (F)$&nbsp; in the set&nbsp; $Z_2$&nbsp; can be recognized by the symmetry with respect to the table diagonals.  
*Similarly, the multiplicative inverse&nbsp; ${\rm Inv_M}(1) = 1$&nbsp; &#8658; &nbsp; criteria&nbsp; $\rm (D)$&nbsp; and&nbsp; $\rm (E)$&nbsp; are satisfied.<br>
+
#The criteria&nbsp; $\rm (G)$&nbsp; and&nbsp; $\rm (H)$&nbsp; are also satisfied here&nbsp; &#8658; &nbsp; all eight criteria are satisfied&nbsp; &#8658; &nbsp; $Z_2 = \rm GF(2)$.<br>
 
 
*The validity of the commutative law&nbsp; $\rm (F)$&nbsp; in the set&nbsp; $Z_2$&nbsp; can be recognized by the symmetry with respect to the table diagonals.  
 
*The criteria&nbsp; $\rm (G)$&nbsp; and&nbsp; $\rm (H)$&nbsp; are also satisfied here&nbsp; &#8658; &nbsp; all eight criteria are satisfied&nbsp; &#8658; &nbsp; $Z_2 = \rm GF(2)$.<br>
 
  
  
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
$\text{Example 1:}$&nbsp;  The set of numbers&nbsp; $Z_3 = \{0, 1, 2\}$ &nbsp; &#8658; &nbsp; $q = 3$&nbsp; satisfies all eight criteria and is thus a Galois field&nbsp; $\rm GF(3)$:
+
$\text{Example 1:}$&nbsp;  The number set&nbsp; $Z_3 = \{0, 1, 2\}$ &nbsp; &#8658; &nbsp; $q = 3$&nbsp; satisfies all eight criteria and is thus a Galois field&nbsp; $\rm GF(3)$:
  
 
:$$Z_3 = \{0, 1, 2\}\hspace{0.25cm} \Rightarrow\hspace{0.25cm}\text{Addition:      }  
 
:$$Z_3 = \{0, 1, 2\}\hspace{0.25cm} \Rightarrow\hspace{0.25cm}\text{Addition:      }  
Line 130: Line 140:
  
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
$\text{Example 2:}$&nbsp;  In contrast, the set of numbers&nbsp; $Z_4 = \{0, 1, 2, 3\}$ &nbsp; &#8658; &nbsp; $q = 4$&nbsp; is not a Galois field.  
+
$\text{Example 2:}$&nbsp;  In contrast,&nbsp; the number set&nbsp; $Z_4 = \{0, 1, 2, 3\}$ &nbsp; &#8658; &nbsp; $q = 4$&nbsp; is&nbsp; &raquo;'''not'''&laquo;&nbsp; a Galois field.  
*The reason for this is that there is no multiplicative inverse to the element&nbsp; $z_2 = 2$&nbsp; here. For a Galois field it would have to be true: &nbsp; $2 \cdot {\rm Inv_M}(2) = 1$.
+
*The reason for this is that here is no multiplicative inverse to the element&nbsp; $z_2 = 2$.&nbsp; For a Galois field it would have to be true: &nbsp; $2 \cdot {\rm Inv_M}(2) = 1$.
*But in the multiplication table there is no entry with "$1$" in the third row and third column $($each valid for the multiplicand&nbsp; $z_2 = 2)$&nbsp;.
+
 
 +
*But in the multiplication table there is no entry with&nbsp; "$1$"&nbsp; in the third row and third column&nbsp; $($each valid for the multiplicand&nbsp; $z_2 = 2)$.
  
 
:$$Z_4 = \{0, 1, 2, 3\}\hspace{0.25cm} \Rightarrow\hspace{0.25cm}\text{Addition:      }  
 
:$$Z_4 = \{0, 1, 2, 3\}\hspace{0.25cm} \Rightarrow\hspace{0.25cm}\text{Addition:      }  
Line 146: Line 157:
 
                                                           2 & 0 & 2 & 0 & 2\\  
 
                                                           2 & 0 & 2 & 0 & 2\\  
 
                                                           3 & 0 & 3 & 2 & 1  
 
                                                           3 & 0 & 3 & 2 & 1  
\end{array} \right]\hspace{0.25cm} \Rightarrow\hspace{0.25cm}\text{kein }{\rm GF}(4) .
+
\end{array} \right]\hspace{0.25cm} \Rightarrow\hspace{0.25cm}\text{no }{\rm GF}(4) .
 
$$}}
 
$$}}
  
Line 152: Line 163:
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
 
$\text{Generalization (without proof for now):}$
 
$\text{Generalization (without proof for now):}$
*A Galois field&nbsp; ${\rm GF}(q)$&nbsp; can be formed in the manner described here as&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Definition_and_examples_of_an_algebraic_ring| "Ring"]]&nbsp; of integer sizes modulo&nbsp; $q$&nbsp; only if&nbsp; $q$&nbsp; is a prime number: &nbsp; <br> &nbsp; &nbsp; $q = 2$,&nbsp; $q = 3$,&nbsp; $q = 5$,&nbsp; $q = 7$,&nbsp; $q = 11$, ...<br>
+
*A Galois field&nbsp; ${\rm GF}(q)$&nbsp; can be formed in the manner described here as&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Definition_and_examples_of_an_algebraic_ring| $\text{ring}$]]&nbsp; of integer sizes modulo&nbsp; $q$&nbsp; only if&nbsp; $q$&nbsp; is a prime number: &nbsp; <br> &nbsp; &nbsp; $q = 2$,&nbsp; $q = 3$,&nbsp; $q = 5$,&nbsp; $q = 7$,&nbsp; $q = 11$, ...<br>
  
*But if the order&nbsp; $q$&nbsp; can be expressed in the form&nbsp; $q = P^m$&nbsp; with a prime&nbsp; $P$&nbsp; and integer&nbsp; $m$&nbsp;, the Galois field&nbsp; ${\rm GF}(q)$&nbsp; can be found via a&nbsp; [[Channel_Coding/Extension_Field#Generalized_Definition_of_an_Extension. C3.B6rpers|extension fields]]&nbsp; find.}}<br>
+
*But if the order&nbsp; $q$&nbsp; can be expressed in the form&nbsp; $q = P^m$&nbsp; with a prime&nbsp; $P$&nbsp; and integer&nbsp; $m$,&nbsp; the Galois field&nbsp; ${\rm GF}(q)$&nbsp; can be found via an&nbsp; [[Channel_Coding/Extension_Field#Generalized_definition_of_an_extension_field|$\text{extension field}$]].&nbsp; }}<br>
  
 
== Group, ring, field - basic algebraic concepts ==
 
== Group, ring, field - basic algebraic concepts ==
 
<br>
 
<br>
On the first pages, some basic algebraic terms have already been mentioned, without their meanings having been explained in more detail. This is to be made up now in all shortness from view of a communication engineer, whereby we mainly refer to the representation in [Fri96].&nbsp; [Fri96]<ref name='Fri96'>Friedrichs, B.: ''Kanalcodierung – Grundlagen und Anwendungen in modernen Kommunikationssystemen.'' Berlin – Heidelberg: Springer, 1996.</ref>&nbsp; und&nbsp;  [KM+08]<ref name='KM+08'>Kötter, R.; Mayer, T.; Tüchler, M.; Schreckenbach, F.; Brauchle, J.: ''Channel Coding.'' Lecture manuscript, Chair of Communications Engineering, TU Munich, 2008.</ref>&nbsp;. To summarize:<br>
+
In the first sections,&nbsp; some basic algebraic terms have already been mentioned,&nbsp; without their meanings having been explained in more detail.&nbsp; This is to be made up now in all shortness from view of a communication engineer, whereby we mainly refer to the representation in&nbsp; [Fri96]<ref name='Fri96'>Friedrichs, B.:&nbsp; Kanalcodierung – Grundlagen und Anwendungen in modernen Kommunikationssystemen.&nbsp; Berlin – Heidelberg: Springer, 1996.</ref>&nbsp; and&nbsp;  [KM+08]<ref name='KM+08'>Kötter, R.; Mayer, T.; Tüchler, M.; Schreckenbach, F.; Brauchle, J.:&nbsp; Channel Coding.&nbsp; Lecture manuscript, Chair of Communications Engineering, TU Munich, 2008.</ref>.&nbsp; To summarize:<br>
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Definition:}$&nbsp;  A&nbsp; $\rm Galois field$&nbsp; ${\rm GF}(q)$ is a ''field'' with a finite number&nbsp; $(q)$&nbsp; of elements &nbsp; &#8658; &nbsp; <i>finite field</i>. Each field is again a special case of a ''ring'', which itself can be represented again as a special case of an ''abelian group''.}}<br>
+
$\text{Definition:}$&nbsp;   
 +
*A&nbsp; $\rm Galois\, field$&nbsp; ${\rm GF}(q)$ is a&nbsp; "field"&nbsp; with a finite number&nbsp; $(q)$&nbsp; of elements &nbsp; &#8658; &nbsp; &raquo;'''finite field'''&laquo;.&nbsp;
 +
 
 +
*Each field is again a special case of a&nbsp; "ring",&nbsp; which itself can be represented again as a special case of an&nbsp; "Abelian group".}}<br>
  
 
[[File:EN_KC_T_2_1_S2.png|right|frame|Algebraic relations between group, ring and field|class=fit]]
 
[[File:EN_KC_T_2_1_S2.png|right|frame|Algebraic relations between group, ring and field|class=fit]]
The diagram illustrates step by step how the following subordinate sets arise from a set by definition of addition, multiplication and division within this set&nbsp; $\mathcal{M}$&nbsp; :
+
The diagram illustrates step by step how the following subordinate sets arise from a set&nbsp; $\mathcal{M}$&nbsp; by definition of addition, multiplication and division:
*abelian group&nbsp; $\mathcal{G}$ ,  
+
*Abelian group&nbsp; $\mathcal{G}$ ,  
 
*ring&nbsp; $\mathcal{R}$,  
 
*ring&nbsp; $\mathcal{R}$,  
 
*field&nbsp; $\mathcal{F}$,
 
*field&nbsp; $\mathcal{F}$,
Line 171: Line 185:
  
  
On the next two pages, the algebraic terms mentioned here will be discussed in more detail.  
+
In the next two sections, the algebraic terms mentioned here will be discussed in more detail.  
 
*For understanding the Reed&ndash;Solomon codes, however, this knowledge is not absolutely necessary.  
 
*For understanding the Reed&ndash;Solomon codes, however, this knowledge is not absolutely necessary.  
*So you could jump directly to the chapter&nbsp; [[Channel_Coding/Extension_Field| extension fields]]&nbsp;.<br>  
+
 
 +
*So you could jump directly to the chapter&nbsp; [[Channel_Coding/Extension_Field#Verallgemeinerte_Definition_eines_Erweiterungsk.C3.B6rpers| "Extension Field"]]&nbsp;.<br>  
  
  
 
== Definition and examples of an algebraic group ==
 
== Definition and examples of an algebraic group ==
 
<br>
 
<br>
For the general definitions of group (and later ring) we assume a set with infinitely many elements:
+
For the general definitions of&nbsp; "group"&nbsp; (and later&nbsp; "ring")&nbsp; we assume a set with infinitely many elements:
  
 
::<math>\mathcal{M} = \{\hspace{0.1cm}z_1,\hspace{0.1cm} z_2,\hspace{0.1cm} z_3 ,\hspace{0.1cm}\text{ ...} \hspace{0.1cm}\}\hspace{0.05cm}. </math>
 
::<math>\mathcal{M} = \{\hspace{0.1cm}z_1,\hspace{0.1cm} z_2,\hspace{0.1cm} z_3 ,\hspace{0.1cm}\text{ ...} \hspace{0.1cm}\}\hspace{0.05cm}. </math>
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Definition:}$&nbsp;  A&nbsp; $\text{algebraic group}$&nbsp; $(\mathcal{G}, +)$&nbsp; is an (arbitrary) subset&nbsp; $\mathcal{G} &#8834; \mathcal{M}$&nbsp; together with an additive linkage ("$+$") defined between all elements, but only if the following properties are necessarily satisfied:
+
$\text{Definition:}$&nbsp;  A&nbsp; $\text{algebraic group}$&nbsp; $(\mathcal{G}, +)$&nbsp; is an&nbsp; (arbitrary)&nbsp; subset&nbsp; $\mathcal{G} &#8834; \mathcal{M}$&nbsp; together with an additive linkage&nbsp; $($"$+$"$)$&nbsp; defined between all elements,&nbsp; but only if the following properties are necessarily satisfied:
*For all&nbsp; $z_i, z_j &#8712; \mathcal{G}$&nbsp; holds&nbsp; $(z_i + z_j) &#8712; \mathcal{G}$ &nbsp; &#8658; &nbsp; <i>Closure</i>&ndash;criterion for&nbsp; "$+$".<br>
+
#For all&nbsp; $z_i, z_j &#8712; \mathcal{G}$&nbsp; holds&nbsp; $(z_i + z_j) &#8712; \mathcal{G}$ &nbsp; &#8658; &nbsp; "Closure&ndash;criterion for&nbsp; $+$".<br>
*There is always an element neutral with respect to addition&nbsp; $N_{\rm A} &#8712; \mathcal{G}$, so that for all&nbsp; $z_i &#8712; \mathcal{G}$ holds: &nbsp; $z_i +N_{\rm A} = z_i$. Given a group of numbers,&nbsp; $N_{\rm A} \equiv 0$.<br>
+
#There is always a neutral element&nbsp; $N_{\rm A} &#8712; \mathcal{G}$&nbsp; with respect to addition,&nbsp; so that for all&nbsp; $z_i &#8712; \mathcal{G}$ holds: &nbsp; $z_i +N_{\rm A} = z_i$.&nbsp; Given a group of numbers: &nbsp; $N_{\rm A} \equiv 0$.<br>
 
+
#For all&nbsp; $z_i &#8712; \mathcal{G}$&nbsp; there is an inverse element&nbsp; ${\rm Inv_A}(z_i) &#8712; \mathcal{G}$&nbsp; with respect to addition:&nbsp; $z_i + {\rm Inv_A}(z_i)= N_{\rm A} $.&nbsp; For a number group:&nbsp; ${\rm Inv_A}(z_i) =- z_i$.<br>
*For all&nbsp; $z_i &#8712; \mathcal{G}$&nbsp; there is also an element inverse with respect to addition&nbsp; ${\rm Inv_A}(z_i) &#8712; \mathcal{G}$&nbsp; with property&nbsp; $z_i + {\rm Inv_A}(z_i)= N_{\rm A} $. <br>For a group of numbers&nbsp; ${\rm Inv_A}(z_i) =- z_i$.<br>
+
#For all&nbsp; $z_i, z_j, z_k &#8712; \mathcal{G}$&nbsp; holds:&nbsp; $z_i + (z_j + z_k)= (z_i + z_j) + z_k$ &nbsp; &#8658; &nbsp; "Associative law&nbsp; for&nbsp; $+$".<br>
 
+
#If in addition for all&nbsp; $z_i, z_j &#8712; \mathcal{G}$&nbsp; the&nbsp; "commutative law"&nbsp; $z_i + z_j= z_j + z_i$&nbsp; is satisfied,&nbsp; one speaks of a&nbsp;  "commutative group"&nbsp; or an&nbsp;  "Abelian group",&nbsp; named after the Norwegian mathematician&nbsp; [https://en.wikipedia.org/wiki/Niels_Henrik_Abel $\text{Niels Hendrik Abel}$].}}<br>
*For all&nbsp; $z_i, z_j, z_k &#8712; \mathcal{G}$&nbsp; holds:&nbsp; $z_i + (z_j + z_k)= (z_i + z_j) + z_k$ &nbsp; &#8658; &nbsp; ''Associative law''&nbsp; for&nbsp; "$+$".<br><br>
 
 
 
If in addition for all&nbsp; $z_i, z_j &#8712; \mathcal{G}$&nbsp; the ''commutative law''&nbsp; $z_i + z_j= z_j + z_i$&nbsp; is satisfied, one speaks of a ''commutative group''&nbsp; or an ''abelian group'', named after the Norwegian mathematician&nbsp; [https://en.wikipedia.org/wiki/Niels_Henrik_Abel Niels Hendrik Abel].}}<br>
 
  
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
 
$\text{Examples of algebraic groups:}$
 
$\text{Examples of algebraic groups:}$
  
'''(1)'''&nbsp; The <i>set of rational numbers</i> is defined as the set of all quotients&nbsp; $I/J$&nbsp; with integers&nbsp; $I$&nbsp; and&nbsp; $J &ne; 0$.  
+
'''(1)'''&nbsp; The&nbsp; "set of rational numbers"&nbsp; is defined as the set of all quotients&nbsp; $I/J$&nbsp; with integers&nbsp; $I$&nbsp; and&nbsp; $J &ne; 0$.  
:This set is a group&nbsp; $(\mathcal{G}, +)$&nbsp; with respect to addition, since
+
:This set is a group&nbsp; $(\mathcal{G}, +)$&nbsp; with respect to addition,&nbsp; since
:*for all&nbsp; $a &#8712; \mathcal{G}$&nbsp; and&nbsp; $b &#8712; \mathcal{G}$&nbsp; also the sum&nbsp; $a+b$&nbsp; belongs again to&nbsp; $\mathcal{G}$&nbsp;,<br>
+
:*for all&nbsp; $a &#8712; \mathcal{G}$&nbsp; and&nbsp; $b &#8712; \mathcal{G}$&nbsp; also the sum&nbsp; $a+b$&nbsp; belongs to&nbsp; $\mathcal{G}$&nbsp;,<br>
 
:*the associative law applies,<br>
 
:*the associative law applies,<br>
 
:*with&nbsp; $ N_{\rm A} = 0$&nbsp; the neutral element of the addition is contained in&nbsp; $\mathcal{G}$&nbsp; and<br>
 
:*with&nbsp; $ N_{\rm A} = 0$&nbsp; the neutral element of the addition is contained in&nbsp; $\mathcal{G}$&nbsp; and<br>
 
:*it exists for each&nbsp; $a$&nbsp; the additive inverse&nbsp; ${\rm Inv_A}(a) = -a$&nbsp;.<br>
 
:*it exists for each&nbsp; $a$&nbsp; the additive inverse&nbsp; ${\rm Inv_A}(a) = -a$&nbsp;.<br>
:Since moreover the commutative law is fulfilled, it is an <i>abelian group</i>.<br>
+
:Since moreover the commutative law is fulfilled,&nbsp; it is an&nbsp; "abelian group".<br>
  
'''(2)'''&nbsp; The <i>set of natural numbers</i> &nbsp; &rArr; &nbsp; $\{0, 1, 2, \text{...}\}$&nbsp; is not an algebraic group with respect to addition,  
+
'''(2)'''&nbsp; The&nbsp; "set of natural numbers" &nbsp; &rArr; &nbsp; $\{0, 1, 2, \text{...}\}$&nbsp; is not an algebraic group with respect to addition, <br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; since for no single element&nbsp; $z_i$&nbsp; there exists the additive inverse&nbsp; ${\rm Inv_A}(z_i) = -z_i$&nbsp;.<br>
:*since for no single element&nbsp; $z_i$&nbsp; there exists the additive inverse&nbsp; ${\rm Inv_A}(z_i) = -z_i$&nbsp;.<br>
 
  
'''(3)'''&nbsp; The <i>bounded set of natural numbers</i> &nbsp; &rArr; &nbsp; $\{0, 1, 2, \text{...}\hspace{0.05cm}, q-1\}$&nbsp; on the other hand then satisfies the conditions on a group&nbsp; $(\mathcal{G}, +)$,  
+
'''(3)'''&nbsp; The&nbsp; "bounded set of natural numbers" &nbsp; &rArr; &nbsp; $\{0, 1, 2, \text{...}\hspace{0.05cm}, q\hspace{-0.05cm}-\hspace{-0.05cm}1\}$&nbsp; on the other hand then satisfies the conditions on a group&nbsp; $(\mathcal{G}, +)$, <br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if one defines the addition modulo&nbsp; $q$.  
:*if one defines the addition modulo&nbsp; $q$&nbsp;.  
 
  
'''(4)'''&nbsp; On the other hand, $\{1, 2, 3, \text{...}\hspace{0.05cm},q\}$&nbsp; is not a group because the neutral element of addition&nbsp; $(N_{\rm A} = 0)$&nbsp; is missing.}}<br>
+
'''(4)'''&nbsp; On the other hand,&nbsp; $\{1, 2, 3, \text{...}\hspace{0.05cm},q\}$&nbsp; is not a group because the neutral element of addition&nbsp; $(N_{\rm A} = 0)$&nbsp; is missing.}}<br>
  
 
== Definition and examples of an algebraic ring  ==
 
== Definition and examples of an algebraic ring  ==
 
<br>
 
<br>
According to the&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Group.2C_ring.2 C_field_-_basic_algebraic_concepts| overview graphic]]&nbsp; one gets from the group&nbsp; $(\mathcal{G}, +)$&nbsp; by defining a second arithmetic operation &ndash; of multiplication&nbsp; ("$\cdot$")&nbsp; &ndash; to the ring&nbsp; $(\mathcal{R}, +, \cdot)$. So you need a multiplication table as well as an addition table for this.<br>
+
According to the&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Group.2C_ring.2C_field_-_basic_algebraic_concepts|$\text{overview graphic}$]]&nbsp;  
 +
*one gets from the group&nbsp; $(\mathcal{G}, +)$&nbsp;  
 +
 
 +
*by defining a second arithmetic operation&nbsp; "multiplication"&nbsp; ("$\cdot$")&nbsp; to the&nbsp; "ring"&nbsp; $(\mathcal{R}, +, \cdot)$.&nbsp;
 +
 
 +
 
 +
So you need a multiplication table as well as an addition table for this.<br>
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Definition:}$&nbsp; A&nbsp; $\text{algebraic ring}$&nbsp; $(\mathcal{R}, +, \cdot)$ is a subset&nbsp; $\mathcal{R} &#8834; \mathcal{G} &#8834; \mathcal{M}$&nbsp; together with two arithmetic operations defined in this set, addition&nbsp; ("$+$")&nbsp; and multiplication&nbsp; ("$&middot;$"). The following properties must be satisfied:
+
$\text{Definition:}$&nbsp; A&nbsp; $\text{algebraic ring}$ &nbsp; $(\mathcal{R}, +, \cdot)$ &nbsp; is a subset&nbsp; $\mathcal{R} &#8834; \mathcal{G} &#8834; \mathcal{M}$&nbsp; together with two arithmetic operations defined in this set,  
*In terms of addition, the ring&nbsp; $(\mathcal{R}, +, \cdot)$&nbsp; is an&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Definition_and_examples_of_an_algebraic_group|abelian group]]&nbsp; $(\mathcal{G}, +)$.<br>
+
*addition&nbsp; ("$+$")&nbsp;  
*In addition, for all&nbsp; $z_i, z_j &#8712; \mathcal{R}$&nbsp; also&nbsp; $(z_i \cdot z_j) &#8712; \mathcal{R}$ &nbsp; &#8658; &nbsp; <i>Closure</i>&ndash;criterion for "$\cdot$".<br>
+
*and multiplication&nbsp; ("$&middot;$").&nbsp;  
*There is always also an element neutral with respect to multiplication&nbsp; $N_{\rm M} &#8712; \mathcal{R}$, so that for all&nbsp; $z_i &#8712; \mathcal{R}$&nbsp; holds: &nbsp; $z_i \cdot N_{\rm M} = z_i$. <br>For a number group is always&nbsp;  $N_{\rm M} = 1$.<br>
 
  
*For all&nbsp; $z_i, z_j, z_k &#8712; \mathcal{R}$&nbsp; holds: &nbsp; $z_i + (z_j + z_k)= (z_i + z_j) + z_k$ &nbsp; &#8658; &nbsp; ''Associative law''&nbsp; for&nbsp; "$\cdot $".<br>
 
  
*For all&nbsp; $z_i, z_j, z_k &#8712; \mathcal{R}$ holds: &nbsp; $z_i \cdot (z_j + z_k) = z_i \cdot z_j + z_i \cdot z_k$ &nbsp; &#8658; &nbsp; ''Distributive law''&nbsp; for&nbsp; "$\cdot $".}}<br>
+
The following properties must be satisfied:
 +
#In terms of addition,&nbsp; the ring&nbsp; $(\mathcal{R}, +, \cdot)$&nbsp; is an&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Definition_and_examples_of_an_algebraic_group|$\text{Abelian group}$]]&nbsp; $(\mathcal{G}, +)$.<br>
 +
#In addition,&nbsp; for all&nbsp; $z_i, z_j &#8712; \mathcal{R}$&nbsp; also&nbsp; $(z_i \cdot z_j) &#8712; \mathcal{R}$ &nbsp; &#8658; &nbsp; "Closure criterion for&nbsp; $\cdot$".<br>
 +
#There is always also a neutral element&nbsp; $N_{\rm M} &#8712; \mathcal{R}$&nbsp; with respect to multiplication,&nbsp; so that for all&nbsp; $z_i &#8712; \mathcal{R}$&nbsp; holds: &nbsp; $z_i \cdot N_{\rm M} = z_i$.&nbsp; For a number group:&nbsp;  $N_{\rm M} \equiv 1$.<br>
 +
#For all&nbsp; $z_i, z_j, z_k &#8712; \mathcal{R}$&nbsp; holds: &nbsp; $z_i + (z_j + z_k)= (z_i + z_j) + z_k$ &nbsp; &#8658; &nbsp; "Associative law&nbsp; for&nbsp; $\cdot $".<br>
 +
#For all&nbsp; $z_i, z_j, z_k &#8712; \mathcal{R}$ holds: &nbsp; $z_i \cdot (z_j + z_k) = z_i \cdot z_j + z_i \cdot z_k$ &nbsp; &#8658; &nbsp; "Distributive law&nbsp; for&nbsp; $\cdot $".}}<br>
  
 
Further the following agreements shall hold:
 
Further the following agreements shall hold:
*A ring&nbsp; $(\mathcal{R}, +, \cdot)$&nbsp; is not necessarily commutative. If in fact the ''commutative law'' also holds for all elements&nbsp; $z_i, z_j &#8712; \mathcal{R}$&nbsp; with respect to multiplication, $z_i \cdot z_j= z_j \cdot z_i$&nbsp; is called a&nbsp; '''commutative ring''' in the technical literature.  
+
*A ring&nbsp; $(\mathcal{R}, +, \cdot)$&nbsp; is not necessarily commutative.&nbsp; If in fact the&nbsp; "commutative law"&nbsp; also holds for all elements&nbsp; $z_i, z_j &#8712; \mathcal{R}$&nbsp; with respect to multiplication&nbsp; $(z_i \cdot z_j= z_j \cdot z_i)$&nbsp; then it is called in the technical literature a&nbsp; &raquo;'''commutative ring'''&laquo;.
*Exists for each element&nbsp; $z_i &#8712; \mathcal{R}$&nbsp; except&nbsp; $N_{\rm A}$&nbsp; (neutral element of addition, zero element) an element inverse with respect to multiplication&nbsp; ${\rm Inv_M}(z_i)$ such that&nbsp; $z_i \cdot {\rm Inv_M}(z_i) = 1$&nbsp; holds, then there is a&nbsp; <b>division ring</b>&nbsp;.<br>
+
*The ring is&nbsp; <b>free of zero divisors</b>&nbsp; if from&nbsp; $z_i \cdot z_j = 0$&nbsp; follows necessarily&nbsp; $z_i = 0$&nbsp; or&nbsp; $z_j = 0$&nbsp;. In abstract algebra, a zero divisor of a ring is an element&nbsp; $z_i$ different from the zero element if there exists an element&nbsp; $z_j \ne 0$&nbsp; such that the product&nbsp; $z_i \cdot z_j = 0$&nbsp;.<br>
+
*Exists for each element&nbsp; $z_i &#8712; \mathcal{R}$&nbsp; except&nbsp; $N_{\rm A}$&nbsp; $($neutral element of addition,&nbsp; zero element$)$&nbsp; an element&nbsp; ${\rm Inv_M}(z_i)$&nbsp;  inverse with respect to multiplication such that&nbsp; $z_i \cdot {\rm Inv_M}(z_i) = 1$&nbsp; holds, then there is a&nbsp; &raquo;<b>division ring</b>&laquo;.<br>
*A commutative ring free of zero divisors is called&nbsp; <b>integral domain</b>.<br><br>
 
  
{{BlaueBox|TEXT=
+
*The ring is&nbsp; &raquo;<b>free of zero divisors</b>&laquo;&nbsp; if from&nbsp; $z_i \cdot z_j = 0$&nbsp; follows necessarily&nbsp; $z_i = 0$&nbsp; or&nbsp; $z_j = 0$.&nbsp; In abstract algebra,&nbsp; a zero divisor of a ring is an element&nbsp; $z_i$ different from the zero element if there exists an element&nbsp; $z_j \ne 0$&nbsp; such that the product&nbsp; $z_i \cdot z_j = 0$&nbsp;.<br>
$\text{Conclusion:}$&nbsp;
 
  
Comparing the definitions of&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Definition_and_examples_of_an_algebraic_group| Group]],&nbsp; Ring (see above), [[Aufgaben:2. 1_Group,_Ring,_Body|Body]]&nbsp; and&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Definition_of_a_Galois_field| Galois field]], we recognize that a Galois field&nbsp; ${\rm GF}(q)$
+
*A commutative ring free of zero divisors is called&nbsp; &raquo;<b>integral domain</b>&laquo;.<br><br>
*is a finite field with&nbsp; $q$&nbsp; elements,<br>
 
  
*at the same time as a <i>commutative division ring</i>&nbsp; and also <br>
+
{{BlaueBox|TEXT= 
 
+
$\text{Conclusion:}$&nbsp;  Comparing the definitions of&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Definition_and_examples_of_an_algebraic_group| $\text{group}$]],&nbsp; "ring"&nbsp; (see above), [[Aufgaben:Aufgabe_2.1:_Gruppe,_Ring,_Körper|$\text{field}$]]&nbsp; and&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Definition_of_a_Galois_field|$\text{Galois field}$]],&nbsp; we recognize that a&nbsp; &raquo;'''Galois field'''&laquo;&nbsp; ${\rm GF}(q)$
*describes an integral domain}}<br><br>
+
#is a finite field with&nbsp; $q$&nbsp; elements,<br>
 +
#is at the same time a&nbsp; "commutative division ring",&nbsp; and <br>
 +
#also describes an&nbsp; "integral domain".}}<br><br>
  
 
== Exercises for the chapter ==
 
== Exercises for the chapter ==
 
<br>
 
<br>
[[Aufgaben:2.1_Gruppe,_Ring,_Körper|Aufgabe 2.1: Gruppe, Ring, Körper]]
+
[[Aufgaben:Exercise_2.1:_Group,_Ring,_Field|Exercise 2.1: Group, Ring, Field]]
  
[[Aufgaben:Aufgabe_2.1Z:_Welche_Tabellen_beschreiben_Gruppen%3F|Aufgabe 2.1Z: Welche Tabellen beschreiben Gruppen?]]
+
[[Aufgaben:Exercise_2.1Z:_Which_Tables_Describe_Groups%3F|Exercise 2.1Z: Which Tables Describe Groups?]]
  
[[Aufgaben:2.2_Eigenschaften_von_Galoisfeldern|Aufgabe 2.2: Eigenschaften von Galoisfeldern]]
+
[[Aufgaben:Exercise_2.2:_Properties_of_Galois_Fields|Exercise 2.2: Properties of Galois Fields]]
  
[[Aufgaben:2.2Z_Galoisfeld_GF(5)|Aufgabe 2.2Z: Galoisfeld GF(5)]]
+
[[Aufgaben:Exercise_2.2Z:_Galois_Field_GF(5)|Exercise 2.2Z: Galois Field GF(5)]]
  
==Quellenverzeichnis==
+
==References==
 
<references/>
 
<references/>
  
  
 
{{Display}}
 
{{Display}}

Latest revision as of 15:09, 19 November 2022

# OVERVIEW OF THE SECOND MAIN CHAPTER #


This chapter discusses the  »Reed-Solomon codes«,  invented in the early 1960s by  $\text{Irving Stoy Reed}$  and  $\text{Gustave Solomon}$.  Unlike binary block codes,  these codes are based on a Galois field   ${\rm GF}(2^m)$   with  $m > 1$.  So they work with multi-level symbols instead of binary characters  ("bits").

Specifically,  this chapter covers:

  • The basics of  »linear algebra«:   »set«,   »group«,   »ring«,   »field«,  finite field«,
  • the definition of  »extension fields«   ⇒   ${\rm GF}(2^m)$  and the corresponding operations,
  • the meaning of  »irreducible polynomials«   and  »primitive elements«,
  • the  »description and realization possibilities«   of a Reed-Solomon code,
  • the error correction of such a code at the  »binary ersaure channel«   $\rm (BEC)$,
  • the decoding using the  »Error Locator Polynomial   ⇒   "Bounded Distance Decoding"   $\rm (BDD)$,
  • the  »block error probability«   of Reed-Solomon codes  and   »typical applications«.



Definition of a Galois field


Before we can turn to the description of  Reed–Solomon codes,  we need some basic algebraic notions.  We begin with the properties of the Galois field   ${\rm GF}(q)$,  named after the Frenchman  $\text{Évariste Galois}$, whose biography is rather unusual for a mathematician.

$\text{Definition:}$  A   $\rm Galois\:field$  ${\rm GF}(q)$  is a  $\text{finite field}$  with  $q$  elements  $z_0$,  $z_1$,  ... ,  $z_{q-1}$, if the eight statements listed below  $\rm (A)$  ...  $\rm (H)$  with respect to  "addition"   ⇒   "$+$"   and  "multiplication"  ⇒  "$\hspace{0.05cm}\cdot \hspace{0.05cm}$"   are true.

  • Addition and multiplication are to be understood here modulo  $q$ .
  • The  $\rm order$  $q$  indicates the number of elements of the Galois field.


$\text{Criteria of a Galois field:}$ 

$\rm (A)$  ${\rm GF}(q)$  is closed $\hspace{0.2cm}\Rightarrow \hspace{0.2cm}\rm Closure$:

\[\forall \hspace{0.15cm} z_i \in {\rm GF}(q),\hspace{0.15cm} z_j \in {\rm GF}(q)\text{:} \hspace{0.25cm}(z_i + z_j)\in {\rm GF}(q),\hspace{0.15cm}(z_i \cdot z_j)\in {\rm GF}(q) \hspace{0.05cm}. \]

$\rm (B)$  There is a neutral element  $N_{\rm A}$  with respect to addition,  the so-called  "zero element" $\hspace{0.2cm}\Rightarrow \hspace{0.2cm}\rm Identity \ for \ "\hspace{-0.05cm}+\hspace{0.05cm}"$:

\[\exists \hspace{0.15cm} z_j \in {\rm GF}(q)\text{:} \hspace{0.25cm}z_i + z_j = z_i \hspace{0.25cm} \Rightarrow \hspace{0.25cm} z_j = N_{\rm A} = \text{ 0} \hspace{0.05cm}.\]

$\rm (C)$  There is a neutral element  $N_{\rm M}$  with respect to multiplication,  the so-called  "identity element" $\hspace{0.2cm}\Rightarrow \hspace{0.2cm}\rm Identity \ for \ "\hspace{-0.05cm}·\hspace{0.05cm}"$:

\[\exists \hspace{0.15cm} z_j \in {\rm GF}(q)\text{:} \hspace{0.25cm}z_i \cdot z_j = z_i \hspace{0.3cm}\Rightarrow \hspace{0.3cm} z_j = N_{\rm M} = {1} \hspace{0.05cm}. \]

$\rm (D)$  For each  $z_i$  there exists an  "additive inverse"   ${\rm Inv_A}(z_i)$ $\hspace{0.2cm}\Rightarrow \hspace{0.2cm}\rm Inverse \ for \ "\hspace{-0.05cm}+\hspace{0.05cm}"$:

\[\forall \hspace{0.15cm} z_i \in {\rm GF}(q),\hspace{0.15cm} \exists \hspace{0.15cm} {\rm Inv_A}(z_i) \in {\rm GF}(q)\text{:} \hspace{0.25cm}z_i + {\rm Inv_A}(z_i) = N_{\rm A} = {0} \hspace{0.3cm}\Rightarrow \hspace{0.3cm}\text{short:}\hspace{0.3cm} {\rm Inv_A}(z_i) = - z_i \hspace{0.05cm}. \]

$\rm (E)$  For each  $z_i$  except the zero element,  there exists the  "multiplicative inverse"   ${\rm Inv_M}(z_i)$ $\hspace{0.2cm}\Rightarrow \hspace{0.2cm}\rm Inverse \ for \ "\hspace{-0.05cm}\cdot\hspace{0.05cm}"$:

\[\forall \hspace{0.15cm} z_i \in {\rm GF}(q),\hspace{0.15cm} z_i \ne N_{\rm A}, \hspace{0.15cm} \exists \hspace{0.15cm} {\rm Inv_M}(z_i) \in {\rm GF}(q)\text{:} \hspace{0.25cm}z_i \cdot {\rm Inv_M}(z_i) = N_{\rm M} = {1}\hspace{0.3cm}\Rightarrow \hspace{0.3cm}\text{short:}\hspace{0.3cm} {\rm Inv_M}(z_i) = z_i^{-1} \hspace{0.05cm}. \]

$\rm (F)$  For addition and multiplication applies in each case the  "$\rm Commutative \ Law$":

\[\forall \hspace{0.15cm} z_i,\hspace{0.15cm} z_j \in {\rm GF}(q)\text{:} \hspace{0.25cm}z_i + z_j = z_j + z_i ,\hspace{0.15cm}z_i \cdot z_j = z_j \cdot z_i \hspace{0.05cm}.\]

$\rm (G)$  For addition and multiplication applies in each case the  "$\rm Associative \ Law$":

\[\forall \hspace{0.15cm} z_i,\hspace{0.1cm} z_j ,\hspace{0.1cm} z_k \in {\rm GF}(q)\text{:} \hspace{0.25cm}(z_i + z_j) + z_k = z_i + (z_j + z_k ),\hspace{0.15cm}(z_i \cdot z_j) \cdot z_k = z_i \cdot (z_j \cdot z_k ) \hspace{0.05cm}.\]

$\rm (H)$  For the combination  "addition – multiplication"  holds the  "$\rm Distributive \ Law$":

\[\forall \hspace{0.15cm} z_i,\hspace{0.15cm} z_j ,\hspace{0.15cm} z_k \in {\rm GF}(q)\text{:} \hspace{0.25cm}(z_i + z_j) \cdot z_k = z_i \cdot z_k + z_j \cdot z_k \hspace{0.05cm}.\]



Examples and properties of Galois fields


We first check that for the binary number set  $Z_2 = \{0, 1\}$   ⇒   $q=2$   $($valid for the simple binary code$)$

  • the eight criteria mentioned in the last section are met,
  • so that we can indeed speak of  "${\rm GF}(2)$".


You can see the addition table and multiplication table below:

$$Z_2 = \{0, 1\}\hspace{0.25cm} \Rightarrow\hspace{0.25cm}\text{Addition: } \left[ \begin{array}{c|cccccc} + & 0 & 1 \\ \hline 0 & 0 & 1 \\ 1 & 1 & 0 \end{array} \right] \hspace{-0.1cm} ,\hspace{0.25cm}\text{Multiplication: } \left[ \begin{array}{c|cccccc} \cdot & 0 & 1 \\ \hline 0 & 0 & 0 \\ 1 & 0 & 1 \end{array} \right]\hspace{0.25cm} \Rightarrow\hspace{0.25cm}{\rm GF}(2) . $$

One can see from this representation:

  1. Each element of the addition and multiplication table of  $Z_2$  is again  $z_0 = 0$  or  $z_0 = 1$   ⇒   the criterion  $\rm (A)$  is satisfied.
  2. The set  $Z_2$  contains the zero element  $(\hspace{-0.05cm}N_{\rm A} = z_0 = 0)$  and the one element $(\hspace{-0.05cm}N_{\rm M} = z_1 = 1)$  ⇒   the criteria  $\rm (B)$  and  $\rm (C)$  are satisfied.
  3. The additive inverses  ${\rm Inv_A}(0) = 0$  and  ${\rm Inv_A}(1) = -1 \ {\rm mod}\ 2 = 1$  exist and belong to  $Z_2$   ⇒   the criterion  $\rm (D)$  is satisfied.
  4. Similarly, the multiplicative inverse  ${\rm Inv_M}(1) = 1$   ⇒   the criterion  $\rm (E)$  is satisfied.
  5. The validity of the commutative law  $\rm (F)$  in the set  $Z_2$  can be recognized by the symmetry with respect to the table diagonals.
  6. The criteria  $\rm (G)$  and  $\rm (H)$  are also satisfied here  ⇒   all eight criteria are satisfied  ⇒   $Z_2 = \rm GF(2)$.


$\text{Example 1:}$  The number set  $Z_3 = \{0, 1, 2\}$   ⇒   $q = 3$  satisfies all eight criteria and is thus a Galois field  $\rm GF(3)$:

$$Z_3 = \{0, 1, 2\}\hspace{0.25cm} \Rightarrow\hspace{0.25cm}\text{Addition: } \left[ \begin{array}{c | cccccc} + & 0 & 1 & 2\\ \hline 0 & 0 & 1 & 2 \\ 1 & 1 & 2 & 0 \\ 2 & 2 & 0 & 1 \end{array} \right] \hspace{-0.1cm} ,\hspace{0.25cm}\text{Multiplication: } \left[ \begin{array}{c | cccccc} \cdot & 0 & 1 & 2\\ \hline 0 & 0 & 0 & 0 \\ 1 & 0 & 1 & 2 \\ 2& 0 & 2 & 1 \end{array} \right]\hspace{0.25cm} \Rightarrow\hspace{0.25cm}{\rm GF}(3) . $$


$\text{Example 2:}$  In contrast,  the number set  $Z_4 = \{0, 1, 2, 3\}$   ⇒   $q = 4$  is  »not«  a Galois field.

  • The reason for this is that here is no multiplicative inverse to the element  $z_2 = 2$.  For a Galois field it would have to be true:   $2 \cdot {\rm Inv_M}(2) = 1$.
  • But in the multiplication table there is no entry with  "$1$"  in the third row and third column  $($each valid for the multiplicand  $z_2 = 2)$.
$$Z_4 = \{0, 1, 2, 3\}\hspace{0.25cm} \Rightarrow\hspace{0.25cm}\text{Addition: } \left[ \begin{array}{c | cccccc} + & 0 & 1 & 2 & 3\\ \hline 0 & 0 & 1 & 2 & 3\\ 1 & 1 & 2 & 3 & 0\\ 2 & 2 & 3 & 0 & 1\\ 3 & 3 & 0 & 1 & 2 \end{array} \right] \hspace{-0.1cm} ,\hspace{0.25cm}\text{Multiplication: } \left[ \begin{array}{c | cccccc} \cdot& 0 & 1 & 2 & 3\\ \hline 0 & 0 & 0 & 0 & 0\\ 1 & 0 & 1 & 2 & 3\\ 2 & 0 & 2 & 0 & 2\\ 3 & 0 & 3 & 2 & 1 \end{array} \right]\hspace{0.25cm} \Rightarrow\hspace{0.25cm}\text{no }{\rm GF}(4) . $$


$\text{Generalization (without proof for now):}$

  • A Galois field  ${\rm GF}(q)$  can be formed in the manner described here as  $\text{ring}$  of integer sizes modulo  $q$  only if  $q$  is a prime number:  
        $q = 2$,  $q = 3$,  $q = 5$,  $q = 7$,  $q = 11$, ...
  • But if the order  $q$  can be expressed in the form  $q = P^m$  with a prime  $P$  and integer  $m$,  the Galois field  ${\rm GF}(q)$  can be found via an  $\text{extension field}$


Group, ring, field - basic algebraic concepts


In the first sections,  some basic algebraic terms have already been mentioned,  without their meanings having been explained in more detail.  This is to be made up now in all shortness from view of a communication engineer, whereby we mainly refer to the representation in  [Fri96][1]  and  [KM+08][2].  To summarize:

$\text{Definition:}$ 

  • A  $\rm Galois\, field$  ${\rm GF}(q)$ is a  "field"  with a finite number  $(q)$  of elements   ⇒   »finite field«. 
  • Each field is again a special case of a  "ring",  which itself can be represented again as a special case of an  "Abelian group".


Algebraic relations between group, ring and field

The diagram illustrates step by step how the following subordinate sets arise from a set  $\mathcal{M}$  by definition of addition, multiplication and division:

  • Abelian group  $\mathcal{G}$ ,
  • ring  $\mathcal{R}$,
  • field  $\mathcal{F}$,
  • finite field  $\mathcal{F}_q$  or Galois field  ${\rm GF}(q)$.


In the next two sections, the algebraic terms mentioned here will be discussed in more detail.

  • For understanding the Reed–Solomon codes, however, this knowledge is not absolutely necessary.


Definition and examples of an algebraic group


For the general definitions of  "group"  (and later  "ring")  we assume a set with infinitely many elements:

\[\mathcal{M} = \{\hspace{0.1cm}z_1,\hspace{0.1cm} z_2,\hspace{0.1cm} z_3 ,\hspace{0.1cm}\text{ ...} \hspace{0.1cm}\}\hspace{0.05cm}. \]

$\text{Definition:}$  A  $\text{algebraic group}$  $(\mathcal{G}, +)$  is an  (arbitrary)  subset  $\mathcal{G} ⊂ \mathcal{M}$  together with an additive linkage  $($"$+$"$)$  defined between all elements,  but only if the following properties are necessarily satisfied:

  1. For all  $z_i, z_j ∈ \mathcal{G}$  holds  $(z_i + z_j) ∈ \mathcal{G}$   ⇒   "Closure–criterion for  $+$".
  2. There is always a neutral element  $N_{\rm A} ∈ \mathcal{G}$  with respect to addition,  so that for all  $z_i ∈ \mathcal{G}$ holds:   $z_i +N_{\rm A} = z_i$.  Given a group of numbers:   $N_{\rm A} \equiv 0$.
  3. For all  $z_i ∈ \mathcal{G}$  there is an inverse element  ${\rm Inv_A}(z_i) ∈ \mathcal{G}$  with respect to addition:  $z_i + {\rm Inv_A}(z_i)= N_{\rm A} $.  For a number group:  ${\rm Inv_A}(z_i) =- z_i$.
  4. For all  $z_i, z_j, z_k ∈ \mathcal{G}$  holds:  $z_i + (z_j + z_k)= (z_i + z_j) + z_k$   ⇒   "Associative law  for  $+$".
  5. If in addition for all  $z_i, z_j ∈ \mathcal{G}$  the  "commutative law"  $z_i + z_j= z_j + z_i$  is satisfied,  one speaks of a  "commutative group"  or an  "Abelian group",  named after the Norwegian mathematician  $\text{Niels Hendrik Abel}$.


$\text{Examples of algebraic groups:}$

(1)  The  "set of rational numbers"  is defined as the set of all quotients  $I/J$  with integers  $I$  and  $J ≠ 0$.

This set is a group  $(\mathcal{G}, +)$  with respect to addition,  since
  • for all  $a ∈ \mathcal{G}$  and  $b ∈ \mathcal{G}$  also the sum  $a+b$  belongs to  $\mathcal{G}$ ,
  • the associative law applies,
  • with  $ N_{\rm A} = 0$  the neutral element of the addition is contained in  $\mathcal{G}$  and
  • it exists for each  $a$  the additive inverse  ${\rm Inv_A}(a) = -a$ .
Since moreover the commutative law is fulfilled,  it is an  "abelian group".

(2)  The  "set of natural numbers"   ⇒   $\{0, 1, 2, \text{...}\}$  is not an algebraic group with respect to addition,
          since for no single element  $z_i$  there exists the additive inverse  ${\rm Inv_A}(z_i) = -z_i$ .

(3)  The  "bounded set of natural numbers"   ⇒   $\{0, 1, 2, \text{...}\hspace{0.05cm}, q\hspace{-0.05cm}-\hspace{-0.05cm}1\}$  on the other hand then satisfies the conditions on a group  $(\mathcal{G}, +)$,
          if one defines the addition modulo  $q$.

(4)  On the other hand,  $\{1, 2, 3, \text{...}\hspace{0.05cm},q\}$  is not a group because the neutral element of addition  $(N_{\rm A} = 0)$  is missing.


Definition and examples of an algebraic ring


According to the  $\text{overview graphic}$ 

  • one gets from the group  $(\mathcal{G}, +)$ 
  • by defining a second arithmetic operation  "multiplication"  ("$\cdot$")  to the  "ring"  $(\mathcal{R}, +, \cdot)$. 


So you need a multiplication table as well as an addition table for this.

$\text{Definition:}$  A  $\text{algebraic ring}$   $(\mathcal{R}, +, \cdot)$   is a subset  $\mathcal{R} ⊂ \mathcal{G} ⊂ \mathcal{M}$  together with two arithmetic operations defined in this set,

  • addition  ("$+$") 
  • and multiplication  ("$·$"). 


The following properties must be satisfied:

  1. In terms of addition,  the ring  $(\mathcal{R}, +, \cdot)$  is an  $\text{Abelian group}$  $(\mathcal{G}, +)$.
  2. In addition,  for all  $z_i, z_j ∈ \mathcal{R}$  also  $(z_i \cdot z_j) ∈ \mathcal{R}$   ⇒   "Closure criterion for  $\cdot$".
  3. There is always also a neutral element  $N_{\rm M} ∈ \mathcal{R}$  with respect to multiplication,  so that for all  $z_i ∈ \mathcal{R}$  holds:   $z_i \cdot N_{\rm M} = z_i$.  For a number group:  $N_{\rm M} \equiv 1$.
  4. For all  $z_i, z_j, z_k ∈ \mathcal{R}$  holds:   $z_i + (z_j + z_k)= (z_i + z_j) + z_k$   ⇒   "Associative law  for  $\cdot $".
  5. For all  $z_i, z_j, z_k ∈ \mathcal{R}$ holds:   $z_i \cdot (z_j + z_k) = z_i \cdot z_j + z_i \cdot z_k$   ⇒   "Distributive law  for  $\cdot $".


Further the following agreements shall hold:

  • A ring  $(\mathcal{R}, +, \cdot)$  is not necessarily commutative.  If in fact the  "commutative law"  also holds for all elements  $z_i, z_j ∈ \mathcal{R}$  with respect to multiplication  $(z_i \cdot z_j= z_j \cdot z_i)$  then it is called in the technical literature a  »commutative ring«.
  • Exists for each element  $z_i ∈ \mathcal{R}$  except  $N_{\rm A}$  $($neutral element of addition,  zero element$)$  an element  ${\rm Inv_M}(z_i)$  inverse with respect to multiplication such that  $z_i \cdot {\rm Inv_M}(z_i) = 1$  holds, then there is a  »division ring«.
  • The ring is  »free of zero divisors«  if from  $z_i \cdot z_j = 0$  follows necessarily  $z_i = 0$  or  $z_j = 0$.  In abstract algebra,  a zero divisor of a ring is an element  $z_i$ different from the zero element if there exists an element  $z_j \ne 0$  such that the product  $z_i \cdot z_j = 0$ .
  • A commutative ring free of zero divisors is called  »integral domain«.

$\text{Conclusion:}$  Comparing the definitions of  $\text{group}$,  "ring"  (see above), $\text{field}$  and  $\text{Galois field}$,  we recognize that a  »Galois field«  ${\rm GF}(q)$

  1. is a finite field with  $q$  elements,
  2. is at the same time a  "commutative division ring",  and
  3. also describes an  "integral domain".



Exercises for the chapter


Exercise 2.1: Group, Ring, Field

Exercise 2.1Z: Which Tables Describe Groups?

Exercise 2.2: Properties of Galois Fields

Exercise 2.2Z: Galois Field GF(5)

References

  1. Friedrichs, B.:  Kanalcodierung – Grundlagen und Anwendungen in modernen Kommunikationssystemen.  Berlin – Heidelberg: Springer, 1996.
  2. Kötter, R.; Mayer, T.; Tüchler, M.; Schreckenbach, F.; Brauchle, J.:  Channel Coding.  Lecture manuscript, Chair of Communications Engineering, TU Munich, 2008.