Part V, Abstract Algebra CS131 Mathematics for Computer Scientists II Note 29 RINGS AND FIELDS

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

Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Factoring Polynomials

26 Ideals and Quotient Rings

Properties of Real Numbers

Notes on Algebraic Structures. Peter J. Cameron

Negative Integer Exponents

Chapter 13: Basic ring theory

So let us begin our quest to find the holy grail of real analysis.

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

Groups in Cryptography

Here are some examples of combining elements and the operations used:

ALGEBRA HW 5 CLAY SHONKWILER

Online EFFECTIVE AS OF JANUARY 2013

Mathematics Course 111: Algebra I Part IV: Vector Spaces

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

k, then n = p2α 1 1 pα k

7.4. The Inverse of a Matrix. Introduction. Prerequisites. Learning Style. Learning Outcomes

Abstract Algebra Cheat Sheet

CONTENTS 1. Peter Kahn. Spring 2007

Chapter 6. Orthogonality

Solutions to TOPICS IN ALGEBRA I.N. HERSTEIN. Part II: Group Theory

Continued Fractions and the Euclidean Algorithm

Our Primitive Roots. Chris Lyons

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.

8 Primes and Modular Arithmetic

Elements of Abstract Group Theory

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

Full and Complete Binary Trees

Quotient Rings and Field Extensions

Lecture 13 - Basic Number Theory.

it is easy to see that α = a

Applications of Fermat s Little Theorem and Congruences

How To Prove The Dirichlet Unit Theorem

11 Ideals Revisiting Z

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

Notes on Determinant

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

3 1. Note that all cubes solve it; therefore, there are no more

4. FIRST STEPS IN THE THEORY 4.1. A

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

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

Math 319 Problem Set #3 Solution 21 February 2002

Boolean Algebra Part 1

(0, 0) : order 1; (0, 1) : order 4; (0, 2) : order 2; (0, 3) : order 4; (1, 0) : order 2; (1, 1) : order 4; (1, 2) : order 2; (1, 3) : order 4.

Test1. Due Friday, March 13, 2015.

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

Chapter 3. if 2 a i then location: = i. Page 40

28 CHAPTER 1. VECTORS AND THE GEOMETRY OF SPACE. v x. u y v z u z v y u y u z. v y v z

JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson

26 Integers: Multiplication, Division, and Order

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

Lecture Notes on Polynomials

Chapter 7. Matrices. Definition. An m n matrix is an array of numbers set out in m rows and n columns. Examples. (

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

A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions

Section IV.21. The Field of Quotients of an Integral Domain

Factorization Algorithms for Polynomials over Finite Fields

V Quantitative Reasoning: Computers, Number Theory and Cryptography

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 ]

Introduction to Matrix Algebra

Factoring of Prime Ideals in Extensions


Chapter 8 Integers 8.1 Addition and Subtraction

THE PRODUCT SPAN OF A FINITE SUBSET OF A COMPLETELY BOUNDED ARTEX SPACE OVER A BI-MONOID

Math 223 Abstract Algebra Lecture Notes

MATH10040 Chapter 2: Prime and relatively prime numbers

Introduction to Matrices for Engineers

Chapter 17. Orthogonal Matrices and Symmetries of Space

God created the integers and the rest is the work of man. (Leopold Kronecker, in an after-dinner speech at a conference, Berlin, 1886)

Section 4.1 Rules of Exponents

Just the Factors, Ma am

by the matrix A results in a vector which is a reflection of the given

Linear Algebra I. Ronald van Luijk, 2012

ABSTRACT ALGEBRA: A STUDY GUIDE FOR BEGINNERS

Two classes of ternary codes and their weight distributions

SECTION P.5 Factoring Polynomials

ON TORI TRIANGULATIONS ASSOCIATED WITH TWO-DIMENSIONAL CONTINUED FRACTIONS OF CUBIC IRRATIONALITIES.

Revised Version of Chapter 23. We learned long ago how to solve linear congruences. ax c (mod m)

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include

GROUP ALGEBRAS. ANDREI YAFAEV

Primes in Sequences. Lee 1. By: Jae Young Lee. Project for MA 341 (Number Theory) Boston University Summer Term I 2009 Instructor: Kalin Kostadinov

3.1. RATIONAL EXPRESSIONS

NOTES ON LINEAR TRANSFORMATIONS

Arithmetic and Algebra of Matrices

Factorization in Polynomial Rings

A New Generic Digital Signature Algorithm

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.

MATH PROBLEMS, WITH SOLUTIONS

1.3 Algebraic Expressions

Lecture 3: Finding integer solutions to systems of linear equations

Matrix algebra for beginners, Part I matrices, determinants, inverses

Systems of Linear Equations

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

4.1. COMPLEX NUMBERS

A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form

Monogenic Fields and Power Bases Michael Decker 12/07/07

PYTHAGOREAN TRIPLES KEITH CONRAD

Transcription:

