Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions

Similar documents
Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers

Chapter 2. Divisibility. 2.1 Common Divisors

Cool Results on Primes

CHAPTER 1 REAL NUMBERS KEY POINTS

Ch 4.2 Divisibility Properties

5: The Integers (An introduction to Number Theory)

4 Powers of an Element; Cyclic Groups

(e) Commutativity: a b = b a. (f) Distributivity of times over plus: a (b + c) = a b + a c and (b + c) a = b a + c a.

WORKSHEET ON NUMBERS, MATH 215 FALL. We start our study of numbers with the integers: N = {1, 2, 3,...}

Prime Factorization and GCF. In my own words

REAL NUMBERS. Any positive integer a can be divided by another positive integer b in such a way that it leaves a remainder r that is smaller than b.

Chapter 5: The Integers

a the relation arb is defined if and only if = 2 k, k

Exercises Exercises. 2. Determine whether each of these integers is prime. a) 21. b) 29. c) 71. d) 97. e) 111. f) 143. a) 19. b) 27. c) 93.

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively

2 Arithmetic. 2.1 Greatest common divisors. This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}.

Intermediate Math Circles February 14, 2018 Contest Prep: Number Theory

An integer p is prime if p > 1 and p has exactly two positive divisors, 1 and p.

Solutions to Assignment 1

Number Theory Basics Z = {..., 2, 1, 0, 1, 2,...} For, b Z, we say that divides b if z = b for some. Notation: b Fact: for all, b, c Z:

2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

INTEGERS. In this section we aim to show the following: Goal. Every natural number can be written uniquely as a product of primes.

Primes. Rational, Gaussian, Industrial Strength, etc. Robert Campbell 11/29/2010 1

Homework 3, solutions

Chapter 5. Number Theory. 5.1 Base b representations

SEVENTH EDITION and EXPANDED SEVENTH EDITION

Deepening Mathematics Instruction for Secondary Teachers: Algebraic Structures

Proof by Contradiction

8 Primes and Modular Arithmetic

and LCM (a, b, c) LCM ( a, b) LCM ( b, c) LCM ( a, c)

2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

Direct Proof MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Direct Proof Fall / 24

Math 109 HW 9 Solutions

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

not to be republished NCERT REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results

MATH 2112/CSCI 2112, Discrete Structures I Winter 2007 Toby Kenney Homework Sheet 5 Hints & Model Solutions

EUCLID S ALGORITHM AND THE FUNDAMENTAL THEOREM OF ARITHMETIC after N. Vasiliev and V. Gutenmacher (Kvant, 1972)

Math 511, Algebraic Systems, Fall 2017 July 20, 2017 Edition. Todd Cochrane

Elementary Algebra Chinese Remainder Theorem Euclidean Algorithm

Beautiful Mathematics

Introduction to Algebraic Number Theory Part I

Lecture Notes. Advanced Discrete Structures COT S

1 Overview and revision

CHAPTER 6. Prime Numbers. Definition and Fundamental Results

Introduction to Number Theory. The study of the integers

MATH10040 Chapter 1: Integers and divisibility

PRIME NUMBERS YANKI LEKILI

COMP239: Mathematics for Computer Science II. Prof. Chadi Assi EV7.635

The following is an informal description of Euclid s algorithm for finding the greatest common divisor of a pair of numbers:

MATH CSE20 Homework 5 Due Monday November 4

Sums of four squares and Waring s Problem Brandon Lukas

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof

Properties of the Integers

a + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c.

4.3 - Primes and Greatest Common Divisors

WORKSHEET MATH 215, FALL 15, WHYTE. We begin our course with the natural numbers:

#26: Number Theory, Part I: Divisibility

Arithmetic, Algebra, Number Theory

This is a recursive algorithm. The procedure is guaranteed to terminate, since the second argument decreases each time.

2 Elementary number theory

(3,1) Methods of Proof

MATH Fundamental Concepts of Algebra

NOTES ON SIMPLE NUMBER THEORY

Proof worksheet solutions

Proofs. Methods of Proof Divisibility Floor and Ceiling Contradiction & Contrapositive Euclidean Algorithm. Reading (Epp s textbook)

2. THE EUCLIDEAN ALGORITHM More ring essentials

The Euclidean Algorithm and Multiplicative Inverses

All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points.

Number Theory and Graph Theory. Prime numbers and congruences.

Disproof MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Disproof Fall / 16

Math1a Set 1 Solutions

As the title suggests, we tackle three famous theorems in this chapter. 4.1 The Fundamental Theorem of Arithmetic

CLASS-IX MATHEMATICS. For. Pre-Foundation Course CAREER POINT

NUMBER SYSTEMS. Number theory is the study of the integers. We denote the set of integers by Z:

Table of Contents. Number and Operation. Geometry. Measurement. Lesson 1 Goldbach s Conjecture Lesson 2 Micro Mites... 11

Direct Proof Divisibility

Quantitative Aptitude

Formal Proof Methodology

MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences.

Direct Proof Divisibility

MTH 310, Section 001 Abstract Algebra I and Number Theory. Sample Midterm 1

MATH10040: Chapter 0 Mathematics, Logic and Reasoning

Math 13, Spring 2013, Lecture B: Midterm

Masters Tuition Center

MATH10040: Numbers and Functions Homework 1: Solutions

MATHEMATICS X l Let x = p q be a rational number, such l If p, q, r are any three positive integers, then, l that the prime factorisation of q is of t

Proof 1: Using only ch. 6 results. Since gcd(a, b) = 1, we have

3 The language of proof

Lecture 5: Arithmetic Modulo m, Primes and Greatest Common Divisors Lecturer: Lale Özkahya

Number Theory. Jason Filippou UMCP. ason Filippou UMCP)Number Theory History & Definitions / 1

SOLUTIONS Math 345 Homework 6 10/11/2017. Exercise 23. (a) Solve the following congruences: (i) x (mod 12) Answer. We have

8. Given a rational number r, prove that there exist coprime integers p and q, with q 0, so that r = p q. . For all n N, f n = an b n 2

Q 2.0.2: If it s 5:30pm now, what time will it be in 4753 hours? Q 2.0.3: Today is Wednesday. What day of the week will it be in one year from today?

Intermediate Math Circles February 29, 2012 Linear Diophantine Equations I

Finding Prime Factors

Discrete Mathematics Logics and Proofs. Liangfeng Zhang School of Information Science and Technology ShanghaiTech University

5.1. Primes, Composites, and Tests for Divisibility

Elementary Properties of the Integers

Solution Sheet (i) q = 5, r = 15 (ii) q = 58, r = 15 (iii) q = 3, r = 7 (iv) q = 6, r = (i) gcd (97, 157) = 1 = ,

Before we talk about prime numbers, we will spend some time with divisibility because there is

Transcription:

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions Warm-up Problems 1. What is a prime number? Give an example of an even prime number and an odd prime number. A prime number is a natural number greater than 1 that is only divisible by 1 and itself. (a) Circle the prime numbers in the list of numbers below: 1 4 8 13 17 101 121 The prime numbers are 13, 17, and 101. 2. The Fundamental Theorem of Arithmetic (also known as the unique factorization theorem) states that Any natural number greater than 1 can be written as a product of prime numbers. Moreover, such a factorization is unique. (a) Find prime factoriation of the following numbers: 3575 = 5 2 11 13 7168 = 2 10 7 1

