17 Galois Fields Introduction Primitive Elements Roots of Polynomials... 8

Size: px
Start display at page:

Download "17 Galois Fields Introduction Primitive Elements Roots of Polynomials... 8"

Transcription

1 Contents 17 Galois Fields Introduction Irreducible Polynomials, Construction of GF(q m ) Primitive Elements Roots of Polynomials

2 2 17 GALOIS FIELDS 17 Galois Fields 17.1 Introduction In out introduction to abstract algebra, we saw that the integers, under addition and multiplication formed a (innite) ring. From this ring we constructed nite rings by using modulo-p arithmetic. Furthermore, we saw that if p was a prime number, that the resulting ring was actually a nite eld, meaning that every nonzero element in the ring had a multiplicative inverse. The elds obtained in this way were the Galois elds, GF(p). We did see however one example of a Galois eld where the order of the eld was not prime (GF(4)). In this case however, the eld was not dened by modulo-4 arithmetic, but seemed plucked out of the air. It is now time to reveal the technique whereby Galois elds of certain non-prime orders may be constructed, namely the elds GF(p m ), where p is prime, and m is an integer. Instead of the ring of integers, our starting point shall be the ring of polynomials with coecients from GF(p), p prime. Theorem 17.1 The set of polynomials in an unknown x, with coecients from GF(p), where p is a prime number, form a ring under regular polynomial addition and multiplication. this ring is denoted GF(p)[x] Just as we did for the integers, we can construct a ring with a nite number of elements, this time by considering addition and multiplication, modulo a polynomial, p(x). Denition 17.1 (Modulo p(x) operations) We consider two polynomials equivalent modulo p(x), if they have the same remainder after division by p(x). This is denoted a(x) b(x) mod p(x): Theorem 17.2 Let p(x) be a degree m polynomial with coecients from GF(q). Then the set of polynomials of degree m,1 or less under addition and multiplication modulo p(x) is a ring. This ring is denoted GF(q)[x]=p(x), and has order q m. Each polynomial of order m, 1 or less can be represented uniquely by a vector of its coecients.

3 17.2 Irreducible Polynomials, Construction of GF(q m ) Irreducible Polynomials, Construction of GF(q m ) Recall how for integers, we turned a nite ring into a nite eld by using a prime modulus. We can use the same trick for polynomials. First we need to dene what we mean by a \prime" polynomial. Denition 17.2 (Irreducible Polynomial) A polynomial (x) 2 GF(q)[x] is irreducible over GF(q) if and only if it has no roots in GF(q), i.e. there is no 2 GF(q) such that () =0. An irreducible polynomial (like a prime number) cannot be factored (reduced) into non-trivial parts. When we talk about irreducible polynomials, we must always specify which eld it is irreducible over. Example 17.1 The polynomial p(x) =x 2 +x+1 is irreducible over GF(2), but not over GF(3). InGF(3), wehave the factorisation p(x) =(x+2) 2. Theorem 17.3 GF(q)[x]=(x) is a eld if and only if (x) is irreducible over GF(q). Proof: We just need to prove that every non-zero polynomial a(x) in the ring hasamultiplicative inverse, i.e. there exists some b(x) such that a(x)b(x) = 1. Consider the products a(x)b(x) mod (x), where (x) is irreducible and we allow a(x) to range over all polynomials of degree m, 1 or less. We shall rst show that these products must all be distinct. If this was not the case, there would be two polynomials a 1 (x) and a 2 (x), each of degree m, 1 or less such that a 1 (x)b(x) a 2 (x)b(x) mod (x). This would mean that (a 1 (x), a 2 (x))b(x) 0 mod (x), implying that since (x) has no factors, either (x) j (a 1 (x), a 2 (x)) or (x) j b(x). But a 1 (x), a 2 (x) has degree m, 1 or less, as does b(x), and hence (x) can be a factor of neither polynomial. This proves that the products are all unique. Hence one of the products a(x)b(x) 1 mod (x). It can be shown that structurally, there is only one nite eld of each order, and form now on, rather than talking about GF(q)[x]=(x), we shall refer to GF(q m ), generated by (x). The eld GF(q m ) is an extension eld of GF(q), since it contains the (constant) polynomials 0; 1;:::;q,1. The elements of GF(q m ) can be represented by GF(q) m-tuples, representing the coecients of the polynomials. The extension eld GF(q m )isavector space over GF(q).

4 4 17 GALOIS FIELDS Example 17.2 (GF(4)) Let (x) =x 2 +x+1, which is an irreducible polynomial over GF(2). Table 1 shows the elements of GF(4), using dierent representations for the elements. Polynomial representation is what we have been discussing so far. Each eld element is represented by a degree 1 polynomial. The next column shows the vector representation, where each element is represented by the coecients of each power of x. Next is the integer representation, which is just the vector form, interpreted as a binary number. The nal column is the exponential form. This representation is straightforward, until we see the x 2 term, which has degree greater than 1. This is however valid, since x 2 x +1 mod x 2 + x +1. In fact, each eld element can be represented by any polynomial that is equivalent modulo (x). Note that the polynomial form is most suited to addition operations, whereas the exponential form is suited to multiplication. Table 17.2 and 17.2 show the addition and multiplication tables for GF (4). Polynomial Vector Integer Exponential x 0 x 10 2 x 1 x x 2 Table 1: Representations of elements from GF(4) x 1+x x 1+x x x x x 1+x x 1+x x 1 0 (a) Addition table 0 1 x 1+x x 1+x x 0 x 1+x 1 1+x 0 1+x 1 x (b) Multiplication table Table 2: GF(4) Arithmetic.

