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

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

MATH 215 Final. M4. For all a, b in Z, a b = b a.

Basic Proof Examples

Chapter 5. Number Theory. 5.1 Base b representations

Divisibility = 16, = 9, = 2, = 5. (Negative!)

a = qb + r where 0 r < b. Proof. We first prove this result under the additional assumption that b > 0 is a natural number. Let

Notes on Systems of Linear Congruences

Four Basic Sets. Divisors

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

Mathematical Reasoning & Proofs

Chapter 3 Basic Number Theory

Commutative Rings and Fields

Know the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element.

Chapter 5: The Integers

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

Solutions to Assignment 1

Math 109 HW 9 Solutions

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

Homework #2 solutions Due: June 15, 2012

Chapter 1 : The language of mathematics.

NOTES ON SIMPLE NUMBER THEORY

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

Ch 4.2 Divisibility Properties

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

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

Cool Results on Primes

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

MATH 2200 Final Review

Fall 2017 Test II review problems

Writing Assignment 2 Student Sample Questions

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers

Math 109 September 1, 2016

Introductory Mathematics

Chapter 2. Divisibility. 2.1 Common Divisors

Proof Techniques (Review of Math 271)

Problem Set 2 Solutions Math 311, Spring 2016

The Real Number System

Number Theory Math 420 Silverman Exam #1 February 27, 2018

Part V. Chapter 19. Congruence of integers

Elementary Properties of the Integers

PGSS Discrete Math Solutions to Problem Set #4. Note: signifies the end of a problem, and signifies the end of a proof.

Complete Induction and the Well- Ordering Principle

Lecture Notes on DISCRETE MATHEMATICS. Eusebius Doedel

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

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

Math 412, Introduction to abstract algebra. Overview of algebra.

Contribution of Problems

2 Elementary number theory

We want to show P (n) is true for all integers

#26: Number Theory, Part I: Divisibility

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

