z 0 and y even had the form



Similar documents
GREATEST COMMON DIVISOR

Intermediate Math Circles March 7, 2012 Linear Diophantine Equations II

Unique Factorization

11 Ideals Revisiting Z

SOLUTIONS FOR PROBLEM SET 2

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

Polynomial Degree and Finite Differences

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

Unit 6: Polynomials. 1 Polynomial Functions and End Behavior. 2 Polynomials and Linear Factors. 3 Dividing Polynomials

POLYNOMIAL FUNCTIONS

How To Know If A Domain Is Unique In An Octempo (Euclidean) Or Not (Ecl)

GCDs and Relatively Prime Numbers! CSCI 2824, Fall 2014!

Numerical Analysis Lecture Notes

Section 4.2: The Division Algorithm and Greatest Common Divisors

8 Primes and Modular Arithmetic

Some Polynomial Theorems. John Kennedy Mathematics Department Santa Monica College 1900 Pico Blvd. Santa Monica, CA

The Division Algorithm for Polynomials Handout Monday March 5, 2012

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

The Factor Theorem and a corollary of the Fundamental Theorem of Algebra

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

MACM 101 Discrete Mathematics I

Introduction to Modern Algebra

MATH 22. THE FUNDAMENTAL THEOREM of ARITHMETIC. Lecture R: 10/30/2003

Mathematics 31 Pre-calculus and Limits

Polynomial and Synthetic Division. Long Division of Polynomials. Example 1. 6x 2 7x 2 x 2) 19x 2 16x 4 6x3 12x 2 7x 2 16x 7x 2 14x. 2x 4.

Today s Topics. Primes & Greatest Common Divisors

DEFINITION A complex number is a matrix of the form. x y. , y x

PROBLEM SET 6: POLYNOMIALS

Polynomials and Factoring

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 ]

PROPERTIES OF ELLIPTIC CURVES AND THEIR USE IN FACTORING LARGE NUMBERS

8 Divisibility and prime numbers

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

α = u v. In other words, Orthogonal Projection

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

MATH 289 PROBLEM SET 4: NUMBER THEORY

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

6 EXTENDING ALGEBRA. 6.0 Introduction. 6.1 The cubic equation. Objectives

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

Some facts about polynomials modulo m (Full proof of the Fingerprinting Theorem)

Number Theory Hungarian Style. Cameron Byerley s interpretation of Csaba Szabó s lectures

SECTION P.5 Factoring Polynomials

SOLVING POLYNOMIAL EQUATIONS

POLYNOMIAL RINGS AND UNIQUE FACTORIZATION DOMAINS

The Euclidean Algorithm

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

7. Some irreducible polynomials

Zeros of Polynomial Functions

Applications of Fermat s Little Theorem and Congruences

Notes from February 11

CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY

Algebraic Structures II

Integer roots of quadratic and cubic polynomials with integer coefficients

SUM OF TWO SQUARES JAHNAVI BHASKAR

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

Notes on Factoring. MA 206 Kurt Bryan

SECTION A-3 Polynomials: Factoring

Polynomials. Jackie Nicholas Jacquie Hargreaves Janet Hunter

Factoring Polynomials

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University

MATH10040 Chapter 2: Prime and relatively prime numbers

CS 103X: Discrete Structures Homework Assignment 3 Solutions

it is easy to see that α = a

Factoring Patterns in the Gaussian Plane

The Ideal Class Group

DIVISIBILITY AND GREATEST COMMON DIVISORS

COMMUTATIVE RINGS. Definition: A domain is a commutative ring R that satisfies the cancellation law for multiplication:

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

Math Review. for the Quantitative Reasoning Measure of the GRE revised General Test

The finite field with 2 elements The simplest finite field is

Homework until Test #2

Chapter 4. Polynomial and Rational Functions. 4.1 Polynomial Functions and Their Graphs

Basic Algorithms In Computer Algebra

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

Module MA3411: Abstract Algebra Galois Theory Appendix Michaelmas Term 2013

If A is divided by B the result is 2/3. If B is divided by C the result is 4/7. What is the result if A is divided by C?

Breaking The Code. Ryan Lowe. Ryan Lowe is currently a Ball State senior with a double major in Computer Science and Mathematics and

3.2 The Factor Theorem and The Remainder Theorem

CONTENTS 1. Peter Kahn. Spring 2007

Section 5.0A Factoring Part 1

SECTION 0.6: POLYNOMIAL, RATIONAL, AND ALGEBRAIC EXPRESSIONS

9. POLYNOMIALS. Example 1: The expression a(x) = x 3 4x 2 + 7x 11 is a polynomial in x. The coefficients of a(x) are the numbers 1, 4, 7, 11.

Review of Intermediate Algebra Content

Computing exponents modulo a number: Repeated squaring

Math 4310 Handout - Quotient Vector Spaces

FACTORING OUT COMMON FACTORS

How do you compare numbers? On a number line, larger numbers are to the right and smaller numbers are to the left.

CONTINUED FRACTIONS AND FACTORING. Niels Lauritzen

EXERCISES FOR THE COURSE MATH 570, FALL 2010

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

SUNY ECC. ACCUPLACER Preparation Workshop. Algebra Skills

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

Continued Fractions and the Euclidean Algorithm

Core Maths C2. Revision Notes

Multiplying and Dividing Algebraic Fractions

Applied Algorithm Design Lecture 5

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

How To Prove The Dirichlet Unit Theorem

Zeros of Polynomial Functions

Section A-3 Polynomials: Factoring APPLICATIONS. A-22 Appendix A A BASIC ALGEBRA REVIEW

Transcription:

Gaussian Integers The concepts of divisibility, primality and factoring are actually more general than the discussion so far. For the moment, we have been working in the integers, which we denote by Z with the familiar notions of addition and multiplication. Now we generalize these notions to include non-integers, and especially, comple numbers. Before we give definitions, here is a motivation from the theory of Diophantine equations. We spent quite a bit of time manipulating algebraic epressions to solve the Diophantine equation y z It was shown that all solutions with (, y, 1 and, y, z 0 and y even had the form u v, y uv, z u v where ( u, v) 1 and eactly one of u and v is even. We also saw that for certain types of Diophantine equations it was helpful to factor part of the equation, for instance 3 y 3 is the same as ( y)( y y ) and this leads to y 1 y y and then y 1 and so 3y 3y 1 but the latter is impossible so there is no solution. Here is an informal way we could combine the two approaches. Suppose we allow comple numbers when factoring the equation. This then allows y ( iy)( iy) and if this is to be a square, we might think iy and iy should be squares: iy ( u iv) for some integers u and v. Epanding it out we get iy u v iuv and in the comple numbers this means u v and y uv. This agrees with what we proved in class. One point of the Gaussian integers is to make this rigorous.

1. Ring of Gaussian Integers Definition 1.1. The ring of Gaussian integers, denoted Z [i] consists of the set of comple numbers of the form iy where and y are integers and the usual rules of comple addition and multiplication. Clearly the product and sum of Gaussian integers is again a Gaussian integer. We can assign to each Gaussian integer the modulus or length of the corresponding comple number: Definition 1.. [Norm] If z iy is a Gaussian integer then the norm of z is z y. A unit is a Gaussian integer with norm 1. Definition 1.3. [Divisors] If w, z are Gaussian integers, then we write w z, or w divides z, if there is a Gaussian integer v such that z vw, and w is called a divisor of z. A very useful fact about norms is their multiplicativity: Lemma 1. If a, b Z[ i], then ab) a) b). In particular if a b then a ) b). Proof. Suppose a a1 ai,b 1 i. Then ab) ( a1 ia)( b1 ib)) a1b1 ( a ) ( ) 1b1 ab ab1 a1b ( a )( 1 a b 1 ) a) b) ab i( ab1 a1b )) This proves the lemma. The only Gaussian integers with norm 1 are 1, i since these are the four points in the comple plane on the unit circle with integer co-ordinates.

. Gaussian Primes Definition.1. [Gaussian Primes] If a Gaussian integer z is not a unit and the only divisors of z are units and z times a unit, then z is called a Gaussian prime. Eample. If n is an integer that is not prime, then of course n cannot be a Gaussian prime. If p is an integer prime, then is p a Gaussian prime? The answer is no, because ( 1 i )(1 i) so is not a prime. However, 3 is a prime since ( iy)( a ib) 3 means a y 3 and ay 0. This means ( a ) 3 but then since a ib is not a unit, meaning a 1, we must have a 3 and we already know this is impossible. So 3 is a prime. This eample was instructive, since it already suggest which primes are Gaussian primes: they are the primes p such that y p has no solution: Theorem.1. The integer primes that are Gaussian primes are integer primes p such that y p has no solution. Proof. If p is an integer prime with a solution (a,b) to y p then ( a i b)( a ib) a p So p is not a Gaussian prime. Now if p is not a Gaussian prime, then ( i y)( a ib) p for some Gaussian integers iy, a ib. As in the eample, this means a y p and ay 0. This means ( a ) p but then since a ib is not a unit, meaning a 1, we must have a p and so the equation has a solution. Lemma.1. Let z Z[i]. If z ) is an integer prime, then z is a Gaussian prime. Proof. Suppose z is not a Gaussian prime, so there are non-units a and b with z ab. By Lemma 1, ab) a) b), and since a) 1 b), z ) is conjugate. Soon we shall see that the only Gaussian integers that are Gaussian primes are the ones which are integer primes as in Theorem.1, or the ones whose norm is a prime.

