Aufgaben:Aufgabe 2.5Z: Einige Berechnungen über GF(2 hoch 3): Unterschied zwischen den Versionen

Aus LNTwww
Wechseln zu:Navigation, Suche
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 2: Zeile 2:
  
 
[[Datei:P_ID2509__KC_Z_2_5.png|right|frame|Elemente von  $\rm GF(2^3)$  für das Polynom  $p(x) = x^3 + x + 1$]]
 
[[Datei:P_ID2509__KC_Z_2_5.png|right|frame|Elemente von  $\rm GF(2^3)$  für das Polynom  $p(x) = x^3 + x + 1$]]
Wir betrachten nun den Erweiterungskörper (englisch: &nbsp; <i>Extension Field</i>&nbsp;) mit acht Elementen &nbsp; &#8658; &nbsp; $\rm GF(2^3)$&nbsp; gemäß der nebenstehenden Tabelle. Da das zugrunde liegende Polynom
+
Wir betrachten nun den Erweiterungskörper&nbsp; $($englisch: &nbsp; "Extension Field"$)$&nbsp; mit acht Elementen &nbsp; &#8658; &nbsp; $\rm GF(2^3)$&nbsp; gemäß der nebenstehenden Tabelle.  
 +
 
 +
Da das zugrunde liegende Polynom
 
:$$p(x) = x^3 + x +1 $$
 
:$$p(x) = x^3 + x +1 $$
  
sowohl irreduzibel als auch primitiv ist, kann das vorliegende Galoisfeld in folgender Form angegeben werden:
+
sowohl irreduzibel als auch primitiv ist,&nbsp; kann das vorliegende Galoisfeld in folgender Form angegeben werden:
 
:$${\rm GF}(2^3) = \{\hspace{0.1cm}0\hspace{0.05cm},\hspace{0.1cm} 1,\hspace{0.05cm}\hspace{0.1cm}
 
:$${\rm GF}(2^3) = \{\hspace{0.1cm}0\hspace{0.05cm},\hspace{0.1cm} 1,\hspace{0.05cm}\hspace{0.1cm}
 
\alpha\hspace{0.05cm},\hspace{0.1cm} \alpha^{2}\hspace{0.05cm},\hspace{0.1cm} \alpha^{3}\hspace{0.05cm},\hspace{0.1cm} \alpha^{4}\hspace{0.05cm},\hspace{0.1cm} \alpha^{5}\hspace{0.05cm},\hspace{0.1cm} \alpha^{6}\hspace{0.1cm}\}\hspace{0.05cm}. $$
 
\alpha\hspace{0.05cm},\hspace{0.1cm} \alpha^{2}\hspace{0.05cm},\hspace{0.1cm} \alpha^{3}\hspace{0.05cm},\hspace{0.1cm} \alpha^{4}\hspace{0.05cm},\hspace{0.1cm} \alpha^{5}\hspace{0.05cm},\hspace{0.1cm} \alpha^{6}\hspace{0.1cm}\}\hspace{0.05cm}. $$
  
Das Element&nbsp; $\alpha$&nbsp; ergibt sich dabei als Lösung der Gleichung&nbsp; $p(\alpha) = 0$&nbsp; im Galoisfeld&nbsp; $\rm GF(2)$.  
+
Das Element&nbsp; $\alpha$&nbsp; ergibt sich dabei als Lösung der Gleichung &nbsp; $p(\alpha) = 0$ &nbsp; im Galoisfeld&nbsp; $\rm GF(2)$.  
 
*Damit erhält man folgende Nebenbedingung:
 
*Damit erhält man folgende Nebenbedingung:
 
:$$\alpha^3 + \alpha +1 = 0\hspace{0.3cm} \Rightarrow\hspace{0.3cm} \alpha^3 = \alpha +1\hspace{0.05cm}.$$
 
:$$\alpha^3 + \alpha +1 = 0\hspace{0.3cm} \Rightarrow\hspace{0.3cm} \alpha^3 = \alpha +1\hspace{0.05cm}.$$
Zeile 18: Zeile 20:
 
:$$\alpha^6 \hspace{-0.15cm} \ = \ \hspace{-0.15cm} \alpha \cdot \alpha^5 = \alpha \cdot (\alpha^2 +\alpha + 1)= \alpha^3 + \alpha^2 + \alpha=  \alpha + 1 + \alpha^2  + \alpha = \alpha^2+ 1\hspace{0.05cm}.$$
 
