CHMC: Finite Fields 9/23/17

Similar documents
Fermat s Last Theorem for Regular Primes

What is proof? Lesson 1

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?

MATH CSE20 Homework 5 Due Monday November 4

Partial Fractions. June 27, In this section, we will learn to integrate another class of functions: the rational functions.

PARTIAL FRACTIONS AND POLYNOMIAL LONG DIVISION. The basic aim of this note is to describe how to break rational functions into pieces.

2 Arithmetic. 2.1 Greatest common divisors. This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}.

Introduction: Pythagorean Triplets

1.7 Proof Methods and Strategy

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

Commutative Rings and Fields

MATH 150 Pre-Calculus

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.

In Exercises 1 12, list the all of the elements of the given set. 2. The set of all positive integers whose square roots are less than or equal to 3

Discrete Mathematics and Probability Theory Summer 2014 James Cook Note 5

Math Lecture 18 Notes

MAS114: Exercises. October 26, 2018

PARTIAL FRACTIONS AND POLYNOMIAL LONG DIVISION. The basic aim of this note is to describe how to break rational functions into pieces.

5.2 Polynomial Operations

Lesson 9: Radicals and Conjugates

AS1051: Mathematics. 0. Introduction

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES

Complex Numbers: Definition: A complex number is a number of the form: z = a + bi where a, b are real numbers and i is a symbol with the property: i

2.1 Convergence of Sequences

Algebra II Chapter 5: Polynomials and Polynomial Functions Part 1

Lecture 7: Polynomial rings

Complex Numbers. Rich Schwartz. September 25, 2014

Lecture 4: Constructing the Integers, Rationals and Reals

Lesson 5b Solving Quadratic Equations

Proofs. Chapter 2 P P Q Q

Grade 11/12 Math Circles Rational Points on an Elliptic Curves Dr. Carmen Bruni November 11, Lest We Forget

Partial Fraction Decomposition Honors Precalculus Mr. Velazquez Rm. 254

Proofs. Chapter 2 P P Q Q

Lesson 11: The Special Role of Zero in Factoring

Math /Foundations of Algebra/Fall 2017 Foundations of the Foundations: Proofs

WORKSHEET ON NUMBERS, MATH 215 FALL. We start our study of numbers with the integers: N = {1, 2, 3,...}

Discrete Mathematics and Probability Theory Fall 2013 Vazirani Note 3

Unit 2, Ongoing Activity, Little Black Book of Algebra II Properties

Proof of Beal s Conjecture

PROBLEM SET 3: PROOF TECHNIQUES

Describing the Real Numbers

Solving Quadratic & Higher Degree Equations

Galois Theory Overview/Example Part 1: Extension Fields. Overview:

Writing proofs for MATH 51H Section 2: Set theory, proofs of existential statements, proofs of uniqueness statements, proof by cases

Scott Taylor 1. EQUIVALENCE RELATIONS. Definition 1.1. Let A be a set. An equivalence relation on A is a relation such that:

Modern Algebra Prof. Manindra Agrawal Department of Computer Science and Engineering Indian Institute of Technology, Kanpur

The greatest common factor, or GCF, is the largest factor that two or more terms share.

Chapter 1A -- Real Numbers. iff. Math Symbols: Sets of Numbers

Table of Contents. 2013, Pearson Education, Inc.

Course: Algebra MP: Reason abstractively and quantitatively MP: Model with mathematics MP: Look for and make use of structure

Learning Packet. Lesson 5b Solving Quadratic Equations THIS BOX FOR INSTRUCTOR GRADING USE ONLY

Math 61CM - Solutions to homework 2

1. Prove that the number cannot be represented as a 2 +3b 2 for any integers a and b. (Hint: Consider the remainder mod 3).

CONGRUENT NUMBERS AND ELLIPTIC CURVES

MATH 13 FINAL EXAM SOLUTIONS

Winter Camp 2009 Number Theory Tips and Tricks

P.6 Complex Numbers. -6, 5i, 25, -7i, 5 2 i + 2 3, i, 5-3i, i. DEFINITION Complex Number. Operations with Complex Numbers