5 17.2 Irreducible Polynomials, Construction of GF(q m ) 5 We have just seen that the elements of GF(4) could be represented using a power notation. This is true for arbitrary elds GF(q m ). In particular, the multiplicative group structure within the eld is cyclic. Denition 17.3 (Cyclic Group) A multiplicative group < G;> of order n is cyclic, if there exists an element, such that G = f1;; 2 ;:::; n,1 g, and n =1. The element is called a generator of the group. The following theorem, which we shall give without proof, shows the multiplicative structure of the Galois elds. Theorem 17.4 Let G be the set of q m, 1 non-zero elements from GF(q)[x]=(x), where (x) is a degree m irreducible polynomial. Then G is a cyclic multiplicative group of order q m, 1 (under polynomial multiplication modulo (x)). Another important theorem concerning the structure of nite elds is Fermat's theorem (not his last one!). This theorem is a corollary of the cyclic structure of G. Theorem 17.5 (Fermat) Every element 2 GF(q m ) is a root of the equation x qm, x =0. Equivalently, x qm, x = Y 2GF(q m ) (x, ): We have approached the construction of GF(q) m from the point of view of obtaining a nite eld from the ring of polynomials by using a prime modulus. There is another interesting way of looking at this construction. Recall that the equation (x) = 0 has no solution in GF(q) for (x) irreducible over GF(q). The extension eld GF (q)[x]=(x) however is formed by considering the modulo operation (x) 0. Thus the equation does have a solution in the extension eld, namely the element 2 GF(q m ), which is represented by the polynomial x. Wehave in fact formed the extension eld by adjoining to GF(q) a zero of (x). You have already come across this notion for innite elds. The equation p x+1 = 0 has no solution in the reals, hence p(x) = p x+ 1 is an irreducible polynomial over R. The complex eld however is an extension eld of R, and contains a root of p(x), namely the \imaginary" number i. Note that there is also another root, the complex conjugate,i. We shall see that this notion of conjugacy extends to nite elds.

6 6 17 GALOIS FIELDS 17.3 Primitive Elements Denition 17.4 (Primitive Element) In a eld of order p m, an element is called primitive, if the smallest integer n for which n = is n = p m. A primitive element has the property that every eld element can be expressed as a power of the primitive element. A primitive element is just a generator of the cyclic multiplicative group G discussed in Theorem Hence every nite eld has a primitive element, namely a generator of G. Example 17.3 In GF(4), generated by (x) =x 2 +x+1 (see example above), the element x is a primitive element. It is of course very convenienttohavexas a primitive element of GF(q m ), since multiplication can be carried out using addition of exponents, where the eld elements are represented using exponents of x. In order to ensure this, we can construct GF(q m ) using a special kind of irreducible polynomial. Denition 17.5 (Primitive Polynomial) A primitive polynomial p(x) over GF(q) is an irreducible polynomial over GF(q) that has as a root a primitive element of GF(q)[x]=p(x). Of course we are most interested in primitive polynomials, where the root is x itself. Such primitive polynomials are hard to spot. As a check, we have the following theorem. Theorem 17.6 A binary irreducible polynomial p(x) of degree m is primitive if and only if the smallest integer n for which p(x) divides x n, 1, isn=2 m,1. Example 17.4 The polynomial p(x) =x 3 +x+1 divides into 1+x 7, but not into 1+x 6,1+x 5 etc., and is irreducible, hence it is primitive. Example 17.5 The polynomial p(x) =1+x+x 2 +x 3 +x 4 is irreducible. But x 5 +1=(1+x)(1 + x + x 2 + x 3 + x 4 ).Thus p(x) is not primitive. It can also be shown that any degree m irreducible polynomial is a factor of x qm,1,1.

7 17.3 Primitive Elements 7 Theorem 17.6 shows that every binary primitive polynomial p(x) of degree m is a factor of x n, 1, where n =2 m,1. Hence such a primitive polynomial can be used as a generator for a (2 m, 1; 2 m, m, 1) cyclic code. Sound familar? Denition 17.6 (Hamming Code) Let p(x) be a degree m primitive polynomial. Then p(x) generates a cyclic (2 m, 1; 2 m, m, 1) Hamming code. Most coding textbooks have lists of primitive polynomials. Shown in Table 3 are primitive polynomials over GF(2) up to degree 10. x 2 + x +1 x 3 +x+1 x 4 +x+1 x 5 +x 2 +1 x 6 +x+1 x 7 +x 3 +1 x 8 +x 4 +x 3 +x 2 +1 x 9 +x 4 +1 x 10 + x 3 +1 Table 3: Primitive polynomials over GF(2). Example 17.6 Table 4 shows GF(2 3 ) generated by the primitive polynomial (x) = 1+x+x 3, where is a zero of (x) in GF(2 3 ).Ifwewanted to multiply two elements, Exponential Polynomial Table 4: GF(2 3 ) generated by 1+x+x 3.

8 8 17 GALOIS FIELDS say ( 2 +)( 2 ++1), we simply nd the corresponding power representations, and add the exponents (i.e. we take logs, add and then exponentiate). Powers greater than 6 can be reduced since is a primitive element which by denition means that 7 =1. Hence ( 2 + )( )= 4 5 = 9 = 2. Addition is best performed using the polynomial representation. For example, ( 2 + )+( 2 ++1)=1. Example 17.7 Just to show how dierent primitive polynomials generate dierent forms of GF(q m ),Table 5 shows GF(2 3 ) generated by the primitive polynomial (x) =1+x 2 +x 3 where is a zero of (x) in GF(2 3 ). Exponential Polynomial Table 5: GF(2 3 ) generated by 1+x 2 +x Roots of Polynomials Polynomials with real coecients may have roots in the complex eld, which is an extension of the real eld. Such roots always come in complex-conjugate pairs. The same kind of thing happens for polynomials over nite elds. The following theorem is proved in Wicker, Section 3.2. Theorem 17.7 (Conjugate Roots) If 2 GF(q m ) is a root of p(x), a polynomial over GF(q), then for any integer l>0, the element ql is also a root of p(x). The elements ql are called conjugates of. Let us now consider polynomials that have a specied root.

