aboutsummaryrefslogtreecommitdiffstats
path: root/buch/chapters/30-endlichekoerper/uebungsaufgaben/3004.tex
blob: 4e81c2a3b171b6637a16e9e56916a9873d08ac76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
Der Körper $\mathbb{F}_2$ ist besonders einfach, da er nur zwei Elemente
$0$ und $1$ enthält.
\begin{teilaufgaben}
\item
Bestimmen Sie die Additions- und Multiplikationstabelle für $\mathbb{F}_2$.
\item
Lösen Sie das lineare Gleichungssystem
\[
\begin{linsys}{4}
x_1&+& x_2& &   & &   &=& 0\\
   & & x_2&+&x_3&+&x_4&=& 1\\
x_1&+& x_2&+&x_3&+&x_4&=& 1\\
   & & x_2&+&x_3& &   &=& 0\\
\end{linsys}
\]
über dem Körper $\mathbb{F}_2$ mit dem Gauss-Algorithmus.
\item Bestimmen Sie die Inverse $A^{-1}\in \operatorname{GL}_2(\mathbb{F}_2)$
der Koeffizientenmatrix $A$ des Gleichungssystems.
\item Kontrollieren Sie das Resultat durch Ausmultiplizieren des Produktes
$AA^{-1}$.
\end{teilaufgaben}

\begin{loesung}
\begin{teilaufgaben}
\item
Die Additions- und Multiplikationstabellen sind
\begin{center}
\begin{tikzpicture}[>=latex,thick]
\def\ds{0.5}
\def\punkt#1#2{({(#1)*\ds},{(-#2)*\ds})}
\def\tabelle{
	\foreach \x in {-0.5,0.5,2.5}{
		\draw \punkt{\x}{-0.5} -- \punkt{\x}{2.5};
	}
	\foreach \y in {-0.5,0.5,2.5}{
		\draw \punkt{-0.5}{\y} -- \punkt{2.5}{\y};
	}
	\node at \punkt{1}{0} {$0$};
	\node at \punkt{2}{0} {$1$};
	\node at \punkt{0}{1} {$0$};
	\node at \punkt{0}{2} {$0$};
}
\begin{scope}[xshift=-2cm]
	\tabelle
	\node at (0,0) {$+$};
	\node at \punkt{1}{1} {$0$};
	\node at \punkt{2}{1} {$1$};
	\node at \punkt{1}{2} {$1$};
	\node at \punkt{2}{2} {$0$};
\end{scope}
\begin{scope}[xshift=2cm]
	\tabelle
	\node at (0,0) {$\cdot$};
	\node at \punkt{1}{1} {$0$};
	\node at \punkt{2}{1} {$0$};
	\node at \punkt{1}{2} {$0$};
	\node at \punkt{2}{2} {$1$};
\end{scope}
\end{tikzpicture}
\end{center}
Betrachtet als Bitoperationen entspricht die Addition dem XOR, die
Multiplikation dem AND.
\item
Die Gauss-Tableaux sind
\begin{align*}
\begin{tabular}{|>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}|>{$}c<{$}|}
\hline
   1 & 1 & 0 & 0 &  0\\
   0 & 1 & 1 & 1 &  1\\
   1 & 1 & 1 & 1 &  1\\
   0 & 1 & 1 & 0 &  0\\
\hline
\end{tabular}
&\to
\begin{tabular}{|>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}|>{$}c<{$}|}
\hline
   1 & 1 & 0 & 0 &  0\\
   0 & 1 & 1 & 1 &  1\\
   0 & 0 & 1 & 1 &  1\\
   0 & 1 & 1 & 0 &  0\\
\hline
\end{tabular}
%\\
%&
\to
\begin{tabular}{|>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}|>{$}c<{$}|}
\hline
   1 & 1 & 0 & 0 &  0\\
   0 & 1 & 1 & 1 &  1\\
   0 & 0 & 1 & 1 &  1\\
   0 & 0 & 0 & 1 &  1\\
\hline
\end{tabular}
\\
\to
\begin{tabular}{|>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}|>{$}c<{$}|}
\hline
   1 & 1 & 0 & 0 &  0\\
   0 & 1 & 1 & 0 &  0\\
   0 & 0 & 1 & 0 &  0\\
   0 & 0 & 0 & 1 &  1\\
\hline
\end{tabular}
%\\
&
\to
\begin{tabular}{|>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}|>{$}c<{$}|}
\hline
   1 & 1 & 0 & 0 &  0\\
   0 & 1 & 0 & 0 &  0\\
   0 & 0 & 1 & 0 &  0\\
   0 & 0 & 0 & 1 &  1\\
\hline
\end{tabular}
%\\
%&
\to
\begin{tabular}{|>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}|>{$}c<{$}|}
\hline
   1 & 0 & 0 & 0 &  0\\
   0 & 1 & 0 & 0 &  0\\
   0 & 0 & 1 & 0 &  0\\
   0 & 0 & 0 & 1 &  1\\
