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

Similar documents
Complete Induction and the Well- Ordering Principle

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

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

Homework #2 solutions Due: June 15, 2012

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.

Writing Assignment 2 Student Sample Questions

Recitation 7: Existence Proofs and Mathematical Induction

Homework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4

Climbing an Infinite Ladder

Chapter 1 : The language of mathematics.

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

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?

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

MONOALPHABETIC CIPHERS AND THEIR MATHEMATICS. CIS 400/628 Spring 2005 Introduction to Cryptography

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?

Math 109 HW 9 Solutions

Fall 2017 Test II review problems

(3,1) Methods of Proof

Ma/CS 6a Class 2: Congruences

12x + 18y = 50. 2x + v = 12. (x, v) = (6 + k, 2k), k Z.

NOTES ON INTEGERS. 1. Integers

Notes on Systems of Linear Congruences

NOTES ON SIMPLE NUMBER THEORY

Part V. Chapter 19. Congruence of integers

A Readable Introduction to Real Mathematics

M381 Number Theory 2004 Page 1

The Chinese Remainder Theorem

Climbing an Infinite Ladder

CSE 20 DISCRETE MATH. Winter

Mathematics 220 Homework 4 - Solutions. Solution: We must prove the two statements: (1) if A = B, then A B = A B, and (2) if A B = A B, then A = B.

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

Sums of Squares. Bianca Homberg and Minna Liu

Definition For a set F, a polynomial over F with variable x is of the form

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

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

Senior Math Circles Cryptography and Number Theory Week 2

Basic Proof Examples

Math 13, Spring 2013, Lecture B: Midterm

Math Homework # 4

2011 Olympiad Solutions

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

Chapter 1 A Survey of Divisibility 14

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

Name CMSC203 Fall2008 Exam 2 Solution Key Show All Work!!! Page (16 points) Circle T if the corresponding statement is True or F if it is False.

CSE 20 DISCRETE MATH. Fall

MATH 55 - HOMEWORK 6 SOLUTIONS. 1. Section = 1 = (n + 1) 3 = 2. + (n + 1) 3. + (n + 1) 3 = n2 (n + 1) 2.

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

The Chinese Remainder Theorem

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

MATH FINAL EXAM REVIEW HINTS

CS 5319 Advanced Discrete Structure. Lecture 9: Introduction to Number Theory II

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

Problem Set 5 Solutions

CSE 20 DISCRETE MATH. Winter

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

Math 283 Spring 2013 Presentation Problems 4 Solutions

Module 1. Integers, Induction, and Recurrences

Chapter 5: The Integers

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

1. (16 points) Circle T if the corresponding statement is True or F if it is False.

then the hard copy will not be correct whenever your instructor modifies the assignments.

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

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

Chapter 2 Section 2.1: Proofs Proof Techniques. CS 130 Discrete Structures

0 Sets and Induction. Sets

Math 3000 Section 003 Intro to Abstract Math Homework 6

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 = ,

MATH 501 Discrete Mathematics. Lecture 6: Number theory. German University Cairo, Department of Media Engineering and Technology.

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

Definitions Chapter 1 Proof Technique (Pg.1): Proof (Pg.2): Statement (Pg.2): Conditional Statement/Implication (Pg3.): Hypothesis(Pg.

Discrete Mathematics. Spring 2017

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

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.

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

MATH 215 Sets (S) Definition 1 A set is a collection of objects. The objects in a set X are called elements of X.

In 1854, Karl Weierstrauss gave an example of a continuous function which was nowhere di erentiable: cos(3 n x) 2 n. sin(3 n x), 2

Chapter 3 Basic Number Theory

CS 514, Mathematics for Computer Science Mid-semester Exam, Autumn 2017 Department of Computer Science and Engineering IIT Guwahati

Lecture Notes on DISCRETE MATHEMATICS. Eusebius Doedel

Math 118: Advanced Number Theory. Samit Dasgupta and Gary Kirby

CSC 344 Algorithms and Complexity. Proof by Mathematical Induction

Your quiz in recitation on Tuesday will cover 3.1: Arguments and inference. Your also have an online quiz, covering 3.1, due by 11:59 p.m., Tuesday.

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

UNIVERSITY OF VICTORIA DECEMBER EXAMINATIONS MATH 122: Logic and Foundations

Introduction Integers. Discrete Mathematics Andrei Bulatov

Mathematical Induction. Section 5.1

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

8 Primes and Modular Arithmetic

Review Problems for Midterm Exam II MTH 299 Spring n(n + 1) 2. = 1. So assume there is some k 1 for which

The Real Number System

MATH 271 Summer 2016 Practice problem solutions Week 1

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

NORTHWESTERN UNIVERSITY Tuesday, Oct 6th, 2015 ANSWERS FALL 2015 NU PUTNAM SELECTION TEST

Integers and Division

PROOFS IN MATHEMATICS

MATH 3330 ABSTRACT ALGEBRA SPRING Definition. A statement is a declarative sentence that is either true or false.

Chapter 5. Number Theory. 5.1 Base b representations

Ma/CS 6a Class 2: Congruences

Mat Week 8. Week 8. gcd() Mat Bases. Integers & Computers. Linear Combos. Week 8. Induction Proofs. Fall 2013

MATH 220 (all sections) Homework #12 not to be turned in posted Friday, November 24, 2017

Transcription:

MATH 215 Final We will assume the existence of a set Z, whose elements are called integers, along with a well-defined binary operation + on Z (called addition), a second well-defined binary operation on Z (called multiplication), and a relation < on Z (called less than), and that the following fourteen statements involving Z, +,, and < are true: A1. For all a, b, c in Z, (a + b) + c = a + (b + c). A2. There exists a unique integer 0 in Z such that a + 0 = 0 + a = a for every integer a. A3. For every a in Z, there exists a unique integer a in Z such that a + ( a) = ( a) + a = 0. A4. For all a, b in Z, a + b = b + a. M1. For all a, b, c in Z, (a b) c = a (b c). M2. There exists a unique integer 1 in Z such that a 1 = 1 a = a for all a in Z. M4. For all a, b in Z, a b = b a. D1. For all a, b, c in Z, a (b + c) = a b + a c. NT1. 1 0. O1. For all a in Z, exactly one of the following statements is true: 0 < a, a = 0, 0 < a. O2. For all a, b in Z, if 0 < a and 0 < b, then 0 < a + b. O3. For all a, b in Z, if 0 < a and 0 < b, then 0 < a b. O4. For all a, b in Z, a < b if and only if 0 < b + ( a). WOP. If S is a non-empty set of non-negative integers, then S has a least element. Remark 1 The above axiom is referred to as the Well-Ordering Principle (WOP). We will assume it is true without proof.

Proposition 2 (20 points) (a) Let a be an integer and n a natural number. State the division algorithm for a and n. (b) Let a and b be integers. Define what it means for a to divide b. (c) Let a, b be integers and let n be a natural number. Define a b mod n. (d) Let S be a set of integers. Define what it means for l S to be a least element. Definitions. (a) The division algorithm for a and n produces unique integers q and r such that a = qn + r and 0 r < n. (b) We say that a divides b if there exists an integer k such that ak = b. (c) We write that a b mod n (and say that a is congruent to b modulo n) if n divides a b. (d) An element l S is a least element if for every s S we have l s.

Prove or disprove the following conjecture. Conjecture 3 (10 points) Let a, b, c be integers. If a bc, then a b and a c. Disproof. The conjecture is false. For example, let a = 2, b = 2, and c = 1. Then, 2 2 1 = 2, but 2 does not divide 1. QED.

Problem 4 (10 points) Find the greatest common divisor of 139 and 93. Then, find integers m and n such that gcd(139, 93) = 139m + 93n. Solution. Let us run the division algorithm a couple of times. We find that 139 = 1 93+46, that 93 = 2 46+1, and then that 46 = 46 1+0. It follows that gcd(139, 93) = gcd(93, 46) = gcd(46, 1) = 1. Running the equations backwards, we find that 1 = 139 ( 2) + 93 3.

Theorem 5 (10 points) Let P (k) denote a statement for every integer k = 0, 1, 2,.... If the following are true: 1. P (0) is true; and 2. The truth of P (l 1) implies the truth of P (l) for every integer l = 1, 2, 3,..., then P (k) is true for all integers k = 0, 1, 2, 3.... Proof. Let F = {n Z : n 0 and P (n) is false}. We want to show that F is empty. Suppose that it is not. In that case, F is non-empty and by definition it contains only nonnegative integers. Therefore, by the well-ordering principle, F contains a least element, say l. Note that 0 / F by assumption (1). Therefore, l 1. This means that l 1 0, so that P (l 1) is defined. Since l 1 < l, the natural number l 1 is not in F since l is the least element. Therefore, P (l 1) is true. By assumption (2), this means that P (l) is true, which contradicts the assumption that l is in F. QED.

Proposition 6 (10 points) Let a be an integer and n a natural number. Show that there exists an integer r such that a r mod n and 0 r < n. Note: you do not need to prove uniqueness. Proof. Let S = {a kn : k Z and a kn 0}. I claim that S is non-empty. If a 0, then a = a 0 n shows that a S. If a < 0, then a a n = a(1 n) is in the set because a < 0 and (1 n) 0. Therefore, S is non-empty. By construction, S contains only non-negative integers. Therefore, S has a least element, say r = a kn for some integer k. Then, a r = kn so a r mod n. Moreover, r 0 since it is in S. So, it only remains to show that r < n. Suppose r n. Then, r n n n = 0. But, r n = a (k + 1)n, so it follows that r n S. But, r n < r, which contradicts the assumption that r is a least element. Hence, r < n. QED.

Proposition 7 (10 points) Prove that for all k 1, 1 + 3 + + 2k 1 = k 2. Proof. We prove this by induction. The base case, when k = 1, is simply the statement that 1 = 1 2, which is true. Now, suppose that for some k 1 the equality 1 + 3 + + 2k 1 = k 2 holds. Adding 2(k + 1) 1 = 2k + 1 to both sides, we obtain 1 + 3 + + 2k 1 + 2(k + 1) 1 = k 2 + 2k + 1 = (k + 1) 2, so the inductive step holds. By induction, 1 + 3 + + 1 + 2k 1 = k 2 for all k 1. QED.

Proposition 8 (10 points) Prove that n 3 + 2n is divisible by 3 for all natural numbers n. Proof. We prove this by induction. In the base case, when n = 1, the formula n 3 + 2n reduces to 1 3 + 2 1 = 3, which is divisible by 3. Now, assume that 3 divides n 3 + 2n for some natural number n. We have that (n + 1) 3 + 2(n + 1) = n 3 + 3n 2 + 3n + 1 + 2n + 2 = (n 3 + 2n) + 3(n 2 + n + 3). As 3 divides n 3 +2n by hypothesis and also divides 3(n 2 +n+3), it follows that 3 divides (n + 1) 3 + 2(n + 1). Therefore, by induction, 3 n 3 + 2n for all natural numbers n. QED.