GCSE AQA Mathematics. Numbers

Chapter 2. Mathematical Reasoning. 2.1 Mathematical Models

Algebra II. A2.1.1 Recognize and graph various types of functions, including polynomial, rational, and algebraic functions.

2.5 The Fundamental Theorem of Algebra.

Statements, Implication, Equivalence

We have seen that the symbols,,, and can guide the logical

Section 3.1: Definition and Examples (Vector Spaces), Completed

Math 110, Spring 2015: Midterm Solutions

Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2:

a factors The exponential 0 is a special case. If b is any nonzero real number, then

Lecture 6: Finite Fields

Vector Spaces. Chapter 1

Algebra. Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed.

WORKSHEET MATH 215, FALL 15, WHYTE. We begin our course with the natural numbers:

Finite Fields: An introduction through exercises Jonathan Buss Spring 2014

Integer-Valued Polynomials

Gaussian integers. 1 = a 2 + b 2 = c 2 + d 2.

FONTANA UNIFIED SCHOOL DISTRICT High School Glencoe Algebra 1 Quarter 1 Standards and Objectives Pacing Map

A Guide to Arithmetic

Math Precalculus I University of Hawai i at Mānoa Spring

Number Theory in Problem Solving. Konrad Pilch

Answers to the problems will be posted on the school website, go to Academics tab, then select Mathematics and select Summer Packets.

P-adic numbers. Rich Schwartz. October 24, 2014

To factor an expression means to write it as a product of factors instead of a sum of terms. The expression 3x

Cool Results on Primes

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

Elliptic Curves & Number Theory. R. Sujatha School of Mathematics TIFR

Appendix G: Mathematical Induction

Math 31 Lesson Plan. Day 2: Sets; Binary Operations. Elizabeth Gillaspy. September 23, 2011

Solving Quadratic Equations

Analysis of California Mathematics standards to Common Core standards Algebra I

2a 2 4ac), provided there is an element r in our

3 Polynomial and Rational Functions

CCSS Math- Algebra. Domain: Algebra Seeing Structure in Expressions A-SSE. Pacing Guide. Standard: Interpret the structure of expressions.

SECTION 2.5: FINDING ZEROS OF POLYNOMIAL FUNCTIONS

Find two positive factors of 24 whose sum is 10. Make an organized list.

Chapter 11 - Sequences and Series

Discrete Mathematics and Probability Theory Fall 2018 Alistair Sinclair and Yun Song Note 6

Sequence convergence, the weak T-axioms, and first countability

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER /2018

GALOIS THEORY : LECTURE 12

This is a recursive algorithm. The procedure is guaranteed to terminate, since the second argument decreases each time.

1.2 The Role of Variables

Transcription:

CHMC: Finite Fields 9/23/17 1 Introduction This worksheet is an introduction to the fascinating subject of finite fields. Finite fields have many important applications in coding theory and cryptography, although this worksheet won t touch on those. The purpose of this worksheet is to introduce these structures and show how some familiar facts about, say, the rational numbers either fail or take a different face when we consider only finitely many elements. The second section introduces the notion of a field, as mathematicians understand and think about them, and explores some basic properties of both infinite and finite fields. The third section explores how to construct finite (and infinite) fields from other fields. The key objects are polynomials, especially polynomials that do not have roots. 2 Finite Fields, definitions and examples A field is a mathematical structure in which you can add, subtract, and multiply any two numbers, divide by any non-zero number, and the two operations (addition and multiplication) are related by the distributive property. Let s make this definition more precise. A field is a set S, together with two operations addition + and multiplication, such that the following rules are satisfied: for any a, b, c in S, we have 1. Associativity: a + (b + c) = (a + b) + c and a (b c) = (a b) c; 2. Commutativity: a + b = b + a and a b = b a; 1