Fundamental Theorem of Arithmetic for Gaussian Primes. Let z Z[i]. Then up to reordering and multiplication by units, there eist unique Gaussian primes z 1, z,..., such that z z1z.... We cannot prove this theorem yet, but we can show already that every Gaussian integer is a product of Gaussian primes, using the norm: Prime Factorization Theorem. Let z Z[i]. Then there eist Gaussian primes z 1, z,..., such that z z1z.... Proof. If z is itself a Gaussian prime, then we are done. Now we proceed by induction on the norm. If z ab where a ) 1, b) 1. Since ab) a) b) we have a), b). By induction, a and b have prime factorizations and therefore so does z. The etra steps needed to go from this to the fundamental theorem involve the definition of greatest common divisors and the Euclidean algorithms. The main step we used to prove unique factorization in the integers is that if p is a prime and p ab then p a or p b. The same turns out to hold in the Gaussian integers, but we have to prove it.

3. Euclidean Algorithms The Euclidean division theorem in the integers says that for any non-zero integers n and m, there eist unique non-negative integers q, r such that r m and n qm r. A Euclidean division theorem eists for Gaussian integers just as it eists for the integers. Euclidean Division Theorem, For any non-zero Gaussian integers, y, there eist Gaussian integers q, r such that r) ) and qy r. We have y if and only if r 0. Proof. The Gaussian multiples of the comple number y make a square lattice whose squares have side length y ). Now (red point below) lies in one of the squares of the lattice, so is at distance less than y ) from the closest corner qy (blue point below). That means for some Gaussian integer r with r) ), qy r. For the second part, if r = 0 then clearly y. If y, say wy, then by Lemma 1 (multiplicativity), y) r) qy) y( w q)) y) w q) This is impossible unless w q) 0. Then w q and r qy wy wy 0. y){ y + iy y + iy y y y 3y 4y There is one important difference relative to the integers, and that is the absence of the word unique: the Gaussian integers are not unique in this theorem. We call r a remainder and q a quotient. The key point is that the norm of r is less than the norm of y.

The Euclidean division theorem can be turned into an algorithm for finding quotient and remainder. Euclidean Division Algorithm, For any non-zero Gaussian integers, y, a quotient q and remainder r can be found by writing / y u iv, rounding u and v to their nearest integers U and V, and letting q U iv and r = qy. Eample. Find a quotient, remainder when 3 i is divided by y = 1 3i. First we write 3 i 3 11 i. 1 3i 10 10 3 11 The nearest integer to is 0 and the nearest integer to 10 10 is -1. Therefore we may take the quotient to be q i and write 3 i i( 1 3i) i and a remainder is i. Note again that the quotient and remainder are not unique, we could just as well have taken them to be 1 - i and 1 + i, as long as the norm of the remainder is less than the norm of y. Definition 3.1. [GCD] A common divisor of Gaussian integers w and z is a Gaussian integer y that divides w and z. A greatest common divisor of w, z is a common divisor of w and z with greatest norm. If the norm is 1, then the Gaussian integers are relatively prime. Two Gaussian integers in general have many gcds. Let ( z, w) be the set of gcds of w and z. Gcds are found as in the Euclidean gcd algorithm: if w) write z qw r as in the Euclidean division theorem. If g is a gcd of w and r, then g ( z, w) but we have reduced the norm, so we can repeat until the remainder is zero. This is a Euclidean gcd algorithm.

Eample. Find a gcd of 3 i and 1 i. First we apply the division algorithm: 3 i 5 1 i 1 i and so a quotient is i. Therefore 3 + i = ( - i)(1 + i) + i. We know a gcd of 3 i and 1 i is a gcd of 1+i and i. Now 1 + i = (1 - i).i + 0, and we stop. So we know a gcd is i, which is a unit, and this tells us the two numbers are relatively prime. A consequence of the gcd algorithm, working backwards as in the integers, is the following: GCD Property Any gcd of two Gaussian integers is a linear combination of them. Prime Divisor Property If p is a Gaussian prime and p wz then p w or p z. Proof. Suppose p doesn t divide w. Then every gcd of p and w is a unit u. By the GCD property, u = rp + sw for some Gaussian integers r, s, and so uz = rpz + swz. But p is a divisor of everything on the left, so p uz and that means (check it) p z. Proof of Fundamental Theorem of Arithmetic for Gaussian Primes. We already saw that each z Z[i ] has a prime factorization z z1z.... The unique factorization theorem is clearly true for units i.e. Gaussian integers of norm 1. Now proceed by induction on the norm. If z ) 1 and z is a Gaussian prime we are done. Otherwise, if p z is a prime divisor of largest norm, then by the prime divisor property, p is one of z 1, z,..., z k. Then z / p) so by induction z/p has a prime factorization that is unique. Then clearly adding p gives the unique factorization of z. We have concluded that while gcds are not unique in the Gaussian integers, they still enjoy unique factorization as in the integers. Now we are going to put this property to work, and in the end, to solve some Diophantine equations.