Euclidean Domains and the Gaussian Integers : an Application

Total Page:16

File Type:pdf, Size:1020Kb

Euclidean Domains and the Gaussian Integers : an Application Euclidean Domains and the Gaussian Integers : An Application Shreejit Bandyopadhyay July 28, 2013 Abstract Commutative algebra is essentially the study of commutative rings and in this paper, we shed some light on a highly important class of such rings - the Euclidean domain. We then show that the ring of Gaussian integers is an example of such a domain and thereby prove a famous theorem in number theory, due to Fermat, which states that any prime number p, of the form 4n + 1, can be expressed as the sum of squares of two integers while no prime of the form 4n + 3 can be so expressed. 1 Introduction Before we begin our study of Euclidean domains, we'd like to give a few defini- tions to begin our discussion. Definition. A ring is a set R in which are defined two operations, often called the sum and product, and denoted by + and . respectively, which satisfy the following axioms : 1. With respect to the operation +, R is an abelian group. So R has an additive identity, denoted by 0, and for every a 6= 0 2 R, −a 2 R too. The + operation is both associative and commutative. 2. The operation . in R is associative and has the identity element 1. 3. The distributive law a:(b + c) = a:b + a:c holds for all a; b; c 2 R. If, in addition, the operation . in R is commutative, R is said to be a commutative ring. All rings we consider in this paper will be commutative. Definition. An element a 6= 0 in a commutative ring R is said to be a zero divisor if there exists a b 6= 0 in R, such that ab = 0. Definition. A commutative ring R is said to be an integral domain if it has no zero divisors, i.e, if in R, ab = 0 implies either a = 0 or b = 0 (or both). 1 Definition. An element a 6= 0 in a commutative ring R is said to be a unit if it has a multiplicative inverse in R, an element b 6= 0 such that ab = ba = 1, in R. Definition. An integral domain R is said to be an Euclidean domain if in R there is defined, for every a 6= 0, an integer d(a) ≥ 0 satisfying : (i) For all a; b 2 R, d(a) ≤ d(ab), equality holding iff b is a unit in R. (ii) (Division algorithm) For all a; b 2 R, there exist q; r 2 R satisfying a = qb+r with r = 0 or d(r) < d(b). With these definitions in our hand, we now embark on a brief study of Euclidean domains in general and the domain of Gaussian integers in particular, which would eventually enable us to prove the so-called two-square theorem of Fermat. 2 Euclidean Domains In this section, we review some properties of Euclidean domains which will carry over to the ring of Gaussian integers, which, as we shall see, is an example of such a domain. Before we carry on, however, a few more definitions will be necessary. As we've already specified, all rings we discuss will be commutative ones. Definition. An ideal I of a ring R is a subset of R satisfying the following conditions : 1. With respect to the operation +, I is a subgroup of R. 2. For all a 2I and all r 2R, ra 2I (and hence, by commutativity, ar 2I, too). Definition. Given an ideal I of a ring R, a set (a1; a2; :::; an) of elements of I is said to generate I if every a 2I can be written as a linear combination of P these ais with coefficients in R, i.e., a = riai with ri 2R, for some i. In this case, we write I=(a1; a2; :::; an). Definition. An integral domain R is said to be a principal ideal domain (PID) if every ideal of R is generated by one element, i.e, if for any ideal I of R, there is an a 2I such that the elements of I are precisely the elements ra; r 2 R. Theorem. An Euclidean domain is a principal ideal domain. Proof. Let I be an ideal of an Euclidean domain R. If I contains only the element 0, there's nothing to prove. Otherwise, I has an element a0 6= 0. We choose the non-zero element a in I with the least d-value, i.e, with the least value of d(a). Note that since the d-values are non-negative integers, this is always possible. 2 We now show that all elements in I are actually multiples of a. Since the very definition of ideal forces every multiple of a to be in I, it will show that I=(a), proving the theorem. Let b 2I be an arbitrary element. Then b = qa + r, for some q; r 2I, with r = 0 or d(r) < d(a). Since a 2I, so is qa and b 2I also holds. So, by the definition of an ideal, r = b − qa 2I too. But then, by our choice of a, d(r) < d(a) is impossible. So, r = 0 and b = qa is a multiple of a. Definition. Let R be a commutative ring. Given a; b 2R, a greatest common divisor of a and b in R, denoted by (a; b), is an element d 2R such that 1. dja and djb in R. 2. If cja and cjb in R, cjd in R as well. Theorem. Let R be an Euclidean domain. Any two elements a; b 2R has a greatest common divisor in R. Moreover, d = pa + qb, for some p; q 2R. Proof. Let I=(ma + nb : m; n 2R). We claim that I is an ideal of R. This holds because if x = m1a+n1b and y = m2a+n2b are in I, x+y = (m1 +m2)a+(n1 + n2)b 2I since (m1 + m2); (n1 + n2) 2R. Also, if r 2R, rx = (rm1)a + (rn1)b 2I since rm1; rn1 2R. Once I has been shown to be an ideal of R, by the previous theorem, we can conclude that I=(d) for some d 2R. All elements of I are then multiples of this d. Since 0 2R and 1 2R, 1:a + 0:b 2I and 0:a + 1:b 2I both hold, i.e, a; b 2I. So, both a and b must be multiples of d, that is, dja and djb. Also, d being an element of I, d = pa + qb for some p; q 2R. So, if for some c 2R, cja and cjb, then cjpa + qb, i.e., cjd. So d certainly satisfies both conditions for being the greatest common divisor of a and b, proving the assertion of the theorem. Note that in this theoem we make no comments about the uniqueness of the gcd of the two elements. Indeed, it need not be unique at all, but there is a relation between two different gcds of two elements of an Euclidean domain. What this relation is will be seen in the following lemma. Definition. Let R be a commutative ring. Then two elements a and b in R are said to be associates if b = ca and the element c is a unit in R. Lemma 1. In an Euclidean domain R, any two greatest common divisors of two elements a and b are associates of each other. Conversely, any associate of a greatest common divisor of a and b is itself a greatest common divisor of these two elements. Proof. Let c and d be two gcds of a and b in R. Then, by condition 2 for gcd above, cjd and djc. So, c = dk and d = cl for some k; l 2R. So, d = cl = (dk)l = d(kl). Since d 6= 0 and R is an integral domain, kl = 1 and so k is a unit in R. Since c = dk, we see that c and d are indeed associates of each other. 3 Conversely, let d be a gcd of a and b in R and let c be an associate of d, i.e, c = du, where u is a unit in R. Then, d being a gcd of a and b, dja and djb, i.e, a = dp and b = dq for some p; q 2R. But, u being invertible in R, this means that a = c(u−1p) and b = c(u−1q) and (u−1p); (u−1q) 2R. So, cja and cjb in R also hold. Again, if gja and gjb, then since d is a gcd of a and b, djg, i.e, g = dm for some m 2R. But then, g = c(u−1m) and so cjg. So, c satisfies both conditions for being the gcd of a and b. In an Euclidean domain, if the gcd of a and b is a unit, we say that a and b are relatively prime. Since any associate of a gcd is a a gcd and 1 is an associate of any unit in a ring, if a and b are relatively prime, we may safely assume that (a; b)=1 and conversely. Definition. In an Euclidean domain R, an element a 2R is said to be a prime element if it's not a unit in R and if it can't be expressed as a product of two non-units in R. That is, whenever a = bc, either b or c is always a unit in R.
Recommended publications
  • 7. Euclidean Domains Let R Be an Integral Domain. We Want to Find Natural Conditions on R Such That R Is a PID. Looking at the C
    7. Euclidean Domains Let R be an integral domain. We want to find natural conditions on R such that R is a PID. Looking at the case of the integers, it is clear that the key property is the division algorithm. Definition 7.1. Let R be an integral domain. We say that R is Eu- clidean, if there is a function d: R − f0g −! N [ f0g; which satisfies, for every pair of non-zero elements a and b of R, (1) d(a) ≤ d(ab): (2) There are elements q and r of R such that b = aq + r; where either r = 0 or d(r) < d(a). Example 7.2. The ring Z is a Euclidean domain. The function d is the absolute value. Definition 7.3. Let R be a ring and let f 2 R[x] be a polynomial with coefficients in R. The degree of f is the largest n such that the coefficient of xn is non-zero. Lemma 7.4. Let R be an integral domain and let f and g be two elements of R[x]. Then the degree of fg is the sum of the degrees of f and g. In particular R[x] is an integral domain. Proof. Suppose that f has degree m and g has degree n. If a is the leading coefficient of f and b is the leading coefficient of g then f = axm + ::: and f = bxn + :::; where ::: indicate lower degree terms then fg = (ab)xm+n + :::: As R is an integral domain, ab 6= 0, so that the degree of fg is m + n.
    [Show full text]
  • Abstract Algebra: Monoids, Groups, Rings
    Notes on Abstract Algebra John Perry University of Southern Mississippi [email protected] http://www.math.usm.edu/perry/ Copyright 2009 John Perry www.math.usm.edu/perry/ Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States You are free: to Share—to copy, distribute and transmit the work • to Remix—to adapt the work Under• the following conditions: Attribution—You must attribute the work in the manner specified by the author or licen- • sor (but not in any way that suggests that they endorse you or your use of the work). Noncommercial—You may not use this work for commercial purposes. • Share Alike—If you alter, transform, or build upon this work, you may distribute the • resulting work only under the same or similar license to this one. With the understanding that: Waiver—Any of the above conditions can be waived if you get permission from the copy- • right holder. Other Rights—In no way are any of the following rights affected by the license: • Your fair dealing or fair use rights; ◦ Apart from the remix rights granted under this license, the author’s moral rights; ◦ Rights other persons may have either in the work itself or in how the work is used, ◦ such as publicity or privacy rights. Notice—For any reuse or distribution, you must make clear to others the license terms of • this work. The best way to do this is with a link to this web page: http://creativecommons.org/licenses/by-nc-sa/3.0/us/legalcode Table of Contents Reference sheet for notation...........................................................iv A few acknowledgements..............................................................vi Preface ...............................................................................vii Overview ...........................................................................vii Three interesting problems ............................................................1 Part .
    [Show full text]
  • Unit and Unitary Cayley Graphs for the Ring of Gaussian Integers Modulo N
    Quasigroups and Related Systems 25 (2017), 189 − 200 Unit and unitary Cayley graphs for the ring of Gaussian integers modulo n Ali Bahrami and Reza Jahani-Nezhad Abstract. Let [i] be the ring of Gaussian integers modulo n and G( [i]) and G be the Zn Zn Zn[i] unit graph and the unitary Cayley graph of Zn[i], respectively. In this paper, we study G(Zn[i]) and G . Among many results, it is shown that for each positive integer n, the graphs G( [i]) Zn[i] Zn and G are Hamiltonian. We also nd a necessary and sucient condition for the unit and Zn[i] unitary Cayley graphs of Zn[i] to be Eulerian. 1. Introduction Finding the relationship between the algebraic structure of rings using properties of graphs associated to them has become an interesting topic in the last years. There are many papers on assigning a graph to a ring, see [1], [3], [4], [5], [7], [6], [8], [10], [11], [12], [17], [19], and [20]. Let R be a commutative ring with non-zero identity. We denote by U(R), J(R) and Z(R) the group of units of R, the Jacobson radical of R and the set of zero divisors of R, respectively. The unitary Cayley graph of R, denoted by GR, is the graph whose vertex set is R, and in which fa; bg is an edge if and only if a − b 2 U(R). The unit graph G(R) of R is the simple graph whose vertices are elements of R and two distinct vertices a and b are adjacent if and only if a + b in U(R) .
    [Show full text]
  • NOTES on UNIQUE FACTORIZATION DOMAINS Alfonso Gracia-Saz, MAT 347
    Unique-factorization domains MAT 347 NOTES ON UNIQUE FACTORIZATION DOMAINS Alfonso Gracia-Saz, MAT 347 Note: These notes summarize the approach I will take to Chapter 8. You are welcome to read Chapter 8 in the book instead, which simply uses a different order, and goes in slightly different depth at different points. If you read the book, notice that I will skip any references to universal side divisors and Dedekind-Hasse norms. If you find any typos or mistakes, please let me know. These notes complement, but do not replace lectures. Last updated on January 21, 2016. Note 1. Through this paper, we will assume that all our rings are integral domains. R will always denote an integral domains, even if we don't say it each time. Motivation: We know that every integer number is the product of prime numbers in a unique way. Sort of. We just believed our kindergarden teacher when she told us, and we omitted the fact that it needed to be proven. We want to prove that this is true, that something similar is true in the ring of polynomials over a field. More generally, in which domains is this true? In which domains does this fail? 1 Unique-factorization domains In this section we want to define what it means that \every" element can be written as product of \primes" in a \unique" way (as we normally think of the integers), and we want to see some examples where this fails. It will take us a few definitions. Definition 2. Let a; b 2 R.
    [Show full text]
  • Euclidean Quadratic Forms and Adc-Forms: I
    EUCLIDEAN QUADRATIC FORMS AND ADC-FORMS: I PETE L. CLARK We denote by N the non-negative integers (including 0). Throughout R will denote a commutative, unital integral domain and K its fraction • field. We write R for R n f0g and ΣR for the set of height one primes of R. If M and N are monoids (written multiplicatively, with identity element 1), a monoid homomorphism f : M ! N is nondegenerate if f(x) = 1 () x = 1. Introduction The goal of this work is to set up the foundations and begin the systematic arith- metic study of certain classes of quadratic forms over a fairly general class of integral domains. Our work here is concentrated around that of two definitions, that of Eu- clidean form and ADC form. These definitions have a classical flavor, and various special cases of them can be found (most often implicitly) in the literature. Our work was particularly motivated by the similarities between two classical theorems. × Theorem 1. (Aubry, Davenport-Cassels) LetP A = (aij) be a symmetric n n Z matrix with coefficients in , and let q(x) = 1≤i;j≤n aijxixj be a positive definite integral quadratic form. Suppose that for all x 2 Qn, there exists y 2 Zn such that q(x − y) < 1. Then if d 2 Z is such that there exists x 2 Qn with q(x) = d, there exists y 2 Zn such that q(y) = d. 2 2 2 Consider q(x) = x1 + x2 + x3. It satisfies the hypotheses of the theorem: approxi- mating a vector x 2 Q3 by a vector y 2 Z3 of nearest integer entries, we get 3 (x − y )2 + (x − y )2 + (x − y )2 ≤ < 1: 1 1 2 2 3 3 4 Thus Theorem 1 shows that every integer which is the sum of three rational squares is also the sum of three integral squares.
    [Show full text]
  • Section IX.46. Euclidean Domains
    IX.46. Euclidean Domains 1 Section IX.46. Euclidean Domains Note. Fraleigh comments at the beginning of this section: “Now a modern tech- nique of mathematics is to take some clearly related situations and try to bring them under one roof by abstracting the important ideas common to them.” In this section, we take the idea of the division algorithm for integral domain Z and generalize it to other integral domains. Note. Recall: 1. Division Algorithm for Z (Theorem 6.3). If m is a positive integer and n is any integer, then there exist unique integers q and r such that n = mq + r and 0 ≤ r < m. 2. Division Algorithm for [x] (Theorem 23.1). n n−1 Let F be a field and let f(x)= anx + an−1x + ··· + a1x + a0 and g(x)= n m−1 bnx + bm−1x + ···+ b1x + b0 be two elements of F [x], with an and bm both nonzero elements of F and m > 0. Then there are unique polynomials q(x) and r(x) in F [x] such that f(x) = g(x)q(x)+ r(x), where either r(x)=0or the degree of r(x) is less than the degree m of g(x). Note. We now introduce a function which maps an integral domain into the nonnegative integers and use the values of this function to replace the ideas of “remainder” in Z and “degree” in F [x]. IX.46. Euclidean Domains 2 Definition 46.1. A Euclidean norm on an integral domain D is a function v mapping the nonzero elements of D into the nonnegative integers such that the following conditions are satisfied: 1.
    [Show full text]
  • Linear Algebra's Basic Concepts
    Algebraic Terminology UCSD Math 15A, CSE 20 (S. Gill Williamson) Contents > Semigroup @ ? Monoid A @ Group A A Ring and Field A B Ideal B C Integral domain C D Euclidean domain D E Module E F Vector space and algebra E >= Notational conventions F > Semigroup We use the notation = 1; 2;:::; for the positive integers. Let 0 = 0 1 2 denote the nonnegative integers, and let 0 ±1 ±2 de- ; ; ;:::; { } = ; ; ;::: note the set of all integers. Let × n ( -fold Cartesian product of ) be the set { } S n { S } of n-tuples from a nonempty set S. We also write Sn for this product. Semigroup!Monoid!Group: a set with one binary operation A function w : S2 ! S is called a binary operation. It is sometimes useful to write w(x; y) in a simpler form such as x w y or simply x · y or even just x y. To tie the binary operation w to S explicitly, we write (S; w) or (S; ·). DeVnition >.> (Semigroup). Let (S; ·) be a nonempty set S with a binary oper- ation “·” . If (x · y) · z = x · (y · z), for all x, y, z 2 S, then the binary operation “·” is called associative and (S; ·) is called a semigroup. If two elements, s; t 2 S satisfy s · t = t · s then we say s and t commute. If for all x; y 2 S we have x · y = y · x then (S; ·) is a commutative (or abelian) semigroup. Remark >.? (Semigroup). Let S = M2;2(e) be the set of 2 × 2 matrices with en- tries in e = 0; ±2; ±4;::: , the set of even integers.
    [Show full text]
  • Math 6310, Fall 2017 Homework 10 1. Let R Be an Integral Domain And
    Math 6310, Fall 2017 Homework 10 1. Let R be an integral domain and p 2 R n f0g. Recall that: (i) p is a prime element if and only if (p) is a prime ideal. (ii) p is an irreducible element if and only if (p) is maximal among the proper principal ideals. Let R be a PID. (i) Show that R is a UFD. (ii) Show that every proper nonzero prime ideal in R is maximal. 2. Show that the polynomial ring Z[x] is not a PID. On the other hand, Z[x] is a UFD, as we will see in class shortly. 3. Let R be an integral domain and a; b 2 R n f0g. An element d 2 R n f0g is called a greatest common divisor of a and b if the following conditions hold: (i) d j a and d j b; (ii) if e 2 R n f0g is another element such that e j a and e j b, then also e j d. In this case we write d 2 gcd(a; b). (a) Show that d 2 gcd(a; b) () (d) is the smallest principal ideal containing (a; b). (b) Suppose d 2 gcd(a; b). Show that d0 2 gcd(a; b) () d ∼ d0. (c)( Bezout's theorem) Suppose R is a PID. Show that there exist r; s 2 R such that ra + sb 2 gcd(a; b): In an arbitrary integral domain, greatest common divisors may not exist. When they do, they are unique up to associates, by part (b).
    [Show full text]
  • Course Notes for MAT 612: Abstract Algebra II
    Course Notes for MAT 612: Abstract Algebra II Dana C. Ernst, PhD Northern Arizona University Spring 2016 Contents 1 Ring Theory 3 1.1 Definitions and Examples..............................3 1.2 Ideals and Quotient Rings.............................. 11 1.3 Maximal and Prime Ideals.............................. 17 1.4 Rings of Fractions................................... 20 1.5 Principal Ideal Domains............................... 23 1.6 Euclidean Domains.................................. 26 1.7 Unique Factorization Domains............................ 31 1.8 More on Polynomial Rings.............................. 36 1 Ring Theory 1.1 Definitions and Examples This section of notes roughly follows Sections 7.1–7.3 in Dummit and Foote. Recall that a group is a set together with a single binary operation, which together satisfy a few modest properties. Loosely speaking, a ring is a set together with two binary operations (called addition and multiplication) that are related via a distributive property. Definition 1.1. A ring R is a set together with two binary operations + and × (called addition and multiplication, respectively) satisfying the following: (i)( R;+) is an abelian group. (ii) × is associative: (a × b) × c = a × (b × c) for all a;b;c 2 R. (iii) The distributive property holds: a×(b +c) = (a×b) +(a×c) and (a+b)×c = (a×c) +(b ×c) for all a;b;c 2 R. 3 Note 1.2. We make a couple comments about notation. (1) We write ab in place a × b. (2) The additive inverse of the ring element a 2 R is denoted −a. Theorem 1.3. Let R be a ring. Then for all a;b 2 R: (1)0 a = a0 = 0 (2)( −a)b = a(−b) = −(ab) (3)( −a)(−b) = ab Definition 1.4.
    [Show full text]
  • Chapter 4 Factorization
    Chapter 4 Factorization 01/22/19 Throughout this chapter, R stands for a commutative ring with unity, and D stands for an integral domain, unless indicated otherwise. The most important theorem in this course, after the Fundamental The- orem of Galois Theory, can be briefly stated as follows. Theorem 4.0.1 Field ED PID UFD ID ) ) ) ) In other words, every field is an Euclidean Domain; every Euclidean Do- main is a Principal Ideal Domain; every Principal Ideal Domain is a Unique Factorization Domain; and every Unique Factorization Domain is an Inte- gral Domain. So far, we only have the definition for the first, third, and last of these expressions. In the following sections we will give the appropriate definitions of the other terms, prove each of the implications, and show, by counterexample, that all implications are strict. See Propositions 4.1.2, 4.2.1, 4.4.3, as well as Examples 4.1.1.2, 4.4.1.2, 4.4.2 and Exercise 4.6.1. 11 12 CHAPTER 4. FACTORIZATION 4.1 Euclidean Domain Theorem 4.1.1 [Gallian 16.2] let F be a field, and F [x] the ring of poly- nomials with coefficients in F . For any f(x),g(x) F [x] with g(x) =0, there are unique q(x),r(x) F [x] such that 2 6 2 f(x)=q(x)g(x)+r(x)andr(x)=0or deg(r(x)) < deg(g(x). Proof. Definition 4.1.1. An Euclidean Domain consists of an integral domain D and a function δ : D 0 N,satisfyingthefollowingconditions: For any f,g D with−g{=0,thereexist}! q, r D s.t.
    [Show full text]
  • Complete Set of Algebra Exams
    TIER ONE ALGEBRA EXAM 4 18 (1) Consider the matrix A = . −3 11 ✓− ◆ 1 (a) Find an invertible matrix P such that P − AP is a diagonal matrix. (b) Using the previous part of this problem, find a formula for An where An is the result of multiplying A by itself n times. (c) Consider the sequences of numbers a = 1, b = 0, a = 4a + 18b , b = 3a + 11b . 0 0 n+1 − n n n+1 − n n Use the previous parts of this problem to compute closed formulae for the numbers an and bn. (2) Let P2 be the vector space of polynomials with real coefficients and having degree less than or equal to 2. Define D : P2 P2 by D(f) = f 0, that is, D is the linear transformation given by takin!g the derivative of the poly- nomial f. (You needn’t verify that D is a linear transformation.) (3) Give an example of each of the following. (No justification required.) (a) A group G, a normal subgroup H of G, and a normal subgroup K of H such that K is not normal in G. (b) A non-trivial perfect group. (Recall that a group is perfect if it has no non-trivial abelian quotient groups.) (c) A field which is a three dimensional vector space over the field of rational numbers, Q. (d) A group with the property that the subset of elements of finite order is not a subgroup. (e) A prime ideal of Z Z which is not maximal. ⇥ (4) Show that any field with four elements is isomorphic to F2[t] .
    [Show full text]
  • Some Aspects of Semirings
    Appendix A Some Aspects of Semirings Semirings considered as a common generalization of associative rings and dis- tributive lattices provide important tools in different branches of computer science. Hence structural results on semirings are interesting and are a basic concept. Semi- rings appear in different mathematical areas, such as ideals of a ring, as positive cones of partially ordered rings and fields, vector bundles, in the context of topolog- ical considerations and in the foundation of arithmetic etc. In this appendix some algebraic concepts are introduced in order to generalize the corresponding concepts of semirings N of non-negative integers and their algebraic theory is discussed. A.1 Introductory Concepts H.S. Vandiver gave the first formal definition of a semiring and developed the the- ory of a special class of semirings in 1934. A semiring S is defined as an algebra (S, +, ·) such that (S, +) and (S, ·) are semigroups connected by a(b+c) = ab+ac and (b+c)a = ba+ca for all a,b,c ∈ S.ThesetN of all non-negative integers with usual addition and multiplication of integers is an example of a semiring, called the semiring of non-negative integers. A semiring S may have an additive zero ◦ defined by ◦+a = a +◦=a for all a ∈ S or a multiplicative zero 0 defined by 0a = a0 = 0 for all a ∈ S. S may contain both ◦ and 0 but they may not coincide. Consider the semiring (N, +, ·), where N is the set of all non-negative integers; a + b ={lcm of a and b, when a = 0,b= 0}; = 0, otherwise; and a · b = usual product of a and b.
    [Show full text]