CS131 Part V, Abstract Algebra CS131 Mathematics for Computer Scientists II Note 29 RINGS AND FIELDS We now look at some algebraic structures which have more than one binary operation. Rings and fields have addition, subtraction and multiplication operations. In a field, division is also possible. Rings A ring consists of a set R with two binary operations + and. (the. is usually omitted when writing products) such that: (1) R is an abelian group under + (its identity element is usually denoted by 0 and called the zero element of R) (2) R is closed under multiplication (3) the operation. is associative (4) the following distributive laws hold for any a, b, c R: a(b + c) = ab + ac (b + c)a = ba + ca (5) R may or may not have an identity element under. and may or may not have inverse elements under. An identity under. in a ring R is an element 1 R with 1 0 and 1a = a = a1 for all a R. If R is a ring with an identity 1 under., then we say that an element a 1 of R is an inverse of a R if aa 1 = 1 = a 1 a A ring R is called commutative if ab = ba for all a, b R Examples of Rings: Each of the sets Z, R and C is a commutative ring with identity under the usual addition and multiplication operations. Let n 2 be an integer. The set Z n = {0, 1,..., n 1} of integers mod n is a commutative ring with identity under addition and multiplication mod n. In this ring we have ab = p and a + b = s 29 1

(1) (2) if and only if p and q are the unique integers with 0 p, q n 1 and ab p mod n, a + b q mod n. Let n 2 be an integer. The set of n n matrices with entries from R is a ring with identity under matrix addition and multiplication. The identity is the n n identity matrix and the zero element is the n n zero matrix. This ring is not commutative. The set of all even integers forms a commutative ring under the usual addition and multiplication of integers. This ring does not have an identity. A Boolean algebra becomes a ring when addition and multiplication are defined by: a + b = (a b ) (a b) a.b = a b Properties of Rings. For any elements a and b of a ring: (1) 0a = 0 = a0 (2) ( a)b = ab = a( b) (3) ( a)( b) = ab Examples of Inverses. In the ring Z 3 = {0, 1, 2} we have 1.1 = 1 and 2.2 = 1 so every nonzero element is its own inverse. In the ring Z 4 = {0, 1, 2, 3} the element 2 has no inverse. To see this we can check all the candidates: 0.2 = 0, 1.2 = 2, 2.2 = 0, 3.2 = 2. The Cayley table for multiplication in Z 6 is:. 0 1 2 3 4 5 0 0 0 0 0 0 0 1 0 1 2 3 4 5 2 0 2 4 0 2 4 3 0 3 0 3 0 3 4 0 4 2 0 4 2 5 0 5 4 3 2 1 29 2

and we see from this that 1 and 5 are the only elements of this ring which have inverses. Fields A field F is a commutative ring F with identity in which every nonzero element has an inverse. Examples of Fields: the rational numbers Q with the usual addition and multiplication the real numbers R with the usual addition and multiplication the complex numbers C with the usual addition and multiplication the set Z p of integers mod p where p is a prime number is a field under addition and multiplication mod p Properties of Fields. (1) In a field, a product of two nonzero elements is nonzero, or equivalently ab = 0 a = 0 or b = 0 (2) If a, b, c are elements of a field and a 0, then the following cancellation law holds: ab = ac b = c Proof. (1) Suppose ab = 0. If a 0, then a has an inverse a 1 and so ab = 0 a 1 ab = a 1 0 1b = 0 b = 0. (2) If a 0, then: ab = ac a 1 ab = a 1 ac 1b = 1c b = c. Note that properties (1) and (2) of fields need not hold in general for rings. For example in the ring Z 4 we have 2.2 = 0 so a product of two nonzero elements can be zero. Similarly the cancellation law does not hold in Z 4 since 2.2 = 2.0 but 2 0. Proposition. prime. The integer ring Z n mod n is a field if and only if n is Proof. First suppose that p is prime. To show that Z p is a field we let m {0, 1,..., p 1} and suppose that m has no inverse in Z p. Then none of the p numbers 0m, 1m, 2m,..., (p 1)m 29 3

can be equal to 1 so this list must contain two numbers which are equal in Z p. Hence we have im jm (mod p) or (i j )m 0 (mod p) for some i, j with 0 < i j < p. Since p is prime one of the numbers i j or m must be a multiple of p and considering their ranges the only possibility is m = 0 Hence 0 is the only element with no inverse and so Z p is a field. To complete the proof we show that if n is not prime, then Z n is not a field. If n 2 is not prime then we can write n = qr for some q, r 2. But now we have two nonzero elements q and r whose product is the zero element of Z n. Since this is not possible in a field it follows that Z n is not a field. Other examples of finite fields can be constructed by taking a polynomial which has no root in Z p and adjoining a root. For example the polynomial x 2 + 1 has no root in Z 3 so if we add one and call it i, say, then the set {a + ib a, b Z 3 } becomes a field if we define addition and multiplication by (a + ib) + (c + id) = (a + c) + i(b + d) (a + ib)(c + id) = (ac bd) + i(bc + ad) i.e. we write i 2 as 1. This gives an example of a field with 9 elements. Finite fields have applications to generating sequences of pseudo-random numbers. See D. Knuth, The Art of Computer Programming, Volume 2 (page 28) for details. ABSTRACT Content definition of ring, definition of field, properties of rings and fields In this Note, we study algebraic structures which are more complicated than groups. Rings and Fields have two binary operations compared with only one for a group. These structures were created in order to describe, among others, the properties of number systems. History Trygve Nagell was a Norwegian mathematician who published papers and books, in Swedish and English, on number theory. From the late 1920s onwards his chief interest was the study of algebraic numbers, and his 1931 study of algebraic rings was perhaps his most important contribution to abstract algebra. Emil Artin [1898-1962] was an Austrian mathematician who made important contributions to the development of class field theory and the theory of hypercomplex numbers. He was one of the creators of modern abstract algebra. 29 4

Joseph Henry Wedderburn [1882-1948] was a Scottish mathematician who opened new lines of thought in the subject of mathematical Fields and who had a deep influence on the development of modern algebra. 29 5