The Structure of Z p when p is Prime

Similar documents
MATH 304: MIDTERM EXAM SOLUTIONS

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

Lecture 1. January 8, 2018

SOLVED EXAMPLES

Bertrand s Postulate

MATH 324 Summer 2006 Elementary Number Theory Solutions to Assignment 2 Due: Thursday July 27, 2006

Seunghee Ye Ma 8: Week 5 Oct 28

M3P14 EXAMPLE SHEET 1 SOLUTIONS

Square-Congruence Modulo n

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

CSE 1400 Applied Discrete Mathematics Number Theory and Proofs

Fermat s Little Theorem. mod 13 = 0, = }{{} mod 13 = 0. = a a a }{{} mod 13 = a 12 mod 13 = 1, mod 13 = a 13 mod 13 = a.

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

Math 4400/6400 Homework #7 solutions

Solutions to Math 347 Practice Problems for the final

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

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

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

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

USA Mathematical Talent Search Round 3 Solutions Year 27 Academic Year

DIVISIBILITY PROPERTIES OF GENERALIZED FIBONACCI POLYNOMIALS

Cardinality Homework Solutions

and each factor on the right is clearly greater than 1. which is a contradiction, so n must be prime.

Solutions to Problem Set 8

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

Infinite Sequences and Series

3.2.4 Integer and Number Theoretical Functions

SOME TRIBONACCI IDENTITIES

International Baccalaureate LECTURE NOTES MATHEMATICS HL FURTHER MATHEMATICS HL Christos Nikolaidis TOPIC NUMBER THEORY

Math 451: Euclidean and Non-Euclidean Geometry MWF 3pm, Gasson 204 Homework 3 Solutions

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

The multiplicative structure of finite field and a construction of LRC

Induction: Solutions

Summary: Congruences. j=1. 1 Here we use the Mathematica syntax for the function. In Maple worksheets, the function

(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

Exam 2 CMSC 203 Fall 2009 Name SOLUTION KEY Show All Work! 1. (16 points) Circle T if the corresponding statement is True or F if it is False.

sin(n) + 2 cos(2n) n 3/2 3 sin(n) 2cos(2n) n 3/2 a n =

ALGEBRA HW 7 CLAY SHONKWILER

Math 4107: Abstract Algebra I Fall Webwork Assignment1-Groups (5 parts/problems) Solutions are on Webwork.

Primality Test. Rong-Jaye Chen

Math 609/597: Cryptography 1

Complex Numbers Solutions

Some p-adic congruences for p q -Catalan numbers

Chapter 3. Strong convergence. 3.1 Definition of almost sure convergence

1 Last time: similar and diagonalizable matrices

[ 11 ] z of degree 2 as both degree 2 each. The degree of a polynomial in n variables is the maximum of the degrees of its terms.

6.3 Testing Series With Positive Terms

Inverse Matrix. A meaning that matrix B is an inverse of matrix A.

Recurrence Relations

Math F215: Induction April 7, 2013

These Two Weeks. Mathematical Induction Chapter 4 Lecture 10 & Lecture 13. CPRE 310 Discrete Mathematics. Mathematical Induction Problems

Classroom. We investigate and further explore the problem of dividing x = n + m (m, n are coprime) sheep in

Homework 9. (n + 1)! = 1 1

Matrix Algebra 2.3 CHARACTERIZATIONS OF INVERTIBLE MATRICES Pearson Education, Inc.

Read carefully the instructions on the answer book and make sure that the particulars required are entered on each answer book.

Chapter Vectors

Jacobi symbols. p 1. Note: The Jacobi symbol does not necessarily distinguish between quadratic residues and nonresidues. That is, we could have ( a

Solutions to Tutorial 3 (Week 4)

Math 299 Supplement: Real Analysis Nov 2013

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).

Math 113 Exam 3 Practice

Fourier Analysis, Stein and Shakarchi Chapter 8 Dirichlet s Theorem

1. By using truth tables prove that, for all statements P and Q, the statement

MATH10212 Linear Algebra B Proof Problems

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 +

Sequences, Mathematical Induction, and Recursion. CSE 2353 Discrete Computational Structures Spring 2018

Different kinds of Mathematical Induction

Lecture 23 Rearrangement Inequality

Math 140A Elementary Analysis Homework Questions 3-1

b i u x i U a i j u x i u x j

By the end of this section you will be able to prove the Chinese Remainder Theorem apply this theorem to solve simultaneous linear congruences

Congruence Modulo a. Since,

Math 220A Fall 2007 Homework #2. Will Garner A

Math 113, Calculus II Winter 2007 Final Exam Solutions

page Suppose that S 0, 1 1, 2.

Random Models. Tusheng Zhang. February 14, 2013

ACO Comprehensive Exam 9 October 2007 Student code A. 1. Graph Theory

Beurling Integers: Part 2

Discrete Math Class 5 ( )

Sect 5.3 Proportions

Modern Algebra 1 Section 1 Assignment 1. Solution: We have to show that if you knock down any one domino, then it knocks down the one behind it.

Math 140A Elementary Analysis Homework Questions 1

(b) What is the probability that a particle reaches the upper boundary n before the lower boundary m?

ON THE LEHMER CONSTANT OF FINITE CYCLIC GROUPS

Basic Sets. MTH299 - Examples. Example 1. Let S = {1, {2, 3}, 4}. Indicate whether each statement is true or false. (a) S = 4

Topic 1 2: Sequences and Series. A sequence is an ordered list of numbers, e.g. 1, 2, 4, 8, 16, or

Part A, for both Section 200 and Section 501

1. ARITHMETIC OPERATIONS IN OBSERVER'S MATHEMATICS

Math 61CM - Solutions to homework 1

MA541 : Real Analysis. Tutorial and Practice Problems - 1 Hints and Solutions

4 Mathematical Induction

MATH 112: HOMEWORK 6 SOLUTIONS. Problem 1: Rudin, Chapter 3, Problem s k < s k < 2 + s k+1

Sequences. Notation. Convergence of a Sequence

= 4 and 4 is the principal cube root of 64.

Chapter 6 Infinite Series

Definition 4.2. (a) A sequence {x n } in a Banach space X is a basis for X if. unique scalars a n (x) such that x = n. a n (x) x n. (4.

LECTURE NOTES, 11/10/04

Math 104: Homework 2 solutions

A Simple Derivation for the Frobenius Pseudoprime Test

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

Transcription:

LECTURE 13 The Structure of Z p whe p is Prime Theorem 131 If p > 1 is a iteger, the the followig properties are equivalet (1) p is prime (2) For ay [0] p i Z p, the equatio X = [1] p has a solutio i Z p (3) Wheever [b] p = [0] p i Z p, the = [0] p or [b] p = [0] p Proof (1) (2) Suppose p is a positive prime ad [0] p i Z p We wat to show that the equatio X = [1] p has a solutio i Z p Now sice [0] p, a 0 kp so a is ot divisible by p Sice the oly divisors of p are ±1 ad ±p ad because p a, we must have GCD(a, p) = 1 But the by Theorem 13, there exists itegers u ad v such that This equatio, however, is equivalet to ua + vp = 1 ua 1 = vp which implies that ua 1 (mod p), or [ua] p = [1] p Settig X = [u] p we have so X = [u] p is a solutio [x] p = [u] p = [au] p = [1] p, (2) (3) Suppose [b] p = [0] p i Z p If = [0] p there is othig to prove, If [0] p the by (2) there exists a solutio [u] p Z p such that But the [u] p = [1] p [0] p = [u] p [0] p = [u] p ( [b] p ) = ([u] p ) [b] p = [1] p [b] p Hece, i every case we have either = [0] p or [b] p = [0] p (3) (1) Let a be ay divisor of p; say p = ab I order to show that p is prime we must show a = ±1, ±p Now p = ab ab 0 = p [ab] p = [0] p [b] p = [0] p i Z p By (3) the either = [0] p or [b] p = [0] p Now = [0] p implies a 0 = kp which implies p a, or that a = sp But the p = ab = spb Dividig both sides by p shows that sb = 1 Sice s ad b are itegers the oly possibilities are that s = ±1 ad b = ±1 Hece b = ±1 ad so a = ±p O the other had, a similar argumet shows that whe [b] p = 0, we must have a = ±1 ad b = ±p Hece if (3) holds, the the oly factors of p are ±1 ad ±p, so p is prime 47

13 THE STRUCTURE OF Z p WHEN p IS PRIME 48 We ll ow prove three easy corollaries to this theorem Corollary 132 Let p be a positive prime For ay 0 ad ay [b] p Z p, the equatio X has a uique solutio i Z p Proof We eed to prove that two thigs, that X has a solutio i Z p ad that that solutio is uique Existece: Sice p is prime, by (2) of the precedig theorem, X = [1] p has a solutio i Z p Let [c] p be that solutio Multiplyig both sides of this equatio by [b] p, we get [b] p [c] p [1] p = ( [bc] p ) Thus, [bc] p will be a solutio of x Uiqueess: Suppose both Subtractig these two equatios we have [c 1 ] p [c 2 ] p ) [a p ] ([c 1 ] p [c 2 ] p = [0] p Sice p is prime ad [0] p by hypothesis, statemet (3) of the precedig theorems says [c 1 ] p [c 2 ] p = [0] p = [c 1 ] p = [c 2 ] p Corollary 133 Let a ad be itegers with > 1 The GCD(a, ) = 1 if ad oly if the equatio X = [1] i Z has a solutio Proof Suppose GCD(a, ) = 1 The by Theorem 13, there exist itegers u ad v such that But the so au is cogruet to 1 modulo Hece Thus, [u] is a solutio of X = [1] i Z 1 = au + v au 1 = v [1] = [au] = [u] Suppose [x] = [1] has a solutio [u] i Z The au is cogruet to modulo But this implies au 1 = q or au q = 1 It follows from this equatio that ay commo divisor of a ad must divide 1 Therefore, GCD(a, ) = 1 Defiitio 134 Wheever there is solutio i Z to the equatio X = [1] we say that is a uit i Z Wheever there is a o-trivial solutio (ie, a solutio other tha the obvious oe X ) of X we say that is a zero divisor i Z

13 THE STRUCTURE OF Z p WHEN p IS PRIME 49 Lemma 135 Let be a positive iteger If Z, the is either a uit or a zero divisor Proof From the fact that GCD (a, ) 1 always, we have two distict cases: GCD (a, ) = 1 I this case, we kow from Corollary 133 that is a uit i Z We will show that caot also be a zero divisor Suppose we had a elemet [b] [0] such that [b] Let [a] 1 be the solutio of X = [1] guarateed by Corollary 133The we would have [1] = [a] 1 ( ) [b] [1] = [b ] [a] 1 [b] = ([b] ) [a] 1 [a] 1 which cotradicts our hypothesis that [b] [0] Therefore whe GCD (a, ) = 1, is a uit but ot a zero divisor Suppose GCD (a, ) = d > 1 I this case, the if ad oly if part of Corollary 133 tells us that ca ot be a uit i Z To see that is a zero divisor, we ote GCD (a, ) = d meas d divides both a ad, ad moreover, 1 < d Now if d =, the this meas that divides a ad so, ad hece will be a zero divisor (as ay [k] time [0] produces [0] ) So ow we suppose 1 < d < Write We the have a = qd = sd with 1 < s, d < [s] = [as] = [(qd) s] = [q (ds)] = [q] Sice 1 < s < we have [s] [0] ad yet [s] Thus, whe GCD(a, ) > 1 is a zero divisor but ot a uit Corollary 136 Let a, b, be itegers with > 1 ad GCD (a, ) = 1 The the equatio has a uique solutio i Z x Proof Suppose GCD (a, ) = 1, the as above we have itegers u, v Z such that Now multiply both sides by [b] ad we get So [bu] [u] is a solutio of x au + v = 1 = [au v] = [1] = [au] [v] = [1] = [au] [0] = [1] = [u] = [1] ([b] [u] ) = [1] [b] To see that this solutio is uique argue as i Corollary 132 Suppose we had two solutios Subtractig oe equatio from the other we get [c 1 ] [c 2 ] ([c 1 ] [c 2 ] )

13 THE STRUCTURE OF Z p WHEN p IS PRIME 50 Because [a ] has o zero divisors (by Corollary 133 ad Lemma 135), we must coclude that [c 1 ] [c 2 ] [c 1 ] = [c 2 ] ad so the two solutios i fact must coicide Theorem 137 Let a, b, be itegers with > 1, ad let d = GCD (a, ) The (i) The equatio x has a solutio i Z if ad oly if d b (ii) If d b, the the equatio x has d distict solutios i Z p Proof (i) = Suppose x has a solutio i Z ad let [c] be that solutio We have [c] = [ac] = ac = b (mod ) = ac b = k for some k Z But the (*) b = ac k So aythig that divides both a ad, will divide the right had side of (*) ad hece, b (the left had side of (*)) I particular, the greatest commo divisor of a ad divides the right had side of (*), so d = GCD(a, ) divides b (i) = Suppose d = GCD(a, ) ad d b Sice d = GCD (a, ) there exists itegers u, v such that (**) d = au + v Sice d b, there exists a iteger k such that b = kd Now multiply both sides of (**) by k The we have b = kd = a (ku) + (kv) = b a (ku) (mod ) = [b] = [aku] = [ku] Hece [ku] is a solutio of x (ii) Suppose d = GCD (a, ) ad d b I fact, sice d = GCD (a, ), d a ad d Write = rd a = sd I claim (ar) Ideed, ar = (sd) r = s (rd) = s = (ar) Now suppose [c] is a solutio of x I claim [c + r] is also a solutio Ideed, if the if we replace c by c + r, we get [c] [c + r] = [c] + [ar] + [ar], sice [c] is a solutio of x + [0], sice ar is divisible by But if [c + r] is a solutio so is [c + r + r] = [c + 2r], as well as [c + 3r], etc Clearly we ca geerate lots of solutios this way The questio is, whe do stop gettig ew solutios this way (recall that Z oly has elemets, so we ca t get a ifiite umber of solutios) Well, we will keep gettig ew cogruece

13 THE STRUCTURE OF Z p WHEN p IS PRIME 51 classes util [c + kr] = [c + ] I other words util kr = But r was defied as the solutio of dr = Therefore, we ll get the followig cogruece classes as solutios [c], [c + r], [c + 2r],, [c + (d 1) r] It is easy to see that these are all distict sice 0 kr < for k {0, 1,, d 1}