3. Additive and multiplicative identities: there exist two different elements 0 and 1 in S such that 0 + a = a and 1 a = a; 4. Additive inverses: there exists an element a in S such that a+( a) = 0; 5. Multiplicative inverses: if a 0, then there exists an element a 1 in S such that a a 1 = 1; 6. Distributivity of multiplication over addition: a (b + c) = a b + a c. Exercise 2.1 Using just the properties above, show that in any field F we have 0 a = 0 for any a in F. Hint: write 0 a as (0 + 0) a and distribute. The two examples we all know and love are the rational numbers Q = { a : a, b are integers, and b 0} and the real numbers R. Another example b of a field is C, the field of complex numbers. Exercise 2.2 Verify that Q is in fact a field by checking that it satisfies the properties above. Exercise 2.3 The integers Z = {..., 2, 1, 0, 1, 2,...} do not form a field; why? Exercise 2.4 We write P = {a n x n +...a 1 x + a 0 : a i Q, n = 0, 1, 2,...} for the space of all polynomials with rational coefficients. Why is P not a field either? In this case we have an example of a space which isn t a field, but contains a field as a subset. To see this, note that the 0th degree polynomials are just constants. Since the constants of P are rational numbers, P contains the rational numbers, which we know form a field. It can also happen that a field has a subset that itself is a field. For example, the real numbers R are a subset of the complex numbers C. Not every subset of a field needs to be a field though. Exercise 2.5 Consider the set { a } Q e = b : a, b are integers, a is even, and b 0. Verify that this is a subset of Q, and show that Q e is not a field. What field property fails for this set? Page 2

As you may have guessed, a finite field is a field that has only finitely many elements. An example we saw last week was Z 2, which corresponds to arithmetic modulo 2. The addition and multiplication rules are the usual ones for integers, but it s not a priori clear that every non-zero number has a multiplicative inverse. In other words, for every non-zero a in Z 2, is there some b in Z 2 such that a b = 1? Indeed! The only non-zero element in Z 2 is 1, and 1 1 = 1. This shows that Z 2 is in fact a field, and has finitely many terms. Our first example of a finite field! Exercise 2.6 Let Z 3 be the set {0, 1, 2}, with the usual addition and multiplication of integers done modulo 3. Show that Z 3 is a field, and hence a finite field. In general, we let Z n be the set {0, 1,..., n}, together with the usual operations of addition and multiplication done modulo n, just like clock arithmetic. Exercise 2.7 Show that Z 4 is not a field. In other words, show that one of the conditions for being a field is not satisfied by Z 4. Hint: what is the multiplicative inverse of 2? A useful fact we ll need is a special case of Fermat s little theorem: if a is in Z p, for p prime, then a p 1 = 1 in Z p. Exercise 2.8 For this exercise, let p be any prime number. If a is in Z p, what is a? What about a 1? Show that Z p is a finite field. Why is it important that p is prime? Exercise 2.9 In Z 5, what do you notice about the sequence 2, 2 2, 2 3, 2 4, 2 5, 2 6, etc.? What about 3, 3 2, etc.? What about in Z 7? Can you make a conjecture about this pattern in general? The binomial theorem, which is related to Pascal s triangle, can be used to find another interesting fact about powers of elements from a finite field. Exercise 2.10 Show that (a + b) p = a p + b p in Z p. Hint: use the Binomial theorem, or look at the coefficients of the terms a k b p k for k = 1, 2,..., p 1. Recall that p = 0 in Z p. This next two exercises suggest a property about finite fields that may (or may not) be all that obvious. Exercise 2.11 In Z 3, what is 1 + 2? Page 3