(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.

1. multiplication is commutative and associative;

Math 110 HW 3 solutions

CSE 20 DISCRETE MATH. Winter

Course 2BA1: Trinity 2006 Section 9: Introduction to Number Theory and Cryptography

CSE 20 DISCRETE MATH. Winter

8 Primes and Modular Arithmetic

(3,1) Methods of Proof

Contradiction MATH Contradiction. Benjamin V.C. Collins, James A. Swenson MATH 2730

2.2 Some Consequences of the Completeness Axiom

. As the binomial coefficients are integers we have that. 2 n(n 1).

Structure of R. Chapter Algebraic and Order Properties of R

MAT246H1S - Concepts In Abstract Mathematics. Solutions to Term Test 1 - February 1, 2018

5: The Integers (An introduction to Number Theory)

MATH 361: NUMBER THEORY FOURTH LECTURE

Chapter One. The Real Number System

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

Euclidean Domains. Kevin James

Math 13, Spring 2013, Lecture B: Midterm

MATH CSE20 Homework 5 Due Monday November 4

Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography

CS 360, Winter Morphology of Proof: An introduction to rigorous proof techniques

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

1. (B) The union of sets A and B is the set whose elements belong to at least one of A

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

1 Overview and revision

Ma/CS 6a Class 2: Congruences

Solution Set 2. Problem 1. [a] + [b] = [a + b] = [b + a] = [b] + [a] ([a] + [b]) + [c] = [a + b] + [c] = [a + b + c] = [a] + [b + c] = [a] + ([b + c])

Chapter 0. Introduction: Prerequisites and Preliminaries

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

Well-Ordering Principle. Axiom: Every nonempty subset of Z + has a least element. That is, if S Z + and S, then S has a smallest element.

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?

CSE 1400 Applied Discrete Mathematics Proofs

Proof by Contradiction

Introduction to Abstract Mathematics

NOTES ON INTEGERS. 1. Integers

CSE 20 DISCRETE MATH. Fall

Lecture 2. The Euclidean Algorithm and Numbers in Other Bases

Wednesday, February 21. Today we will begin Course Notes Chapter 5 (Number Theory).

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

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

1. Prove that the number cannot be represented as a 2 +3b 2 for any integers a and b. (Hint: Consider the remainder mod 3).

D-MATH Algebra I HS18 Prof. Rahul Pandharipande. Solution 1. Arithmetic, Zorn s Lemma.

The Integers. Peter J. Kahn

Contribution of Problems

UNIVERSITY OF VICTORIA DECEMBER EXAMINATIONS MATH 122: Logic and Foundations

Senior Math Circles Cryptography and Number Theory Week 2

MAT115A-21 COMPLETE LECTURE NOTES

3 The language of proof

Transcription:

WORKSHEET MATH 215, FALL 15, WHYTE We begin our course with the natural numbers: N = {1, 2, 3,...} which are a subset of the integers: Z = {..., 2, 1, 0, 1, 2, 3,... } We will assume familiarity with their most basic properties: sums and products, commutativity, ordering ( for any two a and b, exactly one of a < b, a > b, or a = b is true ) etc. The first thing we wish to study is divisibility: Definition 0.1. Let a and b be two integers. We say that a divides b ( alternatively, b is a multiple of a) if there is an integer q so that b = aq. We will use the notation a b as shorthand for this property. Proposition 0.2. Let a, b, and c be integers. If a b and a c then a (b + c). Proposition 0.3. Let a, b, and c be integers. If a b and a c then a (b c). Proposition 0.4. Let a, b, and c be integers. If a b and a c then a bc. Proposition 0.5. Let a, b, c, s and t be integers. a (sb + tc). If a b and a c then Proposition 0.6. Let a and b be natural numbers. If a b then a b. Proposition 0.7. If a is an integer then a 0. Proposition 0.8. If a is an integer such that 0 a then a = 0. Proposition 0.9. Let n, a,b, and c be integers. If n (a b) and n (b c) then n (a c). Question 0.10. What are the converses and contrapositives of the above propositions? Which contrapositives are true? 1

2 WORKSHEET MATH 215, FALL 15, WHYTE Definition 0.11. Let a and b be integers and let n be a natural number. We say a is congruent to b modulo n if n (a b). We use the notation a b mod n for this property. Problem 0.12. Decide whether each of the following statements is true and justify your answers: 2 93 mod 13 27 4 mod 5 15 6 mod 7 3 8 mod 2 Proposition 0.13. If a is an integer and n a natural number then a a mod n. Proposition 0.14. Let a and b be integers and n a natural number. If a b mod n then b a mod n. Proposition 0.15. Let a, b, and c be integers and n a natural number. If a b mod n and b c mod n then a c mod n. Proposition 0.16. Let a, b, and c be integers and n a natural number. If a b mod n then a + c b + c mod n. Proposition 0.17. Let a, b, and c be integers and n a natural number. If a b mod n then ac bc mod n. Proposition 0.18. Let a, b, and c be integers and n a natural number. If a b mod n and b c mod n then a c mod n. Proposition 0.19. Let a and b be integers and n a natural number. If a b mod n then a 2 b 2 mod n. Proposition 0.20. Let a and b be integers and n a natural number. If a b mod n then a 3 b 3 mod n. The last two propositions suggest the following: Conjecture 0.21. Let a and b be integers and n and m natural numbers. If a b mod n then a m b m mod n. Do you believe this conjecture? If so can you give an explanation for why it is true?

WORKSHEET MATH 215, FALL 15, WHYTE 3 The conjecture 0.21 is a natural example of proof by induction. To make such arguments completely rigorous we need another axiom about the natural numbers: Axiom 0.22. The well-ordering principle for N: If S be any non-empty subset of N then S contains a smallest element. The proof of conjecture 0.21 is a typical application. Start by letting S be the set of natural numbers m which make the statement false ( you ve proven already that {1, 2, 3} are not in S). The conjecture is then equivalent to the claim that S is empty (why?). If it isn t then it has a smallest element (why?). Get a contradiction from this. Problem 0.23. Give a proof of conjecture 0.21 using well ordering. The well ordering principle is often used more generally than for N. Definition 0.24. A set S of integers is bounded below if there is an integer n so that n s for all elements s of S. Proposition 0.25. If S is a subset of N then S is bounded below. Proposition 0.26. If S is a subset of Z which is bounded below then there is a natural number k so that S + k N. Proposition 0.27. The well ordering principle for Z Let S be a nonempty subset of Z. If S is bounded below then S has a smallest element. Another basic result about arithmetic follows from the well ordering principle: Proposition 0.28. Let a be an integer and b a natural number. There is an integers q and r with 0 r < b such that: a = bq + r Here q is called the quotient and r is called the remainder. Here s a hint: think about all possible q and r 0 that make the equation hold (without the assumption r < b) and then use well ordering to find the smallest such r. This proposition is often called the division algorithm because it is tells you exactly what one gets from old fashioned long division of natural numbers - a quotient and a remainder. However there s a subtlety here - the proposition says that q and r exist, but not that they are unique - in other words the division problem might have more than one right answer. Obviously that s not what we expect. Here s how that is phrased precisely (make sure you understand why, then prove it): Proposition 0.29. Let b a natural number and q 1, q 2, r 1, r 2 integers with 0 r 1 < b and 0 r 2 < b such that q 1 b + r 1 = q 2 b + r 2 then q 1 = q 2 and r 1 = r 2.

4 WORKSHEET MATH 215, FALL 15, WHYTE Definition 0.30. A natural number n > 1 is prime numbers m with m n are m = 1 and m = n if the only natural Proposition 0.31. If n > 1 is a natural number then there is a prime number p such that p n. Proposition 0.32. Every natural number n > 1 can be written as a product of primes: n = p k 1 1 pkm m where p 1, p 2,..., p m are prime numbers and k i are natural numbers. This is the prime factorization theorem. It usually also comes with a uniqueness statement. Can you figure out what this should say? It tuns out that the uniqueness is more subtle than it appears, so we will need to develop some other ideas before tackling it. We start with another definition: Definition 0.33. Given two integers a and b a greatest common divisor is an integer d satisfying: d a and d b For any c with c a and c b, c d (The first part says d is a common divisor of a and b, and the second part says it is the largest one.) Proposition 0.34. Show that unless a and b are both zero they have a greatest common divisor. Show that there is no greatest common divisor for a = b = 0. Problem 0.35. Let n be a natural number. divisor of n and 0. Find the greatest common Proposition 0.36. Let p be a prime number. Show that for any integer a the greatest common divisor of p and a is either p ( if p a) or is 1. Proposition 0.37. Let a and b be natural numbers. Write a = bq + r using the division algorithm. Show that the greatest common divisor of a and b is the same as the greatest common divisor of r and b. This gives a practical way to compute greatest common divisors: take the larger of a and b and replace it with its remainder when divided by the other, and repeat until one of the numbers is zero. Problem 0.38. What is the greatest common divisor of 120 and 168? of 59 and 1016? Question 0.39. Can you show that this process always works?

WORKSHEET MATH 215, FALL 15, WHYTE 5 Here is a surprisingly useful way to think about greatest common divisors: Proposition 0.40. Given a and b, not both zero, let S be the set {ax + by : x, y Z}. Show that if c is a common divisor of a and b then every element of S is a multiple of c ( hint: look back at the first few propositions in the worksheet). Show that S contains a positive integer, so by well ordering has a smallest positive element. Call this smallest positive element D. Show that D a and D b ( hint: think about what the remainders would be if not, and use what it means for D to be in S ) Conclude that D is the greatest common divisor of a and b. Two important facts that follow from this perspective : Proposition 0.41. Let a and b be integers, not both zero, and let d be their greatest common divisor. There are integers x and y so that ax + by = d. Further, if c is any integer with c a and c b then c d. Using all of this, prove: Proposition 0.42. Let p be a prime number and a and b integers. If p ab then p a or p b. Problem 0.43. Prove that the prime factorization of a natural number is unique.