Basic roots
primitive irreducible polynomial: not divisor of $1+x^{m}$ for m < 2ⁿ-1
in a field, if ab = 0, then a = 0 or b = 0
To make Kⁿ into field, define multiplication in Kⁿ modulo an irreducible polynomial of degree n (gives you GF(2ⁿ)).
Order of nonzero element α ∈ GF(2ⁿ) is smallest positive int m such that $\alpha^{m} = 1$
Minimal polynomial of α ∈ GF(2ⁿ) is polynomial in K[x] of min degree with α as root
$\alpha^{m} = 1$ ⇒ α is root of $1+x^{m}$
Facts about minimal polynomials
To find min polynomial, find linear combination of {1, a, a², …, $a^{r}$} which sums to 0
Roots of minimal polynomials
primitive polynomial degree r is generator polynomial of a cyclic Hamming code of length $2^{r}-1$.
decoding: if generator polynomial primitive $m_{a} (x)$ and w(x) received, then w(x) = c(x) + e(x) where c(c) is codeword and $e(x) = x^{j}$ (j is the position of 1 in e).
Why? Quite easy decoding, class of BCH codes is extensive.
For any positive ints r and t, $t \leq 2^{r-1} - 1$, exists BCH length $n = 2^{r-1}$ which is t-error correcting and dimension k = n - r t.
The 2-error correcting BCH length $2^{r-1}$ is cyclic linear code generated by $g(x) = m_{\beta} (x) m_{\beta^{2}} (x)$, with β primitive element in GF($2^{r}$) and r ≥ 4. g(x) is generator for cyclic code because $n = 2^{r}-1$ and g(x) divides 1+xⁿ.
For integer r ≥ 4 there is 2-error correcting BCH code for length $n = 2^{r} - 1$, dimension $k = 2^{r}-2r-1$, distance d = 5, having generator polynomial m₁(x) nm₃(x).
Have code ($2^{r}-1$, $2^{r}-2r-1$, 5).
$H = \begin{bmatrix} \beta_{0} & \beta_{0} \\ \beta & \beta^{3} \\ \dots & \dots \\ \beta^{2^{r}-2} & \beta^{3(2^{r}-2)} \end{bmatrix}$
with β primitive element in $GF(2^{r})$. g(x) = m₁(x) m₃(x)
w received. then syndrome of w = wH = [w(β), w(β³)] = [s₁, s₃] where s₁ and s₃ words length r.
To decode: