ALGEBRA 412 PARTIAL NOTES

Similar documents
CHAPTER I. Rings. Definition A ring R is a set with two binary operations, addition + and

Chapter 3. Rings. The basic commutative rings in mathematics are the integers Z, the. Examples

Moreover this binary operation satisfies the following properties

RINGS: SUMMARY OF MATERIAL

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.

Rings and Fields Theorems

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

Course 311: Michaelmas Term 2005 Part III: Topics in Commutative Algebra

Rings and groups. Ya. Sysak

ALGEBRA II: RINGS AND MODULES OVER LITTLE RINGS.

Math Introduction to Modern Algebra

Algebraic structures I

CHAPTER 14. Ideals and Factor Rings

Math 120 HW 9 Solutions

φ(a + b) = φ(a) + φ(b) φ(a b) = φ(a) φ(b),

School of Mathematics and Statistics. MT5836 Galois Theory. Handout 0: Course Information

SUMMARY ALGEBRA I LOUIS-PHILIPPE THIBAULT

TROPICAL SCHEME THEORY

NOTES ON FINITE FIELDS

0 Sets and Induction. Sets

MATH RING ISOMORPHISM THEOREMS

Abstract Algebra II. Randall R. Holmes Auburn University

Homework 10 M 373K by Mark Lindberg (mal4549)

Math 547, Exam 1 Information.

Theorem 5.3. Let E/F, E = F (u), be a simple field extension. Then u is algebraic if and only if E/F is finite. In this case, [E : F ] = deg f u.

Computations/Applications

(1) A frac = b : a, b A, b 0. We can define addition and multiplication of fractions as we normally would. a b + c d

a b (mod m) : m b a with a,b,c,d real and ad bc 0 forms a group, again under the composition as operation.

Quizzes for Math 401

The Chinese Remainder Theorem

2) e = e G G such that if a G 0 =0 G G such that if a G e a = a e = a. 0 +a = a+0 = a.

φ(xy) = (xy) n = x n y n = φ(x)φ(y)

Math 2070BC Term 2 Weeks 1 13 Lecture Notes

Note that a unit is unique: 1 = 11 = 1. Examples: Nonnegative integers under addition; all integers under multiplication.

Eighth Homework Solutions

Abstract Algebra II. Randall R. Holmes Auburn University. Copyright c 2008 by Randall R. Holmes Last revision: November 7, 2017

MODEL ANSWERS TO HWK #7. 1. Suppose that F is a field and that a and b are in F. Suppose that. Thus a = 0. It follows that F is an integral domain.

Math 762 Spring h Y (Z 1 ) (1) h X (Z 2 ) h X (Z 1 ) Φ Z 1. h Y (Z 2 )

Groups, Rings, and Finite Fields. Andreas Klappenecker. September 12, 2002

1. Group Theory Permutations.

Ideals, congruence modulo ideal, factor rings

ALGEBRA II: RINGS AND MODULES. LECTURE NOTES, HILARY 2016.

Finite Fields. Sophie Huczynska. Semester 2, Academic Year

ABSTRACT ALGEBRA MODULUS SPRING 2006 by Jutta Hausen, University of Houston

Rings If R is a commutative ring, a zero divisor is a nonzero element x such that xy = 0 for some nonzero element y R.

MODEL ANSWERS TO THE FIRST HOMEWORK

1 Rings 1 RINGS 1. Theorem 1.1 (Substitution Principle). Let ϕ : R R be a ring homomorphism

Mathematics for Cryptography

MATH 403 MIDTERM ANSWERS WINTER 2007

Commutative Algebra. Andreas Gathmann. Class Notes TU Kaiserslautern 2013/14

8 Appendix: Polynomial Rings

2 Lecture 2: Logical statements and proof by contradiction Lecture 10: More on Permutations, Group Homomorphisms 31

Factorization in Polynomial Rings

ALGEBRA AND NUMBER THEORY II: Solutions 3 (Michaelmas term 2008)

MATH 101B: ALGEBRA II PART A: HOMOLOGICAL ALGEBRA

A connection between number theory and linear algebra

Formal power series rings, inverse limits, and I-adic completions of rings

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations

Lecture 6: Finite Fields

Honors Algebra 4, MATH 371 Winter 2010 Assignment 4 Due Wednesday, February 17 at 08:35

9. Integral Ring Extensions

MATH 326: RINGS AND MODULES STEFAN GILLE

Yuriy Drozd. Intriduction to Algebraic Geometry. Kaiserslautern 1998/99

Lecture Notes Math 371: Algebra (Fall 2006) by Nathanael Leedom Ackerman

Rings. Chapter Homomorphisms and ideals

Polynomial Rings. i=0. i=0. n+m. i=0. k=0

(a + b)c = ac + bc and a(b + c) = ab + ac.

2. Prime and Maximal Ideals

Solutions to odd-numbered exercises Peter J. Cameron, Introduction to Algebra, Chapter 2

ABSTRACT ALGEBRA 2 SOLUTIONS TO THE PRACTICE EXAM AND HOMEWORK

Supplement. Dr. Bob s Modern Algebra Glossary Based on Fraleigh s A First Course on Abstract Algebra, 7th Edition, Sections 0 through IV.

MATH 1530 ABSTRACT ALGEBRA Selected solutions to problems. a + b = a + b,

Math 429/581 (Advanced) Group Theory. Summary of Definitions, Examples, and Theorems by Stefan Gille

ALGEBRAIC GROUPS. Disclaimer: There are millions of errors in these notes!

Modern Computer Algebra

10. Smooth Varieties. 82 Andreas Gathmann

Exploring the Exotic Setting for Algebraic Geometry

Chapter 5. Linear Algebra

Math Introduction to Modern Algebra

INTRODUCTION TO THE GROUP THEORY

3. The Sheaf of Regular Functions

CSIR - Algebra Problems

Algebra Exam Syllabus

M2P4. Rings and Fields. Mathematics Imperial College London

A few exercises. 1. Show that f(x) = x 4 x 2 +1 is irreducible in Q[x]. Find its irreducible factorization in

GEOMETRIC CONSTRUCTIONS AND ALGEBRAIC FIELD EXTENSIONS

Lecture 7.3: Ring homomorphisms

ABSTRACT ALGEBRA. Romyar Sharifi

Section 18 Rings and fields

COURSE SUMMARY FOR MATH 504, FALL QUARTER : MODERN ALGEBRA

Topics in linear algebra

D-MATH Algebra I HS 2013 Prof. Brent Doran. Solution 3. Modular arithmetic, quotients, product groups

Math 120: Homework 6 Solutions

ENTRY GROUP THEORY. [ENTRY GROUP THEORY] Authors: started Mark Lezama: October 2003 Literature: Algebra by Michael Artin, Mathworld.

Part IV. Rings and Fields

THROUGH THE FIELDS AND FAR AWAY

Abstract Algebra II Groups ( )

Chapter 0. Introduction: Prerequisites and Preliminaries

12. Hilbert Polynomials and Bézout s Theorem

Linear Algebra March 16, 2019

Transcription:

ALGEBRA 412 PARTIAL NOTES Contents 1. Rings 3 1.1. Rings 3 1.2. Some simple properties of rings 4 1.3. Constructions of new rings from old 5 1.4. Subrings 5 1.5. Products (=sums) of rings 6 1.6. Isomorphisms of rings 7 1.7. Ideals and quotients of rings 8 1.8. Homomorphisms of rings 9 1.9. Kernels and images of homomorphisms 9 1.10. Rings of matrices 10 1.11. Rings of functions 10 2. Zero divisors, integral domains and fields 10 2.1. Zero divisors 10 2.2. Fields and Integral domains 11 2.3. Division rings 12 2.4. Characteristic of a field 12 3. Homomorphisms and ideals 13 3.1. The first isomorphism theorem for rings 13 3.2. Homomorphisms preserve 16 3.3. Relations between different ideals 17 3.4. Relation of ideals and quotients 18 3.5. Ideals in commutative rings 20 3.6. Maximal ideals and prime ideals 20 Date:? 1

2 3.7. Calculation of Hom(R, S) 22 4. Rings of polynomials 22 4.1. Introduction: Polynomial functions on real numbers 22 4.2. Ring R[X] of polynomials with coefficients in a ring R 23 4.3. Formal power series 24 4.4. Rings of polynomials in several variables 25 4.5. Evaluation of polynomials 27 4.6. Constructing complex numbers C from real numbers R using polynomials 29 4.7. Division of polynomials 30 4.8. Some consequences of division of polynomials 34 4.9. The greatest common divisor of two polynomials 36 4.10. Irreducible polynomials produce extensions of the field 37 Appendix A. The group of invertible elements in a ring 37 A.1. Commutative rings and determinants over commutative rings 37 Appendix B. Isomorphisms of rings 39 B.1. Automorphisms 39 Appendix C. Quaternions 41 Appendix D. Fraction fields 42 D.1. The problem 42 D.2. The quotient construction of new sets 43 D.3. Constructing Numbers: Z from N 47 D.4. Construction of the fraction field of an integral domain 47 Appendix E. Algebra and geometry 49 Appendix F. Modules 50 In 411 we studied Groups and in 412 we are interested in Rings. These notes attempt (but do not succeed) to list all things that you should know. Notice that for most claims here you should also know proofs though they are usually not written in these notes.

3 1. Rings The set of natural numbers is defined as N def = {0,1,2,,...}. 1.1. Rings. The notion of a ring is an abstraction of the notion of a system of numbers. For instance the basic systems of numbers we have encountered Z,QR,C,Z n are all rings (but N does not make it). However, the notion of rings also allows more complicated objects such as matrices. A ring (R,+, ) consists of a nonempty set R and two operations +, called addition and multiplication, such that (1) (R,+) is an abelian group, Recall that this means that + is associative, has a neutral element (we denote it 0), has inverses (denoted a) and is commutative. (2) (R, ) is a monoid, i.e., it is associative and has a netral elements (This element is denoted 1 and called unity.) (3) Operations + and are compatible in the sense that they satisfy two distributivity properties (a+b)c = ac+bc and c(a+b) = ca+cb. Terminology. We say that a ring with unity is the structure (R,+, ) which satisfies all properties above except that there need not exist a neutral element for multiplication. Different people use different terminology, so some will say that ring means what is here called ring without unity. 1.1.1. Examples. Z,Q,R,C and M n (R) are rings with unity. N is not a ring since (N,+) is not a group. 1.1.2. Example. If you have a ring R you can use any set X to construct a more complicated ring R X. It consists of all functions f : X R from X to R. The sum and product of functions are defined pointwise, i.e., (f +g)(x) def = f(x)+g(x) and (f g)(x) def = f(x) g(x) for x X and f,g R X. Notice that the zero in the ring X R can be denoted 0 R X. is the constant function whose value is always the zero in in R. Remark. When we deal with more then one ring at the same time, we may write the name of the ring in question as an index + R, R, 0 R, 1 R to make it clear that we are talking of operations in the ring R and of zero and unity in the ring R. Once we get used more to rings we will stop putting indices and assume that it is clear from the context which ring we are using.

4 For instance in the example 1.1.2 the zero in the ring R can denoted 0 R and the zero in the ring X R can be denoted 0 R X. Then, the above description of zero in R X says that for all x X we have 0 R X(x) = 0 R. 1.1.3. Example. Rings Z n. Addition and multiplication modulo n give a ring (Z n,+ n, n) for any n = 0,1,2,... Here r n (k) denotes the remainder of k modulo n and operations + n, n are defined by a+ n b def = r n (a+b) and a nb def = r n (a b) for a,b Z n. Aproofrequires some facts frommodular arithmetic. The following list offacts suffices: (1) (1) (Division of integers.) For two integers a,n, if n > 0 then there exist unique integers q,r such that a = nq +r and 0 r < n. We call q the quotient and r the reminder. We have notation r n (a) for the remainder r of a modulo n. (2) (Congruences.) We say that a n b if n divides the difference b a. (a) Congruence modulo n is an equivalence relation, i.e., (i) Always a n a. (ii) If a n b then b n a. (iii) If a n b and b n c then a n c. (b) Any integer is congruent to its remainder: r n (a) n a. (c) In any computation you can replace a number by a congruent number, i.e., if a n a then a+b n a +b and ab n a b. (d) The remainders are the same if and only if the numbers are congruent r n (a) = r n (b) iff a n b. 1.2. Some simple properties of rings. For a in a ring R and m N we denote (as usual in abelian groups) by na the n-multiple of a, i.e., the sum of n copies of a. Also, ( n)a means the n-multiple of a. 1.2.1. Lemma. (a) a 0 = 0 = 0 a. (b) ( a)b = ab = a( b). (c) (Distributivity of the difference.). a(b c) = ab ac and (b c)a = ba ca. (d) For a,b in a ring R and m,n Z the product of m-multiple of a and n-multiple of b is the mn-multiple of the product ab : (ma) (nb) = mn ab, 1 However, this story can be told in various ways so you can use some other facts in your proof.

5 1.3. Constructions of new rings from old. This is just an announcement of some things we will do. 1.3.1. The motivation. We will motivate these constructions of rings with analogous constructions for groups. Recall that if we have one or more groups, we know several ways to construct new groups: (1) Take a subgroup. (In particular any homomorphism of groups φ : G H defines two subgroups Ker(φ) G and Im(φ) H). (2) Product of groups (also called sum). (3) Quotient group G/N. (4) Stabilizer subgroups when a group acts on a set. (5) Centralizer subgroups. Some of these will adapt to rings: (1) Take a subring of a given ring. (In particular any homomorphism of rings φ : R S defines a subring Im(φ) S). (2) Product of rings (also called sum). (3) Quotient rings R/I. (4) Centralizer subrings. There will also be new constructions, for instance the Matrix rings M n (R). 1.4. Subrings. A subset S of a ring (R,+, ) is said to be a subring if operations +, on R restrict to operations on S and make S into a ring, Let us say this in more details. (1) First consider the sentence Operation + R on R (addition in R) restricts to an operation on S, (2) It means that when we use + R to combine two elements a,b of S, the result a+ R b will be again in S. (3) Then the operation we obtained on S can be denoted + S, and it is defined by: for a,b in S, a+ S b is just the sum a+r b in R. We can summarize this by: calculations in S are special case of calculations in R. (2) 2 One can ask, what is the difference between + R and + S if their values are the same? The point is that we think ofoperationsas functions. So, the difference isthat the formeris afunction + R : R R R while the latter is a function + S : S S S, so operation + S is a function defined on a smaller set!

6 (4) To summarize: the meaning of the sentence in (1) is just what we usually call closure: S is closed under addition in R; and once we know this we know that addition in R restricts to an operation + S on S. S Now the above definition of a subring reduces to: (a) S is closed under + R and R and (b) S with operations + S, S is a ring. The meaning of (a) is clear. When is (b) true? It turns out that very little is needed. Here is a simple criterion for checking whether a subset is a subring: Lemma. A subset S R is a subring iff S is closed under difference and under multiplication, i.e., for any u,v S, both u v and uv are again in S. S containjs 1. Proof. Here is one direction. If (S,+ S, S) is a ring then (S,+ S ) is an abelian group. This forces S since a group contains zero. It also forces being closed under differences. In the opposite direction, if S and S is closed under R then we know from group theory that S is a subgroup of (R,+ R ), so (S,+ S ) is an abelian group. If S is also closed under R then we can use it to define operation S on S. It remains to prove that S is associative and to prove distributivity for S,+ S however these properties automatically follow from the same properties for R,+ R since calculations in S are special case of calculations in R. Remark. By definition, any subring S of a ring R in particular itself has a structure of a ring. Examples. (a) All of the following inclusions Z Q R C are subrings. (b) Z[i] def = {a+bi; a,b Z} is a subring of C. () Q[ 2] def = {a+b 2; a,b Q} is a subring of R. 1.5. Products (=sums) of rings. We can combine two rings R,S to get a new ring which we call the product of R and S and denoted R S. (We also call it the sum of rings and denote it R S.)

7 Lemma. If (R,+ R, R) and (S,+ S, S) are rings then R S with operations is also a ring. Example. Z 2 Z 3. (r,s)+(r,s ) def = (r + R r,s+ S s ) and (r,s) (r,s ) def = (r Rr,s Ss ) 1.6. Isomorphisms of rings. These are the simplest relations between rings. Fortworings(R,+ R, R)and(S,+ S, S), afunctionf : R S issaidtobeanisomorphism of rings if (1) It preserves sums and products: f(a+ R b) = f(a)+ S fb) and f(a Rb) = f(a) Sfb) for a,b S, (2) it preserves units: f(1 R ) = 1 S ; and (3) it is a bijection (i.e., a one-to-one correspondence). The idea behind the notion of isomorphism is that if we know an isomorphism f from R to S then for all practical purposes the two rings are the same. Everything works the same in R and in S, just the names for elements are different (and f is the dictionary which translates one set of names into the other). We say that rings R and S are isomorphic if there exists an isomorphism of rings f : R S. We denote R and S are isomorphic by: R = S. Example. The product of Z 2 and Z 3 is not a really new ring for us, it is just a new way of thinking about an old ring: Z 2 Z 3 = Z6. Lemma. (a) For any ring R the identity function id R : R R is an isomorphism of rings. φ ψ (b) If R 1 R2 and R 2 R3 are both isomorphisms of rings then the composition ψ φ R 1 R 3 is also an isomorphism of rings. (c) If R φ S is an isomorphism of rings then the inverse function φ 1 : S R exists and it is also an isomorphism of rings. Corollary. Relation = of rings being isomorphic is an equivalence relation, i.e., it satisfies (1) (Reflexivity property) For any ring R one has R = R. (2) (Symmetry property) If R = S then S = R. (3) (Transitivity property) If R 1 = R2 and R 2 = R3 then R 1 = R3.

8 1.7. Ideals and quotients of rings. A subset I of a ring R is said to be an ideal if (1) it is a subgroup of (R,+) (i.e., it is nonempty and if x,y I then x y I), and (2) it is closed under multiplication with elements of R, i.e., x I and a R ax,xa I. Lemma. If I is an ideal in R then the set of cosets R/I = {r+i; r R} is a ring for the operations (a+i)+ R/I (b+i) def = (a+b)+i and (a+i) R/I (b+i) def = ab+i. 1.7.1. Rings Z n and Z/nZ. Recall how these rings are defined. Z/nZ is defined because nz is an ideal in Z. It consists of all cosets on nz in Z, i.e., Z/nZ def = {k + nz, k Z}. However, this description has many repetitions, there is a less abstract description without repetitions: Z/nZ def = {nz,1 + nz,2 + nz,...,(n 1) + nz}. So, in size sets def Z/nZ and Z n = {0,1,...,n 1} are the same. Moreover, there is a natural bijection with = φ : Z n Z/nZ which sending k Z n to the coset φ(k) = k + nz Z/nZ. Actually, this identification of sets will turn out to be a complete identification of rings: Lemma. (a) Ideals in the ring Z are the same as subgroups of (Z,+). They are all of the form nz for some n N. (b) Rings Z n and Z/nZ are canonically isomorphic. The two natural isomorphisms (in two directions) are (1) φ : Z n = Z/nZ, φ(k) def = k +nz for k Z n. (2) ψ : Z/nZ = Z n, φ(k +nz) def = r n (k) for k Z. These are mutually inverse isomorphisms, i.e., ψ = φ 1. Remark. One can prove part (b) without knowing in advance that (Z n,+ n, n) is a ring: We know from (a) that Z/nZ is a ring since nz is an ideal. It is easy to see that the functions φ,ψ are inverse bijections. We can use φ,ψ to move operations + Z/nZ, Z/nZ from Z/nZ to Z n, this gives operations on Z n a+ new b def = φ 1 [φ(a)+ Z/nZ φ(b)] and a new b def = φ 1 [φ(a) Z/nZ φ(b)]. Since everything works the same for (Z n,+ new, new ) as for the ring (Z/nZ,+ Z/nZ, Z/nZ ), the new operations on Z n also satisfy the properties needed to be a ring. So, (Z n,+ new, new ) is a ring and φ,ψ are isomorphisms of rings (Z n,+ new, new ) and (Z/nZ,+ Z/nZ, Z/nZ ).

9 One now calculates what operations + new, new do and finds that they are the same as + n, n. Therefore, (Z n,+ n, n) is a ring and φ,ψ are isomorphisms of rings (Z n,+ n, n) and (Z/nZ,+ Z/nZ, Z/nZ ). 1.8. Homomorphisms of rings. Homomorphisms of rings are basic ways of relating two rings. For two rings (R,+ R, R) and (S,+ S, S), a function f : R S is said to be an homomorphism of rings if (1) It preserves sums and products: f(a+ R b) = f(a)+ S fb) and f(a Rb) = f(a) Sfb) for a,b S, (2) It preserves units: f(1 R ) = 1 S. (One often says morphism instead of the more traditional homomorphism.) Lemma. (a) If R is a ring and S R is a subring then the inclusion map is a homomorphism of rings. i : S R,i(s) = s for s S; (b) If I is an ideal in a ring R then the quotient map is a morphism of rings. q : R R/I, q(r) def = r +I for r R; Example. (a) For any n N, the map r n : Z Z n is a morphism of rings. (b) For n,m N, the map r n : Z nm Z n is a morphism of rings. Remarks. (0) By definitions, a map f between two rings is an isomorphism iff it is a homomorphism and a bijection. So, isomorphisms are examples of homomorphism. (1) Homomorphisms are ways to naturally relate two rings. The simplest homomorphisms are isomorphisms, they tell us that everything is the same in two rings. However, as we see in the lemma when we travel down a homomorphism information can be created or lost. 1.9. Kernels and images of homomorphisms. Lemma. Let f : R S be a morphism of rings, then (a) The image f(r) def = {f(r); r R} S of f is a subring of S. (b) The kernel Ker(f) def = {r R; f(r) = 0} R is an ideal in R.

10 1.10. Rings of matrices. Lemma. For any ring R, the set M n (R) of n n matrices with entries in the ring R, is again a ring for the usual operations of addition and multiplication of matrices. 1.11. Rings of functions. Recall that if R is a ring then for any set X, the set R X of all functions from X to R is naturally a ring. Lemma. For any subset Y X : (a) The restriction map ρ : R X R Y is a morphism of rings. (3) (b) The subset I Y = {f R X ; f = on Y} of all functions that vanish on Y is an ideal in R X. Actually, I Y = Ker(ρ). (c) The ring R Y of R-valued functions ony is naturally isomorphic to the quotient R X /I Y. 2. Zero divisors, integral domains and fields 2.1. Zero divisors. We say that an element A of a ring R is a 0-divisor if a 0 and it divides zero, i.e., there exists some b 0 such that ab = 0 or ba = 0. Examples. (0) In Z 6 we have zero divisors 2,3,4 (since 2 63 = 4 63 = 0). (1) There are no 0-divisors in Z. (2) In Z Z = Z Z, element (1,0) is a zero divisor since (1,0) (0,1) = (0,0) = 0 Z Z. Lemma. (a) Invertible elements are not zero divisors. (b) If 0 a R and a is not a zero divisor then one can cancel a from equalities, i.e., If ax = ay for some x,y R, then actually x = y. Theorem. In a finite ring any element which is not 0 nor a 0-divisor is invertible. Corollary. For a finite ring R(with at least two elements), any element a satisfies precisely one of the following three possibilities: Proof. (1) a = 0, (2) a is a zero divisor, (3) a is invertible. 3 The restriction ρ(f) = f Y of a function f R X is a function which has the same values as f but is only defined on Y: ρ(f) (y) = f(y) for y Y.

11 Example. For an element k 0 in Z n : (a) k is a zero divisor iff it is not relatively prime to n; (b) k is invertible iff it is relatively prime to n. Proof. (1) First we notice that if k is not relatively prime to n then k is a 0-divisor: If d > 1 is a common divisor then k = dq and n = dq for some integers q,q. Then 0 Q = n/d < n, hence Q Z n and therefore Q 0 in Z n. Now k nq = r n (dqq) = r n (qn) = 0. (2) Now notice that if k is relatively prime to n then k is not 0-divisor: If l Z n and k nl = 0, then = k nl = r n (kl), so n divides kl. Now, since n has no common factors with k and n divides kl, we see that n divides l. Of course if l Z n and l is a multiple of n then l = 0. (3) So, we have proved (a). Then (b) follows because by the above corollary, k is invertible iff it is not a zero divisor, i.e., iff it is relatively prime to n. 2.2. Fields and Integral domains. 2.2.1. Fields. A field is a commutative ring F such that any non-zero element is invertible, i.e., F {0} F. Examples. (a) It is clear that Q,R,C are fields but Z is not. (b) Z n is a field iff n is a prime. Proof. The non-invertible elements of a finite ring Z n are 0 and the 0-divisors,, i.e., elements which are not prime to n. Therefore, Z n is a field iff all non zero elements 1,...,n 1 in Z n are relatively prime to n. This is the same as asking that n is a prime. 2.2.2. Integral domains. An integral domain is a commutative ring with no zero divisors. The second requirement really says that if a,b 0 then ab 0. Examples. (a) Any field is an integral domain. (b) The simplest example of an integral domain which is not a field is Z. Actually, the word integral in integral domain is supposed to remind us of integers, so roughly, integral domains are commutative rings which are as good as integers. Lemma. (a) In an integral domain one can cancel any non zero element from equalities, i.e., ax = ay and a 0 implies that x = y. (b) Any subring S of an integral domain R is again an integral domain.

12 Example. In particular any subring of a field is an integral domain, for instance Z[ 2] R, Z[i] C. Proposition. Any finite integral domain is a field! Proof. In a finite ring any non-zero element which is not a 0-divisor is invertible! 2.2.3. Subfields. We say that a subset S of a field F is a subfield if it satisfies either of the following equivalent conditions (a), (b) or (c) : Lemma. For a subset S of a field F, the following are equivalent (a) (1) S 1 F, (2) S inherits operations +, from F, and (3) S is a field for these operations. (b) S is a subring and for any 0 a S its inverse a 1 in F lies in S. (c) (1) S 1 F, (2) a,b S implies a b,ab S. (3) 0 a S implies a 1 S. Examples. (a) Q[i] C is a subfield. (b) Q[ 2) R is a subfield. (c) Z Q and Z[i] C are not subfields. 2.3. Division rings. A division ring is a ring D such that any non-zero element is invertible, i.e., D {0} F. So it is like a field except that we do not ask for commutativity, i.e., a field is the same as a division ring which is commutative. 2.3.1. Examples. (i) Fields are division rings. (ii) The simplest division ring which is not a field (i.e., not commutative) is the ring of quaternions H. Theorem. Finite division rings are fields. 2.4. Characteristic of a field. Lemma. For a field F, and an integer n the following are equivalent (1) n 1 F = 0, (2) n F = 0.

13 Definition. (i) We say that the characteristic of a field F is zero if for any positive integer n, n 1 F 0. (ii) We say that the characteristic of a field F is finite if there is a positive integer n such that n 1 F = 0. Then the least such n is called the characteristic of F. We denote the characteristic of F by char(f). Lemma. If the characteristic of F is finite then char(f) is a prime. Example. char(f) = 0 for F = Q,R,C, while for a finite field Z p we have char(z p ) = p. Theorem. (a) If the characteristic of a field F is finite then F contains Z p. (b) If the characteristic of F is zero then F contains Q. Remark. The book defines characteristic for all rings. 3. Homomorphisms and ideals 3.1. The first isomorphism theorem for rings. We will now see that any morphism of two rings leads to an isomorphism of two related rings. Later we will use this observation to construct many interesting isomorphisms between rings. Theorem. For any morphism of rings f : R S, there is canonical isomorphism of rings f : R/Ker(f) = f(r) given by the formula f(r +Ker(f) ) def = f(r), r R. 3.1.1. Graphic rendition of morphisms and of the first isomorphism theorem. The structure of a situation which involves several maps is sometimes indicated graphically by a diagram of maps, say A B ρ σ C g D E. α β X f z Y

14 One can also indicate graphically how some functions work u Z Q y x R v Q with n 2 3 n2 2n+1 n means that u(n) = 2 3 n2 2n+1, y(b) = b 2 /2+1 etc. and 2b b 2 /2+1 y We say that a diagram D of maps commutes if for any two sets A,B in the diagram D, all ways of going from A to B coincide. For instance, commutativity of the diagrams f A B β α C g D and u A B y x C v D means that β f = g α and y v x = u. This is often denoted by drawing a directed circle inside triangles, squares and other polygonsindsuchthattheir edgessplit into two composablegroupsandthetwo compositions coincide. (In our example a circle would be drawn inside the two squares above.) Corollary. For any morphism of rings f : R S, there is a commutative diagram R p R/Ker(f) f S i f f(r) with r f(r). r +Ker(f) f(r) Here, p : R R/Ker(f) is the quotient map p(r) = r +Ker(f) and i : f(r) is the inclusion map i(x) = x. Remark. Commutativity means that f = i f p. So we say that f factors through f, or that f is a factorization of f. 3.1.2. The content of the first isomorphism theorem. For any ideal I in a ring R, the ring R/I is smaller then R. The reason is that it consists of cosets r+i for the ideal I any r R gives one such coset r + I, but often two different elements r 1,r 2 of R give the same coset. For such elements r 1,r 2, the distinction between r 1 and r 2 is lost when we pass from R to R/I. For any homomorphism f : R S the subring f(r) of S is also smaller then R. The reason is that it consists of values f(r) on elements r R any r R gives one such element f(r) of f(r), but often two different elements r 1,r 2 of R have the same f-image, b ;

15 i.e., f(r 1 ) = f(r 2 ). Again, for such elements r 1,r 2, the distinction between r 1 and r 2 is lost when we pass from R to the image f(r) of the morphism f. Now, if we start with a morphism f : R S and then choose ideal I in R as the kernel Ker(f), it turns out that the passage from R to f(r) and the passage from R to R/I = R/Ker(f) loose the same information! The reason is that f(r 1 ) = f(r 2 ) f(r 1 r 2 ) = 0 r 1 r 2 Ker(f) r 1 +Ker(f) = r 2 +Ker(f). Therefore, the two objects f(r 1 ) and R/Ker(f) that we got from R and f should really be the same! Moreover, the way to identify them should be that f(r) f(r) should correspond to r+ker(f) R/Ker(f). One can also summarize this by: f(r) and R/Ker(f) are both obtained from the ring R by squeezing the ideal Ker(f) into a point. (The first time this happens because f takes Ker(f) into 0 S and the second time by the definition of the quotient ring R/Ker(f).) Remark. Now we have seen why the first isomorphism theorem is true. But what do we gain from this theorem? The beauty of the isomorphism R/Ker(f) f(r) = is that the first object is intimately related to R and the second to S. So, the theorem says that once we have a homomorphism between two rings R and S some parts of the two rings are forced to be the same. (Here the vague word part appears in two different meanings once it is a quotient of the ring and the other time is a subring.) 3.1.3. An example of the first isomorphism theorem: comparison of rings Z n and Z/nZ. Theorem. The morphism of rings factors to an isomorphism r n : Z Z n ι : Z/nZ = Z n, ι(k +nz) = r n (k) for k Z;. The inverse isomorphism is ι 1 : Z n = Z/nZ, ι 1 (x) = x+nz, x Z n. Proof. The word factors suggests that we will use the first isomorphism theorem to construct ι as the factorization r n of the homomorphism r n to isomorphism of rings r n : Z/Ker(r n ) = r n (Z).

16 Indeed, we take ι = r n then we know that ι is an isomorphism but we need to check that the kernel Ker(r n ) is nz and the image r n (Z) Z n is all of Z n. Both of these claims are obvious. Finally, recall that the isomorphism r n : Z/nZ = Z/Ker(r n ) = r n (Z) = Z n isgiven by theformula r n (k+ker(r n )) = r n (k). So, ι(k+nz) def = r n (k+ker(r n )) = r n (k). In the opposite direction, function f : Z n = Z/nZ defined by f(x) = x+nz for x Z n ; is clearly the inverse of the function ι(k + nz) = r n (k). Therefore, f = ι 1 and this implies that f is also an isomorphism. 3.2. Homomorphisms preserve. 3.2.1. Homomorphisms preserve polynomials. Let P be a polynomial P = a 0 + a 1 X + +a n X n with integer coefficients a 0,...,a n Z. For any ring R, one can evaluate P at any element r of R. We define this evaluation P(r) by replacing variable X with r : P(r) def = a 0 +a 1 r + +a n r n. Here, for k > 0 positive, a k r k means the a k multiple of the element r k of R. For k = 0, term a 0 means a 0 r 0, i.e., the a 0 -multiple of the element r 0 def = 1 R of the ring R. Remark. Clearly, any such polynomial P defines a function from R to R which send r R to P(r) R. However, it will be important to distinguish between the polynomial P (which is an expression P = a 0 +a 1 X+ +a n X n given by the coefficients a 0,a 1,...a n ) and the corresponding function from R to R. So, we will sometimes denote this function by P : R R, its value P(r) at r in R is the above defined P(r). The point is that the function P need not contain enough information to recover the polynomial P. This is unexpected since our usual experience with polynomials is for the ring R = R and in this case such problems do not arise if one knows values of a polynomial at all realnumbers, one can recover the polynomial. However, notice that if R is a finite field Z p, then the set of polynomials Z p [X] is infinite, while the set of functions from Z p to itself is finite (with p p elements. Lemma. Any homomorphism of rings f : R S, satisfies (a) f(a x) = a f(x) for any x R and a Z. (b) f(a x+b y) = a f(x) + b f(y) for x,y R and a,b Z.

17 (c) For any polynomial P(X) = a 0 +a 1 X + +a n X n with integer coefficients In, other words f ( P(x) ) = P ( f(x) ), ( x R). f ( a 0 +a 1 x+ +a n x n ) ) = a 0 +a 1 f(x)+ +a n f(x) n, ( x R). 3.2.2. Homomorphisms preserve (some) properties of rings and their elements. Lemma. Let f : R S be a homomorphism of rings. (a) If an element r of R is killed by a polynomial P(X) = a 0 +a 1 X + +a n X n with integer coefficients a 0,...,a n Z, the same is true for the image f(r) S, i.e., a 0 +a 1 fr + +a n r n = 0 a 0 +a 1 f(r)+ +a n f(r) n = 0. If we denote by Sol R (P) the set of all solutions of P(X) = 0 in the ring R, then the claim is that f : R S sens Sol R (P) to Sol S (P). (b) If an element r of R is killed by an integer a (in the sense of a r = 0), then f(r) S is also killed by a (i.e., a f(r) = 0). (c) If r R is invertible in R then f(r) is invertible in S and f(r) 1 = f(r 1 ). (d) If elements u,v of R commute then f(u) and f(v) commute in S. We will also state this in terms of preservation of properties of rings: Corollary. Let f : R S be a homomorphism of rings. (a) If P(X) = 0 has a solution in R then it also has a solution in S. (b) If an integer a kills all elements of R then it also kills all elements of the subring f(r) S. (c) If R is a field then the subring f(r) S is also a field. (d) If R is commutative then the subring f(r) S is also commutative. 3.2.3. Non-isomorphic rings. Let A and B be two rings. If A and B were isomorphic then everything would work the same in A and B. So, if we want to show that A and B are not isomorphic, we need to find some difference between R and S, i.e., some property P that holds for one of them but not for the other. Here are some examples of properties P of a ring that one could use that two rings are not isomorphic: (i) R is commutative, (ii) R has 7 elements, (iii) R is (in)finite, (iv) equation 7x = 0 has 7 solutions in R, (v) equation X 7 1 = 0 has 7 solutions in R, (vi) etc. 3.3. Relations between different ideals.

18 3.3.1. Ideal Z generated by a subset Z of a ring. For subsets X,Y of a ring R we denote (i) X +Y def = {x+y; x X and y Y}, (ii) XY def = {xy; x X and y Y}, (iii) X Y is the subset of R consisting of all finite sums of products of elements from X and from Y, i.e., X Y def = {x 1 y 1 + +x p y p ; p N, x i X and y i Y}. Remark. Actually, most of then notation (ii) is not used and then our X Y is denoted simply by X Y or XY. Lemma. If I σ, σ S, is a family of ideals in a ring R then (1) The intersection σ S I s is an ideal in R. (2) Let us define the sum σ S I s as the set of all finite sums σ S x σ where each summand x σ lies in the corresponding ideal I σ. (Finiteness of the sum means that we ask that for all but finitely many indices the summand x σ is zero.) Then the sum σ S I s is again an ideal in R. Remark. NoticethatifthefamilyofidealshastwoelementsI 1 =andi 2 J then σ {1,2} I σ is just the sum I +J defined above. Corollary. (a) For any a R, the set R a R is an ideal. It consists of all finite sums n 1 x iay i with x i,y i in R. (b) For any subset Z of R there exists the least ideal that contains Z. We denote it by Z. It can be described either as (1) intersection of all ideals that contain Z or (2) the sum of all ideals R z R for z Z. Remark. We say that Z is the ideal generated by Z. For instance The ideal generated by one element a R is a def = {a} = R a R. 3.4. Relation of ideals and quotients. Recall that for any ideal I of a ring I the quotient map is a morphism of rings. p I : R R/I, p I (r) def = r +I for r R;

19 Proposition. Let I,J be ideals in R such that I J. (a) There is a canonical morphism of rings p I J : R/I R/J, p I J(r +I) def = r +J for r R. (b) I = {0 R } is an ideal in R called the zero ideal. (It is often denoted simply by 0.) The quotient R/0 is just R itself. (c) Map p I : R R/I is a special case p 0 I : R/0 R/I of the general construction pi J. (d) If I J K then p J K pi J R/I = p I K, i.e., the following diagram commutes: p I J R/J = R/I p I K P J K R/K In particular, p I J is compatible with the quotient maps from R to R/I and R/J in the sense that p I J p I = p J. Lemma. (a) Map p I J : R/I R/J is surjective. (b) Its kernel Ker(p I J ) consists of all cosets j+i in R/I such that j J. We denote it by J/I. Theorem. [The second isomorphism theorem.] Let I be an ideal in a ring R. Then: (a) Any ideal J that contains I gives an ideal I/J def = {j +I; j J} in the quotient ring R/I. (b) There is a canonical isomorphism of rings φ : (R/I) / (J/I) R/J. For any r R isomorphism φ sends the coset (r+i)+i/j (R/I) / (J/I) to the coset r +J R/J.. 3.4.1. Relation of ideals in R/I and in R. Lemma. Let I be an ideal in a ring R and let q : R R/I be the canonical quotient map. (a) Any ideal J in R which is larger then I, i.e., J I, gives rise to an ideal J/I in the quotient ring R/I. Here J/I R/I consists of all cosets in R/I with representative in J : J/I def = {j +I; j J}.

20 (b) For any ideal K in R/I, its inverse in R is an ideal in R. q 1 K def = {r R; q(r) K} = {r R; r+i K} R, (c) The procedures in (a) and (b) give two inverse bijections between ideals K in R/I and ideals J in R that contain I. 3.5. Ideals in commutative rings. Remark. Ideals of the form I = aa for some element a A, are called principal ideals. One also often denotes aa by (a). For any a 1,...,a n A the ideal R. Lemma. Let A be a commutative ring. (a) For any b A, the subset ba def = {bx; x A} is an ideal. (This is the same as the ideal b def = {b} = A b A generated by a.) (b) For any ideals I,J in A, the subset I J of A (consisting of all finite sums of products of elements from I and from J) is again an ideal in A. (c) For any ideals I,J in A, Theorem. In the commutative ring Z I J I J I I +J. (1) All ideals are principal, i.e., of the form (n) = nz for some n N. (2) nz mz = nmz. (3) Denote by lcd(m,n) the least common divisor of m,n, then nz mz = lcd(n,m) Z. (4) Denote by gcd(m,n) the greatest common divisor of m,n, then nz+mz = gcd(n,m) Z. 3.6. Maximal ideals and prime ideals. We consider ideals in a commutative ring A. We say that an ideal I A is proper if I A; principal if it is generated by one element, i.e., if there exist some b A such that I = ba, i.e., I consists of all multiples of b; maximal if it is proper and and it is maximal among proper ideals, i.e., the only proper ideal that J that contains I is J = I.

21 prime if whenever I contains some product ab of elements a,b A, one of the factors a,b lies in I. 3.6.1. Principal ideal domains (PID). We say that a commutative ring A is a principal ideal domain if (i) A is an integral domain, (ii) any ideal in A is principal. Examples. (a) Z is a principal ideal domain (PID) since we know that any ideal I in Z is of the form nz for some n Z. (b) Later we will see that the ring of polynomials in one variable is a PID but the ring of polynomials in two variables is not a PID. 3.6.2. Maximal and prime ideals in Z. In Z any ideal is of principal, i.e., of the form (n) = nz for some integer n. Moreover, such n can be chosen in N (since ( n)z = nz), and actually the map is a bijection. N n nz Ideals in Z Therefore, the relevant question is: for which n N is the ideal nz maximal and for which n is it a prime ideal? the ideal nz maximal Lemma. Let n N. (a) Ideal nz is maximal iff n is a prime, (b) Ideal nz is prime iff n is a prime or n = 0. Proof. Remark. In this example all maximal ideals are prime but notice that there are more prime ideals besides maximal ones. 3.6.3. Example: zero ideal. Theorem. Consider the zero ideal {0} A. (a) {0} is a maximal ideal in A iff A/I is a field. (b) {0} is a prime ideal in A iff A is an integral domain. 3.6.4. Quotients by maximal and prime ideals.

22 Theorem. (a) A proper ideal I A is maximal iff A/I is a field. (b) A proper ideal I A is prime iff A/I is an integral domain. Proof. Use lemmas 3.6.3 and 3.4.1. Corollary. Any maximal ideal is a prime ideal. Remark. We noticed above that the converse is not true for the ring Z. 3.7. Calculation of Hom(R, S). We denote by Hom(R, S) the set of all homomorphism f : R S between two rings R and S. Finding all homomorphisms between rings is often quite useful. (4) Lemma. (a) For any ring R there is precisely one homomorphism of rings φ : Z R. It takes k Z to the multiple k 1 R of unity in R. (b) For any n and any ring R, there is at most one homomorphism of rings ψ : Z n R. It exists iff n kills the unity in R: n 1 R = 0. Then it takes k Z n to the multiple k 1 R of unity in R. Corollary. For given n and m, there is at most one homomorphism of rings φ : Z m Z n. It exists iff m is a multiple of n, equivalently, iff the ideal mz is contained in the ideal nz. Then φ(k) = r n (k), k Z m. 4. Rings of polynomials 4.1. Introduction: Polynomial functions on real numbers. A function f : R R is a polynomial if there are numbers a 0,..,a n R such that for all x R one has Then the function f is denoted f(x) = a 0 +a 1 x+a 2 x 2 + +a n x n. f = a 0 +a 1 X +a 2 X 2 + +a n X n = n i=0 a i X i. (We can also denote it by i=0 a ix i if we put a i = 0 for i > n.) Let us denote by P the set of all polynomial functions on R. Here is some notation for sets and in particular sets of functions: 4 This problem is the beginning of Category Theory, a way of thinking in mathematics where relations primary interest is not so much in mathematical objects but in relations between such objects.

23 For a set A we denote by A N { } the number of elements of A. For sets A,B we denote by A B the set of all functions f : B A, from B to A. Remark. The origin of this notation is the observation that if A and B are finite then the number of functions from B to A is B A (for each element a of A there are B choices for (a)). So the new notation satisfies A B = A B. Lemma. (a) If R is a ring, for any set X the set R X of functions from X tor has a natural structure of a ring, the sum and product of functions are defined pointwise, i.e., (f +g)(x) def = f(x)+g(x) and (f g)(x) def = f(x) g(x) for x X and f,g R X. (b) The set P of polynomial functions is a subring of the ring R R of functions from R to R. Proof. (a) The needed properties of operations on functions all follow from the corresponding properties of operations in R, say g +f = f +g since for any x X (g +f)(x) = g(x)+f(x) = f(x)+g(x) = (f +g)(x). Also, zero and unity in R X are constant functions 0 R X(x) = 0 R and 1 R X(x) = 1 R for all x X. (b) If functions f,g R R are polynomial then we can denote them f = i f i X i and g = i g i X i. Then, for any a R (f+g)(a) def = f(a)+g(a) = [f 0 +f 1 a+f 2 a 2 + ]+[g 0 +g 1 a+g 2 a 2 + ] = (f 0 +g 0 )+(f 1 +g 1 )a+(f 2 +g 2 )a 2 + So, f +g = (f i +g i )X i so it is again a polynomial. Similarly,, for any a R (f g)(a) def = f(a) g(a) = [f 0 +f 1 a+f 2 a 2 + ] [g 0 +g 1 a+g 2 a 2 + ] = (f 0 g 0 )+a(f 0 g 1 +f 1 g 0 )a+(f 0 g 2 +f 1 g 1 +f 2 So, f g = ( i,j with i+j=n f ig j )X i and therefore it is again a polynomial. 4.2. Ring R[X] of polynomials with coefficients in a ring R. The idea is that just as one has a ring of polynomials with coefficients in R, for any ring R there is a ring R[X] of polynomials with coefficients in R, Here, polynomials are defined as expressions A = a 0 +a 1 X +a 2 X 2 + +a n X n with a i R.

24 We can write it as A = n i=0 a ix i. (5) If we do not need to keep in mind what is the highest power that occurs in A we can write it as A = a i X i = a i X i i=0 i N where we put a i = 0 for i > n. The ring structure is given by operations (a 0 +a 1 X+a 2 X 2 + ) + (b 0 +b 1 X+b 2 X 2 + ) def = (a 0 +b 0 )+(a 1 +b 1 )X+(a 2 +b 2 )X 2 + and (a 0 +a 1 X +a 2 X 2 + ) (b 0 +b 1 X +b 2 X 2 + ) def = a 0 b 0 +(a 0 b 1 +a 1 b 0 )X +(a 2 b 0 +a 1 b 1 +a 0 b 2 )X 2 +(a 3 b 0 +a 2 b 1 +a 1 b 2 +a 0 b 3 )X 3 +. With the notation this is more compact: ( a i X i )+( b i X i ) def = (a i +b i )X i and ( a i X i ) ( b j X j ) def = [ i=0 i=0 Now we should prove i=0 Theorem. (R[X],+, ) is a ring. If R is commutative, so is R[X]. i=0 j=0 n=0 i+j=n 4.3. Formal power series. The ring of formal power series R[[X]] with coefficients in R, is defined the same as the ring of polynomials R[X], except that we allow that all coefficients be non-zero. So, elements are expressions A = a 0 +a 1 X +a 2 X 2 + +a n X n + = a i X i with a i R, i N. The operations are then defined by exactly the same formulas as above. Remarks. (0) The word formal indicates that we are not asking this series to converge in any sense. (1) At the first glance, R[[X]] is more scary then R[X] because it deals with infinitely many summands. However, actually R[[X]] is in some sense simpler then R[X] since we omit the additional requirement that only finitely many coefficients are not zero so there are fewer things to check. Again wee need to prove that Theorem. (R[[X]],+, ) is a ring. If R is commutative, so is R[[X]]. 5 It does not matter how we name the index, i.e., n i=0 a ix i and n j=0 a jx j both mean the sum a 0 +a 1 X +a 2 X 2 + +a n X n We will use this freedom of choice of naming indices in computations. 0 a i b j ]X n.

25 4.3.1. What is meant by expression? In order to prove that R[X] or R[[X]] is a ring, we may need to be sure of: what are the objects that we are dealing with, i.e., what is meant here by expression? The information contained in n i=0 a ix i is the same as a sequence (a 0,a 1,...) of elements of R. So, expression a 0 +a 1 X +a 2 X 2 + +a n X n + is really just a symbol which packages thesequence (a 0,a 1,...)inasuggestiveway. The suggestionis thatthese symbols should add up and multiply the same as the polynomial functions (or power series) of real numbers: the addition is defined so that the coefficients of the same powers add up and multiplication is defined so that each term is multiplied with each term and the powers add up. If we would want to restate the the theorems above simply in terms of sequences then they would say Theorem. (a) For a ring R let S be the set of all infinite sequences a = (a 0,a 1.a 2,...) of elements of R. Define operations +, on S by (a+b) n = a n +b n and (a b) n = a i b j, i.e., i+j=n (a 0,a 1.a 2,...)+(b 0,b 1.b 2,...) = (a 0 +b 0,a 1 +b 1.a 2 +b 2,...) (a 0,a 1.a 2,...) (b 0,b 1.b 2,...) = (a 0 b 0, a 0 b 1 +a 1 b 0.a 2 b 0 +a 1 b 1 +a 0 b 2, a 3 b 0 +a 2 b 1 +a 1 b 2 +a 0 b 3,...). Then S is a ring. (b) The subset S f S of all sequences a = (a 0,a 1.a 2,...) with only finitely many non-zero terms, is a subring. (c) If R is commutative, so are SS and S f. 4.4. Rings of polynomials in several variables. TheringR[X 1,...,X n ]ofpolynomials in variables X 1,...,X n with coefficients in a ring R, is defined similarly. Elements are expressions A = a 0,...,0 + a 1,0,...,0 X 1 +a 0,1,...,0 X 2 + ++a 0,...,0,1 X n + a 2.0,...,0 X 2 1 +a 0,2,...,0X 2 2 + ++a 0,...,0,2X 2 n + a 1.1,0,...,0 X 1 X 2 +a 1,0,1,...,0 X 1 X 3 + ++a 0,...,0,1,1 X n1 X n + with all coefficients in R and only finitely many non-zero coefficients. Fortunately, the sum notation is much simpler. The indices (i 1,..,i n ) are n-tuples of natural numbers: A = a (i1,...,i n)x i1 1 Xi 2 2 Xin n. (i 1,...,i n) N n

26 If we moreover denote for index I = (i 1,..,i n ) the monomial X i 1 1 X i 2 2 X in n simply by X I, the notation becomes very much alike the notation for polynomials of one variable A = I N n a I X I. This simplicity of notation extends to operations: and ( I N n a I X I ) + ( I N n b I X I ) def = I N n (a I +b I )X I ( I N n a I X I ) ( J N n b J X J ) def = K N n [ I+J=K a I b J ] X K. Here, indices addupcomponentwise: I+K = (i 1,...,i n )+(k 1,...,k n ) def = (i 1 +k 1,...,i n +k n ). Theorem. (R[X 1,...,X n ],+, ) is a ring. If R is commutative, so is R[X 1,...,X n ]. Proof. Because of a convenient choice of notation the proof for n variables is going to be the same as for one variable. The difference in proofs appears only in the last step (5) bellow, where case n = 1 is slightly simpler. (1) (R[X 1,...,X n ],+) is an abelian group. The proof is obvious because addition in R[X 1,...,X n ] is index-wise, so it consists of many copies of addition in R. For instance, (A+B)+C = [ I (a I +b I )X I ]+ I c I X I = I [(a I +b I )+c I ]X I and similarly, A + (B + C) = I [a I + (b I + c I )]X I. So, associativity follows from def associativity in R. The neutral element is 0 R[X1,...,X n] = I 0 XI etc. (2)Associativityofmultiplicationisinteresting becausethemultiplicationinr[x 1,...,X n ] is something new: a smart combination of many additions and multiplications in R. (A B) C = [ ( a I b J )X ] P c K X K P I+J=P K = [ ( a I b J ) c K ] X Q Q P+K=Q I+J=P = [ (a I b J )c K ] X Q Q P+K=Q I+J=P = [ (a I b J )c K ] X Q. Q I+J+K=Q Similarly, (AB)C = Q [ I+J+K=Q a I(b J c K )] X Q. So, associativity of multiplication in polynomials follows from several properties of operations in R.

27 (3) Distributivity. (A+B) C = [ I = K [ (a I +b I ) c J ]X K = [ I+J=K K = K (a I +b I )X ] I c J X J a I c J +b I c J ]X K = K I+J=K [ a I c J ] X K + = [ I+J=K K J [ a I c J + I+J=K I+J=K b I c J ] X K = AC +BC. I+J=K b I c J ]X K (4) If R is commutative so is R[X 1,...,X n ] as AB = ( a I b J )X K and BA = K I+J=K K ( I+J=K b J a I )X K. (5) The condition of only finitely many coefficients are not zero is preserved by addition and multiplication operations in R[X 1,...,X n ]. For index I = (i 1,...,i n ) we introduce a notion of size by I = max{i 1,i 2,...,i n }. Notice that I +J I + J. Let us say that the degree deg(a) of A = I a IX I is if there are only finitely many non-zero coefficients this is the largest value of I among all I such that a I 0; if there are infinitely many non-zero coefficients then deg(a) =. So, A satisfies the condition of only finitely many coefficients are not zero iff deg(a) <. Then it is easy to see that deg(a + B) max[deg(a), deg(b)] and deg(ab) deg(a) + deg(b). (Here we define max(x, ) = = x+ for any x. This implies the required finiteness property for A+B and AB. 4.5. Evaluation of polynomials. 4.5.1. Central subrings. We say that a subring A of a ring R is central if it lies in the center of R, i.e., A Z[R]. Clearly any central subring is commutative.

28 Examples. (0) Of course the center Z[R] is a central subring of R. (1)Fortheringofn nmatriceswithrealcoefficientsm n (R),thecenterZ[M n (R)]consists of all scalar matrices, i.e., matrices that are multiples r I n, r R, of the unity matrix 1 n. (r I n has all diagonal elements r and all other elements vanish.) Moreover, i : R Z[M n (R)] defined by i(r) def = r I n is an isomorphism of rings. So we say (imprecisely) that the center of M n (R) is the ring R. 4.5.2. A-algebras. There is an important notion, however we will not really need it. It is a slight generalization of the notion of central subrings. Let A be a commutative ring. We say that a ring R is an A-algebra if we are given a homomorphisms of rings from A to the center of R: ι : A Z[R]. Example. Central subrings A Z[R] are a special case of A-algebra when the homomorphism i is inclusion (or at least i is injective). 4.5.3. Evaluation. Let A be a commutative ring which is a central subring of a ring R. Any element r in R defines the evaluation at r function ev r : A[X] R which sends a polynomial P = i p i X i A[X] to ev r ( p i X i ) def = P(r) def = p i r i. i i TheresultisanelementofRobtainedbytakingpowersofr,multiplying thembyelements p i of the subring A R and then adding these terms in R. Lemma. Evaluation at r is a morphism of rings ev r : A[X] R. Inother wordsforanyp,q A[X]onehasev r (P+Q) = ev r (P)+ev r (Q)andev r (P Q) = ev r (P) ev r (Q), i.e., (P +Q)(r) = P(r)+Q(r) and (P Q)(r) = P(r) Q(r). Proof. The claim for addition is clear: ev r (P +Q) = ev r ( i (p i +q i )X i ) = i (p i +q i )r i = i p i r i +q i r i = i p i r i + i q i r i = ev r (P)+ev r (Q).

29 For multiplication one uses the fact that an element r of R always commutes with coefficients p i,q i A, i.e., that A is central in R. ev r (PQ) = ev r ( ( p i q j )X n ) n i+j=n = ( p i q j )r n = p i q j r i r j n = ( i N i+j=n p i r i ) ( j N i,j N q j r j ) = ev r (P) ev r (Q). 4.6. Constructing complex numbers C from real numbers R using polynomials. Recall that any element b of a commutative ring A defines an ideal ba = {ba; a A} in A. We denote such ideals by (b) def = ba and we call them principal ideals. Theorem. The quotient of the ring of polynomials R[X] by the principal ideal (X 2 + 1) def = (X 2 +1)R[X], is isomorphic to the ring of complex numbers: R[X]/(X 2 +1) = C. Proof. We need to construct an isomorphism F : R[X]/(X 2 +1) = C. (0) Since R is a central subring of C, element i C defines evaluation homomorphism This will be our starting point. φ def = ev i : R[X] C, φ(a) = A(i) for A R[x]. (1) Any homomorphism of rings defines an isomorphism of rings, so φ : R[X] C gives isomorphism φ : R[X]/Ker(φ) = Im(φ) = φ(r[x]). We will check that the image of φ is all of C and that the kernel is the principal ideal (X 2 +1). Then F = φ will be the isomorphism that we are looking for. (2) The image of φ is all of C. For any complex number z we have z = a+bi. Consider a polynomial a+bx, then φ(a+bx) = ev i (a+bx) = a+bi = z. (3) The kernel of φ is the principal ideal (X 2 +1). For this we will calculate directly the kernel Ker(φ) and the ideal (X 2 +1). (3a) Polynomial A = a 0 +a 1 X +a 2 X 2 + is in Ker(φ) if φ(a) = A(i) = a 0 +a 1 i+a 2 i 2 +a 3 i 3 +a 4 i 4 + = (a 0 a 2 +a 4 a 6 + )+i(a 1 i a 3 +a 5 a 7 + ) is zero, i.e., if the alternating sum of even coefficients is zero and the alternating sum of odd coefficients is zero.

30 (3b) Polynomial A = a 0 + a 1 X + a 2 X 2 + is in (X 2 + 1) = (X 2 + 1)R[X] if it can be written as a product A = (X 2 +1)T for some polynomial T = t 0 +t 1 X +t 2 X 2 +. Such product are polynomials (X 2 +1)(t 0 +t 1 X+t 2 X 2 + ) = (t 0 X 2 +t 1 X 3 +t 2 X 4 + )+(t 0 +t 1 X+t 2 X 2 + ) = t 0 +Xt 1 +X 2 (t 0 +t 2 )++ So, A is in the principal ideal if one can find solutions t 0,t 1,t 2,... of a system of equations a 0 = t 0 and a 1 = t 1, a 2 = t 0 +t 2, a 3 = t 1 +t 3, a 4 = t 2 +t 4, etc. (3c) Surprisingly, there is always a unique solution: t 0 = a 0 and t 1 = a 1, t 2 = a 2 t 0 = a 2 a 0, t 3 = a 3 t 1 = a 3 a 1, t 4 = a 4 t 2 = a 4 (a 2 a 0 ) = a 4 a 2 +a 0. In general, t n = a n a n 2 +a n 4 a n 6 +. (3d) So it seems that we have proved that any polynomial A is a multiple A = (X 2 +1)T of X 2 + 1. However, it is clear that for A = 1 there is no polynomial T such that 1 = (X 2 +1) T (6) Where is the mistake? The point is that T that we found need not be a polynomial it may have infinitely many non-zero coefficients and then it will be a formal power series but not a polynomial. (3e) In order for T to be a polynomial we need to be zero for all sufficiently large n. t n = a n a n 2 +a n 4 a n 6 + What this means is that the alternating sums of even coefficients of A has to vanish and the alternating sums of odd coefficients of A has to vanish. However, these are precisely the conditions for A to be in Ker(φ). So, (X 2 +1)R[X] equals Ker(φ). Remark. Part (3) of the proof was long because we understood the situation directly, without any smart tricks. We will redo part (3) when we learn how to divide polynomials. Then the proof will be very simple. 4.7. Division of polynomials. 6 Because deg[(x 2 +1)T] = deg(x 2 +1)+deg(T) 2+0, while deg(a) = deg(1) = 0.