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

Similar documents
Induction 1 = 1(1+1) = 2(2+1) = 3(3+1) 2

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

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.

Groups. s t or s t or even st rather than f(s,t).

Rings If R is a commutative ring, a zero divisor is a nonzero element x such that xy = 0 for some nonzero element y R.

Sums and Products. a i = a 1. i=1. a i = a i a n. n 1

Elementary Properties of the Integers

Commutative Rings and Fields

Polynomial Division. You may also see this kind of problem written like this: Perform the division x2 +2x 3

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

In N we can do addition, but in order to do subtraction we need to extend N to the integers

In N we can do addition, but in order to do subtraction we need to extend N to the integers

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

CHAPTER 8: EXPLORING R

Cool Results on Primes

MATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers.

Divisibility of Natural Numbers

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

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

Polynomial Rings. i=0

Climbing an Infinite Ladder

HOMEWORK 4 SOLUTIONS TO SELECTED PROBLEMS

n n P} is a bounded subset Proof. Let A be a nonempty subset of Z, bounded above. Define the set

Some Review Problems for Exam 1: Solutions

Chapter 5: The Integers

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

1 Overview and revision

No Solution Equations Let s look at the following equation: 2 +3=2 +7

Proofs. Chapter 2 P P Q Q

In case (1) 1 = 0. Then using and from the previous lecture,

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

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])

Climbing an Infinite Ladder

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

Euler s, Fermat s and Wilson s Theorems

MAT115A-21 COMPLETE LECTURE NOTES

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

Examples of Groups

2.2 Some Consequences of the Completeness Axiom

Mathematical Induction. EECS 203: Discrete Mathematics Lecture 11 Spring

ASSIGNMENT 1 SOLUTIONS

In case (1) 1 = 0. Then using and from Friday,

Basic Proof Examples

PEANO AXIOMS FOR THE NATURAL NUMBERS AND PROOFS BY INDUCTION. The Peano axioms

THE DIVISION THEOREM IN Z AND R[T ]

2 Lecture 2: Logical statements and proof by contradiction Lecture 10: More on Permutations, Group Homomorphisms 31

Discrete Math, Spring Solutions to Problems V

Complete Induction and the Well- Ordering Principle

Proofs. Chapter 2 P P Q Q

Math 31 Lesson Plan. Day 5: Intro to Groups. Elizabeth Gillaspy. September 28, 2011

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

2 Elementary number theory

Chapter III. Basic Proof Techniques. Proving the obvious has never been easy. Marty Rubin

A lower bound for X is an element z F such that

NOTES ON INTEGERS. 1. Integers

Writing proofs for MATH 51H Section 2: Set theory, proofs of existential statements, proofs of uniqueness statements, proof by cases

Lecture 2: Change of Basis

Principles of Real Analysis I Fall I. The Real Number System

Discrete Mathematics. Spring 2017

THE DIVISION THEOREM IN Z AND F [T ]

Chapter 1 Review of Equations and Inequalities

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2

Math Lecture 23 Notes

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

a 2 + b 2 = (p 2 q 2 ) 2 + 4p 2 q 2 = (p 2 + q 2 ) 2 = c 2,

Axioms for Set Theory

Math 31 Lesson Plan. Day 2: Sets; Binary Operations. Elizabeth Gillaspy. September 23, 2011

Preparing for the CS 173 (A) Fall 2018 Midterm 1

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

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

7.12 The student will represent relationships with tables, graphs, rules, and words.

[Limits at infinity examples] Example. The graph of a function y = f(x) is shown below. Compute lim f(x) and lim f(x).

Contribution of Problems

Chapter 5. Number Theory. 5.1 Base b representations

SECTION 2.3: LONG AND SYNTHETIC POLYNOMIAL DIVISION

Proof Techniques (Review of Math 271)

A lower bound for X is an element z F such that

5 + 9(10) + 3(100) + 0(1000) + 2(10000) =

1. Introduction to commutative rings and fields

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

1. multiplication is commutative and associative;

The theory of numbers

Inverses and Elementary Matrices

MATH 117 LECTURE NOTES

a. See the textbook for examples of proving logical equivalence using truth tables. b. There is a real number x for which f (x) < 0. (x 1) 2 > 0.

Mathematical Induction. Section 5.1

Sequences and infinite series

11 Division Mod n, Linear Integer Equations, Random Numbers, The Fundamental Theorem of Arithmetic

Recitation 7: Existence Proofs and Mathematical Induction

PHIL 422 Advanced Logic Inductive Proof

Math Lecture 3 Notes

Introductory Mathematics

1 Predicates and Quantifiers

µ (X) := inf l(i k ) where X k=1 I k, I k an open interval Notice that is a map from subsets of R to non-negative number together with infinity

Mathematics-I Prof. S.K. Ray Department of Mathematics and Statistics Indian Institute of Technology, Kanpur. Lecture 1 Real Numbers

Math /Foundations of Algebra/Fall 2017 Foundations of the Foundations: Proofs

Proofs. Joe Patten August 10, 2018

Quotient Rings. is defined. Addition of cosets is defined by adding coset representatives:

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

