Math 4310 Solutions to homework 1 Due 9/1/16

Similar documents
(e) if x = y + z and a divides any two of the integers x, y, or z, then a divides the remaining integer

Theoretical foundations of Gaussian quadrature

M A T H F A L L CORRECTION. Algebra I 2 1 / 0 9 / U N I V E R S I T Y O F T O R O N T O

set is not closed under matrix [ multiplication, ] and does not form a group.

MATH 101A: ALGEBRA I PART B: RINGS AND MODULES 35

Lecture 2: Fields, Formally

MATH 573 FINAL EXAM. May 30, 2007

Geometric Sequences. Geometric Sequence a sequence whose consecutive terms have a common ratio.

Farey Fractions. Rickard Fernström. U.U.D.M. Project Report 2017:24. Department of Mathematics Uppsala University

Natural examples of rings are the ring of integers, a ring of polynomials in one variable, the ring

p-adic Egyptian Fractions

Introduction to Group Theory

Name Solutions to Test 3 November 8, 2017

How do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique?

Bases for Vector Spaces

Math 61CM - Solutions to homework 9

378 Relations Solutions for Chapter 16. Section 16.1 Exercises. 3. Let A = {0,1,2,3,4,5}. Write out the relation R that expresses on A.

PRIMES AND QUADRATIC RECIPROCITY

Lecture 3: Equivalence Relations

Coalgebra, Lecture 15: Equations for Deterministic Automata

Review: set theoretic definition of the numbers. Natural numbers:

MathCity.org Merging man and maths

