Chapter 2. Finite Fields (Chapter 3 in the text)

Similar documents
[ 47 ] then T ( m ) is true for all n a. 2. The greatest integer function : [ ] is defined by selling [ x]

YALE UNIVERSITY DEPARTMENT OF COMPUTER SCIENCE

Modern Algebra. Previous year Questions from 2017 to Ramanasri

11. FINITE FIELDS. Example 1: The following tables define addition and multiplication for a field of order 4.

Zeros of Polynomials

In number theory we will generally be working with integers, though occasionally fractions and irrationals will come into play.

Classification of DT signals

A brief introduction to linear algebra

PROBLEMS ON ABSTRACT ALGEBRA

PROBLEM SET 5 SOLUTIONS. Solution. We prove that the given congruence equation has no solutions. Suppose for contradiction that. (x 2) 2 1 (mod 7).

Week 5-6: The Binomial Coefficients

PERIODS OF FIBONACCI SEQUENCES MODULO m. 1. Preliminaries Definition 1. A generalized Fibonacci sequence is an infinite complex sequence (g n ) n Z

Homework 2 January 19, 2006 Math 522. Direction: This homework is due on January 26, In order to receive full credit, answer

The multiplicative structure of finite field and a construction of LRC

ON SUPERSINGULAR ELLIPTIC CURVES AND HYPERGEOMETRIC FUNCTIONS

2.1. The Algebraic and Order Properties of R Definition. A binary operation on a set F is a function B : F F! F.

Unit 5. Hypersurfaces

3.2 Properties of Division 3.3 Zeros of Polynomials 3.4 Complex and Rational Zeros of Polynomials

Elliptic Curves Spring 2017 Problem Set #1

Chapter 2. Periodic points of toral. automorphisms. 2.1 General introduction

Shank's Baby-Step Giant-Step Attack Extended To Discrete Log with Lucas Sequences

Sketch of Dirichlet s Theorem on Arithmetic Progressions

SOLVED EXAMPLES

M A T H F A L L CORRECTION. Algebra I 1 4 / 1 0 / U N I V E R S I T Y O F T O R O N T O

Weil Conjecture I. Yichao Tian. Morningside Center of Mathematics, AMSS, CAS

An Introduction to p-adic Numbers and p-adic Analysis. Andrew Baker

Homework 3. = k 1. Let S be a set of n elements, and let a, b, c be distinct elements of S. The number of k-subsets of S is

TEACHER CERTIFICATION STUDY GUIDE

Chain conditions. 1. Artinian and noetherian modules. ALGBOOK CHAINS 1.1

Round-off Errors and Computer Arithmetic - (1.2)

MA 162B LECTURE NOTES: THURSDAY, JANUARY 15

We are mainly going to be concerned with power series in x, such as. (x)} converges - that is, lims N n

Lecture Notes for Analysis Class

The picture in figure 1.1 helps us to see that the area represents the distance traveled. Figure 1: Area represents distance travelled

, then cv V. Differential Equations Elements of Lineaer Algebra Name: Consider the differential equation. and y2 cos( kx)

Ma/CS 6a Class 22: Power Series

LECTURE NOTES, 11/10/04

PRIME RECIPROCALS AND PRIMES IN ARITHMETIC PROGRESSION

Proposition 2.1. There are an infinite number of primes of the form p = 4n 1. Proof. Suppose there are only a finite number of such primes, say

CHAPTER I: Vector Spaces

Primality Test. Rong-Jaye Chen

Science & Technologies COMMUTATIONAL PROPERTIES OF OPERATORS OF MIXED TYPE PRESERVING THE POWERS - I

1 lim. f(x) sin(nx)dx = 0. n sin(nx)dx

LinearAlgebra DMTH502

Algebraic Geometry I

Putnam Training Exercise Counting, Probability, Pigeonhole Principle (Answers)

6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer.

Introduction to Optimization Techniques

