Algebra 2. Rings and fields. Finite fields. A.M. Cohen, H. Cuypers, H. Sterk. Algebra Interactive

Similar documents
How To Prove The Dirichlet Unit Theorem

Quotient Rings and Field Extensions

minimal polyonomial Example

11 Ideals Revisiting Z

Introduction to Finite Fields (cont.)

7. Some irreducible polynomials

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

(a) Write each of p and q as a polynomial in x with coefficients in Z[y, z]. deg(p) = 7 deg(q) = 9

Continued Fractions and the Euclidean Algorithm

Chapter 13: Basic ring theory

H/wk 13, Solutions to selected problems

8 Divisibility and prime numbers

U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, Notes on Algebra

8 Primes and Modular Arithmetic

Kevin James. MTHSC 412 Section 2.4 Prime Factors and Greatest Comm

Factoring polynomials over finite fields

(0, 0) : order 1; (0, 1) : order 4; (0, 2) : order 2; (0, 3) : order 4; (1, 0) : order 2; (1, 1) : order 4; (1, 2) : order 2; (1, 3) : order 4.

FACTORING POLYNOMIALS IN THE RING OF FORMAL POWER SERIES OVER Z

PYTHAGOREAN TRIPLES KEITH CONRAD

CONTINUED FRACTIONS AND PELL S EQUATION. Contents 1. Continued Fractions 1 2. Solution to Pell s Equation 9 References 12

Math 319 Problem Set #3 Solution 21 February 2002

3.1. RATIONAL EXPRESSIONS

Partial Fractions Decomposition

Primality - Factorization

Modern Algebra Lecture Notes: Rings and fields set 4 (Revision 2)

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)!

it is easy to see that α = a

Module MA3411: Abstract Algebra Galois Theory Appendix Michaelmas Term 2013

Unique Factorization

Galois Theory III Splitting fields.

z 0 and y even had the form

CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY

r + s = i + j (q + t)n; 2 rs = ij (qj + ti)n + qtn.

EMBEDDING DEGREE OF HYPERELLIPTIC CURVES WITH COMPLEX MULTIPLICATION

ON GALOIS REALIZATIONS OF THE 2-COVERABLE SYMMETRIC AND ALTERNATING GROUPS

Lecture 3: Finding integer solutions to systems of linear equations

Zeros of Polynomial Functions

Zero: If P is a polynomial and if c is a number such that P (c) = 0 then c is a zero of P.

Zeros of a Polynomial Function

NOTES ON LINEAR TRANSFORMATIONS

FINITE FIELDS KEITH CONRAD

CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs

On the largest prime factor of x 2 1

26 Integers: Multiplication, Division, and Order

Section 4.2: The Division Algorithm and Greatest Common Divisors

Zeros of Polynomial Functions

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.

JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson

0.8 Rational Expressions and Equations

Polynomials. Dr. philippe B. laval Kennesaw State University. April 3, 2005

Handout #1: Mathematical Reasoning

Basics of Polynomial Theory

SUM OF TWO SQUARES JAHNAVI BHASKAR

Factoring of Prime Ideals in Extensions

Abstract Algebra Cheat Sheet

Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm.

On the generation of elliptic curves with 16 rational torsion points by Pythagorean triples

Notes on Factoring. MA 206 Kurt Bryan

1 = (a 0 + b 0 α) (a m 1 + b m 1 α) 2. for certain elements a 0,..., a m 1, b 0,..., b m 1 of F. Multiplying out, we obtain

Revised Version of Chapter 23. We learned long ago how to solve linear congruences. ax c (mod m)

Partial Fractions. (x 1)(x 2 + 1)

by the matrix A results in a vector which is a reflection of the given

Math 231b Lecture 35. G. Quick

MATH10040 Chapter 2: Prime and relatively prime numbers

Lecture 13 - Basic Number Theory.

SOLVING QUADRATIC EQUATIONS OVER POLYNOMIAL RINGS OF CHARACTERISTIC TWO

Ideal Class Group and Units

SECTION 10-2 Mathematical Induction

CONTINUED FRACTIONS AND FACTORING. Niels Lauritzen

Factoring Polynomials

