Finite Fields and Cyclic Codes 2025 - 1
Finite Fields and Cyclic Codes 2025 - 1
Cyclic codes
•Cyclic codes are a subclass of linear block codes where a
cyclic shift of a codeword produces another valid codeword.
•Cyclic codes are easy to implement
•Cyclic codes can be encoded and decoded efficiently using
shift registers.
• Their algebraic structure allows encoding and decoding to be
performed using polynomial division and multiplication over a
finite field.
•Cyclic codes are based on Galois fields
Polynomial Set Notation
Modular arithmetic
•Modular arithmetic plays a crucial role in error detection and
correction by enabling operations on finite sets of numbers (eg
GF(2)
•Modular arithmetic deals with remainders after division.
•The modulo operation (a mod n) finds the remainder when 'a'
is divided by 'n'.
•Two integers, ‘a' and ‘b', are said to be congruent modulo 'n'
(a≡ b (mod n)) if their difference (a - b) is divisible by 'n'.
Modular Arithmetic
Modular Arithmentic with Polynomials
Modular arithmetic
•The group of positive integers modulo a prime p
Zp* {1, 2, 3, …, p-1}
Denoted as: (Zp*, *p)
x X2 X3 X4
1 1 1 1
Generator 2 4 3 1
Generator 3 4 2 1
4 1 4 1
x X2 X3 X4 X5 X6
1 1 1 1 1 1
2 4 1 2 4 1
Generator 3 2 6 5 4 1
4 2 1 4 2 1
Generator 5 4 6 2 3 1
6 1 6 1 6 1
A field is an algebraic structure (F,+,.) where F is a set, and + and . are binary
operations (addition and multiplication respectively).
A field must satisfy the following conditions(field axioms.)
Associativity of addition.
Addition (+) is an associative operation on F .
Existence of additive identity.
There is an identity element for addition.
Existence of additive inverses. Every element x of F has an inverse for ( +)0).
The additive inverse for x is unique, and we will denote it by -x
The Field Axioms
•Commutativity of multiplication.
• Multiplication (.) is a commutative operation on F .
i.e a x b = b x a, a,b F
•Associativity of multiplication.
•Multiplication (.) is an associative operation on F i.e a . ( b . c) = ( a . b ) . c
0 000
𝞪0 1 001
𝞪1 x 010
𝞪2 x2 100
𝞪3 x3=x+1 011
𝞪4 x4 =x2 +x 110
𝞪6 x6 =x2 +1 101
𝞪7 1 001
Example
•It is seen in the example above that x3 + x + 1 is the
minimal polynomial for λ, λ2, and λ4.
=(x +λ)(x + λ2 )(x+ λ4)
Using the above theorem, it is seen that
λ-1 = λ6, λ-2 = λ5 and λ-4 = λ3 are all roots of the
irreducible polynomial p(x)= x3 + x2 + 1, since it is the
reciprocal of the polynomial p(x)= x3 +x+1
. =(x + λ6 )(x + λ5 )(x+ λ3)
GF(16)
Powers of 𝞪 Polynomial in x modulo p(x)= x4 +x+1 Word in binary
0 0000
𝛼0 1 0001
𝛼1 x 0010
𝛼2 x2 0100
𝛼3 x3 1000
𝛼4 x+1 0011
𝛼5 x2+x 0110
𝛼6 x3 + x2 1100
𝛼7 x3 +x+ 1 1011
𝛼8 x2 + 1 0101
𝛼9 x3 +x 1010
𝛼 10 x2 +x +1 0111
𝛼 11 x3 +x2 +x 1110
𝛼 14 x3 +1 1001
Minimal polynomials in GF(16)
• The elements 0 and 1 will have minimal polynomials x and x + 1 respectively.
• The minimal polynomial of λ,λ2 ,λ4 and λ8
x4 + x + 1=(x+λ)(x+λ2 )(x+λ4)(x+λ8 )
• The minimal polynomial for the λ3 , λ6 ,λ12 and λ9 is
x4 +x3 + x + 1 =(x+ λ3 )(x+λ6 )(x+λ12)(x+λ9 )
•
•
BCH Encoding Examples
• …
BCH Encoding Examples
BCH codes
BCH Codes Example 1
BCH Codes Example 1
BCH Codes Example 1
BCH Codes Example 1
BCH Codes Example 2
BCH Codes Example 2
BCH Codes Example 2
BCH Codes Example 2
BCH Codes Example 2
BCH Codes Example 2
Polynomials with coefficients in GF(pn)