9 17.4 Roots of Polynomials 9 Denition 17.7 (Minimal Polynomial) The minimal polynomial over GF(q) of is the lowest degree monic polynomial M (x) with coecients from GF(q) such that M () =0: The minimal polynomial always exists, and is unique (see Wicker Theorem 3.2). Minimal polynomials have the following additional properties. Theorem 17.8 (Properties of Minimal Polynomials) Let M (x) be the minimal polynomial of. 1. deg(m ) m. 2. If for some other polynomial f() =0, then f(x) isamultiple of M (x). 3. M (x) is irreducible. 4. If f(x) is irreducible, and f() =0, then f(x) =M (x). 5. The roots of M (x) are exactly all the conjugates of, i.e. M (x) = e,1 Y l=0 (x, ql ); where e is the smallest integer for which qe =. Example 17.8 Consider GF(2 3 ), as generated by (x) =1+x+x 3 (Table 4), where the primitive element is a zero of (x). Let = 3. Then the conjugates of are 2 = 6 and 4 = 12 5 (note 8 = 24 3 = ). From property 5of minimal polynomials, we see that M (x) =(x,)(x, 2 )(x, 4 ) =(x, 3 )(x, 6 )(x, 5 ) = x 3 +( )x 2 +(+ 8 )x+ 7 =x 3 +x 2 +1: Table 6 shows the minimal polynomials for all eld elements.

10 10 17 GALOIS FIELDS Element Minimal Polynomial 0 x 1 1+x ; 2 ; 4 1+x+x 3 3 ; 5 ; 6 1+x 2 +x 3 Table 6: Minimal polynomials for GF(2 3 ), as generated by (x) =1+x+x 3. Fermat's theorem states that every element of GF(q m ) is a zero of x qm,1,1. Hence x qm,1, 1= Y 2GF(q m M (x) is a factorisation of x qm,1, 1into irreducible polynomials. Thus minimal polynomials are of interest as candidates for generator polynomials for cyclic codes. See Wicker Section 3.3.

Irreducible Polynomials. Finite Fields of Order p m (1) Primitive Polynomials. Finite Fields of Order p m (2)

Irreducible Polynomials. Finite Fields of Order p m (1) Primitive Polynomials. Finite Fields of Order p m (2) S-72.3410 Finite Fields (2) 1 S-72.3410 Finite Fields (2) 3 Irreducible Polynomials Finite Fields of Order p m (1) The following results were discussed in the previous lecture: The order of a finite field

More information

Section VI.33. Finite Fields

Section VI.33. Finite Fields VI.33 Finite Fields 1 Section VI.33. Finite Fields Note. In this section, finite fields are completely classified. For every prime p and n N, there is exactly one (up to isomorphism) field of order p n,

More information

Information Theory. Lecture 7

Information Theory. Lecture 7 Information Theory Lecture 7 Finite fields continued: R3 and R7 the field GF(p m ),... Cyclic Codes Intro. to cyclic codes: R8.1 3 Mikael Skoglund, Information Theory 1/17 The Field GF(p m ) π(x) irreducible

More information

LECTURE NOTES IN CRYPTOGRAPHY

LECTURE NOTES IN CRYPTOGRAPHY 1 LECTURE NOTES IN CRYPTOGRAPHY Thomas Johansson 2005/2006 c Thomas Johansson 2006 2 Chapter 1 Abstract algebra and Number theory Before we start the treatment of cryptography we need to review some basic

More information

ELG 5372 Error Control Coding. Lecture 12: Ideals in Rings and Algebraic Description of Cyclic Codes

ELG 5372 Error Control Coding. Lecture 12: Ideals in Rings and Algebraic Description of Cyclic Codes ELG 5372 Error Control Coding Lecture 12: Ideals in Rings and Algebraic Description of Cyclic Codes Quotient Ring Example + Quotient Ring Example Quotient Ring Recall the quotient ring R={,,, }, where

More information

Homework 8 Solutions to Selected Problems