The Division Algorithm for Polynomials Handout Monday March 5, 2012

Math 4310 Handout - Quotient Vector Spaces

k, then n = p2α 1 1 pα k

A New Generic Digital Signature Algorithm

Gröbner Bases and their Applications

SOLVING POLYNOMIAL EQUATIONS

Algebra 3: algorithms in algebra

Cyclotomic Extensions

The last three chapters introduced three major proof techniques: direct,

63. Graph y 1 2 x and y 2 THE FACTOR THEOREM. The Factor Theorem. Consider the polynomial function. P(x) x 2 2x 15.

26 Ideals and Quotient Rings

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

CHAPTER 5. Number Theory. 1. Integers and Division. Discussion

Discrete Mathematics, Chapter 4: Number Theory and Cryptography

2.3. Finding polynomial functions. An Introduction:

Prime Numbers and Irreducible Polynomials

SUBGROUPS OF CYCLIC GROUPS. 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by

FACTORING IN QUADRATIC FIELDS. 1. Introduction. This is called a quadratic field and it has degree 2 over Q. Similarly, set

SECRET sharing schemes were introduced by Blakley [5]

Mathematics Course 111: Algebra I Part IV: Vector Spaces

Today s Topics. Primes & Greatest Common Divisors

The finite field with 2 elements The simplest finite field is

Mathematical Induction

Chapter 11 Number Theory

POLYNOMIAL FUNCTIONS

POLYNOMIAL RINGS AND UNIQUE FACTORIZATION DOMAINS

Cryptography and Network Security. Prof. D. Mukhopadhyay. Department of Computer Science and Engineering. Indian Institute of Technology, Kharagpur

Introduction to Algebraic Geometry. Bézout s Theorem and Inflection Points

1 Homework 1. [p 0 q i+j p i 1 q j+1 ] + [p i q j ] + [p i+1 q j p i+j q 0 ]

Copy in your notebook: Add an example of each term with the symbols used in algebra 2 if there are any.

Transcription:

2 Rings and fields A.M. Cohen, H. Cuypers, H. Sterk A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 1 / 20

For p a prime number and f an irreducible polynomial of degree n in (Z/pZ)[X ], the quotient ring (Z/pZ)[X ]/(f ) is a field with p n elements. We will see that any field is essentially of this form. Let F be a finite field of order q. By a previous result [], we know that q=p a, the power of a prime number p. We need another (more general) version of Fermat s little theorem. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 2 / 20

Theorem Fermat s little theorem Each x F satisfies the equation x q =x. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 3 / 20

Example Fields of order 9 Rings and fields Each element of a field of order 9 is a zero of the polynomial The polynomial X 9 X (Z/3Z)[X ]. The elements 0, 1, and 2 of Z/3Z are zeros of this polynomial and correspond to the linear factors X, X 1, X 2. Dividing out these factors, we find a polynomial of degree 6 that factors into a product of three quadratic polynomials as follows. (X 2 + X + 2) (X 2 + 2 X + 2) (X 2 + 1). Each of these factors can be used to define a field of order 9. In the next theorem [] we shall see that they all lead to the same field up to isomorphism. That means that the fields (Z/3Z)[X ]/ ( X 2 + X + 2 ), (Z/3Z)[X ]/ ( X 2 + 2 X + 2 ) (Z/3Z)[X ], and (Z/3Z)[X ]/ ( X 2 + 1 ) (Z/3Z)[X ] are isomorphic to each other. On the other hand, Fermat s little theorem says A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 4 / 20

Example In a previous proposition, we saw that, for any power r=p b of p, the subset {x F x r =x } is a subfield of F. Apparently, for r=q, the subfield coincides with F ; the subfield only depends on the value of rem(b, a), where q=p a. Note that x q 1 =1 for nonzero x in F. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 5 / 20

Example In a previous proposition, we saw that, for any power r=p b of p, the subset {x F x r =x } is a subfield of F. Apparently, for r=q, the subfield coincides with F ; the subfield only depends on the value of rem(b, a), where q=p a. Note that x q 1 =1 for nonzero x in F. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 5 / 20

