Difference between revisions of "Channel Coding/Extension Field"

From LNTwww
 
(38 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
   
 
   
 
{{Header
 
{{Header
|Untermenü=Reed–Solomon–Codes und deren Decodierung
+
|Untermenü=Reed–Solomon–Codes and Their Decoding
|Vorherige Seite=Einige Grundlagen der Algebra
+
|Vorherige Seite=Some Basics of Algebra
|Nächste Seite=Definition und Eigenschaften von Reed–Solomon–Codes
+
|Nächste Seite=Definition and Properties of Reed-Solomon Codes
 
}}
 
}}
  
== GF(2<sup>2</sup>) – Beispiel eines Erweiterungskörpers==
+
== GF(2<sup>2</sup>) – Example of an extension field==
  
 
<br>
 
<br>
Im Abschnitt [[Kanalcodierung/Einige_Grundlagen_der_Algebra#Beispiele_und_Eigenschaften_von_Galoisfeldern|Beispiel 2]] im Kapitel &bdquo;Einige_Grundlagen der Algebra&rdquo; wurde bereits gezeigt, dass die '''endliche Zahlenmenge''' $\{0, 1, 2, 3\}$ &nbsp; &#8658; &nbsp; $q = 4$ nicht die Eigenschaften eines Galoisfeldes $\rm GF(4)$ erfüllt. Vielmehr ergeben sich für die ''Addition'' modulo 4 und die ''Multiplikation'' modulo 4 folgende Tabellen:
+
In&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Examples_and_properties_of_Galois_fields|"Example 2"]]&nbsp; of the chapter&nbsp; "Some Basics of Algebra"&nbsp; it has already been shown that the&nbsp; &raquo;'''finite set of numbers'''&laquo;&nbsp; $\{0,\ 1,\ 2,\ 3\}$ &nbsp; &#8658; &nbsp; $q = 4$&nbsp; does not satisfy the properties of a Galois field&nbsp; $\rm GF(4)$.&nbsp; Rather,&nbsp; the following tables result for the&nbsp; "addition modulo 4"&nbsp; and the&nbsp; "multiplication modulo 4":
  
 
:$$ \begin{array}{c}  
 
:$$ \begin{array}{c}  
Line 19: Line 19:
 
                                                           2 & 2 & 3 &0 & 1 \\  
 
                                                           2 & 2 & 3 &0 & 1 \\  
 
                                                           3 & 3 & 0 &1 & 2
 
                                                           3 & 3 & 0 &1 & 2
\end{array} \right] \hspace{-0.1cm} ,\hspace{0.25cm}\text{Multiplikation:      }  
+
\end{array} \right] \hspace{-0.1cm} ,\hspace{0.25cm}\text{Multiplication:      }  
 
\left[ \begin{array}{c|cccccc} \cdot & 0 & 1 &2 & 3 \\ \hline  
 
\left[ \begin{array}{c|cccccc} \cdot & 0 & 1 &2 & 3 \\ \hline  
 
                                                           0 & 0 & 0 & 0 & 0  \\
 
                                                           0 & 0 & 0 & 0 & 0  \\
Line 29: Line 29:
  
  
Für $z_i = 2$ gibt es keine multiplikative Inverse ${\rm Inv_M}(z_i)$. Dies erkennt man daran, dass kein einziges Element $z_j &#8712; \{0, 1, 2, 3\}$ die Bedingung $2 &middot; z_j = 1$ erfüllt. Geht man dagegen vom binären Galoisfeld ${\rm GF}(2) = \{0, 1\}$ aus und erweitert dieses entsprechend der Gleichung
+
For&nbsp; $z_i = 2$&nbsp; there is no multiplicative inverse&nbsp; ${\rm Inv_M}(z_i)$.&nbsp; This can be seen from the fact that no single element&nbsp; $z_i &#8712; \{0,\ 1,\ 2,\ 3\}$&nbsp; satisfies the condition&nbsp; $2 &middot; z_i = 1$.  
 +
 
 +
On the other hand,&nbsp; if we start from the binary Galois field&nbsp; ${\rm GF}(2) = \{0,\ 1\}$&nbsp; and extend it according to the equation
  
 
::<math>{\rm GF}(2^2)=  \big\{k_0+k_1\cdot \alpha \ \big | \ k_0, k_1\in{\rm GF}(2) = \{ 0, 1\} \big \}\hspace{0.05cm}, </math>
 
::<math>{\rm GF}(2^2)=  \big\{k_0+k_1\cdot \alpha \ \big | \ k_0, k_1\in{\rm GF}(2) = \{ 0, 1\} \big \}\hspace{0.05cm}, </math>
  
so ergibt sich die ebenfalls '''endliche <b>Menge''' $\{0, 1, \alpha, 1 + \alpha\}$</b> &nbsp; &#8658; &nbsp; die Ordnung ist weiterhin $q=4$. Führt man die Rechenoperationen modulo $p(\alpha) = \alpha^2 + \alpha + 1$ durch, so erhält man das folgende Ergebnis:
+
then the likewise&nbsp; &raquo;<b>finite set&nbsp; $\{0,\ 1,\ \alpha,\ 1 + \alpha\}$</b>&laquo; &nbsp; &#8658; &nbsp; order is further&nbsp; $q=4$.  
 +
 
 +
 
 +
Performing the arithmetic operations modulo&nbsp; $p(\alpha) = \alpha^2 + \alpha + 1$&nbsp; we get the following result:
  
 
:$$ \begin{array}{c}  
 
:$$ \begin{array}{c}  
Line 52: Line 57:
 
\end{array} \right] .$$
 
\end{array} \right] .$$
  
Hierzu ist anzumerken:
+
In this regard, it should be noted:
*Die neutralen Elemente der Addition bzw. Multiplikation sind weiterhin $N_{\rm A} = 0$ und  $N_{\rm M} = 1$ .
+
*The neutral elements of addition or multiplication are still&nbsp; $N_{\rm A} = 0$&nbsp; and &nbsp;$N_{\rm M} = 1$.
  
*Da bei Modulo&ndash;Ausführung kein Unterschied zwischen Addition und Subtraktion besteht, ist $\alpha + \alpha = \alpha - \alpha = 0$. Für alle <i>z<sub>i</sub></i> gilt somit: Die additive Inverse von $z_i$ ist das Element  $z_i$ selbst.
+
*Since there is no difference between addition and subtraction in modulo arithmetic&nbsp; $\alpha + \alpha = \alpha - \alpha = 0$.  
 +
*For all &nbsp;$z_i$&nbsp; thus holds: &nbsp; The additive inverse of&nbsp; $z_i$&nbsp; is the element&nbsp; $z_i$&nbsp; itself.
  
*Die Einträge in der Multiplikationstabelle ergeben sich nach folgenden Berechnungen:
+
*The entries in the multiplication table are obtained according to the following calculations:
 
::<math>\big [ \alpha \cdot (1+\alpha) \big ] \hspace{0.15cm}{\rm mod} \hspace{0.15cm} p(\alpha) = (\alpha^2 + \alpha) \hspace{0.15cm}{\rm mod} \hspace{0.15cm} (\alpha^2 + \alpha + 1)= 1\hspace{0.05cm},</math>   
 
::<math>\big [ \alpha \cdot (1+\alpha) \big ] \hspace{0.15cm}{\rm mod} \hspace{0.15cm} p(\alpha) = (\alpha^2 + \alpha) \hspace{0.15cm}{\rm mod} \hspace{0.15cm} (\alpha^2 + \alpha + 1)= 1\hspace{0.05cm},</math>   
 
::<math>\big [ \alpha \cdot \alpha \big ] \hspace{0.15cm}{\rm mod} \hspace{0.15cm} p(\alpha) = (\alpha^2 ) \hspace{0.15cm}{\rm mod} \hspace{0.15cm} (\alpha^2 + \alpha + 1)= 1+\alpha\hspace{0.05cm},</math>
 
::<math>\big [ \alpha \cdot \alpha \big ] \hspace{0.15cm}{\rm mod} \hspace{0.15cm} p(\alpha) = (\alpha^2 ) \hspace{0.15cm}{\rm mod} \hspace{0.15cm} (\alpha^2 + \alpha + 1)= 1+\alpha\hspace{0.05cm},</math>
 
::<math>\big [ (1+\alpha) \cdot (1+\alpha) \big ] \hspace{0.15cm}{\rm mod} \hspace{0.15cm} p(\alpha) = (\alpha^2 + 1) \hspace{0.15cm}{\rm mod} \hspace{0.15cm} (\alpha^2 + \alpha + 1)= \alpha\hspace{0.05cm}.</math>
 
::<math>\big [ (1+\alpha) \cdot (1+\alpha) \big ] \hspace{0.15cm}{\rm mod} \hspace{0.15cm} p(\alpha) = (\alpha^2 + 1) \hspace{0.15cm}{\rm mod} \hspace{0.15cm} (\alpha^2 + \alpha + 1)= \alpha\hspace{0.05cm}.</math>
  
*Damit existieren für alle Elemente mit Ausnahme des Nullelements die multiplikativen Inversen:
+
*Thus, the multiplicative inverses exist for all elements except the zero element:
  
 
::<math>{\rm Inv_M}( 1) = 1 \hspace{0.05cm},\hspace{0.2cm}{\rm Inv_M}(\alpha) = 1+\alpha \hspace{0.05cm},\hspace{0.2cm}{\rm Inv_M}(1+\alpha) = \alpha \hspace{0.05cm}.</math>
 
::<math>{\rm Inv_M}( 1) = 1 \hspace{0.05cm},\hspace{0.2cm}{\rm Inv_M}(\alpha) = 1+\alpha \hspace{0.05cm},\hspace{0.2cm}{\rm Inv_M}(1+\alpha) = \alpha \hspace{0.05cm}.</math>
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Zwischenergebnis:}$&nbsp;   
+
$\text{Intermediate result:}$&nbsp;   
*Die Menge $\{0, 1, \alpha, 1 + \alpha\}$ stellt zusammen mit den zwei Rechenoperationen <i>Addition</i> und <i>Multiplikation</i> modulo $p(\alpha)= \alpha^2 + \alpha +  1$ ein <i>Galoisfeld</i> der Ordnung $q = 4$  dar.
+
*The set&nbsp; $\{0, \ 1, \ \alpha, \ 1 + \alpha\}$&nbsp; together with operations&nbsp;  "addition"&nbsp; and&nbsp; "multiplication"&nbsp; modulo&nbsp; $p(\alpha)= \alpha^2 + \alpha +  1$&nbsp; represents a&nbsp; "Galois field"&nbsp; $($order&nbsp; $q = 4)$.
*Dieses mit $\rm GF(2^2) = GF(4)$ bezeichnete  Galoisfeld  erfüllt alle im [[Kanalcodierung/Einige_Grundlagen_der_Algebra#Definition_eines_Galoisfeldes| vorherigen Kapitel ]] genannten Anforderungen.<br>
+
   
*Im Gegensatz zum Zahlenkörper §$\rm GF(3) = \{0, 1, 2\}$ mit der Eigenschaft, dass  $q = 3$ eine Primzahl ist, nennt man $\rm GF(2^2)$ einen <b>Erweiterungskörper </b>(englisch: <i>Extension Field</i>).}}<br>
+
*This Galois field, denoted by&nbsp; $\rm GF(2^2) = GF(4)$&nbsp; satisfies all the requirements mentioned in the&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Definition_of_a_Galois_field| "previous chapter"]]&nbsp;.<br>
  
== Reduzible und irreduzible Polynome ==
+
*In contrast to the Galois field&nbsp; $\rm GF(3) = \{0, \ 1, \ 2\}$&nbsp; with the property that&nbsp; $q = 3$&nbsp; is a prime number, $\rm GF(2^2)$&nbsp; is called an extension field.}}<br>
 +
 
 +
== Reducible and irreducible polynomials ==
 
<br>
 
<br>
Das Polynom $p(\alpha)$ und damit die Bestimmungsgleichung $p(\alpha) = 0$ darf nicht beliebig vorgegeben werden. Das auf der letzten Seite verwendete Polynom $p(\alpha)= \alpha^2 + \alpha +  1$ war geeignet. Nun versuchen wir es mit einem anderen Polynom, nämlich  $p(\alpha)= \alpha^2 + 1$.
+
The polynomial&nbsp; $p(\alpha)$&nbsp; and thus the equation of determination&nbsp; $p(\alpha) = 0$&nbsp; must not be given arbitrarily. The polynomial used in the last section&nbsp;  
 +
:$$p(\alpha)= \alpha^2 + \alpha +  1$$
 +
is suitable. Now we try another polynomial, namely&nbsp; $p(\alpha)= \alpha^2 + 1$.
  
 
:$$ \begin{array}{c}  
 