:$$\alpha^6 \hspace{-0.15cm} \ = \ \hspace{-0.15cm} \alpha \cdot \alpha^5 = \alpha \cdot (\alpha^2 +\alpha + 1)= \alpha^3 + \alpha^2 + \alpha=  \alpha + 1 + \alpha^2  + \alpha = \alpha^2+ 1\hspace{0.05cm}.$$
  
In dieser Aufgabe sollen Sie einige algebraische Umformungen im&nbsp; Galoisfeld $\rm GF(2^3)$&nbsp; vornehmen. Unter anderem ist nach der multiplikativen Inversen des Elementes&nbsp; $\alpha^4$&nbsp;  gefragt. Dann muss gelten:
+
In dieser Aufgabe sollen Sie einige algebraische Umformungen im&nbsp; Galoisfeld $\rm GF(2^3)$&nbsp; vornehmen.  
 +
*Unter anderem ist nach der multiplikativen Inversen des Elementes&nbsp; $\alpha^4$&nbsp;  gefragt.  
 +
 
 +
*Dann muss gelten:
 
:$$\alpha^4 \cdot {\rm Inv_M}( \alpha^4) = 1 \hspace{0.05cm}.$$
 
:$$\alpha^4 \cdot {\rm Inv_M}( \alpha^4) = 1 \hspace{0.05cm}.$$
  
Zeile 25: Zeile 30:
  
  
 +
Hinweise:
 +
* Die Aufgabe gehört zum Kapitel&nbsp; [[Kanalcodierung/Erweiterungsk%C3%B6rper| "Erweiterungskörper"]].
  
 
+
* Diese Aufgabe ist als Ergänzung zur etwas schwierigeren&nbsp; [[Aufgaben:Aufgabe_2.5:_Drei_Varianten_von_GF(2_hoch_4)|"Aufgabe 2.5"]]&nbsp; gedacht.
 
 
''Hinweise:''
 
* Die Aufgabe gehört zum Kapitel&nbsp; [[Kanalcodierung/Erweiterungsk%C3%B6rper| Erweiterungskörper]].
 
* Diese Aufgabe ist als Ergänzung zur etwas schwierigeren&nbsp; [[Aufgaben:Aufgabe_2.5:_Drei_Varianten_von_GF(2_hoch_4)|Aufgabe 2.5]]&nbsp; gedacht.
 
  
  
Zeile 99: Zeile 102:
 
:$$\alpha^{13} \hspace{-0.15cm} \ = \ \hspace{-0.15cm} \alpha^7 \cdot \alpha^6 = 1 \cdot \alpha^6 = \alpha^2 +  1\hspace{0.05cm}.$$
 
:$$\alpha^{13} \hspace{-0.15cm} \ = \ \hspace{-0.15cm} \alpha^7 \cdot \alpha^6 = 1 \cdot \alpha^6 = \alpha^2 +  1\hspace{0.05cm}.$$
  
Die Tabelle lässt sich also modulo $7$ fortsetzen. Das bedeutet: <u>Alle Lösungsvorschläge</u> sind richtig.
+
*Die Tabelle lässt sich also modulo&nbsp; $7$&nbsp; fortsetzen.  
 +
 
 +
*Das bedeutet:&nbsp; <u>Alle Lösungsvorschläge</u>&nbsp; sind richtig.
 +
 
  
  
 +
'''(2)'''&nbsp; Richtig ist der&nbsp; <u>Lösungsvorschlag 2</u>&nbsp; wegen
 +
*$\alpha^8 = \alpha$&nbsp; entsprechend Teilaufgabe&nbsp; '''(1)''',
 +
 +
*$\alpha^6 = \alpha^2 + 1$&nbsp; $($gemäß Tabelle$)$,&nbsp; und
  
'''(2)'''&nbsp; Richtig ist der <u>Lösungsvorschlag 2</u> wegen
+
*$-\alpha^2 = \alpha^2$&nbsp; $($Operationen im binären Galoisfeld$)$.
*$\alpha^8 = \alpha$ entsprechend Teilaufgabe (1),
 
*$\alpha^6 = \alpha^2 + 1$ (gemäß Tabelle), und
 
*$-\alpha^2 = \alpha^2$ (Operationen im binären Galoisfeld).
 
  
  