(b) Should 1 be considered a prime number? Why or why not? (Hint: If we were to consider 1 a prime number, would the Fundamental Theorem of Arithmetic still be true?) 1 is neither a prime nor a composite number. If 1 were considered prime, the Fundamental Theorem of Arithmetic would fail to be true because prime factorizations of numbers would not remain unique. For example, the prime factorization of 5 could be written as 5 1 or 5 1 1, making the factorization not unique. 3. Explain what it means that two numbers p and q are coprime. Two numbers p and q are said to be coprime if the only positive integer that divides them both is 1. Or, in fewer words, gcd(p, q) = 1 if p and q are coprime. (a) For the given pairs of numbers, determine whether they are coprime. i. 4, 8 Not coprime. gcd(4, 8) = 2. ii. 13, 17 Coprime. gcd(13, 17) = 1. iii. 13, 51 Coprime. gcd(13, 51) = 1. (b) Do both numbers have to be prime in order for the pair to be coprime? If no, give an example. No, both numbers do not have to be prime in order for the pair to be coprime. For example, 3 and 4 are coprime, but 4 is not prime. (c) Does one of the numbers have to be prime in order for the pair to be coprime? If no, give an example. No, even one of the numbers does not have to be prime in order for the pair to be coprime. For example, 4 and 9 are coprime, but neither 4 nor 9 is prime. (d) What is the greatest common divisor of two coprime numbers a and b? gcd(a, b) = 1 2

Euclid s lemma Euclid of Alexandria was a Greek mathematician who lived in the 4 th century BC. Known as the father of geometry (remember Euclidean distance?), Euclid made immense contributions to many other fields of mathematics including algebra and number theory. We will be focusing on his work on prime numbers. In mathematics, a lemma is a helping theorem. It is a theorem with a simple proof that we largely use as a stepping stone to prove bigger theorems. Euclid s lemma states that If a prime number p divides the product of two numbers a and b, then p divides at least one of a or b. We use the notation c d to show that the second number, d, is divisible by the first number, c. We use the notation c d to show that the second number, d, is not divisible by the first number, c. With this notation, Euclid s lemma can be written as follows: If p a b, then p a or p b. 1. Let p = 3, a = 5, and b = 6. (a) Is p prime? Yes. (b) Does p divide a b? Yes, 5 6 = 30 is divisible by 3. (c) What can we conclude using Euclid s lemma? According to Euclid s lemma, 3 must divide at least one of 5 or 6. (d) Which of the numbers, a or b, does p divide? 3 divides 6. 3

2. Write down the contrapositive to Euclid s lemma using the symbol. The contrapositive to Euclid s lemma states that if p a and p b, then p a b. (a) Is this contrapositive true? If Euclid s lemma is true, then its contrapositive must also be true. (b) Give an example of a prime number p and two numbers a and b to test the contrapositive. For example, if 4 11 and 4 9, then p 99. 3. Write down the converse to Euclid s lemma using the symbols and. The converse to Euclid s lemma states that if p a or p b, then p a b. (a) Is this converse true? The converse may or may not be true. We need to prove it. (b) Can you try to prove it? Say, without loss of generality, p a and p b. Therefore, a = k p. So, a b = p k b. We know that p p k b. Therefore, p a b. Thus, the converse is true. 4. Fill in the blanks: (a) p a b and p a, then p b. (b) If p a b and p is coprime to a, then p b. 4

5. Let s test that this is only true when p is prime. Give an example of a composite number q and two numbers a and b, such that q a b, but q a and q b. Say, q = 4, a = 6, and b = 10. 4 60, but 4 6 and 4 10. Therefore, Euclid s lemma is only true for prime numbers. 6. Does Euclid s lemma work when p divides the product of more than two numbers? Suppose that p a 1 a 2 a 3... a n. Does it follow that p a 1 or p a 2 or p a 3 or... or p a n? (a) Let p = 2, a 1 = 3, a 2 = 2, a 3 = 5, a 2 = 4. Is p prime? Yes. (b) Does p divide a 1 a 2 a 3 a 4? Yes, 3 2 5 4 = 120 is divisible by 2. (c) What can we conclude using Euclid s lemma? According to Euclid s lemma, 2 must divide at least one of 3 or 2 or 5 or 4. (d) Which of the numbers, a 1, a 2, a 3 or a 4, does p divide? 2 divides 2 and 4. 5