:$$ \begin{array}{c}  
Line 93: Line 103:
 
\end{array} \right] .$$  
 
\end{array} \right] .$$  
  
Die Additionstabelle ist in beiden Fällen identisch und auch die Multiplikationstabellen unterscheiden sich nur durch die vier Einträge in den beiden unteren Zeilen und den beiden hinteren Spalten:
+
The addition table is identical in both cases and also the multiplication tables differ only by the four entries in the two bottom rows and the two last columns:
*Aus $p(\alpha) = 0$ folgt nun für das Produkt $\alpha \cdot \alpha = 1$ und das Produkt $(1 +\alpha) \cdot (1 +\alpha) $ ergibt das Nullelement. Das gemischte Produkt $\alpha \cdot (1 +\alpha) = (1 +\alpha) $.<br>
+
*From&nbsp; $p(\alpha) = 0$&nbsp; now follows for the product&nbsp; $\alpha \cdot \alpha = 1$&nbsp; and the product&nbsp; $(1 +\alpha) \cdot (1 +\alpha) $&nbsp; gives the zero element. The mixed product is&nbsp; $\alpha \cdot (1 +\alpha) = 1 +\alpha $.<br>
  
*In der letzten Zeile der Multipliaktionstabelle und auch in der letzten Spalte steht nun keine &bdquo;$1$&rdquo; &#8658; Hinsichtlich der Bedingung $p(\alpha)= \alpha^2 +   1= 0$ existiert die multiplikative Inverse zu $1 +\alpha$ nicht.<br>
+
*In the last row of the multiplication table and also in the last column there is now no "$1$" &nbsp; &#8658; &nbsp; Concerning the condition&nbsp; $p(\alpha)= \alpha^2 + 1= 0$&nbsp; consequently the multiplicative inverse to&nbsp; $1 +\alpha$&nbsp; does not exist.<br>
  
*Damit erfüllt aber die endliche Menge $\{0, 1, \alpha, 1 + \alpha\}$ zusammen mit Rechenoperationen modulo $p(\alpha)= \alpha^2 +   1$ auch nicht die Voraussetzungen eines Erweiterungskörpers $\rm GF(2^2) $.<br><br>
+
*But thus the finite set&nbsp; $\{0, \ 1, \ \alpha, \ 1 + \alpha\}$ together with arithmetic operations modulo&nbsp; $p(\alpha)= \alpha^2 + 1$&nbsp; does not satisfy the conditions of an extension field either&nbsp; $\rm GF(2^2) $.<br><br>
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Fassen wir zusammen:}$&nbsp;  Aus dem binären Galoisfeld $\rm GF(2) = \{0, 1\}$ lässt sich unter Zuhilfenahme eines Polynoms vom Grad $m = 2$ mit binären Koeffizienten,
+
$\text{Let us summarize:}$&nbsp;  
 +
   
 +
From the binary Galois field&nbsp; $\rm GF(2) = \{0, \ 1\}$&nbsp; an extension field&nbsp; $\rm GF(2^2)$&nbsp; can be formulated with the aid of a polynomial of degree&nbsp; $m = 2$&nbsp; with binary coefficients:
  
 
::<math>p(x) = x^2 + k_1 \cdot x + k_0 \hspace{0.05cm}, \hspace{0.45cm}k_0\hspace{0.05cm},\hspace{0.1cm}k_1 \in \{0, 1\}  
 
::<math>p(x) = x^2 + k_1 \cdot x + k_0 \hspace{0.05cm}, \hspace{0.45cm}k_0\hspace{0.05cm},\hspace{0.1cm}k_1 \in \{0, 1\}  
\hspace{0.05cm},</math>
+
\hspace{0.05cm}.</math>  
 
+
&nbsp; <u>Note:</u> &nbsp; The renaming of the variable&nbsp; $\alpha$&nbsp; to&nbsp; $x$&nbsp; has only formal meaning with regard to later sections.<br>
ein Erweiterungskörper $\rm GF(2^2)$ formulieren. <i>Anmerkung:</i> Die Umbenennung der Funktionsvariablen $\alpha$ in $x$ hat nur formale Bedeutung im Hinblick auf spätere Seiten.<br>
+
*In the present case there is only one suitable polynomial&nbsp; $p_1(x)= x^2 + x + 1$. All other possible polynomials of degree&nbsp; $m = 2$, namely,
*Im vorliegenden Fall gibt es nur ein geeignetes Polynom $p_1(x)= x^2 + x 1$. Alle anderen möglichen Polynome vom Grad $m = 2$, nämlich
 
  
 
::<math>p_2(x) = x^2 + 1 \hspace{0.06cm} = (x+1) \cdot (x+1)\hspace{0.05cm},</math>
 
::<math>p_2(x) = x^2 + 1 \hspace{0.06cm} = (x+1) \cdot (x+1)\hspace{0.05cm},</math>
 
::<math>p_3(x) =x^2  \hspace{0.76cm} = x \cdot x \hspace{0.05cm},</math>
 
::<math>p_3(x) =x^2  \hspace{0.76cm} = x \cdot x \hspace{0.05cm},</math>
 
::<math>p_4(x) = x^2 + x = (x+1) \cdot x\hspace{0.05cm}, </math>
 
::<math>p_4(x) = x^2 + x = (x+1) \cdot x\hspace{0.05cm}, </math>
 +
:can be factorized and do not yield extension fields.
 +
*The polynomials&nbsp; $p_2(x)$,&nbsp; $p_3(x)$&nbsp; and&nbsp; $p_4(x)$&nbsp; are called&nbsp; "reducible".
 +
 +
*The conclusion is obvious that only&nbsp; "irreducible polynomials"&nbsp; such as&nbsp; $p_1(x)$&nbsp; are suitable for an extension fields}}.<br>
  
lassen sich faktorisieren und ergeben keinen Erweiterungskörper.
 
*Man nennt die Polynome $p_2(x)$, $p_3(x)$ und $p_4(x)$ ''reduzibel''. Der Schluss liegt nahe, dass für einen Erweiterungskörper nur ''irreduzible Polynome'' wie $p_1(x)$ geeignet sind.}}<br>
 
  
  
 
+
== Interpretation of the new element "alpha" ==
== Interpretation des neuen Elementes $\alpha$ ==
 
 
<br>
 
<br>
Wir betrachten weiterhin den Körper ${\rm GF}(2^2) = \{0, 1, \alpha, 1 + \alpha\}$ entsprechend den beiden folgenden Operationstabellen, basierend auf der Nebenbedingung $p(\alpha)= \alpha^2 + \alpha + 1 = 0$ (irreduzibles Ploynom):
+
We further consider the field&nbsp; ${\rm GF}(2^2) = \{0, \ 1,\ \alpha,\ 1 + \alpha\}$&nbsp; corresponding to the following two operational tables, based on the constraint&nbsp; $p(\alpha)= \alpha^2 + \alpha + 1 = 0$&nbsp; (irreducible ploynomial):
  
 
:$$ \begin{array}{c}  
 
:$$ \begin{array}{c}  
Line 140: Line 152:
  
  
Welche Bedeutung hat aber nun das neue Element $\alpha$?
+
[[File:EN_KC_T_2_2_S1.png|right|frame|Transition from&nbsp; ${\rm GF}(2)$&nbsp; to&nbsp;  ${\rm GF}(2^2)$ |class=fit]]
[[File:P ID2552 KC T 2 2 S1 v2.png|right|frame|Übergang von GF(2) zu GF(2<sup>2</sup>) |class=fit]]
+
But what is the meaning of the new element $\alpha$?
*Das Polynom $p(\alpha)= \alpha^2 + \alpha + 1 $ hat keine Nullstelle in ${\rm GF}(2) = \{0, 1\}$. Das bedeutet weiter, dass  $\alpha$ weder $0$ noch $1$ sein kann.<br>
+
*The polynomial&nbsp; $p(\alpha)= \alpha^2 + \alpha + 1 $&nbsp; has no zero in&nbsp; ${\rm GF}(2) = \{0, \ 1\}$&nbsp;. This further implies that&nbsp; $\alpha$&nbsp; can be neither&nbsp; $0$&nbsp; nor&nbsp; $1$&nbsp;.<br>
  
*Wäre $\alpha= 0$ bzw. $\alpha= 1$, so wären zudem zwei der vier Mengenelemente $\{0, 1, \alpha, 1 + \alpha\}$jeweils identisch. Entweder &bdquo;$0$&rdquo; und &bdquo;$\alpha$&rdquo; sowie &bdquo;$1$&rdquo; und &bdquo;$1+\alpha$&rdquo; oder &bdquo;$1$&rdquo; und &bdquo;$\alpha$&rdquo; sowie &bdquo;$0$&rdquo; und &bdquo;$1+\alpha$&rdquo;.
+
*If&nbsp; $\alpha= 0$&nbsp; resp. &nbsp; $\alpha= 1$, then moreover two of the four set elements&nbsp; $\{0,\ 1,\ \alpha,\ 1 + \alpha\}$&nbsp; would be identical respectively: &nbsp; Either "$0$" and "$\alpha$" as well as "$1$" and "$1+\alpha$" or "$1$" and "$\alpha$" as well as "$0$" and "$1+\alpha$".
  
*Vielmehr erhält der eindimensionale Körper ${\rm GF}(2)$ durch die Einführung des Elementes $\alpha$ eine zweite Dimension. Er wird also zum Galoisfeld ${\rm GF}(2^2)$ erweitert, wie die nebenstehende Grafik zeigt.
+
*Much more the one-dimensional field&nbsp; ${\rm GF}(2)$&nbsp; gets a second dimension by the introduction of the element&nbsp; $\alpha$&nbsp;. It is thus extended to the Galois field&nbsp; ${\rm GF}(2^2)$&nbsp; as shown in the accompanying diagram.
  
*Das Element $\alpha$ hat ähnliche Bedeutung wie die imaginäre Einheit ${\rm j}$, durch die man die Menge der reellen Zahlen unter der Nebenbedingung ${\rm j}^2 + 1 = 0$ zur Menge der komplexen Zahlen erweitert.
+
*The element&nbsp; $\alpha$&nbsp; has similar meaning as the imaginary unit&nbsp; ${\rm j}$, by which one extends the set of real numbers under the constraint&nbsp; ${\rm j}^2 + 1 = 0$&nbsp; to the set of complex numbers.
 
<br clear=all>
 
<br clear=all>
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Übliche Darstellung des binären Erweiterungskörpers}\ {\rm GF}(2^2)\text{:}$
+
$\text{Common representation of the binary extension field}\ \ {\rm GF}(2^2)\text{:}$
 
   
 
   
Aufgrund der Identität $\alpha^2 = 1 + \alpha$, die aus der Nebenbedingung $p(\alpha) = 0$ folgt, kann man in gleicher Weise ${\rm GF}(2^2) = \{0, 1, \alpha, \alpha^2\}$schreiben, wobei nun folgende Operationstabellen gelten:
+
Due to the identity&nbsp; $\alpha^2 = 1 + \alpha$, which follows from the constraint &nbsp;$p(\alpha) = 0$&nbsp;, one can write in the same way&nbsp; ${\rm GF}(2^2) = \{0,\ 1,\ \alpha,\ \alpha^2\}$&nbsp; where now the following operation tables hold:
  
 
:$$ \begin{array}{c}  
 
:$$ \begin{array}{c}  
Line 175: Line 187:
  
  
== Polynome über einem endlichen Körper ==
+
== Polynomials over a finite field ==
 
<br>
 
<br>
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Definition:}$&nbsp; Ein '''Polynom''' in einem endlichen Körper ${\rm GF}(P)$, wobei $P$ eine Primzahl angibt, hat folgende Form:
+
$\text{Definition:}$&nbsp; A&nbsp; &raquo;'''polynomial'''&laquo;&nbsp; in a finite field&nbsp; ${\rm GF}(P)$,&nbsp; where&nbsp; $P$&nbsp; denotes a prime number,&nbsp; has the following form:
  
::<math>a(x) = \sum_{i = 0}^{m} a_i \cdot x^{i}  = a_0 + a_1 \cdot x + a_2 \cdot x^2 + \hspace{0.1cm}... \hspace{0.1cm} + a_m \cdot x^{m}
+
::<math>a(x) = \sum_{i = 0}^{m} a_i \cdot x^{i}  = a_0 + a_1 \cdot x + a_2 \cdot x^2 + \hspace{0.1cm}\text{...} \hspace{0.1cm} + a_m \cdot x^{m}
 
\hspace{0.05cm}.</math>
 