Exercise 2.12 In Z 5, what is 1 + 2 + 3 + 4? Exercise 2.13 Show that, in general, in Z p the sum of all the terms is 0. Hint: what is the summation formula for integers? Before we go on to constructing finite fields in general, let s consider some number-theoretic consequences of the spaces Z p. Fermat s last theorem, one of the pinnacles of modern number theory, asserts that for any integer n 3, there are no non-trivial integer solutions a, b, c to the equation a n + b n = c n. This is clearly false for n = 2, since any Pythagorean triple (like a = 3, b = 4, and c = 5) is a solution. The proof of this theorem (the n 3 case) took 300+ years and generations of mathematicians to prove, until Andrew Wiles gave a final complete proof in 1994. The theorem is a statement about integers though; what happens when we look for solutions from finite fields? To get us started, let s look at 7 3, 9 3, and 3 3 in Z 11. We have Thus in Z 11, we have 7 3 = 343 = 11 31 + 2 = 2 in Z 11, 9 3 = 729 = 11 66 + 3 = 3 in Z 11, 3 3 = 27 = 11 2 + 5 = 5 in Z 11. 7 3 + 9 3 = 2 + 3 = 5 = 3 3, so 7 3 + 9 3 = 3 3, a counterexample to Fermat s last theorem!...not quite. Fermat s last theorem is stated with regard to integers, not finite fields, and is actually false over finite fields. It s not too hard to find other counterexamples. Exercise 2.14 Find numbers a, b, c in Z 3, not all 0, such that a 3 + b 3 = c 3. Note that there are only 2 choices for each a, b, c. Exercise 2.15 Show that in Z 5, every element is a cube. In other words, if a is in Z 5 then a = b 3 for some b in Z 5. One example is 2 3 = 8 = 3 in Z 5, so 3 is a cube in Z 5. Page 4

Exercise 2.16 In general, if p is a prime show that there always exist solutions a, b, c in Z p such that a p + b p = c p. Hint: use the binomial theorem. We won t prove it here, but it turns out that for any integer n 1, there exists some prime p such that a n + b n = c n for a, b, c in Z p, not all 0. Note that this is different from what we proved in the last exercise; we showed that there exist solutions whenever n is prime, but that doesn t cover the case when n is composite. 3 Constructing finite fields with polynomials In an earlier exercise you showed that Z p is a finite field for any prime number p. It turns out that you can have a finite field with p k elements, where p is a prime number and k is any natural number. We ll usually write F p k for the finite field of p k elements. In this section, we ll explore how to construct such fields using polynomials. To begin, we need to explore roots of polynomials. If ax 2 + bx + c is any polynomial with rational coefficients, we know by the quadratic formula that the roots are given by x = b ± b 2 4ac. 2a As long as b 2 4ac 0, we ll have one or two real roots to this polynomial. Exercise 3.1 If b 2 4ac < 0, then our polynomial won t have any real roots; why? Exercise 3.2 Suppose we have a stick of length 1, and we break it at a point such that the ratio of the smaller piece to the bigger piece is the same as the ratio of the bigger piece to the whole. What is the length of the bigger piece? Hint: if x is the length of the bigger piece, then 1 x is the length of the smaller piece. What do the ratios look like in terms of x? Exercise 3.3 For which values of b does the polynomial x 2 + bx + 1 have real roots? Complex roots? Now we re going to take a slightly different direction in our explorations, motivated by the polynomial p(x) = x 2 + 1. In the last section we explored how certain kinds of modular arithmetic lead to field structures. In the rest Page 5

of this section, we re going to explore a generalization of this: modular arithmetic with polynomials, and how such an arithmetic leads to field structures from polynomials. From the last exercise we know that p(x) has no rational (or real) roots, i.e. p(a) = 0 is never true for any rational (or real) number a. Exercise 3.4 Show that, for any other polynomial q(x), if p(a) q(a) = 0 for some real number a, then q(a) = 0. Let P x 2 +1 be the space of all polynomials modulo x 2 +1. This means that, formally, x 2 + 1 = 0 with regard to polynomials. Another way of thinking of this is that, whenever we find an occurrence of x 2 + 1 in some polynomial, we can replace it with 0. Let s look at an example. Consider the polynomial q(x) = x 3 3x 2 + 5x 7 in P x 2 +1. We first take our condition x 2 + 1 = 0 and rewrite it as x 2 = 1, in P x 2 +1 of course. Let s rewrite q(x) as q(x) = x 3 3x 2 + 5x 7 = x (x 2 ) 3(x 2 ) + 5x 7 = x ( 1) 3( 1) + 5x 7 = x + 3 + 5x 7 = 4x 4. The key observation is that we can pick out terms of the form x 2 in our polynomial and replace them with 1, since we re setting x 2 + 1 = 0. In general, any polynomial q(x) in P x 2 +1 is of the form a+bx, since any squared or higher order terms can be converted into first- or zero-order terms. It turns out that this set is equivalent to the complex numbers C: if we identify x in P x 2 +1 with i = 1 in C, then the two spaces have exactly the same structure! Exercise 3.5 Verify that multiplication of (a + bx)(c + dx) in P x 2 +1 gives the same object as (a + bi)(c + di) in C. Exercise 3.6 Consider the polynomial x 2 +x+1. Does this polynomial have any real solutions? What does x 4 + 3x 3 + 2 look like in P x 2 +x+1? In general, what do polynomials in the space P x 2 +x+1 look like? Before we return to finite fields, let s look at one more interesting field. Page 6