Zeile 115: Zeile 122:
  
  
'''(3)'''&nbsp; Mit $\alpha^{16} = \alpha^{16-14} = \alpha^2$ sowie $\alpha^{12} \cdot \alpha^3 = \alpha^{15} = \alpha^{15-14} = \alpha$ erhält man den <u>Lösungsvorschlag 5</u>:
+
'''(3)'''&nbsp; Mit &nbsp; $\alpha^{16} = \alpha^{16-14} = \alpha^2$ &nbsp; sowie&nbsp;  $\alpha^{12} \cdot \alpha^3 = \alpha^{15} = \alpha^{15-14} = \alpha$ &nbsp; erhält man den&nbsp; <u>Lösungsvorschlag 5</u>:
 
:$$B = \alpha^2 + \alpha= \alpha^4
 
:$$B = \alpha^2 + \alpha= \alpha^4
 
\hspace{0.05cm}.$$
 
\hspace{0.05cm}.$$
Zeile 121: Zeile 128:
  
  
'''(4)'''&nbsp; Es gilt $\alpha^3 = \alpha + 1$ und damit $C = \alpha^3 + \alpha = \alpha + 1 + \alpha = 1$ &nbsp; &#8658; &nbsp; <u>Lösungsvorschlag 1</u>.
+
'''(4)'''&nbsp; Es gilt &nbsp; $\alpha^3 = \alpha + 1$ &nbsp; und damit &nbsp; $C = \alpha^3 + \alpha = \alpha + 1 + \alpha = 1$ &nbsp; &#8658; &nbsp; <u>Lösungsvorschlag 1</u>.
  
  
  
'''(5)'''&nbsp; Mit $\alpha^4 = \alpha^2 + \alpha$ erhält man $D = \alpha^4 + \alpha = \alpha^2$ &nbsp; &#8658; &nbsp; <u>Lösungsvorschlag 3</u>.
+
'''(5)'''&nbsp; Mit &nbsp; $\alpha^4 = \alpha^2 + \alpha$ erhält &nbsp; man &nbsp; $D = \alpha^4 + \alpha = \alpha^2$ &nbsp; &#8658; &nbsp; <u>Lösungsvorschlag 3</u>.
  
  
  
'''(6)'''&nbsp; Richtig ist der <u>Lösungsvorschlag 4</u>:
+
'''(6)'''&nbsp; Richtig ist der&nbsp; <u>Lösungsvorschlag 4</u>:
 
:$$E = A \cdot B \cdot C/D = \alpha \cdot  \alpha^4 \cdot 1/\alpha^2 = \alpha^3
 
:$$E = A \cdot B \cdot C/D = \alpha \cdot  \alpha^4 \cdot 1/\alpha^2 = \alpha^3
 
\hspace{0.05cm}.$$
 
\hspace{0.05cm}.$$
Zeile 135: Zeile 142:
  
  
'''(7)'''&nbsp; Laut Tabelle gilt $\alpha^2 + \alpha = \alpha^4$. Deshalb muss gelten:
+
'''(7)'''&nbsp; Laut Tabelle gilt&nbsp; $\alpha^2 + \alpha = \alpha^4$.&nbsp; Deshalb muss gelten:
 
:$$\alpha^4 \cdot {\rm Inv_M}( \alpha^4) = 1 \hspace{0.3cm} \Rightarrow\hspace{0.3cm}
 
:$$\alpha^4 \cdot {\rm Inv_M}( \alpha^4) = 1 \hspace{0.3cm} \Rightarrow\hspace{0.3cm}
 
{\rm Inv_M}( \alpha^2 + \alpha) = {\rm Inv_M}( \alpha^4) = \alpha^{-4} = \alpha^3
 
{\rm Inv_M}( \alpha^2 + \alpha) = {\rm Inv_M}( \alpha^4) = \alpha^{-4} = \alpha^3
 
\hspace{0.05cm}.$$
 
\hspace{0.05cm}.$$
  
Wegen $\alpha^3 = \alpha + 1$ sind somit die <u>Lösungsvorschläge 2 und 3</u> richtig.
+
*Wegen &nbsp; $\alpha^3 = \alpha + 1$ &nbsp; sind somit die&nbsp; <u>Lösungsvorschläge 2 und 3</u>&nbsp; richtig.
 
{{ML-Fuß}}
 
{{ML-Fuß}}
  
  
 