Example In a previous proposition, we saw that, for any power r=p b of p, the subset {x F x r =x } is a subfield of F. Apparently, for r=q, the subfield coincides with F ; the subfield only depends on the value of rem(b, a), where q=p a. Note that x q 1 =1 for nonzero x in F. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 5 / 20

Example In a previous proposition, we saw that, for any power r=p b of p, the subset {x F x r =x } is a subfield of F. Apparently, for r=q, the subfield coincides with F ; the subfield only depends on the value of rem(b, a), where q=p a. Note that x q 1 =1 for nonzero x in F. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 5 / 20

Example In a previous proposition, we saw that, for any power r=p b of p, the subset {x F x r =x } is a subfield of F. Apparently, for r=q, the subfield coincides with F ; the subfield only depends on the value of rem(b, a), where q=p a. Note that x q 1 =1 for nonzero x in F. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 5 / 20

Here are some more properties of finite fields. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 6 / 20

Lemma Let F be a finite field of order q. 1 X q X = x F (X x). 2 For every prime power r=p b with b a, the subset {x F x r =x } is a subfield of F of order r. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 7 / 20

Lemma Let F be a finite field of order q. 1 X q X = x F (X x). 2 For every prime power r=p b with b a, the subset {x F x r =x } is a subfield of F of order r. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 7 / 20

Lemma Let F be a finite field of order q. 1 X q X = x F (X x). 2 For every prime power r=p b with b a, the subset {x F x r =x } is a subfield of F of order r. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 7 / 20

Example Constructing a field of order 16 The polynomial f =X 4 + X + 1 in (Z/2Z)[X ] is irreducible. (Verify!) Put K =(Z/pZ)[X ]/(f ) and write x=x + f. We shall prove that K is a field by showing that x is invertible and establishing that, as a set, K={(), X 1, X 2,..., X 15 }. This will suffice as it implies that K has 15 invertible elements (powers of x being invertible if x is). The element x is invertible as x 3 +1 is its inverse. This observation is immediate from a rewrite of f (x)=0 to x=x 3 1. In order to establish that all powers of x up to x 15 are distinct, notice that both x 5 =x 2 + x and x 3 are distinct from 1 and that x 15 =1. The last equation implies that x has order a divisor of 15 and the two previous equations imply that the order is not a divisor of 5 or 3. Therefore, the order of x is exactly 15, which settles that the subgroup of the multiplicative group of K generated by x has order 15. In particular, A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 8 / 20

We use Fermat s little theorem [] to determine the structure of finite fields. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 9 / 20

Theorem Characterization of finite fields Let F be a finite field of order q=p a and let f (Z/pZ)[X ] be an irreducible polynomial of degree a. 1 The field F is isomorphic to (Z/pZ)[X ]/(f ). 2 The polynomial f divides X q X. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 10 / 20

Theorem Characterization of finite fields Let F be a finite field of order q=p a and let f (Z/pZ)[X ] be an irreducible polynomial of degree a. 1 The field F is isomorphic to (Z/pZ)[X ]/(f ). 2 The polynomial f divides X q X. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 10 / 20

Theorem Characterization of finite fields Let F be a finite field of order q=p a and let f (Z/pZ)[X ] be an irreducible polynomial of degree a. 1 The field F is isomorphic to (Z/pZ)[X ]/(f ). 2 The polynomial f divides X q X. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 10 / 20

Later, we shall see that, for every prime power q, there exists a field of order q. The two assertions imply that if f is an irreducible polynomial in (Z/pZ)[X ] of degree a, it factors into linear terms in F [X ]. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 11 / 20

Example A field of order 16 Rings and fields The polynomial f =X 4 + X + 1 in (Z/2Z)[X ] is irreducible. (Verify!) Put K=(Z/pZ)[X ]/f (Z/pZ)[X ]. and x=x + f. This is the field of order 16 that we shall work with. The elements of K can be arranged according to the irreducible divisors of X 16 X of which they are a zero. element(s) zero(s) of 0 X 1 1 + X x, x 2, x 4, x 8 X 4 + X + 1 x 3, x 6, x 12, x 9 X 4 + X 3 + X 2 + X + 1 x 7, x 14, x 13, x 11 X 4 + X 2 + 1 The multiplicative group of K is cyclic of order 15, with generator x. The elements of order 3 belong to the subfield {0, 1, x 5, x 10 } of order 4, isomorphic to (Z/2Z)[X ]/ ( X 2 + X + 1 ) (Z/2Z)[X ]. The elements of order 5 can be recognized by their exponents (having gcd with 15 equal to 3), but A.M. Cohen, H. Cuypers, alsoh. Sterk by the corresponding polynomial, 2 which di- September 25, 2006 12 / 20