\hspace{0.05cm}.</math>
Anzumerken ist:
+
To note:
*Alle Koeffizienten $a_i $ sind Elemente des Körpers: &nbsp; $a_i \in {\rm GF}(P)$.<br>
+
*All coefficients&nbsp; $a_i $&nbsp; are elements of the field: &nbsp; $a_i \in {\rm GF}(P)$.<br>
  
*Ist der führende Koeffizient $a_m &ne; 0$, so gibt $m$ den '''Grad''' des Polynoms an.}}<br>
+
*If the leading coefficient&nbsp; $a_m &ne; 0$, then&nbsp; $m$&nbsp; indicates the&nbsp; &raquo;'''degree'''&laquo;&nbsp; of the polynomial.}}<br>
  
Betrachten wir ein dazu zweites Polynom mit Grad $M$,
+
Let us consider a second polynomial with degree $M$,
  
::<math>b(x) = \sum_{i = 0}^{M} b_i \cdot x^{i}  = b_0 + b_1 \cdot x + b_2 \cdot x^2 + \hspace{0.1cm}... \hspace{0.1cm} + b_M \cdot x^{M}
+
::<math>b(x) = \sum_{i = 0}^{M} b_i \cdot x^{i}  = b_0 + b_1 \cdot x + b_2 \cdot x^2 + \hspace{0.1cm}\text{...} \hspace{0.1cm} + b_M \cdot x^{M}
 
\hspace{0.05cm},</math>
 
\hspace{0.05cm},</math>
  
so erhält man für die Summe (bzw. Differenz) und das Produkt jeweils in ${\rm GF}(P)$:
+
then we get for the sum&nbsp; (resp. difference)&nbsp; and the product respectively in&nbsp; ${\rm GF}(P)$:
  
 
::<math>a(x) \pm b(x)  = \sum_{i = 0}^{{\rm max}\hspace{0.05cm}(m, \hspace{0.05cm}M)} \hspace{0.15cm}(a_i \pm b_i) \cdot x^{i} \hspace{0.05cm},</math>   
 
::<math>a(x) \pm b(x)  = \sum_{i = 0}^{{\rm max}\hspace{0.05cm}(m, \hspace{0.05cm}M)} \hspace{0.15cm}(a_i \pm b_i) \cdot x^{i} \hspace{0.05cm},</math>   
Line 200: Line 212:
  
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
$\text{Beispiel 1:}$&nbsp; Es gelte $a(x) = x^3 + x + 1$ und $b(x) = x^2 + x + 1$. Im binären Galoisfeld &nbsp; &#8658; &nbsp; ${\rm GF}(2)$ ergibt sich nach den obigen Gleichungen für die Summe, die Differenz und das Produkt der beiden Polynome:
+
$\text{Example 1:}$&nbsp; &nbsp; $a(x) = x^3 + x + 1$&nbsp; &nbsp;and&nbsp; $b(x) = x^2 + x + 1$&nbsp; are valid.
  
::<math>s(x)  = a(x) + b(x) = x^3 + x^2 \hspace{0.05cm}, \hspace{0.5cm}  
+
In the binary Galois field&nbsp; &nbsp; &#8658; &nbsp; ${\rm GF}(2)$&nbsp; results according to the above equations for the sum,&nbsp; difference and product of the two polynomials:
d(x)  = a(x) - b(x) = x^3 + x^2 = s(x)\hspace{0.05cm},</math>
 
  
 +
::<math>s(x)  = a(x) + b(x) = x^3 + x^2 \hspace{0.05cm}, </math>
 +
::<math>d(x)  = a(x) - b(x) = x^3 + x^2 = s(x)\hspace{0.05cm},</math>
 
::<math>c(x) = a(x) \cdot b(x)  =\sum_{i = 0}^{3 + 2} \hspace{0.15cm}c_i \cdot x^{i}\hspace{0.05cm},\hspace{0.5cm}  
 
::<math>c(x) = a(x) \cdot b(x)  =\sum_{i = 0}^{3 + 2} \hspace{0.15cm}c_i \cdot x^{i}\hspace{0.05cm},\hspace{0.5cm}  
 
c_i = \sum_{j = 0}^{i}\hspace{0.15cm}a_j \cdot b_{i-j}
 
c_i = \sum_{j = 0}^{i}\hspace{0.15cm}a_j \cdot b_{i-j}
 
\hspace{0.05cm}.</math>
 
\hspace{0.05cm}.</math>
  
Mit $a_0 =  a_1 = a_3 = b_0 =  b_1 =b_2 = 1$ und $a_2 =  a_4 = a_5 = b_3 =  b_4 =b_5 = 0$  erhält man:
+
With&nbsp; $a_0 =  a_1 = a_3 = b_0 =  b_1 =b_2 = 1$ &nbsp; and &nbsp; $a_2 =  a_4 = a_5 = b_3 =  b_4 =b_5 = 0$  &nbsp;we obtain:
  
 
::<math>c_0 = a_0 \cdot b_0 = 1 \cdot 1 = 1 \hspace{0.05cm},</math>   
 
::<math>c_0 = a_0 \cdot b_0 = 1 \cdot 1 = 1 \hspace{0.05cm},</math>   
Line 216: Line 229:
 
::<math>c_3 = a_0 \cdot b_3 + a_1 \cdot b_2 + a_2 \cdot b_1 + a_3 \cdot b_0  
 
::<math>c_3 = a_0 \cdot b_3 + a_1 \cdot b_2 + a_2 \cdot b_1 + a_3 \cdot b_0  
 
= 1 \cdot 0 + 1 \cdot 1 +  0 \cdot 1 + 1 \cdot 1 = 0 \hspace{0.05cm},</math>
 
= 1 \cdot 0 + 1 \cdot 1 +  0 \cdot 1 + 1 \cdot 1 = 0 \hspace{0.05cm},</math>
::<math>c_4=a_0 \cdot b_4 + a_1 \cdot b_3 +  \hspace{0.05cm}...+  \hspace{0.05cm}a_4 \cdot b_0
+
::<math>c_4=a_0 \cdot b_4 + a_1 \cdot b_3 +  \hspace{0.05cm}\text{...}\hspace{0.05cm}+  \hspace{0.05cm}a_4 \cdot b_0
 
=1 \cdot 0 + 1 \cdot 0 + 0 \cdot 1 +  1 \cdot 1 + 0 \cdot 1 = 1 \hspace{0.05cm},</math>
 
=1 \cdot 0 + 1 \cdot 0 + 0 \cdot 1 +  1 \cdot 1 + 0 \cdot 1 = 1 \hspace{0.05cm},</math>
::<math>c_5 = a_0 \cdot b_5 + a_1 \cdot b_4 + \hspace{0.05cm}...+  \hspace{0.05cm}  a_5 \cdot b_0
+
::<math>c_5 = a_0 \cdot b_5 + a_1 \cdot b_4 + \hspace{0.05cm}\text{...}\hspace{0.05cm}+  \hspace{0.05cm}  a_5 \cdot b_0
 
=1 \cdot 0 + 1 \cdot 0 + 0 \cdot 0 +  1 \cdot 1 + 0 \cdot 1 + 0 \cdot 1= 1 </math>
 
=1 \cdot 0 + 1 \cdot 0 + 0 \cdot 0 +  1 \cdot 1 + 0 \cdot 1 + 0 \cdot 1= 1 </math>
  
 
::<math>\Rightarrow  \hspace{0.3cm} c(x) = x^5 + x^4 +1 \hspace{0.05cm}.</math>
 
::<math>\Rightarrow  \hspace{0.3cm} c(x) = x^5 + x^4 +1 \hspace{0.05cm}.</math>
  
Im Galoisfeld ${\rm GF}(3)$ erhält man aufgrund der Modulo&ndash;3&ndash;Operationen andere Ergebnisse:
+
In the Galois field&nbsp; ${\rm GF}(3)$&nbsp; other results are obtained due to the modulo 3 operations:
  
 
::<math>s(x)  = (x^3 + x + 1) + (x^2 + x + 1) = x^3 + x^2 + 2x + 2\hspace{0.05cm},</math>   
 
::<math>s(x)  = (x^3 + x + 1) + (x^2 + x + 1) = x^3 + x^2 + 2x + 2\hspace{0.05cm},</math>   
Line 230: Line 243:
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Definition:}$&nbsp; Ein Polynom $a(x)$ bezeichnet man als '''reduzibel''' (englisch: <i>reducible</i>), wenn es als Produkt zweier Polynome $p(x)$ und $q(x)$ mit jeweils niedrigerem Grad dargestellt werden kann:
+
$\text{Definition:}$&nbsp; A polynomial&nbsp; $a(x)$&nbsp; is called&nbsp; &raquo;'''reducible'''&laquo;&nbsp; if it can be represented as the product of two polynomials&nbsp; $p(x)$&nbsp; and&nbsp; $q(x)$&nbsp; each of lower degree:
  
 
::<math>a(x) = p(x) \cdot q(x)
 
::<math>a(x) = p(x) \cdot q(x)
 
\hspace{0.05cm}.</math>
 
\hspace{0.05cm}.</math>
  
Ist diese Faktorisierung nicht möglich, das heißt, wenn
+
If this factorization is not possible,&nbsp; that is
  
 
::<math>a(x) = p(x) \cdot q(x) + r(x)\hspace{0.05cm},\hspace{0.5cm} r(x) \ne 0</math>
 
::<math>a(x) = p(x) \cdot q(x) + r(x)\hspace{0.05cm},\hspace{0.5cm} r(x) \ne 0</math>
  
gilt, so spricht man von einem '''irreduziblen''' (englisch: <i>irreducible</i> oder <i>prime</i>) Polynom.}}<br>
+
holds,&nbsp; then the polynomial is called an&nbsp; &raquo;'''irreducible'''&laquo;&nbsp; or&nbsp; &raquo;'''prime'''&laquo;.}}<br>
  
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
$\text{Beispiel 2:}$&nbsp; Es gelte $b(x) = x^3 + x + 1$, $p_1(x) = x^2 + x + 1$ und $p_2(x) = x^2 + 1$. Die Grafik verdeutlicht links die Modulo&ndash;2&ndash;Multiplikation $a(x)= b(x) \cdot p_1(x)$. Das Ergebnis ist $a(x) = x^5 + x^4 + 1$.<br>
+
$\text{Example 2:}$&nbsp; It holds&nbsp; $b(x) = x^3 + x + 1$,&nbsp; then&nbsp; $p_1(x) = x^2 + x + 1$ &nbsp; and &nbsp; $p_2(x) = x^2 + 1$ &nbsp; are valid.
  
[[File:P ID2538 KC T 2 2 S2 v2.png|center|frame|Beispiel für Polynom–Multiplikation und –Division|class=fit]]
+
The graph on the left illustrates the modulo 2 multiplication&nbsp; $a(x)= b(x) \cdot p_1(x)$. The result is &nbsp;$a(x) = x^5 + x^4 + 1$.<br>
  
Im rechten Teil der obigen Grafik ist die Modulo&ndash;2&ndash;Division $q(x)= a(x)/ p_2(x)$ mit dem Ergebnis $q(x) = x^3 + x^2 + x + 1$ dargestellt. Es verbleibt der Rest $r(x) = x$. Allein nach dieser Rechnung könnte $a(x) = x^5 + x^4 + 1$ durchaus ein irreduzibles Polynom sein.<br>
+
[[File:EN_KC_T_2_2_S2.png|center|frame|Example of polynomial multiplication and division|class=fit]]
  
Der Nachweis, dass das Polynom $a(x) = x^5 + x^4 + 1$ tatsächlich irreduzibel ist, wäre allerdings erst dann erbracht, wenn $a(x)/p(x)$ für alle
+
In the right part of the above graph, the modulo 2 division &nbsp;$q(x)= a(x)/ p_2(x)$&nbsp; is shown with the result &nbsp;$q(x) = x^3 + x^2 + x + 1$.
 +
* This leaves the remainder &nbsp;$r(x) = x$.
  
::<math>p(x) = \sum_{i = 0}^{m} a_i \cdot x^{i}  = a_m \cdot x^{m} + a_{m-1} \cdot x^{m-1} + \hspace{0.1cm}... \hspace{0.1cm}+ a_2 \cdot x^2  + a_1 \cdot x +  a_0 \hspace{0.05cm}</math>
+
*According to this calculation alone &nbsp;$a(x) = x^5 + x^4 + 1$&nbsp; could well be an irreducible polynomial.<br>
  
einen Rest $r(x) &ne; 0$ liefert. Dies würde im vorliegenden Beispiel (nahezu) $2^5 = 32$ Divisionen erfordern.<br>
+
*However,&nbsp; the proof that the polynomial &nbsp; $a(x) = x^5 + x^4 + 1$ &nbsp; is indeed irreducible would only be given if &nbsp;$a(x)/p(x)$&nbsp; yields a remainder for all
  