[[Category:Aufgaben zu  Kanalcodierung|^2.2 Erweiterungskörper^]]
 
[[Category:Aufgaben zu  Kanalcodierung|^2.2 Erweiterungskörper^]]

Aktuelle Version vom 4. Oktober 2022, 14:24 Uhr

Elemente von  $\rm GF(2^3)$  für das Polynom  $p(x) = x^3 + x + 1$

Wir betrachten nun den Erweiterungskörper  $($englisch:   "Extension Field"$)$  mit acht Elementen   ⇒   $\rm GF(2^3)$  gemäß der nebenstehenden Tabelle.

Da das zugrunde liegende Polynom

$$p(x) = x^3 + x +1 $$

sowohl irreduzibel als auch primitiv ist,  kann das vorliegende Galoisfeld in folgender Form angegeben werden:

$${\rm GF}(2^3) = \{\hspace{0.1cm}0\hspace{0.05cm},\hspace{0.1cm} 1,\hspace{0.05cm}\hspace{0.1cm} \alpha\hspace{0.05cm},\hspace{0.1cm} \alpha^{2}\hspace{0.05cm},\hspace{0.1cm} \alpha^{3}\hspace{0.05cm},\hspace{0.1cm} \alpha^{4}\hspace{0.05cm},\hspace{0.1cm} \alpha^{5}\hspace{0.05cm},\hspace{0.1cm} \alpha^{6}\hspace{0.1cm}\}\hspace{0.05cm}. $$

Das Element  $\alpha$  ergibt sich dabei als Lösung der Gleichung   $p(\alpha) = 0$   im Galoisfeld  $\rm GF(2)$.

  • Damit erhält man folgende Nebenbedingung:
$$\alpha^3 + \alpha +1 = 0\hspace{0.3cm} \Rightarrow\hspace{0.3cm} \alpha^3 = \alpha +1\hspace{0.05cm}.$$
  • Für die weiteren Elemente gelten folgende Berechnungen:
$$\alpha^4 \hspace{-0.15cm} \ = \ \hspace{-0.15cm} \alpha \cdot \alpha^3 = \alpha \cdot (\alpha + 1) = \alpha^2 + \alpha \hspace{0.05cm},$$
$$\alpha^5 \hspace{-0.15cm} \ = \ \hspace{-0.15cm} \alpha \cdot \alpha^4 = \alpha \cdot (\alpha^2 +\alpha) = \alpha^3 + \alpha^2 = \alpha^2 + \alpha + 1\hspace{0.05cm},$$
$$\alpha^6 \hspace{-0.15cm} \ = \ \hspace{-0.15cm} \alpha \cdot \alpha^5 = \alpha \cdot (\alpha^2 +\alpha + 1)= \alpha^3 + \alpha^2 + \alpha= \alpha + 1 + \alpha^2 + \alpha = \alpha^2+ 1\hspace{0.05cm}.$$

In dieser Aufgabe sollen Sie einige algebraische Umformungen im  Galoisfeld $\rm GF(2^3)$  vornehmen.

  • Unter anderem ist nach der multiplikativen Inversen des Elementes  $\alpha^4$  gefragt.
  • Dann muss gelten:
$$\alpha^4 \cdot {\rm Inv_M}( \alpha^4) = 1 \hspace{0.05cm}.$$



Hinweise:

  • Diese Aufgabe ist als Ergänzung zur etwas schwierigeren  "Aufgabe 2.5"  gedacht.



Fragebogen

1

Welche der Aussagen treffen für die höheren Potenzen von  $\alpha^{i} \ (i ≥ 7)$  zu?

$\alpha^7 = 1$,
$\alpha^8 = \alpha$,
$\alpha^{13} = \alpha^2 + 1$,
$\alpha^i = \alpha^{i \ \rm mod \, 7}$.

2

Welche Umformung ist für  $A = \alpha^8 + \alpha^6 - \alpha^2 + 1$  zulässig?

$A = 1$,
$A = \alpha$,
$A = \alpha^2$,
$A = \alpha^3$,
$A = \alpha^4$.

3

Welche Umformung ist für  $B = \alpha^{16} - \alpha^{12} \cdot \alpha^3$  zulässig?

$B = 1$,
$B = \alpha$,
$B = \alpha^2$,
$B = \alpha^3$,
$B = \alpha^4$.

4