7. We can use Euclid s lemma to prove that 2 is irrational. Recall that a number is called rational if it can be written in the form m, where m and n are coprime. n (a) Let us suppose that 2 is rational. This means that 2 = m n, where m and n are coprime. (b) This is a proof by the method of contradiction. (c) Square both sides of the equality above. 2 = m2 n 2 (d) Multiply both sides of the equality by n 2. 2n 2 = m 2 (e) From the equality above, what do you know about the relationship between m 2 and 2? (Hint: Use the symbols or.) Since m 2 is divisible by 2, 2 m 2. (f) Using the result above and fact that 2 is a prime number, explain what Euclid s lemma implies. According to Euclid s lemma, if 2 m 2, then 2 m. (g) Is m even or odd? Why? What other form can m be written in? Because m is divisible by 2, m is even. Therefore, m can be written as m = 2k. (h) Therefore, m 2 = 4k 2. 6

(i) Substitute the new expression for m 2 into the equality you obtain for part d. 2n 2 = 4k 2 (j) Divide both sides of the equality by 2. n 2 = 2k 2 (k) From the equality above, what do you know about the relationship between n 2 and 2? Since n 2 is divisible by 2, 2 n 2. (l) Using the result above and fact that 2 is a prime number, what can we conclude from Euclid s lemma? According to Euclid s lemma, if 2 n 2, then 2 n. (m) Is n even or odd? Because n is divisible by 2, n is even. (n) Why have we reached a contradiction? According to our original assumption, m and n were coprime. However, as proven above, they are both even and have a common prime factor of 2. This contradicts our assumption. (o) What does this contradiction prove? We now know that 2 must be irrational, since it cannot be written in the smallest form m, where m and n are coprime. n 7

8. Using the same method, prove that 3 is irrational. Let us suppose that 3 is rational. 3 = m n, This means that where m and n are coprime. Squaring both sides of the equality above, 3 = m2 n 2. Multiplying both sides of the equality by n 2, 3n 2 = m 2. From the equality above, we know that m 2 is divisible by 3. Therefore, 3 m 2. According to Euclid s lemma, if 3 m 2, then 3 m. Since m is divisible by 3, m can be written as m = 3k. Therefore, m 2 = 9k 2. Substituting the new expression for m 2, we get 3n 2 = 9k 2. Dividing both sides of the equality by 3, n 2 = 3k 2. Since n 2 is divisible by 3, 3 n 2. According to Euclid s lemma, if 3 n 2, then 3 n. Therefore, n is divisible by 3. According to our original assumption, m and n were coprime. However, as proven above, they are both divisible by 3. This contradicts our assumption. We now know that 3 must be irrational, since it cannot be written in the smallest form m, where m and n are coprime. n 8

9. Using the same method as above, try to prove that 4 is irrational. Where does this proof fail? To try to prove that 4 is irrational by the method of contradiction, let us suppose that 4 is rational. This means that 4 = m n, where m and n are coprime. Squaring both sides of the equality above, 4 = m2 n 2. Multiplying both sides of the equality by n 2, 4n 2 = m 2. From the equality above, we know that m 2 is divisible by 4. Therefore, 4 m 2. We cannot apply Euclid s lemma here because 4 is not a prime number. cannot continue, and here is where the proof fails. We 9

The Goldbach Conjecture In mathematics, a conjecture is a conclusion based on some information, for which a proof has not been found. In 1742, the German mathematician Christian Goldbach noticed that, or so it seems, all even integers (except 2) can be written as the sum of two prime numbers. For example, 6 = 3 + 3, 8 = 3 + 5, or 24 = 13 + 11. Since then, computers have checked that the Goldbach Conjecture works for all even numbers up to 4 10 18. Many mathematicians have tried, but so far nobody was able to find a proof. 1. Express the following even numbers as a sum of two prime numbers. (a) 4 = 2 + 2 (b) 12 = 5 + 7 (c) 34 = 23 + 11 (d) 48 = 17 + 31 (e) 64 = 23 + 41 2. Do you think the Goldbach Conjecture is true for odd numbers? Explain why or why not. The Goldbach Conjecture is not true for all odd numbers. This is because only the sum of an odd and an even number make an odd number. The only even prime number is 2. Only the odd numbers which differ from a prime number by 2 can be written as the sum of two prime numbers. 10