Aufgrund unserer linken Berechnung können wir hier sofort erkennen, dass  $a(x)$ mit Sicherheit kein irreduzibles Polynom ist, da zum Beispiel $a(x) = x^5 + x^4 + 1$ dividiert durch $p_1(x) = x^2 + x + 1$ das Polynom $b(x) = x^3 + x + 1$ ohne Rest ergibt.}}<br>
+
::<math>p(x) = \sum_{i = 0}^{m} a_i \cdot x^{i}  = a_m \cdot x^{m} + a_{m-1} \cdot x^{m-1} + \hspace{0.1cm}\text{...} \hspace{0.1cm}+ a_2 \cdot x^+ a_1 \cdot x + a_0 \hspace{0.05cm}.</math>
  
== Verallgemeinerte Definition eines Erweiterungskörpers ==
+
:This proof would require (almost) &nbsp; $2^5 = 32$ &nbsp; divisions in the present example.<br>
 +
 
 +
*Based on our left-hand calculation,&nbsp; we can immediately see here that &nbsp;$a(x)$&nbsp; is certainly not an irreducible polynomial,&nbsp; <br>since e.g. &nbsp; $a(x) = x^5 + x^4 + 1$ &nbsp; divided by &nbsp; $p_1(x) = x^2 + x + 1$ &nbsp; yields the polynomial &nbsp; $b(x) = x^3 + x + 1$ &nbsp; with no remainder.}}<br>
 +
 
 +
== Generalized definition of an extension field ==
 
<br>
 
<br>
Wir gehen von folgenden Voraussetzungen aus:
+
We assume the following:
*einem Galoisfeld ${\rm GF}(P)$, wobei $P$ eine Primzahl angibt,<br>
+
*A Galois field&nbsp; ${\rm GF}(P)$, where&nbsp; $P$&nbsp; denotes a prime number,<br>
  
*einem irreduziblen Polynom $p(x)$ über ${\rm GF}(P)$ mit dem Grad $m$:
+
*an irreducible polynomial&nbsp; $p(x)$&nbsp; over&nbsp; ${\rm GF}(P)$&nbsp; of degree&nbsp; $m$:
  
::<math>p(x) = a_m \cdot x^{m} + a_{m-1} \cdot x^{m-1} + \hspace{0.1cm}... \hspace{0.1cm}+ a_2 \cdot x^2  + a_1 \cdot x +  a_0 \hspace{0.05cm}, \hspace{0.3cm}
+
::<math>p(x) = a_m \cdot x^{m} + a_{m-1} \cdot x^{m-1} + \hspace{0.1cm}\text{...} \hspace{0.1cm}+ a_2 \cdot x^2  + a_1 \cdot x +  a_0 \hspace{0.05cm}, \hspace{0.3cm}
 
a_i \in {\rm G}(P)\hspace{0.05cm}, \hspace{0.15cm}a_m \ne 0\hspace{0.05cm}. </math>
 
a_i \in {\rm G}(P)\hspace{0.05cm}, \hspace{0.15cm}a_m \ne 0\hspace{0.05cm}. </math>
  
Mit den genannten Voraussetzungen gilt allgemein:
+
With the above conditions generally applies:
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Definition:}$&nbsp;  Es sei $P$ eine Primzahl, $m$ ganzzahlig, $p(x)$ ein irreduzibles Polynom vom Grad $m$ und es gelte $p(\alpha) = 0$. Ein <b>Erweiterungskörper</b> lässt sich dann wie folgt beschreiben.
+
$\text{Definition:}$&nbsp;  Let&nbsp;
 +
#$P$&nbsp; be a prime number,  
 +
#$m$&nbsp; be an integer,&nbsp;
 +
#$p(x)$&nbsp; be an irreducible polynomial of degree&nbsp; $m$&nbsp; and
 +
#$p(\alpha) = 0$&nbsp; hold.  
  
::<math>{\rm GF}(P^m)=  \Big\{ k_{m-1} \hspace{0.01cm}\cdot \hspace{0.02cm}\alpha^{m-1} \hspace{0.05cm}+ \hspace{0.05cm}\text{...} \hspace{0.05cm}+ \hspace{0.05cm}k_1 \hspace{0.01cm}\cdot \hspace{0.02cm} \alpha \hspace{0.05cm}+ \hspace{0.05cm} k_0\hspace{0.05cm} \Big{\vert}\hspace{0.02cm} \ k_i\in{\rm GF}(P) = \{ 0, 1, \hspace{0.05cm}\text{...} \hspace{0.05cm}, P-1\}\Big \}</math>
 
  
*Die Addition und Multiplikation in diesem Erweiterungskörper entspricht dann der Polynomaddition und Polynommultiplikation modulo $p(\alpha)$.<br>
+
An&nbsp; <b>extension field</b>&nbsp; can then be described as follows:
  
*Ein Galoisfeld ${\rm GF}(q)$ mit $q$ Elementen lässt sich also immer dann angeben, wenn die Elementenanzahl in der Form $q = P^m$  geschrieben werden kann ($P$ kennzeichnet eine Primzahl, $m$ sei ganzzahlig).}}<br>
+
::<math>{\rm GF}(P^m)= \Big\{ k_{m-1} \hspace{0.01cm}\cdot \hspace{0.02cm}\alpha^{m-1} \hspace{0.05cm}+ \hspace{0.05cm}\text{...} \hspace{0.05cm}+ \hspace{0.05cm}k_1 \hspace{0.01cm}\cdot \hspace{0.02cm} \alpha \hspace{0.05cm}+ \hspace{0.05cm} k_0\hspace{0.05cm} \Big{\vert}\hspace{0.02cm} \ k_i\in{\rm GF}(P) = \{ 0, 1, \hspace{0.05cm}\text{...} \hspace{0.05cm}, P-1\}\Big \}.</math>
  
Die Grafik zeigt, für welche $q$&ndash;Werte sich jeweils ein Galoisfeld konstruieren lässt. Für die schraffiert eingezeichneten Werte ist kein endlicher Körper angebbar. Weiter ist anzumerken:
+
*The addition and multiplication in this extension field then corresponds to polynomial addition and polynomial multiplication modulo&nbsp; $p(\alpha)$.<br>
*Die gelb hinterlegten Positionen $q=P$ &nbsp; &#8658; &nbsp; $m = 1$ markieren Zahlenmengen $\{0, 1,\text{ ...} , q- 1\}$ mit Galoiseigenschaften, siehe Seite  [[Kanalcodierung/Einige_Grundlagen_der_Algebra#Definition_eines_Galoisfeldes| Definition eines Galoisfeldes]].<br>
 
  
*Die anderen farblich hinterlegten Positionen markieren Erweiterungskörper mit $q=P^m$, $m &#8805; 2$. Für $q &#8804; 64$ basieren diese auf den Primzahlen $2$, $3$, $5$ und $7$.<br>
+
*So:&nbsp; A Galois field&nbsp; ${\rm GF}(q)$&nbsp; with&nbsp; $q$&nbsp; elements can be specified whenever the element number can be written in the form&nbsp; $q = P^m$&nbsp; <br>$(P$&nbsp; denotes a prime number,&nbsp; $m$&nbsp; be integer$)$.}}<br>
  
*Mit roter Schrift hervorgehoben sind binäre Körper &nbsp; &#8658; &nbsp; $q=2^m$, $m &#8805; 1$, die auf der nächsten Seite noch genauer betrachtet werden. Alle anderen Erweiterungskörper sind blau beschriftet.<br>
+
[[File:EN_KC_T_2_2_S3.png|right|frame|Possible Galois fields&nbsp; ${\rm GF}(q)$&nbsp; for&nbsp; $q ≤ 64$ |class=fit]]
 +
<br><br>
 +
The diagram shows for which $q$&ndash;values a Galois field can be constructed. For the shaded values no finite field can be given.  
  
[[File:P ID2500 KC T 2 2 S3 v2.png|center|frame|Mögliche Galoisfelder GF(<i>q</i>), <i>q</i> ≤ 64 |class=fit]]
+
Further it is to be noted:
 
+
#The yellow highlighted positions&nbsp; $q=P$ &nbsp; &#8658; &nbsp; $m = 1$&nbsp; mark sets of numbers&nbsp; $\{0,\ 1,\hspace{0.05cm}\text{ ...} \hspace{0.05cm},\ q- 1\}$&nbsp; with Galois properties, see section&nbsp; [[Channel_Coding/Some_Basics_of_Algebra#Definition_of_a_Galois_field|"Definition of a Galois Field"]].<br>
 
+
#Other background colors mark extension fields with&nbsp; $q=P^m$, &nbsp; $m &#8805; 2$.&nbsp; For&nbsp; $q &#8804; 64$&nbsp; these are based on the primes&nbsp; $2$,&nbsp; $3$,&nbsp; $5$,&nbsp;  $7$.<br>
== Binäre Erweiterungskörper &ndash; Primitive Polynome==
+
#Highlighted in red are binary fields &nbsp; &#8658; &nbsp; $q=2^m$, &nbsp; $m &#8805; 1$, which will be considered in more detail in the next section.
 +
# All other extension fields are labeled in blue.<br>
 +
<br clear=all>
 +
== Binary extension fields &ndash; Primitive polynomials==
 
<br>
 
<br>
Im Folgenden betrachten wir binäre Erweiterungskörper mit
+
[[File:EN_KC_T_2_2_S4.png|right|frame|Irreducible and primitive polynomials|class=fit]]
 +
In the following we consider binary extension fields with&nbsp; $q$&nbsp; elements:
  
::<math>q = 2^m \hspace{0.15cm}(m \ge 2)  \hspace{0.3cm} \Rightarrow\hspace{0.3cm} q = 4, 8, 16, 32, 64, \text{...}</math>
+
::<math>q = 2^m \hspace{0.15cm}(m \ge 2)  \hspace{0.3cm} \Rightarrow\hspace{0.3cm} q = 4,\ 8,\ 16, 32,\ 64,\ \text{...}</math>
  
Elementen. In der Tabelle sind für $2 &#8804; m &#8804; 6$ alle irreduziblen Polynome des Galoisfeldes ${\rm GF}(2)$ angegeben. Die Polynome in Spalte 2 und 3 sind nicht nur irreduzibel, sondern zusätzlich auch primitiv.<br>
+
*In the table all irreducible polynomials of the Galois field&nbsp; ${\rm GF}(2)$&nbsp; are given for&nbsp; $2 &#8804; m &#8804; 6$.
 +
 +
*The polynomials in columns 2 and 3 are not only irreducible,&nbsp; but additionally also primitive.<br>
  