Welche Umformung ist für  $C = \alpha^3 + \alpha$  zulässig?

$C = 1$,
$C = \alpha$,
$C = \alpha^2$,
$C = \alpha^3$,
$C = \alpha^4$.

5

Welche Umformung ist für  $D = \alpha^4 + \alpha$  zulässig?

$D = 1$,
$D = \alpha$,
$D = \alpha^2$,
$D = \alpha^3$,
$D = \alpha^4$.

6

Welche Umformung ist für  $E = A \cdot B \cdot C/D$  zulässig?

$E = 1$,
$E = \alpha$,
$E = \alpha^2$,
$E = \alpha^3$,
$E = \alpha^4$.

7

Welche Aussagen gelten für die multiplikative Inverse zu  $\alpha^2 + \alpha$?

${\rm Inv_M}(\alpha^2 + \alpha) = 1$,
${\rm Inv_M}(\alpha^2 + \alpha) = \alpha + 1$,
${\rm Inv_M}(\alpha^2 + \alpha) = \alpha^3$,
${\rm Inv_M}(\alpha^2 + \alpha) = \alpha^4$.


Musterlösung

(1)  Beispielsweise findet man mit Hilfe der vorne angegebenen Tabelle:

$$\alpha^7 \hspace{-0.15cm} \ = \ \hspace{-0.15cm} \alpha \cdot \alpha^6 = \alpha \cdot (\alpha^2 + 1) = \alpha^3 + \alpha = (\alpha + 1) + \alpha = 1 \hspace{0.05cm},$$
$$\alpha^8 \hspace{-0.15cm} \ = \ \hspace{-0.15cm} \alpha \cdot \alpha^7 = \alpha \cdot 1 = \alpha\hspace{0.05cm},$$
$$\alpha^{13} \hspace{-0.15cm} \ = \ \hspace{-0.15cm} \alpha^7 \cdot \alpha^6 = 1 \cdot \alpha^6 = \alpha^2 + 1\hspace{0.05cm}.$$
  • Die Tabelle lässt sich also modulo  $7$  fortsetzen.
  • Das bedeutet:  Alle Lösungsvorschläge  sind richtig.


(2)  Richtig ist der  Lösungsvorschlag 2  wegen

  • $\alpha^8 = \alpha$  entsprechend Teilaufgabe  (1),
  • $\alpha^6 = \alpha^2 + 1$  $($gemäß Tabelle$)$,  und
  • $-\alpha^2 = \alpha^2$  $($Operationen im binären Galoisfeld$)$.


Also gilt:

$$A = \alpha^8 + \alpha^6 - \alpha^2 + 1 = \alpha + (\alpha^2 + 1) + \alpha^2 + 1 = \alpha \hspace{0.05cm}.$$


(3)  Mit   $\alpha^{16} = \alpha^{16-14} = \alpha^2$   sowie  $\alpha^{12} \cdot \alpha^3 = \alpha^{15} = \alpha^{15-14} = \alpha$   erhält man den  Lösungsvorschlag 5:

$$B = \alpha^2 + \alpha= \alpha^4 \hspace{0.05cm}.$$


(4)  Es gilt   $\alpha^3 = \alpha + 1$   und damit   $C = \alpha^3 + \alpha = \alpha + 1 + \alpha = 1$   ⇒   Lösungsvorschlag 1.


(5)  Mit   $\alpha^4 = \alpha^2 + \alpha$ erhält   man   $D = \alpha^4 + \alpha = \alpha^2$   ⇒   Lösungsvorschlag 3.


(6)  Richtig ist der  Lösungsvorschlag 4:

$$E = A \cdot B \cdot C/D = \alpha \cdot \alpha^4 \cdot 1/\alpha^2 = \alpha^3 \hspace{0.05cm}.$$


(7)  Laut Tabelle gilt  $\alpha^2 + \alpha = \alpha^4$.  Deshalb muss gelten:

$$\alpha^4 \cdot {\rm Inv_M}( \alpha^4) = 1 \hspace{0.3cm} \Rightarrow\hspace{0.3cm} {\rm Inv_M}( \alpha^2 + \alpha) = {\rm Inv_M}( \alpha^4) = \alpha^{-4} = \alpha^3 \hspace{0.05cm}.$$
  • Wegen   $\alpha^3 = \alpha + 1$   sind somit die  Lösungsvorschläge 2 und 3  richtig.