Homework 8 Solutions to Selected Problems Homework 8 Solutions to Selected Problems June 7, 01 1 Chapter 17, Problem Let f(x D[x] and suppose f(x is reducible in D[x]. That is, there exist polynomials g(x and h(x in D[x] such that g(x and h(x

More information

A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties:

A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties: Byte multiplication 1 Field arithmetic A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties: F is an abelian group under addition, meaning - F is closed under

More information

Galois fields/1. (M3) There is an element 1 (not equal to 0) such that a 1 = a for all a.

Galois fields/1. (M3) There is an element 1 (not equal to 0) such that a 1 = a for all a. Galois fields 1 Fields A field is an algebraic structure in which the operations of addition, subtraction, multiplication, and division (except by zero) can be performed, and satisfy the usual rules. More

More information

Commutative Rings and Fields

Commutative Rings and Fields Commutative Rings and Fields 1-22-2017 Different algebraic systems are used in linear algebra. The most important are commutative rings with identity and fields. Definition. A ring is a set R with two

More information

Mathematical Foundations of Cryptography

Mathematical Foundations of Cryptography Mathematical Foundations of Cryptography Cryptography is based on mathematics In this chapter we study finite fields, the basis of the Advanced Encryption Standard (AES) and elliptical curve cryptography

More information

Contents. 4 Arithmetic and Unique Factorization in Integral Domains. 4.1 Euclidean Domains and Principal Ideal Domains

Contents. 4 Arithmetic and Unique Factorization in Integral Domains. 4.1 Euclidean Domains and Principal Ideal Domains Ring Theory (part 4): Arithmetic and Unique Factorization in Integral Domains (by Evan Dummit, 018, v. 1.00) Contents 4 Arithmetic and Unique Factorization in Integral Domains 1 4.1 Euclidean Domains and

More information

ELG 5372 Error Control Coding. Lecture 5: Algebra 3: Irreducible, Primitive and Minimal Polynomials

ELG 5372 Error Control Coding. Lecture 5: Algebra 3: Irreducible, Primitive and Minimal Polynomials ELG 5372 Error Control Coding Lecture 5: Algebra 3: Irreducible, Primitive and Minimal Polynomials Irreducible Polynomials When f() is divided by g() and r() = 0, then g() is a factor of f() and we say

More information

Coding Theory and Applications. Solved Exercises and Problems of Cyclic Codes. Enes Pasalic University of Primorska Koper, 2013

Coding Theory and Applications. Solved Exercises and Problems of Cyclic Codes. Enes Pasalic University of Primorska Koper, 2013 Coding Theory and Applications Solved Exercises and Problems of Cyclic Codes Enes Pasalic University of Primorska Koper, 2013 Contents 1 Preface 3 2 Problems 4 2 1 Preface This is a collection of solved

More information

Quasi-reducible Polynomials

Quasi-reducible Polynomials Quasi-reducible Polynomials Jacques Willekens 06-Dec-2008 Abstract In this article, we investigate polynomials that are irreducible over Q, but are reducible modulo any prime number. 1 Introduction Let

More information

Computer Algebra for Computer Engineers

Computer Algebra for Computer Engineers p.1/23 Computer Algebra for Computer Engineers Galois Fields: GF(2 m ) Priyank Kalla Department of Electrical and Computer Engineering University of Utah, Salt Lake City p.2/23 Galois Fields A Galois Field

More information

Linear Algebra, 3rd day, Wednesday 6/30/04 REU Info:

Linear Algebra, 3rd day, Wednesday 6/30/04 REU Info: Linear Algebra, 3rd day, Wednesday 6/30/04 REU 2004. Info: http://people.cs.uchicago.edu/laci/reu04. Instructor: Laszlo Babai Scribe: Richard Cudney Rank Let V be a vector space. Denition 3.. Let S V,

More information

EE 229B ERROR CONTROL CODING Spring 2005

EE 229B ERROR CONTROL CODING Spring 2005 EE 9B ERROR CONTROL CODING Spring 005 Solutions for Homework 1. (Weights of codewords in a cyclic code) Let g(x) be the generator polynomial of a binary cyclic code of length n. (a) Show that if g(x) has

More information

Homework 9 Solutions to Selected Problems

Homework 9 Solutions to Selected Problems Homework 9 Solutions to Selected Problems June 11, 2012 1 Chapter 17, Problem 12 Since x 2 + x + 4 has degree 2 and Z 11 is a eld, we may use Theorem 17.1 and show that f(x) is irreducible because it has

More information

1 Groups Examples of Groups Things that are not groups Properties of Groups Rings and Fields Examples...

1 Groups Examples of Groups Things that are not groups Properties of Groups Rings and Fields Examples... Contents 1 Groups 2 1.1 Examples of Groups... 3 1.2 Things that are not groups....................... 4 1.3 Properties of Groups... 5 2 Rings and Fields 6 2.1 Examples... 8 2.2 Some Finite Fields... 10

More information

Finite Fields. Saravanan Vijayakumaran Department of Electrical Engineering Indian Institute of Technology Bombay

Finite Fields. Saravanan Vijayakumaran Department of Electrical Engineering Indian Institute of Technology Bombay 1 / 25 Finite Fields Saravanan Vijayakumaran sarva@ee.iitb.ac.in Department of Electrical Engineering Indian Institute of Technology Bombay September 25, 2014 2 / 25 Fields Definition A set F together

More information

Chapter 4 Finite Fields

Chapter 4 Finite Fields Chapter 4 Finite Fields Introduction will now introduce finite fields of increasing importance in cryptography AES, Elliptic Curve, IDEA, Public Key concern operations on numbers what constitutes a number

More information

Fields in Cryptography. Çetin Kaya Koç Winter / 30

Fields in Cryptography.   Çetin Kaya Koç Winter / 30 Fields in Cryptography http://koclab.org Çetin Kaya Koç Winter 2017 1 / 30 Field Axioms Fields in Cryptography A field F consists of a set S and two operations which we will call addition and multiplication,

More information

Finite Fields. SOLUTIONS Network Coding - Prof. Frank H.P. Fitzek

Finite Fields. SOLUTIONS Network Coding - Prof. Frank H.P. Fitzek Finite Fields In practice most finite field applications e.g. cryptography and error correcting codes utilizes a specific type of finite fields, namely the binary extension fields. The following exercises

More information

Linear Algebra (part 1) : Vector Spaces (by Evan Dummit, 2017, v. 1.07) 1.1 The Formal Denition of a Vector Space

Linear Algebra (part 1) : Vector Spaces (by Evan Dummit, 2017, v. 1.07) 1.1 The Formal Denition of a Vector Space Linear Algebra (part 1) : Vector Spaces (by Evan Dummit, 2017, v. 1.07) Contents 1 Vector Spaces 1 1.1 The Formal Denition of a Vector Space.................................. 1 1.2 Subspaces...................................................

More information

2 ALGEBRA II. Contents

2 ALGEBRA II. Contents ALGEBRA II 1 2 ALGEBRA II Contents 1. Results from elementary number theory 3 2. Groups 4 2.1. Denition, Subgroup, Order of an element 4 2.2. Equivalence relation, Lagrange's theorem, Cyclic group 9 2.3.

More information

Section 33 Finite fields

Section 33 Finite fields Section 33 Finite fields Instructor: Yifan Yang Spring 2007 Review Corollary (23.6) Let G be a finite subgroup of the multiplicative group of nonzero elements in a field F, then G is cyclic. Theorem (27.19)

More information

Fundamental Theorem of Algebra

Fundamental Theorem of Algebra EE 387, Notes 13, Handout #20 Fundamental Theorem of Algebra Lemma: If f(x) is a polynomial over GF(q) GF(Q), then β is a zero of f(x) if and only if x β is a divisor of f(x). Proof: By the division algorithm,

More information

Chapter 4 Mathematics of Cryptography

Chapter 4 Mathematics of Cryptography Chapter 4 Mathematics of Cryptography Part II: Algebraic Structures Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4.1 Chapter 4 Objectives To review the concept

More information

Rings. EE 387, Notes 7, Handout #10

Rings. EE 387, Notes 7, Handout #10 Rings EE 387, Notes 7, Handout #10 Definition: A ring is a set R with binary operations, + and, that satisfy the following axioms: 1. (R, +) is a commutative group (five axioms) 2. Associative law for

More information

1 The Galois Group of a Quadratic

1 The Galois Group of a Quadratic Algebra Prelim Notes The Galois Group of a Polynomial Jason B. Hill University of Colorado at Boulder Throughout this set of notes, K will be the desired base field (usually Q or a finite field) and F

More information

Finite fields: some applications Michel Waldschmidt 1

Finite fields: some applications Michel Waldschmidt 1 Ho Chi Minh University of Science HCMUS Update: 16/09/2013 Finite fields: some applications Michel Waldschmidt 1 Exercises We fix an algebraic closure F p of the prime field F p of characteristic p. When

More information

Finite Fields. Mike Reiter

Finite Fields. Mike Reiter 1 Finite Fields Mike Reiter reiter@cs.unc.edu Based on Chapter 4 of: W. Stallings. Cryptography and Network Security, Principles and Practices. 3 rd Edition, 2003. Groups 2 A group G, is a set G of elements

More information

Group Theory. 1. Show that Φ maps a conjugacy class of G into a conjugacy class of G.

Group Theory. 1. Show that Φ maps a conjugacy class of G into a conjugacy class of G. Group Theory Jan 2012 #6 Prove that if G is a nonabelian group, then G/Z(G) is not cyclic. Aug 2011 #9 (Jan 2010 #5) Prove that any group of order p 2 is an abelian group. Jan 2012 #7 G is nonabelian nite

More information

Algebra. Modular arithmetic can be handled mathematically by introducing a congruence relation on the integers described in the above example.

Algebra. Modular arithmetic can be handled mathematically by introducing a congruence relation on the integers described in the above example. Coding Theory Massoud Malek Algebra Congruence Relation The definition of a congruence depends on the type of algebraic structure under consideration Particular definitions of congruence can be made for

More information

Homework 7 Solutions to Selected Problems

Homework 7 Solutions to Selected Problems Homework 7 Solutions to Selected Prolems May 9, 01 1 Chapter 16, Prolem 17 Let D e an integral domain and f(x) = a n x n +... + a 0 and g(x) = m x m +... + 0 e polynomials with coecients in D, where a

More information

Simplifying Rational Expressions and Functions

Simplifying Rational Expressions and Functions Department of Mathematics Grossmont College October 15, 2012 Recall: The Number Types Definition The set of whole numbers, ={0, 1, 2, 3, 4,...} is the set of natural numbers unioned with zero, written

More information

a * (b * c) = (a * b) * c Now, we introduce a useful algebraic system called a group.

a * (b * c) = (a * b) * c Now, we introduce a useful algebraic system called a group. 2S CHAPTER' ritroducto Cr The purpose of this chapter is to provide the reader with an elementary knowledge of algebra that will aid in the understanding of the material in the following chapters. The

More information

1 Rings 1 RINGS 1. Theorem 1.1 (Substitution Principle). Let ϕ : R R be a ring homomorphism

1 Rings 1 RINGS 1. Theorem 1.1 (Substitution Principle). Let ϕ : R R be a ring homomorphism 1 RINGS 1 1 Rings Theorem 1.1 (Substitution Principle). Let ϕ : R R be a ring homomorphism (a) Given an element α R there is a unique homomorphism Φ : R[x] R which agrees with the map ϕ on constant polynomials

More information

An Approach to Hensel s Lemma

An Approach to Hensel s Lemma Irish Math. Soc. Bulletin 47 (2001), 15 21 15 An Approach to Hensel s Lemma gary mcguire Abstract. Hensel s Lemma is an important tool in many ways. One application is in factoring polynomials over Z.

More information

Finite Fields: An introduction through exercises Jonathan Buss Spring 2014

Finite Fields: An introduction through exercises Jonathan Buss Spring 2014 Finite Fields: An introduction through exercises Jonathan Buss Spring 2014 A typical course in abstract algebra starts with groups, and then moves on to rings, vector spaces, fields, etc. This sequence

More information

REDUNDANT TRINOMIALS FOR FINITE FIELDS OF CHARACTERISTIC 2

REDUNDANT TRINOMIALS FOR FINITE FIELDS OF CHARACTERISTIC 2 REDUNDANT TRINOMIALS FOR FINITE FIELDS OF CHARACTERISTIC 2 CHRISTOPHE DOCHE Abstract. In this paper we introduce so-called redundant trinomials to represent elements of nite elds of characteristic 2. The

More information

Polynomials. Chapter 4

Polynomials. Chapter 4 Chapter 4 Polynomials In this Chapter we shall see that everything we did with integers in the last Chapter we can also do with polynomials. Fix a field F (e.g. F = Q, R, C or Z/(p) for a prime p). Notation

More information

Roots of Unity, Cyclotomic Polynomials and Applications

Roots of Unity, Cyclotomic Polynomials and Applications Swiss Mathematical Olympiad smo osm Roots of Unity, Cyclotomic Polynomials and Applications The task to be done here is to give an introduction to the topics in the title. This paper is neither complete

More information

CSCE 564, Fall 2001 Notes 6 Page 1 13 Random Numbers The great metaphysical truth in the generation of random numbers is this: If you want a function

CSCE 564, Fall 2001 Notes 6 Page 1 13 Random Numbers The great metaphysical truth in the generation of random numbers is this: If you want a function CSCE 564, Fall 2001 Notes 6 Page 1 13 Random Numbers The great metaphysical truth in the generation of random numbers is this: If you want a function that is reasonably random in behavior, then take any

More information

Contents. 2.1 Vectors in R n. Linear Algebra (part 2) : Vector Spaces (by Evan Dummit, 2017, v. 2.50) 2 Vector Spaces

Contents. 2.1 Vectors in R n. Linear Algebra (part 2) : Vector Spaces (by Evan Dummit, 2017, v. 2.50) 2 Vector Spaces Linear Algebra (part 2) : Vector Spaces (by Evan Dummit, 2017, v 250) Contents 2 Vector Spaces 1 21 Vectors in R n 1 22 The Formal Denition of a Vector Space 4 23 Subspaces 6 24 Linear Combinations and

More information

Mathematics for Cryptography

Mathematics for Cryptography Mathematics for Cryptography Douglas R. Stinson David R. Cheriton School of Computer Science University of Waterloo Waterloo, Ontario, N2L 3G1, Canada March 15, 2016 1 Groups and Modular Arithmetic 1.1

More information

Cyclic codes: overview

Cyclic codes: overview Cyclic codes: overview EE 387, Notes 14, Handout #22 A linear block code is cyclic if the cyclic shift of a codeword is a codeword. Cyclic codes have many advantages. Elegant algebraic descriptions: c(x)

More information

Algebra Review 2. 1 Fields. A field is an extension of the concept of a group.

Algebra Review 2. 1 Fields. A field is an extension of the concept of a group. Algebra Review 2 1 Fields A field is an extension of the concept of a group. Definition 1. A field (F, +,, 0 F, 1 F ) is a set F together with two binary operations (+, ) on F such that the following conditions

More information

MTH310 EXAM 2 REVIEW

MTH310 EXAM 2 REVIEW MTH310 EXAM 2 REVIEW SA LI 4.1 Polynomial Arithmetic and the Division Algorithm A. Polynomial Arithmetic *Polynomial Rings If R is a ring, then there exists a ring T containing an element x that is not

More information

Finite Fields. Sophie Huczynska (with changes by Max Neunhöffer) Semester 2, Academic Year 2012/13

Finite Fields. Sophie Huczynska (with changes by Max Neunhöffer) Semester 2, Academic Year 2012/13 Finite Fields Sophie Huczynska (with changes by Max Neunhöffer) Semester 2, Academic Year 2012/13 Contents 1 Introduction 3 1 Group theory: a brief summary............................ 3 2 Rings and fields....................................

More information

GF(2 m ) arithmetic: summary

GF(2 m ) arithmetic: summary GF(2 m ) arithmetic: summary EE 387, Notes 18, Handout #32 Addition/subtraction: bitwise XOR (m gates/ops) Multiplication: bit serial (shift and add) bit parallel (combinational) subfield representation

More information

Chapter 4. Remember: F will always stand for a field.

Chapter 4. Remember: F will always stand for a field. Chapter 4 Remember: F will always stand for a field. 4.1 10. Take f(x) = x F [x]. Could there be a polynomial g(x) F [x] such that f(x)g(x) = 1 F? Could f(x) be a unit? 19. Compare with Problem #21(c).

More information

Outline. MSRI-UP 2009 Coding Theory Seminar, Week 2. The definition. Link to polynomials

Outline. MSRI-UP 2009 Coding Theory Seminar, Week 2. The definition. Link to polynomials Outline MSRI-UP 2009 Coding Theory Seminar, Week 2 John B. Little Department of Mathematics and Computer Science College of the Holy Cross Cyclic Codes Polynomial Algebra More on cyclic codes Finite fields

More information

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers ALGEBRA CHRISTIAN REMLING 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers by Z = {..., 2, 1, 0, 1,...}. Given a, b Z, we write a b if b = ac for some

More information

A connection between number theory and linear algebra

A connection between number theory and linear algebra A connection between number theory and linear algebra Mark Steinberger Contents 1. Some basics 1 2. Rational canonical form 2 3. Prime factorization in F[x] 4 4. Units and order 5 5. Finite fields 7 6.

More information

Linear Algebra, 4th day, Thursday 7/1/04 REU Info:

Linear Algebra, 4th day, Thursday 7/1/04 REU Info: Linear Algebra, 4th day, Thursday 7/1/04 REU 004. Info http//people.cs.uchicago.edu/laci/reu04. Instructor Laszlo Babai Scribe Nick Gurski 1 Linear maps We shall study the notion of maps between vector

More information

Chapter 3. Rings. The basic commutative rings in mathematics are the integers Z, the. Examples

Chapter 3. Rings. The basic commutative rings in mathematics are the integers Z, the. Examples Chapter 3 Rings Rings are additive abelian groups with a second operation called multiplication. The connection between the two operations is provided by the distributive law. Assuming the results of Chapter

More information

Abstract Algebra, Second Edition, by John A. Beachy and William D. Blair. Corrections and clarifications

Abstract Algebra, Second Edition, by John A. Beachy and William D. Blair. Corrections and clarifications 1 Abstract Algebra, Second Edition, by John A. Beachy and William D. Blair Corrections and clarifications Note: Some corrections were made after the first printing of the text. page 9, line 8 For of the

More information

Cyclic Codes from the Two-Prime Sequences

Cyclic Codes from the Two-Prime Sequences Cunsheng Ding Department of Computer Science and Engineering The Hong Kong University of Science and Technology Kowloon, Hong Kong, CHINA May 2012 Outline of this Talk A brief introduction to cyclic codes

More information

Introduction to Information Security

Introduction to Information Security Introduction to Information Security Lecture 5: Number Theory 007. 6. Prof. Byoungcheon Lee sultan (at) joongbu. ac. kr Information and Communications University Contents 1. Number Theory Divisibility

More information

Rings. Chapter 1. Definition 1.2. A commutative ring R is a ring in which multiplication is commutative. That is, ab = ba for all a, b R.

Rings. Chapter 1. Definition 1.2. A commutative ring R is a ring in which multiplication is commutative. That is, ab = ba for all a, b R. Chapter 1 Rings We have spent the term studying groups. A group is a set with a binary operation that satisfies certain properties. But many algebraic structures such as R, Z, and Z n come with two binary

More information

Galois Fields and Hardware Design

Galois Fields and Hardware Design Galois Fields and Hardware Design Construction of Galois Fields, Basic Properties, Uniqueness, Containment, Closure, Polynomial Functions over Galois Fields Priyank Kalla Associate Professor Electrical

More information

Math 547, Exam 2 Information.

Math 547, Exam 2 Information. Math 547, Exam 2 Information. 3/19/10, LC 303B, 10:10-11:00. Exam 2 will be based on: Homework and textbook sections covered by lectures 2/3-3/5. (see http://www.math.sc.edu/ boylan/sccourses/547sp10/547.html)

More information

1 Structure of Finite Fields

1 Structure of Finite Fields T-79.5501 Cryptology Additional material September 27, 2005 1 Structure of Finite Fields This section contains complementary material to Section 5.2.3 of the text-book. It is not entirely self-contained

More information

Lifting to non-integral idempotents

Lifting to non-integral idempotents Journal of Pure and Applied Algebra 162 (2001) 359 366 www.elsevier.com/locate/jpaa Lifting to non-integral idempotents Georey R. Robinson School of Mathematics and Statistics, University of Birmingham,

More information

Polynomial Rings. i=0. i=0. n+m. i=0. k=0

Polynomial Rings. i=0. i=0. n+m. i=0. k=0 Polynomial Rings 1. Definitions and Basic Properties For convenience, the ring will always be a commutative ring with identity. Basic Properties The polynomial ring R[x] in the indeterminate x with coefficients

More information

Dividing Polynomials: Remainder and Factor Theorems

Dividing Polynomials: Remainder and Factor Theorems Dividing Polynomials: Remainder and Factor Theorems When we divide one polynomial by another, we obtain a quotient and a remainder. If the remainder is zero, then the divisor is a factor of the dividend.

More information

G Solution (10 points) Using elementary row operations, we transform the original generator matrix as follows.

G Solution (10 points) Using elementary row operations, we transform the original generator matrix as follows. EE 387 October 28, 2015 Algebraic Error-Control Codes Homework #4 Solutions Handout #24 1. LBC over GF(5). Let G be a nonsystematic generator matrix for a linear block code over GF(5). 2 4 2 2 4 4 G =

More information

Q 2.0.2: If it s 5:30pm now, what time will it be in 4753 hours? Q 2.0.3: Today is Wednesday. What day of the week will it be in one year from today?

Q 2.0.2: If it s 5:30pm now, what time will it be in 4753 hours? Q 2.0.3: Today is Wednesday. What day of the week will it be in one year from today? 2 Mod math Modular arithmetic is the math you do when you talk about time on a clock. For example, if it s 9 o clock right now, then it ll be 1 o clock in 4 hours. Clearly, 9 + 4 1 in general. But on a

More information

MATH 115, SUMMER 2012 LECTURE 12

MATH 115, SUMMER 2012 LECTURE 12 MATH 115, SUMMER 2012 LECTURE 12 JAMES MCIVOR - last time - we used hensel s lemma to go from roots of polynomial equations mod p to roots mod p 2, mod p 3, etc. - from there we can use CRT to construct

More information

COMPUTER ARITHMETIC. 13/05/2010 cryptography - math background pp. 1 / 162

COMPUTER ARITHMETIC. 13/05/2010 cryptography - math background pp. 1 / 162 COMPUTER ARITHMETIC 13/05/2010 cryptography - math background pp. 1 / 162 RECALL OF COMPUTER ARITHMETIC computers implement some types of arithmetic for instance, addition, subtratction, multiplication

More information

CDM. Finite Fields. Klaus Sutner Carnegie Mellon University. Fall 2018

CDM. Finite Fields. Klaus Sutner Carnegie Mellon University. Fall 2018 CDM Finite Fields Klaus Sutner Carnegie Mellon University Fall 2018 1 Ideals The Structure theorem Where Are We? 3 We know that every finite field carries two apparently separate structures: additive and

More information

Divisor matrices and magic sequences

Divisor matrices and magic sequences Discrete Mathematics 250 (2002) 125 135 www.elsevier.com/locate/disc Divisor matrices and magic sequences R.H. Jeurissen Mathematical Institute, University of Nijmegen, Toernooiveld, 6525 ED Nijmegen,

More information

QUALIFYING EXAM IN ALGEBRA August 2011

QUALIFYING EXAM IN ALGEBRA August 2011 QUALIFYING EXAM IN ALGEBRA August 2011 1. There are 18 problems on the exam. Work and turn in 10 problems, in the following categories. I. Linear Algebra 1 problem II. Group Theory 3 problems III. Ring

More information

Lecture 11: Cantor-Zassenhaus Algorithm

Lecture 11: Cantor-Zassenhaus Algorithm CS681 Computational Number Theory Lecture 11: Cantor-Zassenhaus Algorithm Instructor: Piyush P Kurur Scribe: Ramprasad Saptharishi Overview In this class, we shall look at the Cantor-Zassenhaus randomized

More information

x 3 2x = (x 2) (x 2 2x + 1) + (x 2) x 2 2x + 1 = (x 4) (x + 2) + 9 (x + 2) = ( 1 9 x ) (9) + 0

x 3 2x = (x 2) (x 2 2x + 1) + (x 2) x 2 2x + 1 = (x 4) (x + 2) + 9 (x + 2) = ( 1 9 x ) (9) + 0 1. (a) i. State and prove Wilson's Theorem. ii. Show that, if p is a prime number congruent to 1 modulo 4, then there exists a solution to the congruence x 2 1 mod p. (b) i. Let p(x), q(x) be polynomials

More information

Mathematics of Cryptography

Mathematics of Cryptography UNIT - III Mathematics of Cryptography Part III: Primes and Related Congruence Equations 1 Objectives To introduce prime numbers and their applications in cryptography. To discuss some primality test algorithms

More information

1/30: Polynomials over Z/n.

1/30: Polynomials over Z/n. 1/30: Polynomials over Z/n. Last time to establish the existence of primitive roots we rely on the following key lemma: Lemma 6.1. Let s > 0 be an integer with s p 1, then we have #{α Z/pZ α s = 1} = s.

More information

Finite Fields. Sophie Huczynska. Semester 2, Academic Year

Finite Fields. Sophie Huczynska. Semester 2, Academic Year Finite Fields Sophie Huczynska Semester 2, Academic Year 2005-06 2 Chapter 1. Introduction Finite fields is a branch of mathematics which has come to the fore in the last 50 years due to its numerous applications,

More information

ELEC-E7240 Coding Methods L (5 cr)

ELEC-E7240 Coding Methods L (5 cr) Introduction ELEC-E7240 Coding Methods L (5 cr) Patric Östergård Department of Communications and Networking Aalto University School of Electrical Engineering Spring 2017 Patric Östergård (Aalto) ELEC-E7240

More information

Factorization in Integral Domains II

Factorization in Integral Domains II Factorization in Integral Domains II 1 Statement of the main theorem Throughout these notes, unless otherwise specified, R is a UFD with field of quotients F. The main examples will be R = Z, F = Q, and

More information

NOTES ON FINITE FIELDS

NOTES ON FINITE FIELDS NOTES ON FINITE FIELDS AARON LANDESMAN CONTENTS 1. Introduction to finite fields 2 2. Definition and constructions of fields 3 2.1. The definition of a field 3 2.2. Constructing field extensions by adjoining

More information

Quadratic Congruences, the Quadratic Formula, and Euler s Criterion

Quadratic Congruences, the Quadratic Formula, and Euler s Criterion Quadratic Congruences, the Quadratic Formula, and Euler s Criterion R. C. Trinity University Number Theory Introduction Let R be a (commutative) ring in which 2 = 1 R + 1 R R. Consider a quadratic equation

More information

Congruences and Residue Class Rings

Congruences and Residue Class Rings Congruences and Residue Class Rings (Chapter 2 of J. A. Buchmann, Introduction to Cryptography, 2nd Ed., 2004) Shoichi Hirose Faculty of Engineering, University of Fukui S. Hirose (U. Fukui) Congruences

More information

Introduction to finite fields

Introduction to finite fields Chapter 7 Introduction to finite fields This chapter provides an introduction to several kinds of abstract algebraic structures, particularly groups, fields, and polynomials. Our primary interest is in

More information

Proof: Let the check matrix be

Proof: Let the check matrix be Review/Outline Recall: Looking for good codes High info rate vs. high min distance Want simple description, too Linear, even cyclic, plausible Gilbert-Varshamov bound for linear codes Check matrix criterion

More information

Lecture 7: Polynomial rings

Lecture 7: Polynomial rings Lecture 7: Polynomial rings Rajat Mittal IIT Kanpur You have seen polynomials many a times till now. The purpose of this lecture is to give a formal treatment to constructing polynomials and the rules

More information

Finite Fields and Error-Correcting Codes

Finite Fields and Error-Correcting Codes Lecture Notes in Mathematics Finite Fields and Error-Correcting Codes Karl-Gustav Andersson (Lund University) (version 1.013-16 September 2015) Translated from Swedish by Sigmundur Gudmundsson Contents

More information

CIS 6930/4930 Computer and Network Security. Topic 5.1 Basic Number Theory -- Foundation of Public Key Cryptography

CIS 6930/4930 Computer and Network Security. Topic 5.1 Basic Number Theory -- Foundation of Public Key Cryptography CIS 6930/4930 Computer and Network Security Topic 5.1 Basic Number Theory -- Foundation of Public Key Cryptography 1 Review of Modular Arithmetic 2 Remainders and Congruency For any integer a and any positive

More information

Objective: To become acquainted with the basic concepts of cyclic codes and some aspects of encoder implementations for them.

Objective: To become acquainted with the basic concepts of cyclic codes and some aspects of encoder implementations for them. ECE 7670 Lecture 5 Cyclic codes Objective: To become acquainted with the basic concepts of cyclic codes and some aspects of encoder implementations for them. Reading: Chapter 5. 1 Cyclic codes Definition

More information

Continuing discussion of CRC s, especially looking at two-bit errors

Continuing discussion of CRC s, especially looking at two-bit errors Continuing discussion of CRC s, especially looking at two-bit errors The definition of primitive binary polynomials Brute force checking for primitivity A theorem giving a better test for primitivity Fast

More information

Course 2316 Sample Paper 1

Course 2316 Sample Paper 1 Course 2316 Sample Paper 1 Timothy Murphy April 19, 2015 Attempt 5 questions. All carry the same mark. 1. State and prove the Fundamental Theorem of Arithmetic (for N). Prove that there are an infinity

More information

Lecture Notes Math 371: Algebra (Fall 2006) by Nathanael Leedom Ackerman

Lecture Notes Math 371: Algebra (Fall 2006) by Nathanael Leedom Ackerman Lecture Notes Math 371: Algebra (Fall 2006) by Nathanael Leedom Ackerman October 31, 2006 TALK SLOWLY AND WRITE NEATLY!! 1 0.1 Symbolic Adjunction of Roots When dealing with subfields of C it is easy to

More information

Modern Algebra I. Circle the correct answer; no explanation is required. Each problem in this section counts 5 points.

Modern Algebra I. Circle the correct answer; no explanation is required. Each problem in this section counts 5 points. 1 2 3 style total Math 415 Please print your name: Answer Key 1 True/false Circle the correct answer; no explanation is required. Each problem in this section counts 5 points. 1. Every group of order 6

More information

Polynomial Rings. i=0

Polynomial Rings. i=0 Polynomial Rings 4-15-2018 If R is a ring, the ring of polynomials in x with coefficients in R is denoted R[x]. It consists of all formal sums a i x i. Here a i = 0 for all but finitely many values of

More information

Know the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element.

Know the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element. The first exam will be on Monday, June 8, 202. The syllabus will be sections. and.2 in Lax, and the number theory handout found on the class web site, plus the handout on the method of successive squaring

More information

Day 6: 6.4 Solving Polynomial Equations Warm Up: Factor. 1. x 2-2x x 2-9x x 2 + 6x + 5

Day 6: 6.4 Solving Polynomial Equations Warm Up: Factor. 1. x 2-2x x 2-9x x 2 + 6x + 5 Day 6: 6.4 Solving Polynomial Equations Warm Up: Factor. 1. x 2-2x - 15 2. x 2-9x + 14 3. x 2 + 6x + 5 Solving Equations by Factoring Recall the factoring pattern: Difference of Squares:...... Note: There

More information

Algebra Homework, Edition 2 9 September 2010

Algebra Homework, Edition 2 9 September 2010 Algebra Homework, Edition 2 9 September 2010 Problem 6. (1) Let I and J be ideals of a commutative ring R with I + J = R. Prove that IJ = I J. (2) Let I, J, and K be ideals of a principal ideal domain.

More information

9. Finite fields. 1. Uniqueness

9. Finite fields. 1. Uniqueness 9. Finite fields 9.1 Uniqueness 9.2 Frobenius automorphisms 9.3 Counting irreducibles 1. Uniqueness Among other things, the following result justifies speaking of the field with p n elements (for prime

More information

PETERSON'S TABLE OF IRREDUCIBLE POLYNOMIALS OVER GF(2)

PETERSON'S TABLE OF IRREDUCIBLE POLYNOMIALS OVER GF(2) PETERSON'S TABLE OF IRREDUCIBLE POLYNOMIALS OVER GF(2) This table was taken from Error-Correcting Codes by W. Wesley Peterson, MIT Press (1970), pages 251-155. This table is to be used only by students

More information