<i>Hinweis:</i> Primitive Polynome liefern auch die Grundlage für die [[Stochastische_Signaltheorie/Erzeugung_von_diskreten_Zufallsgr%C3%B6%C3%9Fen#Realisierung_von_PN-Generatoren| Realisierung von Pseudo&ndash;Noise&ndash;Generatoren]].<br>
+
*Primitive polynomials also provide the basis for the&nbsp; [[Theory_of_Stochastic_Signals/Generation_of_Discrete_Random_Variables#Realization_of_PN_generators|"Realization of pseudo&ndash;noise generators"]].<br>
  
[[File:P ID2501 KC T 2 2 S4 v4.png|center|frame|Irreduzible und primitive Polynome|class=fit]]
 
  
Bevor wir uns der Definition eines primitiven Polynoms zuwenden, sollen zunächst die Besonderheiten solcher primitiver Elemente am Beispiel von
+
Before we turn to the definition of a primitive polynomial,&nbsp; we shall first mention the peculiarities of&nbsp; "primitive elements"&nbsp; using the example of
  
::<math>{\rm GF}(q) = \{\hspace{0.05cm}z_0 = 0,\hspace{0.1cm} z_1 = 1,\hspace{0.1cm}  ... , \hspace{0.05cm}z_{q-1}\}</math>
+
::<math>{\rm GF}(q) = \{\hspace{0.05cm}z_0 = 0,\hspace{0.1cm} z_1 = 1,\hspace{0.05cm\text{...}\hspace{0.05cm} , \hspace{0.05cm}z_{q-1}\}.</math>
  
genannt werden. Das Element $z_i = \beta$ wird dann als primitiv bezeichnet,
+
The element&nbsp; $z_i = \beta$&nbsp; is then called&nbsp; &raquo;'''primitive'''&laquo;&nbsp;,
*wenn die Potenz $\beta^{i}$ modulo $q$ zum ersten Mal für $i = q-1$ das Ergebnis &bdquo;$1$&rdquoliefert, so dass <br>
+
*if the power&nbsp; $\beta^{\hspace{0.05cm}i}$&nbsp; modulo&nbsp; $q$&nbsp; for the first time for&nbsp; $i = q-1$&nbsp; leads to the result&nbsp; "$1$"&nbsp; so that <br>
  
*$\beta^{i}$  für $1 &#8804; i &#8804; q- 1$ genau die Elemente $z_1$, ... , $z_{q-1}$ liefert, also alle Elemente von ${\rm GF}(q)$ mit Ausnahme des Nullelementes $z_0 = 0$.<br>
+
*$\beta^{\hspace{0.05cm}i}$&nbsp; for&nbsp; $1 &#8804; i &#8804; q- 1$&nbsp; yields exactly the elements&nbsp; $z_1$, ... , $z_{q-1}$&nbsp; i.e. all elements of&nbsp; ${\rm GF}(q)$&nbsp; except the zero element&nbsp; $z_0 = 0$.<br>
  
  
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
$\text{Beispiel 3:}$&nbsp; Von der Zahlenmenge $Z_5 = \{0, 1, 2, 3, 4\}$ sind &bdquo;$2$&rdquo; und &bdquo;$3$&rdquo; primitive Elemente wegen
+
$\text{Example 3:}$&nbsp; From the number set&nbsp; $Z_5 = \{0,\ 1,\ 2,\ 3,\ 4\}$,&nbsp; the numbers&nbsp; "$2$"&nbsp; and&nbsp; "$3$"&nbsp; are primitive elements because of
  
 
::<math>2^1 \hspace{-0.1cm}  =  \hspace{-0.1cm} 2\hspace{0.05cm},\hspace{0.2cm} 2^2 = 4\hspace{0.05cm},\hspace{0.2cm} 2^3 = 8 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 3\hspace{0.05cm},\hspace{0.2cm} 2^4 = 16 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 1\hspace{0.05cm},</math>  
 
::<math>2^1 \hspace{-0.1cm}  =  \hspace{-0.1cm} 2\hspace{0.05cm},\hspace{0.2cm} 2^2 = 4\hspace{0.05cm},\hspace{0.2cm} 2^3 = 8 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 3\hspace{0.05cm},\hspace{0.2cm} 2^4 = 16 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 1\hspace{0.05cm},</math>  
 
::<math>3^1 \hspace{-0.1cm}  =  \hspace{-0.1cm} 3\hspace{0.05cm},\hspace{0.2cm} 3^2 = 9\hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 4\hspace{0.05cm},\hspace{0.2cm} 3^3 = 27 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 2\hspace{0.05cm},\hspace{0.2cm} 3^4 = 81 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 1</math>
 
::<math>3^1 \hspace{-0.1cm}  =  \hspace{-0.1cm} 3\hspace{0.05cm},\hspace{0.2cm} 3^2 = 9\hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 4\hspace{0.05cm},\hspace{0.2cm} 3^3 = 27 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 2\hspace{0.05cm},\hspace{0.2cm} 3^4 = 81 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 1</math>
  
*Dagegen ist &bdquo;$4$&rdquo; kein primitives Element, weil bereits $4^2 = 1$ ist:
+
*On the other hand,&nbsp; "$4$"&nbsp; is not a primitive element,&nbsp; because already&nbsp; $4^2 = 1$:
  
 
::<math>4^1 = 4\hspace{0.05cm},\hspace{0.2cm} 4^2 = 16 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 1\hspace{0.05cm},\hspace{0.2cm} 4^3 = 64 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 4\hspace{0.05cm},\hspace{0.2cm} 4^4 = 256 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 1\hspace{0.05cm}.</math>}}<br>
 
::<math>4^1 = 4\hspace{0.05cm},\hspace{0.2cm} 4^2 = 16 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 1\hspace{0.05cm},\hspace{0.2cm} 4^3 = 64 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 4\hspace{0.05cm},\hspace{0.2cm} 4^4 = 256 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 1\hspace{0.05cm}.</math>}}<br>
  
 
{{BlaueBox|TEXT=   
 
{{BlaueBox|TEXT=   
$\text{Definition:}$&nbsp;  Ein irreduzibles Polynom bezeichnet man gleichzeitig als ein '''primitives Polynom''', wenn die Wurzel $\alpha$ bezüglich des Polynoms $p(x)$ ein primitives Element von ${\rm GF}(q)$ ist. Dann gilt
+
$\text{Definition:}$&nbsp;  An irreducible polynomial is called at the same time a&nbsp; &raquo;'''primitive polynomial'''&laquo;&nbsp; <br> &nbsp; &nbsp; if the root&nbsp; $\alpha$&nbsp; with respect to the polynomial&nbsp; $p(x)$&nbsp; is a primitive element of&nbsp; ${\rm GF}(q)$.&nbsp;  Then holds
  
::<math>{\rm GF}(q) = \{\hspace{0.1cm}\alpha^{-\infty} = 0\hspace{0.05cm},\hspace{0.1cm} \alpha^{0}  = 1,\hspace{0.05cm}\hspace{0.1cm}
+
::<math>{\rm GF}(q) = \{\hspace{0.1cm}\alpha^{-\infty} = 0\hspace{0.05cm},\hspace{0.1cm} \alpha^{0}  = 1,\hspace{0.05cm}\hspace{0.2cm}
\alpha\hspace{0.05cm},\hspace{0.1cm} \alpha^{2},\hspace{0.1cm}  ... \hspace{0.1cm}  , \hspace{0.1cm}\alpha^{q-2}\hspace{0.1cm}\}\hspace{0.05cm}.  </math>}}<br>
+
\alpha\hspace{0.05cm},\hspace{0.2cm} \alpha^{2},\hspace{0.2cm\text{...} \hspace{0.1cm}  , \hspace{0.2cm}\alpha^{q-2}\hspace{0.1cm}\}\hspace{0.05cm}.  </math>}}<br>
  
*Alle in Spalte 2 der obigen Tabelle angegebenen Polynome sind sowohl irreduzibel als auch primitiv. Ist $p_1(x)$ ein primitives Polynom, so ist auch das dazu reziproke Polynom $p_2 (x) = x^m \cdot p_1(x^{-1})$ primitiv.  
+
*All polynomials given in the second column of the above table are both irreducible and primitive.
*Alle Polynome in Spalte 3 sind reziprok zum Polynom in Spalte 2. Beispielsweise gilt für $m = 3$:
+
 +
*If&nbsp; $p_1(x)$&nbsp; is a primitive polynomial,&nbsp; then the polynomial reciprocal &nbsp; $p_2 (x) = x^m \cdot p_1(x^{-1})$ &nbsp; to it is also primitive.
 +
 +
*All polynomials in the third column are reciprocal to the polynomial in the second column.&nbsp; For example,&nbsp; for&nbsp; $m = 3$:
  
::<math>p_1(x) = x^3 + x + 1 \hspace{0.3cm} \Rightarrow\hspace{0.3cm}p_2(x) = x^3 \cdot [x^{-3} + x^{-1} + 1 ]= x^3 + x^2 + 1 \hspace{0.05cm}.</math>
+
::<math>p_1(x) = x^3 + x + 1 \hspace{0.3cm} \Rightarrow\hspace{0.3cm}p_2(x) = x^3 \cdot \big[x^{-3} + x^{-1} + 1 \big]= x^3 + x^2 + 1 \hspace{0.05cm}.</math>
  
*Die irreduziblen Polynome der Spalte 4 sind dagegen nicht primitiv; sie spielen nur eine untergeordnete Rolle zur Beschreibung von Fehlerkorrekturverfahren.<br>
+
*The irreducible polynomials of column 4,&nbsp; on the other hand,&nbsp; are not primitive;&nbsp; they play only a minor role in describing error correction procedures.<br>
  
  
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
$\text{Beispiel 4:}$&nbsp; Zur Verdeutlichung dieser Aussagen betrachten wir beispielhaft
+
$\text{Example 4:}$&nbsp; For clarification of these statements we consider exemplarily
*das Galoisfeld $\rm GF(2^3) = GF(8)$, sowie <br>
+
*the Galois field&nbsp; $\rm GF(2^3) = GF(8)$,&nbsp; as well as <br>
*das Polynom $p(x) = x^3 +  x + 1$.<br><br>
 
  
Aus der Bedingung $p(\alpha) = 0$ erhält man in $\rm GF(2^3)$ weiter:
+
*the polynomial&nbsp; $p(x) = x^3 +  x + 1$.<br><br>
 +
 
 +
From the condition &nbsp; $p(\alpha) = 0$ &nbsp; we obtain in&nbsp; $\rm GF(2^3)$&nbsp; further:
  
 
::<math>\alpha^3 + \alpha + 1 = 0 \hspace{0.3cm} \Rightarrow\hspace{0.3cm}\alpha^3 = \alpha + 1 \hspace{0.05cm},</math>
 
::<math>\alpha^3 + \alpha + 1 = 0 \hspace{0.3cm} \Rightarrow\hspace{0.3cm}\alpha^3 = \alpha + 1 \hspace{0.05cm},</math>
  
und damit für die Potenzen $\alphaî$ der Wurzel für $i &#8805; 4$:
+
and thus for the powers&nbsp; $\alpha^{i}$&nbsp; of the root for&nbsp; $i &#8805; 4$:
  
 
::<math>\alpha^4 = \alpha \cdot \alpha^3 = \alpha \cdot (\alpha + 1) = \alpha^2 + \alpha \hspace{0.05cm},</math>
 
::<math>\alpha^4 = \alpha \cdot \alpha^3 = \alpha \cdot (\alpha + 1) = \alpha^2 + \alpha \hspace{0.05cm},</math>
Line 352: Line 383:
  
 
{{GraueBox|TEXT=   
 
{{GraueBox|TEXT=   
$\text{Beispiel 5:}$&nbsp; Die Elemente $z_0$, $z_1$, ... , $z_7$ des Galoisfeldes $\rm GF(2^3)$ lassen sich entsprechend der nebenstehenden Tabelle wie folgt darstellen:
+
$\text{Example 5:}$&nbsp; The elements&nbsp; $z_0$,&nbsp; $z_1$, ... ,&nbsp; $z_7$&nbsp; of the Galois field&nbsp; $\rm GF(2^3)$&nbsp; can be represented according to the adjacent table as follows:
[[File:P ID2568 KC T 2 2 S4b.png|right|frame|Elemente von GF(2<sup>3</sup>) in drei verschiedenen Darstellungen]]
+
[[File:EN_KC_T_2_2_S4b_neu.png|right|frame|Elements of&nbsp; $\rm GF(2^3)$&nbsp; in three different representations]]
*als Potenzen von $\alpha$ &nbsp; &rArr; &nbsp; '''Exponentendarstellung''',<br>
+
*as powers of&nbsp; $\alpha$ &nbsp; &rArr; &nbsp; &raquo;'''exponent representation'''&laquo;,<br>
  
*als Polynome der Form $k_2 \cdot \alpha^2 + k_1 \cdot \alpha + k_0$ mit binären Koeffizienten  $k_2$, $k_1$, $k_0$ (jeweils $0$ oder $1$)  &nbsp; &rArr; &nbsp; '''Polynomdarstellung''',<br>
+
*as polynomials of the form&nbsp; $k_2 \cdot \alpha^2 + k_1 \cdot \alpha + k_0$&nbsp; with binary coefficients&nbsp; $k_2$,&nbsp; $k_1$,&nbsp; $k_0$ &nbsp; &rArr; &nbsp; &raquo;'''polynomial representation'''&laquo;,<br>
  
*als Vektoren der Koeffizienten $(k_2, \ k_1, \ k_0)$ &nbsp; &rArr; &nbsp; '''Koeffizientendarstellung'''.<br><br>
+
*as vectors of coefficients&nbsp; $(k_2, \ k_1, \ k_0)$ &nbsp; &rArr; &nbsp; &raquo;'''coefficient representation'''&laquo;.<br><br>
  
Für Addition (oder Subtraktion) zweier Elemente eignen sich Polynom&ndash; und Vektordarstellung gleichermaßen, wobei die Komponenten modulo 2 zu addieren sind, zum Beispiel:
+
&rArr; &nbsp; For addition&nbsp; (or subtraction)&nbsp; of two elements polynomial and vector representation are equally suitable, <br>where the components are to be added&nbsp; $\text{modulo 2}$,&nbsp; for example:
  
 
::<math>z_5 + z_7  =(\alpha^2 + \alpha) + (\alpha^2 + 1)  = \alpha + 1 = \alpha^3 = z_4 \hspace{0.05cm},</math>
 
::<math>z_5 + z_7  =(\alpha^2 + \alpha) + (\alpha^2 + 1)  = \alpha + 1 = \alpha^3 = z_4 \hspace{0.05cm},</math>
Line 366: Line 397:
 
::<math>\hspace{0.15cm} z_1 + z_2 + z_3 =(001) + (010) + (100)= (111) = z_6 \hspace{0.05cm}.</math>
 
::<math>\hspace{0.15cm} z_1 + z_2 + z_3 =(001) + (010) + (100)= (111) = z_6 \hspace{0.05cm}.</math>
  
Für Multiplikationen ist die Exponentendarstellung gut geeignet, wie folgende Beispiele zeigen:
+
&rArr; &nbsp; For multiplications,&nbsp; the exponent representation is well suited,&nbsp; as the following examples show:
[[File:P ID2577 KC T 2 2 S4c.png|right|frame|GF(2<sup>3</sup>) in 3D–Darstellung]]
+
[[File:P ID2577 KC T 2 2 S4c.png|right|frame|$\rm GF(2^3)$&nbsp;  in 3D representation]]
 
::<math>z_3 \cdot z_4  =\alpha^2 \cdot \alpha^3 =  \alpha^{2+3}=  \alpha^{5} = z_6 \hspace{0.05cm},</math>
 
::<math>z_3 \cdot z_4  =\alpha^2 \cdot \alpha^3 =  \alpha^{2+3}=  \alpha^{5} = z_6 \hspace{0.05cm},</math>
 
::<math>z_0 \cdot z_5  =\alpha^{-\infty} \cdot \alpha^4 =  \alpha^{-\infty} = z_0 \hspace{0.05cm},</math>   
 
::<math>z_0 \cdot z_5  =\alpha^{-\infty} \cdot \alpha^4 =  \alpha^{-\infty} = z_0 \hspace{0.05cm},</math>   
Line 373: Line 404:
 
=  1 \cdot \alpha^{3}= z_4 \hspace{0.05cm}.</math>
 
=  1 \cdot \alpha^{3}= z_4 \hspace{0.05cm}.</math>
  
Man erkennt, dass sich die Exponenten modulo $q-1$ ergeben (im Beispiel modulo $7$).<br>
+
It can be seen that the exponents result modulo&nbsp; $q-1$&nbsp; $($in this example modulo&nbsp; $7)$.<br>
 +
 
 +
&rArr; &nbsp; The bottom graph shows the finite extension field&nbsp; $\rm GF(2^3)$&nbsp; in a three-dimensional representation:
 +
*The axes are labeled&nbsp; $\alpha^0 =1$,&nbsp; $\alpha^1$&nbsp; and&nbsp; $\alpha^2$.
 +
 +
*The&nbsp; $2^3 = 8$&nbsp; points in the three-dimensional space are labeled with the coefficient vectors.
  
Die Grafik zeigt den endlichen Erweiterungskörper $\rm GF(2^3)$ in einer 3D&ndash;Darstellung:
+
*The assignment of the coefficients&nbsp; $k_2$,&nbsp; $k_1$,&nbsp; $k_0$&nbsp; to the axes is made clear by color. }}
*Die Achsen sind mit $\alpha^0 =1$, $\alpha^1$ und  $\alpha^2$ bezeichnet.
 
*Die $2^3 = 8$ Punkte im dreidimensionalen Raum sind mit den Koeffizientenvektoren beschriftet.
 
*Die Zuordnung der einzelnen Koeffizienten $k_2$, $k_1$, $k_0$ zu den Achsen ist farblich deutlich gemacht. }}
 
  
  
== Aufgaben zum Kapitel==
+
== Exercises for the chapter==
 
<br>
 
<br>
[[Aufgaben:Aufgabe_2.3:_Reduzible_und_irreduzible_Polynome|Aufgabe 2.3: Reduzible und irreduzible Polynome]]
+
[[Aufgaben:Exercise_2.3:_Reducible_and_Irreducible_Polynomials|Exercise 2.3: Reducible and Irreducible Polynomials]]
  
[[Aufgaben:Aufgabe_2.3Z:_Polynomdivision|Aufgabe 2.3Z: Polynomdivision]]
+
[[Aufgaben:Exercise_2.3Z:_Polynomial_Division|Exercise 2.3Z: Polynomial Division]]
  
[[Aufgaben:Aufgabe_2.4:_GF(2_hoch_2)–Darstellungsformen|Aufgabe 2.4: GF(2 hoch 2)–Darstellungsformen]]
+
[[Aufgaben:Exercise_2.4:_GF(2_to_the_Power_of_2)_Representation_Forms|Exercise 2.4: GF(2 to the Power of 2) Representation Forms]]
  
[[Aufgaben:Aufgabe_2.4Z:_Endliche_und_unendliche_Körper|Aufgabe 2.4Z: Endliche und unendliche Körper]]
+
[[Aufgaben:Exercise_2.4Z:_Finite_and_Infinite_Fields|Exercise 2.4Z: Finite and Infinite Fields]]
  
[[Aufgaben:Aufgabe_2.5:_Drei_Varianten_von_GF(2_hoch_4)|Aufgabe 2.5: Drei Varianten von GF(2 hoch 4)]]
+
[[Aufgaben:Exercise_2.5:_Three_Variants_of_GF(2_power_4)|Exercise 2.5: Three Variants of GF(2 power 4)]]
  
[[Aufgaben:Aufgabe_2.5Z:_Einige_Berechnungen_über_GF(2_hoch_3)|Aufgabe 2.5Z: Einige Berechnungen über GF(2 hoch 3)]]
+
[[Aufgaben:Exercise_2.5Z:_Some_Calculations_about_GF(2_power_3)|Exercise 2.5Z: Some Calculations about GF(2 power 3)]]
  
[[Aufgaben:Aufgabe_2.6:_GF(P_hoch_m)._Welches_P,_welches_m%3F|Aufgabe 2.6: GF(P hoch m). Welches ''P'', welches ''m''?]]
+
[[Aufgaben:Exercise_2.6:_GF(P_power_m)._Which_P,_which_m%3F|Exercise 2.6: GF(P power m). Which P, which m?]]
  
 
{{Display}}
 
{{Display}}

Latest revision as of 17:10, 23 November 2022

GF(22) – Example of an extension field


In  "Example 2"  of the chapter  "Some Basics of Algebra"  it has already been shown that the  »finite set of numbers«  $\{0,\ 1,\ 2,\ 3\}$   ⇒   $q = 4$  does not satisfy the properties of a Galois field  $\rm GF(4)$.  Rather,  the following tables result for the  "addition modulo 4"  and the  "multiplication modulo 4":

$$ \begin{array}{c} {\rm modulo}\hspace{0.15cm}{\it q} = 4\\ \end{array}\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] . $$


For  $z_i = 2$  there is no multiplicative inverse  ${\rm Inv_M}(z_i)$.  This can be seen from the fact that no single element  $z_i ∈ \{0,\ 1,\ 2,\ 3\}$  satisfies the condition  $2 · z_i = 1$.

On the other hand,  if we start from the binary Galois field  ${\rm GF}(2) = \{0,\ 1\}$  and extend it according to the equation

\[{\rm GF}(2^2)= \big\{k_0+k_1\cdot \alpha \ \big | \ k_0, k_1\in{\rm GF}(2) = \{ 0, 1\} \big \}\hspace{0.05cm}, \]

then the likewise  »finite set  $\{0,\ 1,\ \alpha,\ 1 + \alpha\}$«   ⇒   order is further  $q=4$.


Performing the arithmetic operations modulo  $p(\alpha) = \alpha^2 + \alpha + 1$  we get the following result:

$$ \begin{array}{c} {\rm modulo}\hspace{0.15cm}{\it p}(\alpha)= \alpha^2 + \alpha + 1\\ \end{array}\hspace{0.25cm} \Rightarrow\hspace{0.25cm} \left[ \begin{array}{c|cccccc} + & 0 & 1 & \alpha & 1\!+\!\alpha \\ \hline 0 & 0 & 1 & \alpha & 1\!+\!\alpha \\ 1 & 1 & 0 & 1\!+\!\alpha & \alpha \\ \alpha & \alpha & 1\!+\!\alpha & 0 & 1 \\ 1\!+\!\alpha & 1\!+\!\alpha & \alpha & 1 & 0 \end{array} \right] \hspace{-0.1cm} ,\hspace{0.5cm} \left[ \begin{array}{c|cccccc} \cdot & 0 & 1 & \alpha & 1\!+\!\alpha \\ \hline 0 & 0 & 0 & 0 & 0 \\ 1 & 0 & 1 & \alpha & 1\!+\!\alpha \\ \alpha & 0 & \alpha & 1\!+\!\alpha & 1 \\ 1\!+\!\alpha & 0 & 1\!+\!\alpha & 1 & \alpha \end{array} \right] .$$

In this regard, it should be noted:

  • The neutral elements of addition or multiplication are still  $N_{\rm A} = 0$  and  $N_{\rm M} = 1$.
  • Since there is no difference between addition and subtraction in modulo arithmetic  $\alpha + \alpha = \alpha - \alpha = 0$.
  • For all  $z_i$  thus holds:   The additive inverse of  $z_i$  is the element  $z_i$  itself.
  • The entries in the multiplication table are obtained according to the following calculations:
\[\big [ \alpha \cdot (1+\alpha) \big ] \hspace{0.15cm}{\rm mod} \hspace{0.15cm} p(\alpha) = (\alpha^2 + \alpha) \hspace{0.15cm}{\rm mod} \hspace{0.15cm} (\alpha^2 + \alpha + 1)= 1\hspace{0.05cm},\]
\[\big [ \alpha \cdot \alpha \big ] \hspace{0.15cm}{\rm mod} \hspace{0.15cm} p(\alpha) = (\alpha^2 ) \hspace{0.15cm}{\rm mod} \hspace{0.15cm} (\alpha^2 + \alpha + 1)= 1+\alpha\hspace{0.05cm},\]
\[\big [ (1+\alpha) \cdot (1+\alpha) \big ] \hspace{0.15cm}{\rm mod} \hspace{0.15cm} p(\alpha) = (\alpha^2 + 1) \hspace{0.15cm}{\rm mod} \hspace{0.15cm} (\alpha^2 + \alpha + 1)= \alpha\hspace{0.05cm}.\]
  • Thus, the multiplicative inverses exist for all elements except the zero element:
\[{\rm Inv_M}( 1) = 1 \hspace{0.05cm},\hspace{0.2cm}{\rm Inv_M}(\alpha) = 1+\alpha \hspace{0.05cm},\hspace{0.2cm}{\rm Inv_M}(1+\alpha) = \alpha \hspace{0.05cm}.\]

$\text{Intermediate result:}$ 

  • The set  $\{0, \ 1, \ \alpha, \ 1 + \alpha\}$  together with operations  "addition"  and  "multiplication"  modulo  $p(\alpha)= \alpha^2 + \alpha + 1$  represents a  "Galois field"  $($order  $q = 4)$.
  • This Galois field, denoted by  $\rm GF(2^2) = GF(4)$  satisfies all the requirements mentioned in the  "previous chapter" .
  • In contrast to the Galois field  $\rm GF(3) = \{0, \ 1, \ 2\}$  with the property that  $q = 3$  is a prime number, $\rm GF(2^2)$  is called an extension field.


Reducible and irreducible polynomials


The polynomial  $p(\alpha)$  and thus the equation of determination  $p(\alpha) = 0$  must not be given arbitrarily. The polynomial used in the last section 

$$p(\alpha)= \alpha^2 + \alpha + 1$$

is suitable. Now we try another polynomial, namely  $p(\alpha)= \alpha^2 + 1$.

$$ \begin{array}{c} {\rm modulo}\hspace{0.15cm}{\it p}(\alpha)= \alpha^2 + 1\\ \end{array}\hspace{0.25cm} \Rightarrow\hspace{0.25cm} \left[ \begin{array}{c|cccccc} + & 0 & 1 & \alpha & 1\!+\!\alpha \\ \hline 0 & 0 & 1 & \alpha & 1\!+\!\alpha \\ 1 & 1 & 0 & 1\!+\!\alpha & \alpha \\ \alpha & \alpha & 1\!+\!\alpha & 0 & 1 \\ 1\!+\!\alpha & 1\!+\!\alpha & \alpha & 1 & 0 \end{array} \right] \hspace{-0.1cm} ,\hspace{0.5cm} \left[ \begin{array}{c|cccccc} \cdot & 0 & 1 & \alpha & 1\!+\!\alpha \\ \hline 0 & 0 & 0 & 0 & 0 \\ 1 & 0 & 1 & \alpha & 1\!+\!\alpha \\ \alpha & 0 & \alpha & 1 &1\!+\!\alpha \\ 1\!+\!\alpha & 0 & 1\!+\!\alpha & 1\!+\!\alpha & 0 \end{array} \right] .$$

The addition table is identical in both cases and also the multiplication tables differ only by the four entries in the two bottom rows and the two last columns:

  • From  $p(\alpha) = 0$  now follows for the product  $\alpha \cdot \alpha = 1$  and the product  $(1 +\alpha) \cdot (1 +\alpha) $  gives the zero element. The mixed product is  $\alpha \cdot (1 +\alpha) = 1 +\alpha $.
  • In the last row of the multiplication table and also in the last column there is now no "$1$"   ⇒   Concerning the condition  $p(\alpha)= \alpha^2 + 1= 0$  consequently the multiplicative inverse to  $1 +\alpha$  does not exist.
  • But thus the finite set  $\{0, \ 1, \ \alpha, \ 1 + \alpha\}$ together with arithmetic operations modulo  $p(\alpha)= \alpha^2 + 1$  does not satisfy the conditions of an extension field either  $\rm GF(2^2) $.

$\text{Let us summarize:}$ 

From the binary Galois field  $\rm GF(2) = \{0, \ 1\}$  an extension field  $\rm GF(2^2)$  can be formulated with the aid of a polynomial of degree  $m = 2$  with binary coefficients:

\[p(x) = x^2 + k_1 \cdot x + k_0 \hspace{0.05cm}, \hspace{0.45cm}k_0\hspace{0.05cm},\hspace{0.1cm}k_1 \in \{0, 1\} \hspace{0.05cm}.\]

  Note:   The renaming of the variable  $\alpha$  to  $x$  has only formal meaning with regard to later sections.

  • In the present case there is only one suitable polynomial  $p_1(x)= x^2 + x + 1$. All other possible polynomials of degree  $m = 2$, namely,
\[p_2(x) = x^2 + 1 \hspace{0.06cm} = (x+1) \cdot (x+1)\hspace{0.05cm},\]
\[p_3(x) =x^2 \hspace{0.76cm} = x \cdot x \hspace{0.05cm},\]
\[p_4(x) = x^2 + x = (x+1) \cdot x\hspace{0.05cm}, \]
can be factorized and do not yield extension fields.
  • The polynomials  $p_2(x)$,  $p_3(x)$  and  $p_4(x)$  are called  "reducible".
  • The conclusion is obvious that only  "irreducible polynomials"  such as  $p_1(x)$  are suitable for an extension fields

.


Interpretation of the new element "alpha"


We further consider the field  ${\rm GF}(2^2) = \{0, \ 1,\ \alpha,\ 1 + \alpha\}$  corresponding to the following two operational tables, based on the constraint  $p(\alpha)= \alpha^2 + \alpha + 1 = 0$  (irreducible ploynomial):

$$ \begin{array}{c} {\rm modulo}\hspace{0.15cm} p(\alpha)= \alpha^2 + \alpha + 1\\ \end{array}\hspace{0.25cm} \Rightarrow\hspace{0.25cm} \left[ \begin{array}{c|cccccc} + & 0 & 1 & \alpha & 1\!+\!\alpha \\ \hline 0 & 0 & 1 & \alpha & 1\!+\!\alpha \\ 1 & 1 & 0 & 1\!+\!\alpha & \alpha \\ \alpha & \alpha & 1\!+\!\alpha & 0 & 1 \\ 1\!+\!\alpha & 1\!+\!\alpha & \alpha & 1 & 0 \end{array} \right] \hspace{-0.1cm} ,\hspace{0.5cm} \left[ \begin{array}{c|cccccc} \cdot & 0 & 1 & \alpha & 1\!+\!\alpha \\ \hline 0 & 0 & 0 & 0 & 0 \\ 1 & 0 & 1 & \alpha & 1\!+\!\alpha \\ \alpha & 0 & \alpha & 1\!+\!\alpha & 1 \\ 1\!+\!\alpha & 0 & 1\!+\!\alpha & 1 & \alpha \end{array} \right] .$$


Transition from  ${\rm GF}(2)$  to  ${\rm GF}(2^2)$

But what is the meaning of the new element $\alpha$?

  • The polynomial  $p(\alpha)= \alpha^2 + \alpha + 1 $  has no zero in  ${\rm GF}(2) = \{0, \ 1\}$ . This further implies that  $\alpha$  can be neither  $0$  nor  $1$ .
  • If  $\alpha= 0$  resp.   $\alpha= 1$, then moreover two of the four set elements  $\{0,\ 1,\ \alpha,\ 1 + \alpha\}$  would be identical respectively:   Either "$0$" and "$\alpha$" as well as "$1$" and "$1+\alpha$" or "$1$" and "$\alpha$" as well as "$0$" and "$1+\alpha$".
  • Much more the one-dimensional field  ${\rm GF}(2)$  gets a second dimension by the introduction of the element  $\alpha$ . It is thus extended to the Galois field  ${\rm GF}(2^2)$  as shown in the accompanying diagram.
  • The element  $\alpha$  has similar meaning as the imaginary unit  ${\rm j}$, by which one extends the set of real numbers under the constraint  ${\rm j}^2 + 1 = 0$  to the set of complex numbers.


$\text{Common representation of the binary extension field}\ \ {\rm GF}(2^2)\text{:}$

Due to the identity  $\alpha^2 = 1 + \alpha$, which follows from the constraint  $p(\alpha) = 0$ , one can write in the same way  ${\rm GF}(2^2) = \{0,\ 1,\ \alpha,\ \alpha^2\}$  where now the following operation tables hold:

$$ \begin{array}{c} {\rm modulo}\hspace{0.15cm} p(\alpha)= \alpha^2 + \alpha + 1\\ \end{array}\hspace{0.25cm} \Rightarrow\hspace{0.25cm} \left[ \begin{array}{c | cccccc} + & 0 & 1 & \alpha & \alpha^2 \\ \hline 0 & 0 & 1 & \alpha & \alpha^2 \\ 1 & 1 & 0 & \alpha^2 & \alpha \\ \alpha & \alpha & \alpha^2 & 0 & 1 \\ \alpha^2 & \alpha^2 & \alpha & 1 & 0 \end{array} \right] \hspace{-0.1cm} ,\hspace{0.5cm} \left[ \begin{array}{c | cccccc} \cdot & 0 & 1 & \alpha & \alpha^2 \\ \hline 0 & 0 & 0 & 0 & 0 \\ 1 & 0 & 1 & \alpha & \alpha^2 \\ \alpha & 0 & \alpha &\alpha^2 & 1 \\ \alpha^2 & 0 & \alpha^2 & 1 & \alpha \end{array} \right] .$$


Polynomials over a finite field


$\text{Definition:}$  A  »polynomial«  in a finite field  ${\rm GF}(P)$,  where  $P$  denotes a prime number,  has the following form:

\[a(x) = \sum_{i = 0}^{m} a_i \cdot x^{i} = a_0 + a_1 \cdot x + a_2 \cdot x^2 + \hspace{0.1cm}\text{...} \hspace{0.1cm} + a_m \cdot x^{m} \hspace{0.05cm}.\]

To note:

  • All coefficients  $a_i $  are elements of the field:   $a_i \in {\rm GF}(P)$.
  • If the leading coefficient  $a_m ≠ 0$, then  $m$  indicates the  »degree«  of the polynomial.


Let us consider a second polynomial with degree $M$,

\[b(x) = \sum_{i = 0}^{M} b_i \cdot x^{i} = b_0 + b_1 \cdot x + b_2 \cdot x^2 + \hspace{0.1cm}\text{...} \hspace{0.1cm} + b_M \cdot x^{M} \hspace{0.05cm},\]

then we get for the sum  (resp. difference)  and the product respectively in  ${\rm GF}(P)$:

\[a(x) \pm b(x) = \sum_{i = 0}^{{\rm max}\hspace{0.05cm}(m, \hspace{0.05cm}M)} \hspace{0.15cm}(a_i \pm b_i) \cdot x^{i} \hspace{0.05cm},\]
\[a(x) \cdot b(x) = \sum_{i = 0}^{m + M} \hspace{0.15cm}c_i \cdot x^{i}\hspace{0.05cm},\hspace{0.5cm} c_i = \sum_{j = 0}^{i}\hspace{0.15cm}a_j \cdot b_{i-j} \hspace{0.05cm}.\]

$\text{Example 1:}$    $a(x) = x^3 + x + 1$   and  $b(x) = x^2 + x + 1$  are valid.

In the binary Galois field    ⇒   ${\rm GF}(2)$  results according to the above equations for the sum,  difference and product of the two polynomials:

\[s(x) = a(x) + b(x) = x^3 + x^2 \hspace{0.05cm}, \]
\[d(x) = a(x) - b(x) = x^3 + x^2 = s(x)\hspace{0.05cm},\]
\[c(x) = a(x) \cdot b(x) =\sum_{i = 0}^{3 + 2} \hspace{0.15cm}c_i \cdot x^{i}\hspace{0.05cm},\hspace{0.5cm} c_i = \sum_{j = 0}^{i}\hspace{0.15cm}a_j \cdot b_{i-j} \hspace{0.05cm}.\]

With  $a_0 = a_1 = a_3 = b_0 = b_1 =b_2 = 1$   and   $a_2 = a_4 = a_5 = b_3 = b_4 =b_5 = 0$  we obtain:

\[c_0 = a_0 \cdot b_0 = 1 \cdot 1 = 1 \hspace{0.05cm},\]
\[c_1 = a_0 \cdot b_1 + a_1 \cdot b_0 = 1 \cdot 1 + 1 \cdot 1 = 0 \hspace{0.05cm},\]
\[c_2 =a_0 \cdot b_2 + a_1 \cdot b_1 + a_2 \cdot b_0 = 1 \cdot 1 + 1 \cdot 1 + 0 \cdot 1 = 0 \hspace{0.05cm},\]
\[c_3 = a_0 \cdot b_3 + a_1 \cdot b_2 + a_2 \cdot b_1 + a_3 \cdot b_0 = 1 \cdot 0 + 1 \cdot 1 + 0 \cdot 1 + 1 \cdot 1 = 0 \hspace{0.05cm},\]
\[c_4=a_0 \cdot b_4 + a_1 \cdot b_3 + \hspace{0.05cm}\text{...}\hspace{0.05cm}+ \hspace{0.05cm}a_4 \cdot b_0 =1 \cdot 0 + 1 \cdot 0 + 0 \cdot 1 + 1 \cdot 1 + 0 \cdot 1 = 1 \hspace{0.05cm},\]
\[c_5 = a_0 \cdot b_5 + a_1 \cdot b_4 + \hspace{0.05cm}\text{...}\hspace{0.05cm}+ \hspace{0.05cm} a_5 \cdot b_0 =1 \cdot 0 + 1 \cdot 0 + 0 \cdot 0 + 1 \cdot 1 + 0 \cdot 1 + 0 \cdot 1= 1 \]
\[\Rightarrow \hspace{0.3cm} c(x) = x^5 + x^4 +1 \hspace{0.05cm}.\]

In the Galois field  ${\rm GF}(3)$  other results are obtained due to the modulo 3 operations:

\[s(x) = (x^3 + x + 1) + (x^2 + x + 1) = x^3 + x^2 + 2x + 2\hspace{0.05cm},\]
\[d(x) = (x^3 + x + 1) - (x^2 + x + 1) = x^3 + 2x^2 \hspace{0.05cm},\]
\[c(x) = (x^3 + x + 1) \cdot (x^2 + x + 1) = x^5 + x^4 + 2x^3 + 2x^2 + 2x +1\hspace{0.05cm}.\]


$\text{Definition:}$  A polynomial  $a(x)$  is called  »reducible«  if it can be represented as the product of two polynomials  $p(x)$  and  $q(x)$  each of lower degree:

\[a(x) = p(x) \cdot q(x) \hspace{0.05cm}.\]

If this factorization is not possible,  that is

\[a(x) = p(x) \cdot q(x) + r(x)\hspace{0.05cm},\hspace{0.5cm} r(x) \ne 0\]

holds,  then the polynomial is called an  »irreducible«  or  »prime«.


$\text{Example 2:}$  It holds  $b(x) = x^3 + x + 1$,  then  $p_1(x) = x^2 + x + 1$   and   $p_2(x) = x^2 + 1$   are valid.

The graph on the left illustrates the modulo 2 multiplication  $a(x)= b(x) \cdot p_1(x)$. The result is  $a(x) = x^5 + x^4 + 1$.

Example of polynomial multiplication and division

In the right part of the above graph, the modulo 2 division  $q(x)= a(x)/ p_2(x)$  is shown with the result  $q(x) = x^3 + x^2 + x + 1$.

  • This leaves the remainder  $r(x) = x$.
  • According to this calculation alone  $a(x) = x^5 + x^4 + 1$  could well be an irreducible polynomial.
  • However,  the proof that the polynomial   $a(x) = x^5 + x^4 + 1$   is indeed irreducible would only be given if  $a(x)/p(x)$  yields a remainder for all
\[p(x) = \sum_{i = 0}^{m} a_i \cdot x^{i} = a_m \cdot x^{m} + a_{m-1} \cdot x^{m-1} + \hspace{0.1cm}\text{...} \hspace{0.1cm}+ a_2 \cdot x^2 + a_1 \cdot x + a_0 \hspace{0.05cm}.\]
This proof would require (almost)   $2^5 = 32$   divisions in the present example.
  • Based on our left-hand calculation,  we can immediately see here that  $a(x)$  is certainly not an irreducible polynomial, 
    since e.g.   $a(x) = x^5 + x^4 + 1$   divided by   $p_1(x) = x^2 + x + 1$   yields the polynomial   $b(x) = x^3 + x + 1$   with no remainder.


Generalized definition of an extension field


We assume the following:

  • A Galois field  ${\rm GF}(P)$, where  $P$  denotes a prime number,
  • an irreducible polynomial  $p(x)$  over  ${\rm GF}(P)$  of degree  $m$:
\[p(x) = a_m \cdot x^{m} + a_{m-1} \cdot x^{m-1} + \hspace{0.1cm}\text{...} \hspace{0.1cm}+ a_2 \cdot x^2 + a_1 \cdot x + a_0 \hspace{0.05cm}, \hspace{0.3cm} a_i \in {\rm G}(P)\hspace{0.05cm}, \hspace{0.15cm}a_m \ne 0\hspace{0.05cm}. \]

With the above conditions generally applies:

$\text{Definition:}$  Let 

  1. $P$  be a prime number,
  2. $m$  be an integer, 
  3. $p(x)$  be an irreducible polynomial of degree  $m$  and
  4. $p(\alpha) = 0$  hold.


An  extension field  can then be described as follows:

\[{\rm GF}(P^m)= \Big\{ k_{m-1} \hspace{0.01cm}\cdot \hspace{0.02cm}\alpha^{m-1} \hspace{0.05cm}+ \hspace{0.05cm}\text{...} \hspace{0.05cm}+ \hspace{0.05cm}k_1 \hspace{0.01cm}\cdot \hspace{0.02cm} \alpha \hspace{0.05cm}+ \hspace{0.05cm} k_0\hspace{0.05cm} \Big{\vert}\hspace{0.02cm} \ k_i\in{\rm GF}(P) = \{ 0, 1, \hspace{0.05cm}\text{...} \hspace{0.05cm}, P-1\}\Big \}.\]
  • The addition and multiplication in this extension field then corresponds to polynomial addition and polynomial multiplication modulo  $p(\alpha)$.
  • So:  A Galois field  ${\rm GF}(q)$  with  $q$  elements can be specified whenever the element number can be written in the form  $q = P^m$ 
    $(P$  denotes a prime number,  $m$  be integer$)$.


Possible Galois fields  ${\rm GF}(q)$  for  $q ≤ 64$



The diagram shows for which $q$–values a Galois field can be constructed. For the shaded values no finite field can be given.

Further it is to be noted:

  1. The yellow highlighted positions  $q=P$   ⇒   $m = 1$  mark sets of numbers  $\{0,\ 1,\hspace{0.05cm}\text{ ...} \hspace{0.05cm},\ q- 1\}$  with Galois properties, see section  "Definition of a Galois Field".
  2. Other background colors mark extension fields with  $q=P^m$,   $m ≥ 2$.  For  $q ≤ 64$  these are based on the primes  $2$,  $3$,  $5$,  $7$.
  3. Highlighted in red are binary fields   ⇒   $q=2^m$,   $m ≥ 1$, which will be considered in more detail in the next section.
  4. All other extension fields are labeled in blue.


Binary extension fields – Primitive polynomials


Irreducible and primitive polynomials

In the following we consider binary extension fields with  $q$  elements:

\[q = 2^m \hspace{0.15cm}(m \ge 2) \hspace{0.3cm} \Rightarrow\hspace{0.3cm} q = 4,\ 8,\ 16, 32,\ 64,\ \text{...}\]
  • In the table all irreducible polynomials of the Galois field  ${\rm GF}(2)$  are given for  $2 ≤ m ≤ 6$.
  • The polynomials in columns 2 and 3 are not only irreducible,  but additionally also primitive.


Before we turn to the definition of a primitive polynomial,  we shall first mention the peculiarities of  "primitive elements"  using the example of

\[{\rm GF}(q) = \{\hspace{0.05cm}z_0 = 0,\hspace{0.1cm} z_1 = 1,\hspace{0.05cm} \text{...}\hspace{0.05cm} , \hspace{0.05cm}z_{q-1}\}.\]

The element  $z_i = \beta$  is then called  »primitive« ,

  • if the power  $\beta^{\hspace{0.05cm}i}$  modulo  $q$  for the first time for  $i = q-1$  leads to the result  "$1$"  so that
  • $\beta^{\hspace{0.05cm}i}$  for  $1 ≤ i ≤ q- 1$  yields exactly the elements  $z_1$, ... , $z_{q-1}$  i.e. all elements of  ${\rm GF}(q)$  except the zero element  $z_0 = 0$.


$\text{Example 3:}$  From the number set  $Z_5 = \{0,\ 1,\ 2,\ 3,\ 4\}$,  the numbers  "$2$"  and  "$3$"  are primitive elements because of

\[2^1 \hspace{-0.1cm} = \hspace{-0.1cm} 2\hspace{0.05cm},\hspace{0.2cm} 2^2 = 4\hspace{0.05cm},\hspace{0.2cm} 2^3 = 8 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 3\hspace{0.05cm},\hspace{0.2cm} 2^4 = 16 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 1\hspace{0.05cm},\]
\[3^1 \hspace{-0.1cm} = \hspace{-0.1cm} 3\hspace{0.05cm},\hspace{0.2cm} 3^2 = 9\hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 4\hspace{0.05cm},\hspace{0.2cm} 3^3 = 27 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 2\hspace{0.05cm},\hspace{0.2cm} 3^4 = 81 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 1\]
  • On the other hand,  "$4$"  is not a primitive element,  because already  $4^2 = 1$:
\[4^1 = 4\hspace{0.05cm},\hspace{0.2cm} 4^2 = 16 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 1\hspace{0.05cm},\hspace{0.2cm} 4^3 = 64 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 4\hspace{0.05cm},\hspace{0.2cm} 4^4 = 256 \hspace{0.1cm}{\rm mod} \hspace{0.1cm} 5 = 1\hspace{0.05cm}.\]


$\text{Definition:}$  An irreducible polynomial is called at the same time a  »primitive polynomial« 
    if the root  $\alpha$  with respect to the polynomial  $p(x)$  is a primitive element of  ${\rm GF}(q)$.  Then holds

\[{\rm GF}(q) = \{\hspace{0.1cm}\alpha^{-\infty} = 0\hspace{0.05cm},\hspace{0.1cm} \alpha^{0} = 1,\hspace{0.05cm}\hspace{0.2cm} \alpha\hspace{0.05cm},\hspace{0.2cm} \alpha^{2},\hspace{0.2cm} \text{...} \hspace{0.1cm} , \hspace{0.2cm}\alpha^{q-2}\hspace{0.1cm}\}\hspace{0.05cm}. \]


  • All polynomials given in the second column of the above table are both irreducible and primitive.
  • If  $p_1(x)$  is a primitive polynomial,  then the polynomial reciprocal   $p_2 (x) = x^m \cdot p_1(x^{-1})$   to it is also primitive.
  • All polynomials in the third column are reciprocal to the polynomial in the second column.  For example,  for  $m = 3$:
\[p_1(x) = x^3 + x + 1 \hspace{0.3cm} \Rightarrow\hspace{0.3cm}p_2(x) = x^3 \cdot \big[x^{-3} + x^{-1} + 1 \big]= x^3 + x^2 + 1 \hspace{0.05cm}.\]
  • The irreducible polynomials of column 4,  on the other hand,  are not primitive;  they play only a minor role in describing error correction procedures.


$\text{Example 4:}$  For clarification of these statements we consider exemplarily

  • the Galois field  $\rm GF(2^3) = GF(8)$,  as well as
  • the polynomial  $p(x) = x^3 + x + 1$.

From the condition   $p(\alpha) = 0$   we obtain in  $\rm GF(2^3)$  further:

\[\alpha^3 + \alpha + 1 = 0 \hspace{0.3cm} \Rightarrow\hspace{0.3cm}\alpha^3 = \alpha + 1 \hspace{0.05cm},\]

and thus for the powers  $\alpha^{i}$  of the root for  $i ≥ 4$:

\[\alpha^4 = \alpha \cdot \alpha^3 = \alpha \cdot (\alpha + 1) = \alpha^2 + \alpha \hspace{0.05cm},\]
\[\alpha^5 = \alpha^2 \cdot \alpha^3 = \alpha^2 \cdot (\alpha + 1) = \alpha^3 + \alpha^2 = \alpha^2 + \alpha + 1 \hspace{0.05cm},\]
\[\alpha^6 = \alpha^3 \cdot \alpha^3 = (\alpha + 1) \cdot (\alpha + 1) = \alpha^2 + \alpha + \alpha + 1= \alpha^2 + 1 \hspace{0.05cm},\]
\[\alpha^7 = \alpha^4 \cdot \alpha^3 = (\alpha^2 + \alpha) \cdot (\alpha + 1) = \alpha^3 + \alpha^2 + \alpha^2 + \alpha = \alpha + 1 + \alpha = 1 = \alpha^0 \hspace{0.05cm}.\]


$\text{Example 5:}$  The elements  $z_0$,  $z_1$, ... ,  $z_7$  of the Galois field  $\rm GF(2^3)$  can be represented according to the adjacent table as follows:

Elements of  $\rm GF(2^3)$  in three different representations
  • as powers of  $\alpha$   ⇒   »exponent representation«,
  • as polynomials of the form  $k_2 \cdot \alpha^2 + k_1 \cdot \alpha + k_0$  with binary coefficients  $k_2$,  $k_1$,  $k_0$   ⇒   »polynomial representation«,
  • as vectors of coefficients  $(k_2, \ k_1, \ k_0)$   ⇒   »coefficient representation«.

⇒   For addition  (or subtraction)  of two elements polynomial and vector representation are equally suitable,
where the components are to be added  $\text{modulo 2}$,  for example:

\[z_5 + z_7 =(\alpha^2 + \alpha) + (\alpha^2 + 1) = \alpha + 1 = \alpha^3 = z_4 \hspace{0.05cm},\]
\[{\rm oder}\hspace{0.15cm} z_5 + z_7 =(110) + (101) = (011) = z_4 \hspace{0.05cm},\]
\[\hspace{0.15cm} z_1 + z_2 + z_3 =(001) + (010) + (100)= (111) = z_6 \hspace{0.05cm}.\]

⇒   For multiplications,  the exponent representation is well suited,  as the following examples show:

$\rm GF(2^3)$  in 3D representation
\[z_3 \cdot z_4 =\alpha^2 \cdot \alpha^3 = \alpha^{2+3}= \alpha^{5} = z_6 \hspace{0.05cm},\]
\[z_0 \cdot z_5 =\alpha^{-\infty} \cdot \alpha^4 = \alpha^{-\infty} = z_0 \hspace{0.05cm},\]
\[z_5 \cdot z_7 = \alpha^4 \cdot \alpha^6 = \alpha^{10}= \alpha^{7} \cdot \alpha^{3} = 1 \cdot \alpha^{3}= z_4 \hspace{0.05cm}.\]

It can be seen that the exponents result modulo  $q-1$  $($in this example modulo  $7)$.

⇒   The bottom graph shows the finite extension field  $\rm GF(2^3)$  in a three-dimensional representation:

  • The axes are labeled  $\alpha^0 =1$,  $\alpha^1$  and  $\alpha^2$.
  • The  $2^3 = 8$  points in the three-dimensional space are labeled with the coefficient vectors.
  • The assignment of the coefficients  $k_2$,  $k_1$,  $k_0$  to the axes is made clear by color.


Exercises for the chapter


Exercise 2.3: Reducible and Irreducible Polynomials

Exercise 2.3Z: Polynomial Division

Exercise 2.4: GF(2 to the Power of 2) Representation Forms

Exercise 2.4Z: Finite and Infinite Fields

Exercise 2.5: Three Variants of GF(2 power 4)

Exercise 2.5Z: Some Calculations about GF(2 power 3)

Exercise 2.6: GF(P power m). Which P, which m?