\hline
\end{tabular}
\end{align*}
In der ersten Zeile stehen die Schritt der Vorwärtsreduktion, in der
zweiten die Schritte des Rückwärtseinsetzens.
Als Lösung liest man ab
\[
x=\begin{pmatrix}0\\0\\0\\1 \end{pmatrix},
\]
die Korrektheit kann man leicht durch Einsetzen überprüfen.
\item
Wir wenden erneut den Gauss-Algorithmus an:
\begin{align*}
\begin{tabular}{|>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}|>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}|}
\hline
   1 & 1 & 0 & 0 &  1 & 0 & 0 & 0 \\
   0 & 1 & 1 & 1 &  0 & 1 & 0 & 0 \\
   1 & 1 & 1 & 1 &  0 & 0 & 1 & 0 \\
   0 & 1 & 1 & 0 &  0 & 0 & 0 & 1 \\
\hline
\end{tabular}
&\to
\begin{tabular}{|>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}|>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}|}
\hline
   1 & 1 & 0 & 0 &  1 & 0 & 0 & 0 \\
   0 & 1 & 1 & 1 &  0 & 1 & 0 & 0 \\
   0 & 0 & 1 & 1 &  1 & 0 & 1 & 0 \\
   0 & 1 & 1 & 0 &  0 & 0 & 0 & 1 \\
\hline
\end{tabular}
\\
&\to
\begin{tabular}{|>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}|>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}|}
\hline
   1 & 1 & 0 & 0 &  1 & 0 & 0 & 0 \\
   0 & 1 & 1 & 1 &  0 & 1 & 0 & 0 \\
   0 & 0 & 1 & 1 &  1 & 0 & 1 & 0 \\
   0 & 0 & 0 & 1 &  0 & 1 & 0 & 1 \\
\hline
\end{tabular}
\\
&\to
\begin{tabular}{|>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}|>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}|}
\hline
   1 & 1 & 0 & 0 &  1 & 0 & 0 & 0 \\
   0 & 1 & 1 & 0 &  0 & 0 & 0 & 1 \\
   0 & 0 & 1 & 0 &  1 & 1 & 1 & 1 \\
   0 & 0 & 0 & 1 &  0 & 1 & 0 & 1 \\
\hline
\end{tabular}
\\
&\to
\begin{tabular}{|>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}|>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}|}
\hline
   1 & 1 & 0 & 0 &  1 & 0 & 0 & 0 \\
   0 & 1 & 0 & 0 &  1 & 1 & 1 & 0 \\
   0 & 0 & 1 & 0 &  1 & 1 & 1 & 1 \\
   0 & 0 & 0 & 1 &  0 & 1 & 0 & 1 \\
\hline
\end{tabular}
\\
&\to
\begin{tabular}{|>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}|>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}|}
\hline
   1 & 0 & 0 & 0 &  0 & 1 & 1 & 0 \\
   0 & 1 & 0 & 0 &  1 & 1 & 1 & 0 \\
   0 & 0 & 1 & 0 &  1 & 1 & 1 & 1 \\
   0 & 0 & 0 & 1 &  0 & 1 & 0 & 1 \\
\hline
\end{tabular}
\end{align*}
Daraus liest man die Inverse $A^{-1}$ der Koeffizientenmatrix $A$ ab als
\[
A^{-1}
=
\begin{pmatrix}
   0 & 1 & 1 & 0 \\
   1 & 1 & 1 & 0 \\
   1 & 1 & 1 & 1 \\
   0 & 1 & 0 & 1 
\end{pmatrix}.
\]
\item Wir prüfen das Resultat durch Ausmultiplizieren:
\[
AA^{-1}
=
\begin{pmatrix}
   1 & 1 & 0 & 0 \\
   0 & 1 & 1 & 1 \\
   1 & 1 & 1 & 1 \\
   0 & 1 & 1 & 0 
\end{pmatrix}
\begin{pmatrix}
   0 & 1 & 1 & 0 \\
   1 & 1 & 1 & 0 \\
   1 & 1 & 1 & 1 \\
   0 & 1 & 0 & 1 
\end{pmatrix}
=
\begin{pmatrix}
   1 & 0 & 0 & 0 \\
   0 & 1 & 0 & 0 \\
   0 & 0 & 1 & 0 \\
   0 & 0 & 0 & 1 
\end{pmatrix}.
\]
Dabei kann man verwenden, dass der Eintrag in Zeile $i$ und Spalte $k$ des
Produktes die Anzahl der Positionen ist, wo in der Zeile $i$ von $A$
und in der Spalte $j$ von $A^{-1}$ eine $1$ steht.
\qedhere
\end{teilaufgaben}
\end{loesung}