Exercise 3.7 Consider the polynomial x 2 2. Does this polynomial have any solutions in rational numbers? Why or why not? What do elements of P x 2 2 look like, where we only allow rational coefficients for the polynomials? Exercise 3.8 Show that multiplication in the space P x 2 2 is the same as multiplication in the space {a + b 2: a, b are rational}, with the usual arithmetic rules. In other words, show that (a + bx)(c + dx) in P x 2 2 gives the same thing as (a + b 2)(c + d 2) in {a + b 2: a, b are rational}. From here on out, our polynomials will only have coefficients in a finite field. We ll call these spaces Z p [x] = {a n x n + a 1 x + a 0 : a 0, a 1,..., a n are in Z p }. Exercise 3.9 Let p(x) = x 3 + 2x 2 2, and q(x) = 2x 3 + x 1. What is p(x) + q(x) in Z 3 [x]? What about in Z 5 [x]? We were able to construct a new field from R, called C, by finding a polynomial with coefficients in R that didn t have roots in R. Let s do the same for Z p [x]. Exercise 3.10 Does the polynomial p(x) = x 2 + x + 1 have roots in Z 2? Why or why not? What about in Z 3? In the last exercise you (hopefully) showed that x 2 + x + 1 has no roots in Z 2, so we can consider the space Z 2 [x] x 2 +x+1. Exercise 3.11 Remind yourself of the definition of Z 2 [x] x 2 +x+1. If a n x n + a 1 x + a 0 is a polynomial in Z 2 [x] x 2 +x+1, what is the largest integer n can be? Exercise 3.12 What does the polynomial x 2 look like in Z 2 [x] x 2 +x+1? Exercise 3.13 What does the polynomial x 5 +x 4 +x 3 look like in Z 2 [x] x 2 +x+1? Exercise 3.14 How many polynomials in total are there in Z 2 [x] x 2 +x+1? Exercise 3.15 What is the multiplicative inverse of x 2 in Z 2 [x] x 2 +x+1? In other words, what polynomial q(x) do we need to multiply with x 2 so that x 2 p(x) = 0 in Z 2 [x] x 2 +x+1? Page 7

Exercise 3.16 What is the multiplicative inverse of x in Z 2 [x] x 2 +x+1? While we won t go through all the details here, it turns out that Z 2 [x] x 2 +x+1 is a field too! Since Z 2 [x] x 2 +x+1 has 4 elements, we have succesfully constructed a finite field with 2 2 elements. Exercise 3.17 Find a polynomial p(x) of order 3 that has no roots in Z 2, i.e. p(x) = a 3 x 3 + a 2 x 2 + a 1 x + a 0, p(0) 0, and p(1) 0 in Z 2. How many elements does Z 2 [x] p(x) have? Exercise 3.18 For the same p(x) you found in the last exercise, compute x, x 2, x 3, x 4, etc. How many terms are there in the sequence until you start to get repeat terms? Does this remind you of an earlier exercise? In general, if p(x) has no roots in Z p and p(x) has order k, then Z p [x] p(x) will be a finite field of p k elements. Exercise 3.19 Find polynomials of order 2, order 3, and order 4 in Z 5 [x] that have no roots. What do the corresponding finite fields look like? How many elements does each field have? Exercise 3.20 If p is a prime, and k is a natural number, how do you think you could construct a finite field of p k elements? Page 8