Transcription:

Divisibility 1-17-2018 You probably know that division can be defined in terms of multiplication. If m and n are integers, m divides n if n = mk for some integer k. In this section, I ll look at properties of the divisibility relation. I ll begin by discussing the Division Algorithm, which tells you something you ve known since grade school namely, that you can divide one integer by another. Note that this isn t the long-division algorithm, which tells you how to divide one integer by another. The Division Algorithm follows from the Well-Ordering Axiom for the nonnegative integers. Well-Ordering Axiom. The positive integers Z + are well-ordered that is, every nonempty subset of the positive integers has a smallest element. Even though your experience with the integers may lead you to think this is obvious, it s actually an axiom of the positive integers Z +. It has many important consequences; mathematical induction is one, and the Division Algorithm is another. Note that Well-Ordering applies to nonempty subsets of the nonnegative integers as well. If such a subset contains 0, then 0 is the smallest element; if the subset doesn t contain 0, then it consists of only positive integers, and Well-Ordering for the positive integers implies that it has a smallest element. Example. (Applying the Well-Ordering Axiom) Show that there is no positive integer less than 1. In this proof, I m going to assume familiar facts about inequalities involving integers, since the point is to illustrate how you might use Well-Ordering. Suppose that there is a positive integer less than 1. Let S be the set of positive integers less than 1. Then S is nonempty, so by Well-Ordering, S has a smallest element. Suppose that x is the smallest element of S. Now 0 < x < 1, so multiplying by x, I get 0 < x 2 < x, and x < 1, so 0 < x 2 < x < 1. Thus, x 2 is a positive integer less than 1 which is smaller than x. This is a contradiction. Therefore, there is no positive integer less than 1. Theorem. (The Division Algorithm) Let a and b be integers, with b > 0. There are unique integers q and r such that a = b q +r, and 0 r < b. Of course, q is the quotient and r is the remainder. Proof. What is division? Division is successive subtraction. Therefore, you ought to be able to find r by subtracting multiples of b from a until the result becomes negative. For example, if you re dividing 23 by 7, you d do this: 23 7 = 16, 23 2 7 = 9, 23 3 7 = 2, 23 4 7 = 5. (Negative!) The quotient is 3 the last multiple of 7 which gave a nonnegative result. The last nonnegative result is the remainder, which is 2. To do the proof, I have to take the idea exhibited in this example and write it out in general (with a, b, q, and r instead of specific numbers). Look at the set of integers S = {a bn n Z}. 1

If I choose n < a (as I can there s always an integer less than any number), then bn < a, so a bn > 0. b This choice of n produces a positive integer a bn in S. So the subset T consisting of nonnegative integers in S is nonempty. Since T is a nonempty set of nonnegative integers, I can apply Well-Ordering. It tells me that there is a smallest element r T. Thus, r 0, and r = a bq for some q (because r T, T S, and everything in S has this form). Moreover, if r b, then r b 0, so a bq b 0, or a b(q +1) 0. So a b(q + 1) T, but r = a bq > a b(q + 1). This contradicts my assumption that r was the smallest element of T. All together, I now have r and q such that a = b q +r, and 0 r < b. To show that r and q are unique, suppose r and q also satisfy these conditions: Then a = b q +r, and 0 r < b. b q +r = b q +r, so b(q q ) = r r. But r and r are two nonnegative numbers less than b, so they are both in the range 0 x < b. Therefore, they have to be less than b units apart. But the last equation says they are b(q q ) units apart a multiple of b). The only way r and r can be less than b units apart and a multiple of b units apart is if the multiple in question is 0. That is, b(q q ) = 0. Since b > 0, this means that q q = 0, or q = q. If I plug q = q back into b(q q ) = r r, I find that r r = 0, so r = r. This proves that r and q are unique. Example. (Applying the Division Algorithm) (a) Find the quotient and remainder when the Division Algorithm is applied to divide 99 by 13. (b) Find the quotient and remainder when the Division Algorithm is applied to divide 99 by 13. (a) 99 = 7 13+8. The quotient is 7 and the remainder is 8. According to the proof of the theorem, 8 should be the smallest positive number of the form 99+k 13. In this case, 8 = 99+( 7) 13. Clearly, adding multiples of 13 to 99+( 7) 13 will give numbers larger than 8, whereas subtracting multiples of 13 from 99+( 7) 13 will give negative numbers. (b) 99 = ( 8) 13+5. Note that 0 5 < 13. I don t write 99 = ( 7) 13+ 8 (even though the equation is correct), because 8 is not between 0 and 13. The Division Algorithm always produces a nonnegative remainder. Definition. If m and n are integers, then m divides n if mk = n for some integer k. 2

