Finite Fields. Proposition 1

Similar documents
Math 319 Problem Set #3 Solution 21 February 2002

minimal polyonomial Example

Module MA3411: Abstract Algebra Galois Theory Appendix Michaelmas Term 2013

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

Introduction to Finite Fields (cont.)

Applications of Fermat s Little Theorem and Congruences

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

7. Some irreducible polynomials

Groups in Cryptography

= = 3 4, Now assume that P (k) is true for some fixed k 2. This means that

ALGEBRAIC APPROACH TO COMPOSITE INTEGER FACTORIZATION

it is easy to see that α = a

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

Every Positive Integer is the Sum of Four Squares! (and other exciting problems)

Chapter 13: Basic ring theory

FINITE FIELDS KEITH CONRAD

Winter Camp 2011 Polynomials Alexander Remorov. Polynomials. Alexander Remorov

10 Splitting Fields. 2. The splitting field for x 3 2 over Q is Q( 3 2,ω), where ω is a primitive third root of 1 in C. Thus, since ω = 1+ 3

Zeros of a Polynomial Function

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

11 Ideals Revisiting Z

Primality - Factorization

3 1. Note that all cubes solve it; therefore, there are no more

Lecture 13 - Basic Number Theory.

calculating the result modulo 3, as follows: p(0) = = 1 0,

ALGEBRA HW 5 CLAY SHONKWILER

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

6.1 The Greatest Common Factor; Factoring by Grouping

PYTHAGOREAN TRIPLES KEITH CONRAD

Quotient Rings and Field Extensions

8 Primes and Modular Arithmetic

Just the Factors, Ma am

Chapter 1. Search for Good Linear Codes in the Class of Quasi-Cyclic and Related Codes

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

Prime numbers and prime polynomials. Paul Pollack Dartmouth College

Factoring Algorithms

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

CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY

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

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

Homework until Test #2

COMBINATORIAL PROPERTIES OF THE HIGMAN-SIMS GRAPH. 1. Introduction

The cyclotomic polynomials

March 29, S4.4 Theorems about Zeros of Polynomial Functions

a 1 x + a 0 =0. (3) ax 2 + bx + c =0. (4)

Solutions to TOPICS IN ALGEBRA I.N. HERSTEIN. Part II: Group Theory

Integer roots of quadratic and cubic polynomials with integer coefficients

Our Primitive Roots. Chris Lyons

FACTORING AFTER DEDEKIND

Factoring of Prime Ideals in Extensions

Notes on Factoring. MA 206 Kurt Bryan


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

NOTES ON GROUP THEORY

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.

Continued Fractions and the Euclidean Algorithm

MATH 537 (Number Theory) FALL 2016 TENTATIVE SYLLABUS

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

CS 103X: Discrete Structures Homework Assignment 3 Solutions

An Overview of Integer Factoring Algorithms. The Problem

SECTION 10-2 Mathematical Induction

First and raw version september 2013 klokken 13:45

Number Theory. Proof. Suppose otherwise. Then there would be a finite number n of primes, which we may

Factorization Algorithms for Polynomials over Finite Fields

Zeros of Polynomial Functions

A NOTE ON FINITE FIELDS

p e i 1 [p e i i ) = i=1

Chapter 7 - Roots, Radicals, and Complex Numbers

How To Prove The Dirichlet Unit Theorem

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

A number field is a field of finite degree over Q. By the Primitive Element Theorem, any number

Factoring & Primality

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

Settling a Question about Pythagorean Triples

On the largest prime factor of x 2 1

Cyclotomic Extensions

EXERCISES FOR THE COURSE MATH 570, FALL 2010

SYSTEMS OF PYTHAGOREAN TRIPLES. Acknowledgements. I would like to thank Professor Laura Schueller for advising and guiding me

Is n a Prime Number? Manindra Agrawal. March 27, 2006, Delft. IIT Kanpur

MATH 289 PROBLEM SET 4: NUMBER THEORY

SOLUTIONS FOR PROBLEM SET 2

Advanced Cryptography

CONTINUED FRACTIONS AND FACTORING. Niels Lauritzen

SOLVING POLYNOMIAL EQUATIONS

Galois Theory. Richard Koch

Some practice problems for midterm 2

POLYNOMIAL FUNCTIONS

FACTORING POLYNOMIALS IN THE RING OF FORMAL POWER SERIES OVER Z

EMBEDDING DEGREE OF HYPERELLIPTIC CURVES WITH COMPLEX MULTIPLICATION

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

Mathematical Induction

Today s Topics. Primes & Greatest Common Divisors

MOP 2007 Black Group Integer Polynomials Yufei Zhao. Integer Polynomials. June 29, 2007 Yufei Zhao

Lectures on Number Theory. Lars-Åke Lindahl

ALGEBRAIC NUMBER THEORY AND QUADRATIC RECIPROCITY

Factoring polynomials over finite fields