Remark Implicit in Part 1 is the fact that any two irreducible polynomials in (Z/pZ)[X ] of the same degree, say f and g, lead to isomorphic finite fields. The theorem does not give any information on how to construct the isomorphism. A way to proceed is to look for a zero y of g in (Z/pZ)[X ]/f (Z/pZ)[X ], and to construct the isomorphism as the map (Z/pZ)[X ] (Z/pZ)[X ]/f (Z/pZ)[X ] sending X + g to y. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 13 / 20

We use this observation to prove the following result, announced before. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 14 / 20

Theorem The multiplicative group of a finite field of order q is cyclic of order q 1. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 15 / 20

By the theorem, there are always primitive elements in finite fields. If g is a primitive element of the finite field F, then the elements can be easily enumerated by their exponents with respect to g : F ={0} { g i i {0,..., q 2} }. When written in this form, multiplication on the nonzero elements of F is given by modular arithmetic, with modulus q 1. This is very efficient, but addition is less convenient. Thus, we have the opposite to the usual form, where addition is a minor effort, but multiplication is harder. In terminology introduced before, the theorem says that any field has a primitive element. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 16 / 20

Example Suppose that K is a field of order 32. Then K is a group of order 31. Each element distinct from 1 in K has order 31, as its order is a divisor of 31 and distinct from 1, see a previous theorem []. Consider the polynomial f =X 31 1. In (Z/2Z)[X ], the polynomial f factors into f =(1 + X ) (1 + X 2 + X 5 ) (1 + X 3 + X 5 ) (1 + X + X 2 + X 3 + X 5 ) (1 Let a be an element of K which is a zero of 1 + X + X 2 + X 3 + X 5. Then an elementary calculation shows that a 2 is also a zero of this polynomial. In fact, 1 + X 2 + X 4 + X 6 + X 10 =rem(0, 1 + X + X 2 + X 3 + X 5 ). The five zeros of the polynomial are therefore a, a 2, a 4, a 8, a 16. This result could also have been derived by applying a previous result [] with x x 2. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 17 / 20

The following theorem is the principal result on finite fields. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 18 / 20

Theorem Classification theorem of finite fields For every prime number p and positive integer a there exists a field of order p a. It is unique up to isomorphism. A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 19 / 20

Example To construct a field of order 81=3 4, we look for an irreducible polynomial f of degree 4 in (Z/3Z)[X ]. According to the theory, f is a divisor of the polynomial X 81 X. We first divide out the roots belonging to the subfield of order 9: X 81 X X 9 X =X 72 + X 64 + X 56 + X 48 + X 40 + X 32 + X 24 + X 16 + X 8 + 1. This polynomial will factor into 18 irreducible polynomials of degree 4. We find one by trial and error: Creating a degree 4 polynomial and checking that it is relatively prime with X 9 X. The 18 choices for f that may arise are: X 4 X 2 1 X 4 + X 2 X + 1 X 4 X 3 + X 2 + 1 X 4 + X 3 X + 1 X 4 + X 3 + X 2 X 1 X 4 + X 2 1 X 4 X 3 1 X 4 + X 1 X 4 + X 3 1 X 4 X 3 + X + 1 X 4 X 3 + X 2 + X 1 X 4 + X 2 + X + 1 X 4 X 3 X 2 + X 1 X 4 X 3 + X 2 X + 1 X 4 + X 3 X 2 X 1 X 4 + X 3 + X 2 + X + 1 X 4 X 1 X 4 + X 3 + X 2 + 1 A.M. Cohen, H. Cuypers, H. Sterk 2 September 25, 2006 20 / 20