THE QUADRATIC RECIPROCITY LAW OF DUKE-HOPKINS. Circa 1870, G. Zolotarev observed that the Legendre symbol ( a p

Math Solutions to homework 1

ARITHMETIC OPERATIONS. The real numbers have the following properties: a b c ab ac

Linear Algebra 1A - solutions of ex.4

Theory of Computation Regular Languages. (NTU EE) Regular Languages Fall / 38

Handout: Natural deduction for first order logic

Quadratic reciprocity

September 13 Homework Solutions

The Regulated and Riemann Integrals

How do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique?

Chapter 14. Matrix Representations of Linear Transformations

Theory of the Integral

Quadratic Forms. Quadratic Forms

Matrices and Determinants

USA Mathematical Talent Search Round 1 Solutions Year 21 Academic Year

Lecture 3. In this lecture, we will discuss algorithms for solving systems of linear equations.

Chapter 1: Logarithmic functions and indices

W. We shall do so one by one, starting with I 1, and we shall do it greedily, trying

Is there an easy way to find examples of such triples? Why yes! Just look at an ordinary multiplication table to find them!

Matrices. Elementary Matrix Theory. Definition of a Matrix. Matrix Elements:

than 1. It means in particular that the function is decreasing and approaching the x-

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4

ad = cb (1) cf = ed (2) adf = cbf (3) cf b = edb (4)

MATRIX DEFINITION A matrix is any doubly subscripted array of elements arranged in rows and columns.

Introduction To Matrices MCV 4UI Assignment #1

Theory of Computation Regular Languages

MAT 215: Analysis in a single variable Course notes, Fall Michael Damron

Riemann Sums and Riemann Integrals

UniversitaireWiskundeCompetitie. Problem 2005/4-A We have k=1. Show that for every q Q satisfying 0 < q < 1, there exists a finite subset K N so that

MTH 505: Number Theory Spring 2017

Homework Solution - Set 5 Due: Friday 10/03/08

Math Lecture 23

42nd International Mathematical Olympiad

CH 9 INTRO TO EQUATIONS

The usual algebraic operations +,, (or ), on real numbers can then be extended to operations on complex numbers in a natural way: ( 2) i = 1

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018

SUMMER KNOWHOW STUDY AND LEARNING CENTRE

Things to Memorize: A Partial List. January 27, 2017

1.2. Linear Variable Coefficient Equations. y + b "! = a y + b " Remark: The case b = 0 and a non-constant can be solved with the same idea as above.

AQA Further Pure 1. Complex Numbers. Section 1: Introduction to Complex Numbers. The number system

Riemann Sums and Riemann Integrals

CSCI FOUNDATIONS OF COMPUTER SCIENCE

1 Structural induction

Lecture 2e Orthogonal Complement (pages )

Harvard University Computer Science 121 Midterm October 23, 2012

First Midterm Examination

Exam 2, Mathematics 4701, Section ETY6 6:05 pm 7:40 pm, March 31, 2016, IH-1105 Instructor: Attila Máté 1

Matrix Algebra. Matrix Addition, Scalar Multiplication and Transposition. Linear Algebra I 24

QUADRATIC RESIDUES MATH 372. FALL INSTRUCTOR: PROFESSOR AITKEN

Rudin s Principles of Mathematical Analysis: Solutions to Selected Exercises. Sam Blinstein UCLA Department of Mathematics

MTH 5102 Linear Algebra Practice Exam 1 - Solutions Feb. 9, 2016

Minimal DFA. minimal DFA for L starting from any other

Torsion in Groups of Integral Triangles

Infinite Geometric Series

Presentation Problems 5

Regular Language. Nonregular Languages The Pumping Lemma. The pumping lemma. Regular Language. The pumping lemma. Infinitely long words 3/17/15

MORE FUNCTION GRAPHING; OPTIMIZATION. (Last edited October 28, 2013 at 11:09pm.)

PARTIAL FRACTION DECOMPOSITION

f = ae b e , i.e., ru + P = (r + P )(u + P ) = (s + P )(t + P ) = st + P. Then since ru st P and su P we conclude that r s t u = ru st

13.3 CLASSICAL STRAIGHTEDGE AND COMPASS CONSTRUCTIONS

Before we can begin Ch. 3 on Radicals, we need to be familiar with perfect squares, cubes, etc. Try and do as many as you can without a calculator!!!

Vectors , (0,0). 5. A vector is commonly denoted by putting an arrow above its symbol, as in the picture above. Here are some 3-dimensional vectors:

INTRODUCTION TO LINEAR ALGEBRA

Lecture 09: Myhill-Nerode Theorem

308K. 1 Section 3.2. Zelaya Eufemia. 1. Example 1: Multiplication of Matrices: X Y Z R S R S X Y Z. By associativity we have to choices:

Homework 3 Solutions

Bernoulli Numbers Jeff Morton

Myhill-Nerode Theorem

Absolute values of real numbers. Rational Numbers vs Real Numbers. 1. Definition. Absolute value α of a real

Operations with Polynomials

Boolean Algebra. Boolean Algebra

Boolean Algebra. Boolean Algebras

We will see what is meant by standard form very shortly

List all of the possible rational roots of each equation. Then find all solutions (both real and imaginary) of the equation. 1.

8. Complex Numbers. We can combine the real numbers with this new imaginary number to form the complex numbers.

Each term is formed by adding a constant to the previous term. Geometric progression

MTH3101 Spring 2017 HW Assignment 6: Chap. 5: Sec. 65, #6-8; Sec. 68, #5, 7; Sec. 72, #8; Sec. 73, #5, 6. The due date for this assignment is 4/06/17.

Formal languages, automata, and theory of computation

Transcription:

Mth 4310 Solutions to homework 1 Due 9/1/16 1. Use the Eucliden lgorithm to find the following gretest common divisors. () gcd(252, 180) = 36 (b) gcd(513, 187) = 1 (c) gcd(7684, 4148) = 68 252 = 180 1 + 72 180 = 72 2 + 36 72 = 36 2 + 0 513 = 187 2 + 139 187 = 139 1 + 48 139 = 48 2 + 43 48 = 43 1 + 5 43 = 5 8 + 3 5 = 3 1 + 2 3 = 2 1 + 1 2 = 1 2 + 0 7684 = 4148 1 + 3536 4148 = 3536 1 + 612 3536 = 612 5 + 476 612 = 476 1 + 136 476 = 136 3 + 68 136 = 68 2 + 0 2. Find the multiplictive inverses of the given elements, or explin why there is not one. () [38] 1 = [59] in Z 83 First we do the Eucliden lgorithm: Substituting bckwrds, Hence [38] 1 = [ 24] = [59] in Z 83. 83 = 38 2 + 7 38 = 7 5 + 3 7 = 3 2 + 1. 1 = 7 3 2 = 7 (38 7 5) 2 = 7 11 38 2 = (83 38 2) 11 38 2 = 83 11 38 24.

Mth 4310 (Fll 2016) Solution 1 2 (b) [351] hs no inverse in Z 6669 becuse [351] [19] = [0]. (c) [91] 1 = [451] in Z 2565 First we do the Eucliden lgorithm: Substituting bckwrds, 2565 = 91 28 + 17 91 = 17 5 + 6 17 = 6 2 + 5 6 = 5 1 + 1. 1 = 6 5 1 = 6 (17 6 2) 1 = 6 3 17 1 = (91 17 5) 3 17 1 = 91 3 17 16 = 91 3 (2565 91 28) 16 = 91 451 2565 16. Hence [91] 1 = [451] in Z 2565. 3. Prove the following fcts out divisors. In the following,, b, c N. () If b, then b c. Since b, there is nturl number k such tht bk =. Multipliction is well-defined, so (bk)c = c. Multipliction is lso ssocitive, so b(kc) = c. Finlly, since N is closed under multipliction, kc N, nd by definition, b c. (b) If b nd c b, then c. Since c b, there is nturl number k 1 such tht Since b, there is nturl number k 2 such tht ck 1 = b. (1) bk 2 =. (2) We cn multiply both sides of (1) by k 2 to get (ck 1 )k 2 = bk 2. Multipliction is ssocitive, so c(k 1 k 2 ) = bk 2. Equlity is trnsitive, so using (2), we hve c(k 1 k 2 ) =. Finlly, N is closed under multipliction, so k 1 k 2 N, nd by definition c. (c) If c nd c b, then c (m + nb) for ny integers m, n. Since c nd c b, there re nturl numbers k 1 nd k 2 such tht ck 1 =, ck 2 = b. Multipliction is well-defined nd ssocitive, so c(k 1 m) = m, c(k 2 n) = bn. Multipliction is lso commuttive, so c(k 1 m) = m, c(k 2 n) = nb.

Mth 4310 (Fll 2016) Solution 1 3 Addition is well-defined, so Distributivity gives c(k 1 m) + c(k 2 n) = m + nb. c(k 1 m + k 2 n) = m + nb. Finlly N is closed under multipliction nd ddition, so k 1 m + k 2 n N, nd by definition c (m + nb). 4. Fill in the ddition nd multipliction tles for F 5. + mod 5 0 1 2 3 4 0 0 1 2 3 4 1 1 2 3 4 0 2 2 3 4 0 1 3 3 4 0 1 2 4 4 0 1 2 3 mod 5 0 1 2 3 4 0 0 0 0 0 0 1 0 1 2 3 4 2 0 2 4 1 3 3 0 3 1 4 2 4 0 4 3 2 1 () How cn we conclude from the ddition nd multipliction tles tht the opertions re commuttive? The tles re symmetric cross the top-left-to-bottom-right digonl, so the opertions re commuttive. (b) How cn we conclude tht 0 is n dditive identity? The first row of the ddition tle shows tht 0 + = for ll, while the first column of the sme tle shows tht + 0 = for ll. This suffices to show tht 0 is n dditive identity. (c) How cn we conclude tht every non-zero element hs multiplictive inverse? Excluding the 0 row, ech row in the multipliction tle hs 1, showing tht for every, there is b such tht = 1. Excluding the 0 column, ech column in the multipliction tle hs 1, showing tht for every, there is b such tht b = 1. Hence every non-zero element hs left nd right multiplictive inverse. (d) Working with elements in F 5, find the solution to the liner eqution 3x + 2 = 4. Adding 3 to both sides, we get 3x = 2. Multiplying both sides by 2, we get x = 4. 5. Tking for grnted tht R is field, we cn verify the field xioms for C. Recll tht for two complex numbers z = + bi nd w = c + di, with, b, c, d R, we hve z + w = ( + c) + (b + d)i nd z w = (c bd) + (d + bc)i. () Prove tht + is ssocitive. (Sorry, it s messy! You hve to do this kind of thing once. Also, ssocitivity of is worse.)

Mth 4310 (Fll 2016) Solution 1 4 Our three complex numbers will be z k = k + b k i for k = 1, 2, 3. Using the definition of ddition, (z 1 + z 2 ) + z 3 = (( 1 + b 1 i) + ( 2 + b 2 i)) + ( 3 + b 3 i) = (( 1 + 2 ) + (b 1 + b 2 )i) + ( 3 + b 3 i) = (( 1 + 2 ) + 3 ) + ((b 1 + b 2 ) + b 3 )i Since ddition for R is ssocitive, the lst line becomes (( 1 + 2 ) + 3 ) + ((b 1 + b 2 ) + b 3 )i = ( 1 + ( 2 + 3 )) + (b 1 + (b 2 + b 3 ))i. Use the definition of ddition gin but now in the opposite direction: s desired. (z 1 + z 2 ) + z 3 = ( 1 + ( 2 + 3 )) + (b 1 + (b 2 + b 3 ))i = ( 1 + b 1 i) + (( 2 + 3 ) + (b 2 + b 3 )i) = ( 1 + b 1 i) + (( 2 + b 2 i) + ( 3 + b 3 i)) = z 1 + (z 2 + z 3 ), (b) Suppose z = + bi stisfies 0 nd b 0. Wht is the multiplictive inverse of z? Let y = b i. Becuse nd b re both nonzero, their squres re both 2 +b 2 2 +b 2 positive, so 2 + b 2 > 0. Thus y is well-defined. Now we check the products: ( ) zy = ( + bi) 2 + b 2 b 2 + b 2 i = 2 + b 2 b 2 + b 2 i 2 + b 2 i2. Becuse i 2 = 1 nd multipliction is commuttive in R, this becomes zy = 2 + b 2 2 + b 2 = This shows tht y is right inverse of z. We check the other: ( ) yz = 2 + b 2 b 2 + b 2 i ( + bi) = 2 + b 2 + 2 + b 2 i b 2 + b 2 i 2 + b 2 + 0 + 2 + b 2 i2. Becuse i 2 = 1 nd multipliction is commuttive in R, this becomes yz = 2 + b 2 + 2 + b 2 i 2 + b 2 = 2 + b 2 + 0 + 2 + b 2 = 1. 2 + b 2 = 1. This shows tht y is left inverse of z. Thus y is the multiplictive inverse of z.

Mth 4310 (Fll 2016) Solution 1 5 (c) In prt (b), if, b Q, is z 1 Q[i]? Becuse Q is closed under multipliction nd ddition, if, b re in Q, then so is 2 +b 2. As rgued before, 2 +b 2 0, nd Q is field, so ( 2 +b 2 ) 1 b Q. Then, Q, 2 +b 2 2 +b 2 so z 1 = 2 +b 2 + b 2 +b 2 i is in Q[i]. Extended Glossry. Plese give definition of prime number. Then give n exmple of prime number, n exmple of number tht is not prime number (don t forget to explin why!), nd stte nd prove theorem out prime numbers. In studying multipliction in the nturl numbers, we quickly run into the ide of expressing numbers s products of smller numbers. Since 1 is the multiplictive identity, it is most interesting when the components re not 1. For instnce 12 = 4 3, where both 4 nd 3 re smller thn 6 nd neither is 1. Eventully we cnnot brek numbers down further, giving us our miniml units of multipliction, which we cll prime numbers. Definition 1. A prime number is nturl number greter thn 1 with no positive divisors except 1 nd itself. Exmple 2. 3 is prime number. Any divisors of 3 must be smller thn 3, which mens the only possible nontrivil (i.e. neither 1 nor 3) divisor is 2. However 2 does not divide 3, so 3 is prime. Exmple 3. 12 is not prime becuse 12 is divisible by 2. A nturl question is, how mny prime numbers re there? We will show tht there re infinitely mny of them, but before we cn do tht, we need the following lemm: Lemm 4. Every nturl number greter thn 1 hs prime divisor. Proof. Let S be the set of nturl numbers greter thn 1 which hve no prime divisors, nd suppose S is nonempty. Then by the Well-Ordering Principle, S hs lest element l. Since l hs no prime divisors, in prticulr l is not prime number. We defined S such tht l > 1, so l hs divisor which is neither 1 nor itself, which we will cll d. We hve tht d divides l but 1 < d < l, so d must hve prime divisor p, since it is not in S. However if p divides d nd d divides l, then p divides l, which contrdicts our construction of l. Hence our initil ssumption must be incorrect, nd S is empty. Therefore every nturl number greter thn 1 hs prime divisor. Theorem 5. There re infinitely mny prime numbers in N. Proof. Suppose there re only finitely mny prime numbers in N, nd they re 1, 2,..., n. Let b = 1 2 n + 1. Since N is closed under ddition nd multipliction, b is in N. By lemm 4, every nturl number greter thn 1 hs prime divisor, so b hs prime divisor, which must be i for some i. Since i divides 1 2 n nd i divides 1 2 n + 1, i must divide 1. However 1 hs no prime divisors, so our initil ssumption ws wrong, nd there re infinitely mny primes in N.