The notation m n means that m divides n; m n means that m does not divide n. Remarks. (a) Some people prefer to require that m 0 when you write m n. Note that if m = 0 and m n, then 0 n. This means 0 k = n for some k, so n = 0. So the only divisibility statement you can make of the form 0 n is 0 0, which isn t that interesting. This issue is different from the idea that you can t divide by 0, which means that 0 does not have a multiplicative inverse. We ll see later that in any commutative ring with identity, 0 1 can t be defined (unless the ring is the zero ring). The definition of divisibility above makes no reference to multiplicative inverses or an operation of division: It s defined entirely in terms of multiplication. (b) Be careful not to write n, n/m, or n m when you mean m n! m n, n/m, and n m all mean n divided by m. Notice that this isn t a statement, since it s not m a complete sentence that can be true or false it s an expression. On the other hand, m n means m divides n, which is a statement. Example. Apply the definition of divisibility to show that: (a) 6 72. (b) 8 24. (c) 1 n for all n Z. (d) n 0 for all n Z. (a) Since 6 12 = 72, I have 6 72. (b) Since ( 8) ( 3) = 24, I have 8 24. (c) Since 1 n = n, I have 1 n for all n Z. (d) Since n 0 = 0, I have n 0 for all n Z. Proposition. (a) Let m,n Z. If m n and n p, then m p. (b) Let m,n,p Z. If m n and m p, then m an+bp for all a,b Z. This is often expressed by saying that if m divides two numbers, it divides any integer linear combination of the two numbers. (c) Let m,n Z. If m n, then m an for all a Z. (d) Let m,n,p Z. If m n and m p, then m n+p. This is often expressed by saying that if m divides two numbers, it divides their sum. It s also true that if m divides two numbers, it divides their difference. (e) If m n and m,n Z +, then m n. Proof. The idea in divisibility proofs is often to translate statements like m n into equations like mk = n, then work with the equations. (a) m n implies mk = n for some k. n p implies nj = p for some j. Substituting the first equation into 3

the second gives Therefore, m p. (mk)j = p, i.e. m(kj) = p. (b) m n implies mj = n for some j. And m p implies mk = p for some k. Then an+bp = a(mj)+b(mk) = n(aj +bk). Hence, m an+bp. (c) Taking b = 0 and p = 0 in (b), I find that m n and m 0 implies m an+0 0 = an. (d) Taking a = b = 1 in (b), I find that m n and m p implies m 1 n+1 p = n+p. (e) Suppose m n and m,n Z +. m n implies mk = n for some k Z; k must be a positive integer, since m and n are positive integers. Thus, k 1, and multiplying both sides of this inequality by m gives n = mk m. Example. (Proving a divisibility property) (a) Give an example of integers m and n such that n and n n but m n. (b) Prove that if m and n are positive integers, m n, and n m, then m = n. (a) 7 7 and 7 7, but 7 7. (b) One approach is to use property (e) of the preceding lemma. Since m and n are positive integers, m n implies m n, and n m implies n m. The two inequalities imply that m = n. Here s another proof which uses the definition of divisibility. Since m n, ma = n for some a Z. Since n m, nb = m for some b Z. Hence, m(ab) = m. Since m > 0, I may cancel it from both sides to obtain ab = 1. a and b are integers, so either a = b = 1 or a = b = 1. But if a = 1, then m ( 1) = n, which is impossible since m and n are positive. Therefore, a = 1, so m = n. Example. (Even and odd integers) An integer n Z is even if 2 n. An integer is odd if it is not even. (a) Prove that even integers can be written in the form 2m for some m Z, and odd integers can be written in the form 2m+1 for some m Z. (b) Prove that if n Z is even, so is n 2 +5n+6. If n is even, then 2 n, so 2m = n for some m Z. Suppose n is odd. Use the Division Algorithm to divide n by 2, obtaining a quotient of m and a remainder of r: n = 2m+r, where 0 r < 2. Now 0 r < 2 implies that r = 0 or r = 1. If r = 0, the equation says n = 2m, which means that n is even. But n was odd, so this is a contradiction. Therefore, r = 1, and n = 2m+1. 4

(b) Suppose n Z is even. By (a), n = 2m for some m Z. Then n 2 +5n+6 = (2m) 2 +5(2m)+6 = 4m 2 +10m+6 = 2(2m 2 +5m+3) I ve expressed n 2 +5n+6 as 2 times an integer, so n 2 +5n+6 is even. Note: In this proof, I m only using properties of divisibility and the definition of even. So(for instance) I can t stop with 4m 2 +10m+6 and say that the sum of even numbers is even, because I haven t proven yet that the sum of even numbers is even. Example. Is there an integer n such that 7 n 2 +n+1 and 7 n+1? No. Assume that 7 n 2 + n + 1 and 7 n + 1 for some n. Then 7 must divide any integer linear combination of n 2 +n+1 and n+1, so 7 (n 2 +n+1) n(n+1) = n 2 +n+1 n 2 n = 1. This contradiction shows that there is no such n. Example. Prove that if m is a positive integer and n is an integers such that m 4n+7 and m 3n+5, then m = 1. One of the divisibility properties implies that m must divide any integer linear combination of 4n+7 and 3n + 5. So the idea is to construct a linear combination of 4n + 7 and 3n + 5 which adds up to 1. If this is to happen, the n s have to cancel; one way to get this to happen is to switch the 4 and the 3 and negate one of them: m 3(4n+7) 4(3n+5) = 1. Since m is a positive integer which divides 1, I must have m = 1. c 2018 by Bruce Ikenaga 5