Theorem3.1.1 Thedivisionalgorithm;theorem2.2.1insection2.2 If m, n Z and n is a positive

Waring s problem, taxicab numbers, and other sums of powers

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

Test1. Due Friday, March 13, 2015.

Transcription:

Finite Fields In these notes we discuss the general structure of finite fields. For these notes, we always let 0 denote the additive identity in a field, and we let 1 denote the multiplicative identity. We also let 2 = 1 + 1, 3 = 1 + 1 + 1, 4 = 1 + 1 + 1 + 1,... Definition: Characteristic of a Field We say that a field F has finite characteristic if there exists a positive integer n so that } 1 + 1 + {{ + 1 } = 0 n times in F. The smallest such n is called the characteristic of F, and is denoted char(f). That is, the characteristic of F is the smallest positive integer n for which n = 0 in F. For example, Z p has characteristic p for each prime p, but fields such as Q, R, or C do not have finite characteristic. Proposition 1 Every finite field has finite characteristic PROOF Let F be a finite field. Then the sequence 1, 2, 3,... in F has only finitely many different terms, so there must exist positive intgers m < n such that m = n in F. It follows that n m = 0 in F, so F has finite characteristic. If F is a field of characteristic n, then the elements {0, 1, 2,..., n 1} of F obey the rules for addition and multiplication modulo n, and therefore form a copy of

Finite Fields 2 Z n inside of F. Since Z n has zero divisors when n is not prime, it follows that the characteristic of a field must be a prime number. Thus every finite field F must have characteristic p for some prime p, and the elements {0, 1, 2,..., p 1} form a copy of Z p inside of F. This copy of Z p is known as the prime subfield of F. EXAMPLE 1 Prime Subfield of Z 3 [i] Recall that Z 3 [i] = Z 3 [x]/ ( x 2 + 1 ) is a field with 9 elements: 0, 1, 2, i, i + 1, i + 2, 2i, 2i + 1, 2i + 2. This field has characteristic 3, since 3 = 0 in the field, and the prime subfield consists of the elements {0, 1, 2}. More generally, if p is a prime and m(x) is an irreducible polynomial over Z p, then Z p [x]/ ( m(x) ) is always a field of characteristic p, with prime subfield {0, 1,..., p 1}. The Frobenius Automorphism We begin with a surprising identity that holds in any field of characteristic p. Proposition 2 The Frobenius Identity Let p be a prime, and let F be a field of characteristic p. Then for all a, b, F. (a + b) p = a p + b p PROOF By the binomial theorem ( ) ( ) ( ) p p p (a + b) p = a p + a p 1 b + a p 2 b 2 + + ab p 1 + b p. 1 2 p 1 ( ) p But it is easy to see that is a multiple of p for all k {1,..., p 1}, and is hence k equal to 0 in F. Thus all the middle terms drop out, leaving (a + b) p = a p + b p.

Finite Fields 3 Definition: Frobenius Automorphism Let F be a field of characteristic p. The Frobenius automorphism of F is the function ϕ: F F defined by ϕ(a) = a p. Clearly ϕ(ab) = ϕ(a) ϕ(b) for all a, b F, and the Frobenius identity tells us that ϕ(a + b) = ϕ(a) + ϕ(b) for all a, b F. It follows that ϕ can be applied to any expression by applying it to each part individually. For example, if a, b, c F, then ϕ ( a 3 + b 2 c ) = ϕ(a) 3 + ϕ(b) 2 ϕ(c). Note that the properties of ϕ are similar to the properties of complex conjugation in C. In particular, if a denotes the complex conjugate of a, then ab = ab and a + b = a + b for all a, b C. Thus the Frobenius automorphism ϕ can be thought of as something similar to complex conjugation for finite fields. EXAMPLE 2 The Frobenius Automorphism in Z p [i] Recall that if p is a prime congruent to 3 modulo 4, then the field with p 2 elements can be described as Z p [i], where i is a square root of 1. Let ϕ: Z p [i] Z p [i] be the Frobenius automorphism. By Fermat s little theorem for all a Z p. Moreover, we have It follows that ϕ(a) = a p = a ϕ(i) = i p = i 3 = i. ϕ(a + bi) = ϕ(a) + ϕ(b) ϕ(i) = a bi for all a, b Z p. Thus the Frobenius automorphism is exactly the same as complex conjugation for this field. EXAMPLE 3 The Frobenius Automorphism in F 4 Let F 4 = Z 2 [x]/ ( x 2 + x + 1 ) be the field with 4 elements, and let ϕ: F 4 F 4 be the Frobenius automorphism ϕ(a) = a 2. Then ϕ(0) = 0 2 = 0, ϕ(1) = 1 2 = 1, ϕ(x) = x 2 = x + 1, ϕ(x + 1) = (x + 1) 2 = x. Thus ϕ fixes 0 and 1 and switches x with x + 1.

Finite Fields 4 EXAMPLE 4 The Frobenius Automorphism in F 8 Let F 8 = Z 2 [x]/ ( x 3 + x + 1 ) be the field with 8 elements, and let ϕ: F 8 F 8 be the Frobenius automorphism ϕ(a) = a 2. Clearly ϕ(0) = 0 and ϕ(1) = 1, and it is easy to check that ϕ(x) = x 2, ϕ ( x 2) = x 2 + x, ϕ ( x 2 + x ) = x and ϕ(x + 1) = x 2 + 1, ϕ ( x 2 + 1 ) = x 2 + x + 1, ϕ ( x 2 + x + 1 ) = x + 1. Thus ϕ fixes 0 and 1 and permutes the remaining 6 elements of F 8 in two threecycles. In all of these examples, the fixed points of the Frobenius automorphism were precisely the elements of the prime subfield. This is no accident. Proposition 3 Fixed Points of the Frobenius Automorphism Let F be a field of characteristic p, let ϕ be the Frobenius automorphism of F, and let a F. Then ϕ(a) = a if and only if a lies in the prime subfield of F. PROOF Recall that the prime subfield of F is isomorphic to Z p, with ϕ(a) = a p for all a F. By Fermat s little theorem, we know that ϕ(a) = a p = a for all elements a of the prime subfield. But every fixed point of ϕ must be a root of the polynomial x p x, and this polynomial can have at most p different roots in F, so the fixed points of ϕ are precisely the elements 0, 1,..., p 1. Again, this is analogous to complex conjugation, where the fixed points of complex conjugation are precisely the real numbers.

Finite Fields 5 Orders of Elements We collect here a few other facts about finite fields that we have collected. Theorem 4 Fermat s Little Theorem for Finite Fields Let F be a finite field with n elements. Then a n = a for all a F. Equivalently, for all a F. a n 1 = 1 PROOF The multiplicative group F has n 1 elements. By Lagrange s theorem from group theory, it follows that the multiplicative order of any element of F must divide n 1. Then a n 1 = 1 for all a F, and it follows that a n = a for all a F. Theorem 5 Primitive Element Theorem Let F be a finite field with n elements. Then for each divisor k of n 1, there exist elements of F of order k. PROOF This was proven in the notes on cyclotomic polynomials. Combining these two theorems together, we see that the orders of the elements of F are precisely the divisors of n 1. Incidentally, we will show soon enough that every finite field with characteristic p has p k elements for some positive integer k. Thus Fermat s little theorem for finite fields can be written as a pk = a for the elements of a field of order p k. Equivalently ϕ k (a) = a for all a F, where ϕ is the Frobenius automorphism. Thus, for a field with p k elements, every element will return to itself after k applications of the Frobenius automorphism.

Finite Fields 6 Square Roots of 2 As an application of finite fields and the Frobenius automorphism, we determine for which primes p the field Z p contains a square root of 2. The proof uses the field F with p 2 elements, which can be obtained by adjoining to Z p the square root of any quadratic non-residue. That is, F = Z p [x]/ ( x 2 a ), where a is any quadratic non-residue modulo p. Theorem 6 Second Supplement to the Law of Quadratic Reciprocity Let p be an odd prime. Then 2 is a quadratic residue modulo p if and only if p ±1 (mod 8). PROOF Let F be the field with p 2 elements. Observe that ( 3) 2 ( 1) 2 1 2 3 2 1 (mod 8), so p 2 1 must be a multiple of 8, and hence F has an element ω of order 8. Note then that ω 4 = 1. Let r = ω + ω 1. Then r 2 = ( ω + ω 1) 2 = ω 2 + 2 + ω 2 = 2 + ω 2( ω 4 + 1 ) = 2. Thus r and r are the square roots of 2 in F. Then 2 is a quadratic residue modulo p if and only if r Z p. To check whether r Z p, we apply the Frobenius automorphism to r and use Proposition 3. Let ϕ: F F be the Frobenius automorphism, which is defined by ϕ(a) = a p. Then ϕ(r) = ϕ ( ω + ω 1) = ϕ(ω) + ϕ(ω) 1 = ω p + ω p = ω k + ω k, where k { 3, 1, 1, 3} is the residue class of p modulo 8. We now break into cases depending on the value of k: If p 1 (mod 8), then ϕ(r) = ω + ω 1 = r, so r Z p by Proposition 3, and hence 2 is a quadratic residue modulo p. Similarly, if p 1 (mod 8), then ϕ(r) = ω 1 + ω = r, so r Z p and hence 2 is a quadratic residue modulo p.

Finite Fields 7 If p 3 (mod 8), then ϕ(r) = ω 3 + ω 3 = ω ω 1 = r r. By Proposition 3, it follows that r / Z p by, so 2 is not a quadratic residue modulo p. Finally, if p 3 (mod 8), then ϕ(r) = ω 3 + ω 3 = ω 1 ω = r r, so again 2 is not a quadratic residue modulo p..