(for homogeneous primes P ) defining global complex algebraic geometry. Definition: (a) A subset V CP n is algebraic if there is a homogeneous

ECE 308 Discrete-Time Signals and Systems

The Boolean Ring of Intervals

MATH 205 HOMEWORK #2 OFFICIAL SOLUTION. (f + g)(x) = f(x) + g(x) = f( x) g( x) = (f + g)( x)

Dirichlet s Theorem on Arithmetic Progressions

SOME NEW OBSERVATIONS ON MERSENNE NUMBERS AND PRIMES

Almost all hyperharmonic numbers are not integers

Math 61CM - Solutions to homework 3

Recurrence Relations

Math 155 (Lecture 3)

L-FUNCTIONS FOR GAUSS AND JACOBI SUMS

Exercises 1 Sets and functions

Chapter 0. Review of set theory. 0.1 Sets

i is the prime factorization of n as a product of powers of distinct primes, then: i=1 pm i

62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 +

Trial division, Pollard s p 1, Pollard s ρ, and Fermat s method. Christopher Koch 1. April 8, 2014

Order doesn t matter. There exists a number (zero) whose sum with any number is the number.

FINITE MULTIPLICATIVE SUBGROUPS IN DIVISION RINGS

Math 299 Supplement: Real Analysis Nov 2013

Introduction To Discrete Mathematics

Axioms of Measure Theory

CS161 Handout 05 Summer 2013 July 10, 2013 Mathematical Terms and Identities

PAPER : IIT-JAM 2010

Complex Numbers Solutions

Solution. 1 Solutions of Homework 1. Sangchul Lee. October 27, Problem 1.1

MA Lesson 26 Notes Graphs of Rational Functions (Asymptotes) Limits at infinity

Linearly Independent Sets, Bases. Review. Remarks. A set of vectors,,, in a vector space is said to be linearly independent if the vector equation

(A sequence also can be thought of as the list of function values attained for a function f :ℵ X, where f (n) = x n for n 1.) x 1 x N +k x N +4 x 3

Singular Continuous Measures by Michael Pejic 5/14/10

Let A(x) and B(x) be two polynomials of degree n 1:

with an even sum and for k 1mod4 1, 2,, n with an odd sum. ,, n of Pascal s triangle count the subsets of 1, 2,, n

4 The Sperner property.

Properties and Tests of Zeros of Polynomial Functions

HILBERT SPACE GEOMETRY

a. How might the Egyptians have expressed the number? What about?

Solutions to Math 347 Practice Problems for the final

Homework 1 Solutions. The exercises are from Foundations of Mathematical Analysis by Richard Johnsonbaugh and W.E. Pfaffenberger.

Sequences and Series

Jacobi symbols and application to primality

REGULARIZATION OF CERTAIN DIVERGENT SERIES OF POLYNOMIALS

5. Matrix exponentials and Von Neumann s theorem The matrix exponential. For an n n matrix X we define

1 Generating functions for balls in boxes

Perfect Numbers 6 = Another example of a perfect number is 28; and we have 28 =

A Note on Bilharz s Example Regarding Nonexistence of Natural Density

A Note on Generalization of Semi Clean Rings

Cardinality Homework Solutions

Vector Spaces and Vector Subspaces. Remarks. Euclidean Space

(II.G) PRIME POWER MODULI AND POWER RESIDUES

1 Summary: Binary and Logic

DIVISIBILITY PROPERTIES OF GENERALIZED FIBONACCI POLYNOMIALS

Lecture 23: Minimal sufficiency

CALCULATION OF FIBONACCI VECTORS

Transcription:

Chater 2. Fiite Fields (Chater 3 i the tet 1. Grou Structures 2. Costructios of Fiite Fields GF(2 ad GF( 3. Basic Theory of Fiite Fields 4. The Miimal Polyomials 5. Trace Fuctios 6. Subfields

1. Grou Structures - Grous ad Cyclic Grous - Rigs ad Fields Defiitio 1 A grou is a set G together with a biary oeratio o G such that the followig three roerties hold: (i is associative; that is, for ay a, b, c G, a(bc=(abc. (iii For each a G, there eists a iverse elemet a -1 G such that a a -1 = a -1 a = e. (ii There is a idetity or (uity elemet e i G such that for all a G, ae = ea = a. Sometimes, we deote the grou as a trile (G,, e. If the grou also satisfies (iv For all a, b G, ab = ba, the the grou is called abelia or commutative. @G. Gog 2

Eamle 1 Let Z, the set cosistig of all itegers Q, the set of all ratioal umbers + ad are ordiary additio ad multilicatio. The (Z, +, 0 (Q, +, 0 (Q*,, 1 are all grous where Q* is the all ozero ratioal umbers. Furthermore, they are abelia. How about (Z*,, 1? @G. Gog 3

Oe of the most imortat structures i cryto: Residues modulo. Let be a ositive iteger (>1 ad Z rereset the set of remaider of all itegers o divisio, i.e., Z = {0, 1, 2,..., -1}. We defie a + b ad ab the ordiary sum ad roduct of a ad b reduced by modulo, resectively. Let Proositio 1 (a (Z, +, 0 forms a grou, (b (Z *,, 1 forms a grou for ay rime. Z * = {a Z a! 0}. @G. Gog 4

b = a i Defiitio 2 A multilicative grou G is said to be cyclic if there is a elemet a G such that for ay b G there is some iteger i with b = a i. Such a elemet a is called a geerator of the cyclic grou, ad we write G = <a>. G 1 a a 3 a 2 @G. Gog 5

Eamles (Z 6, +, 0, cyclic grou with geerators 1 ad 5. (Z 3 *,, 1, cyclic grou with geerator 2. Z 3 * ={1, 2} = <2> ={2 0 = 1, 2}, 2 2 = 1 mod 3. (Z 7 *,, 1, cyclic grou, 3 is a geerator: 3 1 = 3, 3 2 = 2, 3 3 = 6, 3 4 = 4, 3 5 = 5, 3 6 = 1 mod 7 However, 2 3 =1 mod 7. Thus 2 is ot a geerator of Z 7 *. (Z 5 *,, 1, cyclic grou, 2 is a geerator. 2 1 = 2, 2 2 = 4, 2 3 = 3, 2 4 = 1 mod 5, thus Z 5 * = <2>. i.e., every elemet i Z 5 * ca be writte ito a ower of 2. @G. Gog 6

Fiite Grou Defiitio 3 A grou is called fiite if it cotais fiite may elemets. The umber of elemets i G is called the order of G, deoted as G. @G. Gog 7

E.g. - (Z, +,, (Q, +, are rigs. - (Z, +, forms a rig, called the residue class rig modulo. - (Z 4, +, is a rig. Defiitio 4 A rig (R, +, is a set R, together with two biary oeratios, deoted by + ad, such that: (i R is a abelia grou with resect to +. (ii is associative, that is, (a b c=a (b c for all a, b, c R. (iii The distributive laws hold; that is, for all a, b, c R, we have a (b + c = a b + a c ad (b + c a = b a + c a. Rigs ad Fields @G. Gog 8

Let (F, +, be a rig, ad let F* = {a F a! 0}, the set of elemets of F that are o zero. Defiitio 6 A fiite field is a field that cotais a fiite umber of elemets, this umber is called the order of the field. Fiite fields are called Galois fields after their discoverer. E. g. (Q, +,, (R, +, ad (C, +, are fields where R is the set of all real umbers, ad C, the set of all comle umbers. Defiitio 5 A field is a rig (F, +, such that F* together the multilicatio forms a commutative grou. (Z 2, +, forms a fiite field + 0 1 0 1 0 1 1 0 Proositio 2 Let be a rime, the (Z, +, is a fiite field with order. This field is deoted as GF(. 0 1 0 1 0 0 0 1!!! @G. Gog 9

2 Costructios of Fiite Fields GF(2 ad GF( Ste 1 Select, a ositive iteger ad a rime. Ste 2 Choose that f( is a irreducible olyomial over GF( of degree. Ste 3 We agree that is a elemet that satisfies f( = 0. Let For two elemets g(, h( i GF(, we write g( = a 0 + a 1 +... + a -1-1 ad h( = b 0 + b 1 +... + b -1-1. Additio: g( + h( = (a 0 + b 0 + (a 1 +b 1 +... + (a -1 + b -1-1 Multilicatio: g(h( = r( where r( is the remaider of g(h( divided by f(. GF ( = 1 { a0 + a1 + L + a 1 a GF ( } i @G. Gog 10

Eamle 7. Let = 2 ad f( = 3 + + 1. The f( is irreducible over GF(2. Let be a root of f(, i.e., f( = 0. The fiite field GF(2 3 is defied by GF(2 3 = {a 0 + a 1 + a 2 2 a i GF(2}. Table 1. GF(2 3, defied by f( = 3 + + 1 ad f( = 0. As a 3-tule As a olyomial As a ower of 000 = 001 = 0 1 = 0 = 1 010 = = 100 = 2 = 2 011 = 1 + = 3 110 = + 2 = 4 111 = 1 + + 2 = 5 101 = 1 + 2 = 6 7 = 1 @G. Gog 11

Additio: Comutatio i GF(2 3 : g( + h( = (1 + + ( + 2 Multilicatio: We take g( = 1+ ad h( = + 2. = 1 + 2 GF(2 3 g(h( = (1 + ( + 2 = + 2 + 2 + 3 = + 2 + 3 = + 3 = 1 (sice 3 + + 1 = 0. O the other had, g( = 1+ = 3 ad h( = + 2 = 4 We may comute the roduct of g( ad h( as follows g(h( = 3 4 = 7 = 1 @G. Gog 12

3 Basic Theory of Fiite Fields A. Primitive Elemets ad Primitive Polyomials!!! Fact 1 For ay fiite field F, its multilicative grou F *, the set of o zero elemet of F, is cyclic. GF(2 3 * 6 7 5 = 1 4 Defiitio. A geerator of the cyclic grou GF( * is called a rimitive elemet of GF(. A olyomial havig a rimitive elemet as zero is called a rimitive olyomial. E.g Sice 3 + + 1 = 0, the GF(2 * 3 3 + + 1 is a rimitive olyomial over GF(2. 1 2 4 + + 1 is a rimitive olyomial over GF(2. @G. Gog 13

How about f( = 4 + 3 + 2 + + 1? Is it rimitive? f( is irreducible over GF(2. So we ca use f( to defie GF(2 4. Let be a root of f(. 4 5 2 3 = (1 + + + 2 3 4 = + + + = 1 2 = 1+ + + 3 Thus, is ot a rimitive elemet of GF(2 4, so f( is ot rimitive. Remark. The tables of rimitive olyomials over GF(2 of degree 229 ca be foud at Alfred J. Meezes, Paul C. Va Vorschot ad S. A. Vastoe, Hadbook of Alied Crytograhy, CRC Press, 1996, 161. @G. Gog 14

B. Structure of GF( Let GF( be defied by f( = 0 where f( is rimitive, the the elemets i the field have the followig two reresetatios. GF( 1 = { a0 + a1 + L+ a 1 a GF( } i (vector reresetatio i = { 0 i < 1, i = } (eoetial reresetatio (we defie 0 = Remark. Vector reresetatio is efficiet for comutatio of additio ad the eoetial reresetatio is efficiet for comutatio of multilicatio. For small field, for eamle, = 2 ad < 40, it is much more efficiet tha to use the eoetial reresetatio for comutatio of multilicatio ad the vector reresetatio for that of additio where it stores the add 1 table for coversio from the vector reresetatio to the eoetial reresetatio. @G. Gog 15

Discrete Logarithm i GF(!!! Let be a rimitive elemet i GF( ad, a arbitrary ozero elemet i GF(. Fid k such that k = is called a discrete logarithm of uder the base. Zech s logarithm: For ay 0< k < -1, fid k such that ' k = k + 1 @G. Gog 16

4 Miimal Polyomials Defiitio. Let GF( ad m( be a moic olyomial over GF(, m( r 1 = = i 0 c i i + r, c i GF ( m( is called a miimal olyomial (MP of if m( is the olyomial with the lowest degree such that m( = 0. @G. Gog 17

Proerties of Miimal Polyomials Suose that m( is the MP of GF(, the (1 m( is irreducible over GF(. (2 m ( (3 the degree of m( is a factor of, i.e. deg m(. (4 the miimal olyomial of a rimitive elemet of GF( has degree. @G. Gog 18

Algorithm for Fidig Miimal Polyomial Iut: - f(, a rimitive olyomial over GF( of degree ; -, a root of f(; - = k a elemet i GF(. Outut: The miimal olyomial of over GF(. Procedure_MP( Ste 1. Geerate the fiite field GF( by f( Ste 2. Comute s such that s is the smallest umber satisfyig k s k mod 1. Ste 3. Comute m ( = ( ( L( Retur m ( igf( @G. Gog 19 s1.

Eamle 8. For GF(2 4, defied by 4 + + 1 = 0, comute the miimal olyomial of 7. Solutio. Alyig rocedure_mp(, here we have = 7 where k = 7. Comute s such that s is the smallest iteger satisfyig 7 2 s 7 mod 15 ( trial ad error method, we have s = 4. m 7 7 27 2 7 ( = ( ( ( ( 7 14 13 11 = ( + ( + ( + ( + 2 14 7 6 = [ + ( + + ][ 2 6 2 4 9 = ( + + ( + + 4 3 9 5 6 = + + ( + + 2 2 + 1 3 2 7 4 4 3 9 5 6 2 10 10 = + ( + + ( + + + ( + + 1 4 3 = + + 1 2 11 13 9 + ( + + ] 4 3 Thus, m 7 ( = + + 1. @G. Gog 20

5 Trace Fuctios Proerty 1. (a The trace fuctio is a liear fuctio. (b Defiitio. A trace fuctio Tr ( of GF( /GF( is a fuctio from GF( to GF( defied as follows ( + Tr( = y = + + y + L+ 1 Tr( : GF( GF(,, ygf(. Eamle 9. Let GF(2 3 be defied by 3 + + 1 = 0. Solutio. Tr( = + + Tr 3 Comute Tr( ad Tr(. 2 2 = (1 + + (1 + + (1 + + = 1 2 2 4 = + + + 3 3 6 5 ( = + + 2 = 0 @G. Gog 21

6. Subfields A subfield of GF( N GF( N is a subset of which itself forms a field. E is a subfield of GF( where m N ( m is a factor of N, i. e., GF( m N E = GF( GF( m if ad oly if N. E.g. 2 GF(2 GF(2 4 GF(2 GF(2 12 4 GF(2 6 We write N = m ad deote the trace GF(2 3 GF(2 2 fuctio from GF( Tr N m (, i. e., N to GF( m as GF(2 Tr N m ( = + q + L+ q m1, where q = m. @G. Gog 22

Proerty 2. (Trasitivity For a field chai GF( we have m GF( GF( m Tr1 ( = Tr1 ( Tr ( m!!! Tr m GF( m 1 ( GF( GF(2 8 Tr m ( Tr 1 ( GF( 8 ( Tr 4 This is the uderlie structure of GMW sequeces. Tr 1 GF( @G. Gog 23 8 ( 4 ( Tr 1 GF(2 4