Homework - Sec. 2.3, Page 24 Fall 2016

Similar documents
Homework 3: Solutions

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

MATH CSE20 Homework 5 Due Monday November 4

Some Review Problems for Exam 1: Solutions

CSE 20 DISCRETE MATH. Fall

(3,1) Methods of Proof

Proofs. Chapter 2 P P Q Q

CSE 20 DISCRETE MATH. Winter

Lecture 7 Feb 4, 14. Sections 1.7 and 1.8 Some problems from Sec 1.8

Prof. Ila Varma HW 8 Solutions MATH 109. A B, h(i) := g(i n) if i > n. h : Z + f((i + 1)/2) if i is odd, g(i/2) if i is even.

Introduction to proofs. Niloufar Shafiei

1. (a) q = 4, r = 1. (b) q = 0, r = 0. (c) q = 5, r = (a) q = 9, r = 3. (b) q = 15, r = 17. (c) q = 117, r = 11.

MATH FINAL EXAM REVIEW HINTS

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.

1. (a) q = 4, r = 1. (b) q = 0, r = 0. (c) q = 5, r = (a) q = 9, r = 3. (b) q = 15, r = 17. (c) q = 117, r = 11.

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University

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

Foundations of Discrete Mathematics

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

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

COT 2104 Homework Assignment 1 (Answers)

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

Proofs. Chapter 2 P P Q Q

MA103 STATEMENTS, PROOF, LOGIC

Section 3.1: Direct Proof and Counterexample 1

MATH10040: Numbers and Functions Homework 1: Solutions

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

MAS114: Solutions to Exercises

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

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

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

A-2. Polynomials and Factoring. Section A-2 1

MAT 300 RECITATIONS WEEK 7 SOLUTIONS. Exercise #1. Use induction to prove that for every natural number n 4, n! > 2 n. 4! = 24 > 16 = 2 4 = 2 n

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

Chapter 5. Number Theory. 5.1 Base b representations

Proofs. Joe Patten August 10, 2018

Objective Mathematics

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

Chapter 5: The Integers

1.1 Inductive Reasoning filled in.notebook August 20, 2015

5: The Integers (An introduction to Number Theory)

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

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

Intro to Algebra Today. We will learn names for the properties of real numbers. Homework Next Week. Due Tuesday 45-47/ 15-20, 32-35, 40-41, *28,29,38

Homework 3 Solutions, Math 55

M381 Number Theory 2004 Page 1

Mathematics 220 Midterm Practice problems from old exams Page 1 of 8

3 Finite continued fractions

One-to-one functions and onto functions

Chapter 2. Divisibility. 2.1 Common Divisors

WUCT121. Discrete Mathematics. Logic. Tutorial Exercises

Midterm: Sample 3. ECS20 (Fall 2017) 1) Using truth tables, establish for each of the two propositions below if it is a tautology, a contradiction

Math.3336: Discrete Mathematics. Proof Methods and Strategy

Number Theory. Final Exam from Spring Solutions

Section Summary. Proof by Cases Existence Proofs

Climbing an Infinite Ladder

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

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

SOLUTIONS TO PROBLEM SET 1. Section = 2 3, 1. n n + 1. k(k + 1) k=1 k(k + 1) + 1 (n + 1)(n + 2) n + 2,

0 Sets and Induction. Sets

Math Homework # 4

PROBLEM SET 3: PROOF TECHNIQUES

Announcements. Read Section 2.1 (Sets), 2.2 (Set Operations) and 5.1 (Mathematical Induction) Existence Proofs. Non-constructive

Proof Terminology. Technique #1: Direct Proof. Learning objectives. Proof Techniques (Rosen, Sections ) Direct Proof:

Mat 243 Exam 1 Review

Solving Diophantine Equations With Unique Factorization

Math 109 HW 9 Solutions

Discrete Math in Computer Science Solutions to Practice Problems for Midterm 2

Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques

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

M17 MAT25-21 HOMEWORK 6

MAT1000 ASSIGNMENT 1. a k 3 k. x =

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

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

Number Theory Solutions Packet

Complete Induction and the Well- Ordering Principle

Proof worksheet solutions

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

EECS 1028 M: Discrete Mathematics for Engineers

Basic Logic and Proof Techniques

Show Your Work! Point values are in square brackets. There are 35 points possible. Tables of tautologies and contradictions are on the last page.

Normal Forms Note: all ppts about normal forms are skipped.

CSE 20 DISCRETE MATH. Winter

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 3000 Section 003 Intro to Abstract Math Homework 6

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.

Homework #5 Solutions

MATH 201 Solutions: TEST 3-A (in class)

PRACTICE PROBLEMS: SET 1

Example ( x.(p(x) Q(x))) ( x.p(x) x.q(x)) premise. 2. ( x.(p(x) Q(x))) -elim, 1 3. ( x.p(x) x.q(x)) -elim, x. P(x) x.

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

Writing Assignment 2 Student Sample Questions

CSE 20 DISCRETE MATH WINTER

CSE 20 DISCRETE MATH SPRING

1. Given the public RSA encryption key (e, n) = (5, 35), find the corresponding decryption key (d, n).

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

5. Use a truth table to determine whether the two statements are equivalent. Let t be a tautology and c be a contradiction.

Section 1.7 Proof Methods and Strategy. Existence Proofs. xp(x). Constructive existence proof:

Mathematical Reasoning & Proofs

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics. Introductory Notes in Discrete Mathematics Solution Guide

Transcription:

Pat Rossi Homework - Sec. 2.3, Page 24 Fall 2016 Name 1. If ajb; show that ( a) jb; aj ( b) ; and ( a) j ( b) : Let the hypothesis be given (i.e., suppose that ajb): Then 9 an integer m such that b = am: ) b = ( a) ( m) ) ( a) jb: Also, the fact that b = am implies that ( b) = a ( m) ; hence, aj ( b) : Finally, the fact that b = am implies that ( b) = ( a) (m) ; hence, ( a) j ( b) : 2. Given integers a; b; c; d; verify the following: (a) If ajb: then ajbc: Let the hypothesis be given (i.e., suppose that ajb): Then 9 an integer m such that b = am: ) bc = (am) c = a (mc) i.e., bc = a (mc) : Hence, ajbc: (b) If ajb and ajc; then a 2 jbc: Let the hypothesis be given (i.e., suppose that ajb and ajc): Then 9 an integer(s) m and n such that b = am and c = an: Then bc = (am) (an) = a 2 (mn) : i.e., bc = a 2 (mn) ; and hence, a 2 jbc: (c) ajb if and only if acjbc; where c 6= 0: ajb ) acjbc Suppose that ajb: Then 9 an integer m such that b = am: Observe: bc = (am) c = (ac) m i.e., bc = (ac) m; and hence, acjbc: acjbc ) ajb Suppose that acjbc: Then 9 an integer m such that bc = (ac) m: ) bc = (am) c: Since c 6= 0; we can divide both sides by zero. ) b = am: Hence, ajb:

(d) If ajb and cjd; then acjbd Let the hypothesis be given (i.e., suppose that ajb and cjd): Then 9 an integer(s) m and n such that b = am and d = cn: Then bd = (am) (cn) = (ac) (mn) : i.e., bd = (ac) (mn) ; and hence, acjbd: 3. Prove or disprove: If aj (b + c) ; then either ajb or ajc: This is false. To show that it s false, we need to o er a counterexample. Consider: a = 2; b = 3; and c = 5: aj (b + c) ; but a - b and a - c: 5. Prove that for any integer a; one of the integers, a; a + 2; a + 4 is divisible by 3: Let a be any integer. Then by the division algorithm, there are exactly three mutually exclusive and mutually exhaustive possibilities either a = 3k; a = 3k + 1; or a = 3k + 2: Case 1: a = 3k If a = 3k; then our assertion is proved. Case 2: a = 3k + 1 If a = 3k + 1; then a + 2 = (3k + 1) + 2 = 3k + 3 = 3 (k + 1) i.e., a + 2 = 3 (k + 1) : Hence, 3j (a + 2) Case 2: a = 3k + 2 If a = 3k + 2; then a + 4 = (3k + 2) + 4 = 3k + 6 = 3 (k + 2) i.e., a + 4 = 3 (k + 2) : Hence, 3j (a + 4) Since all possibilities have been exhausted and since our proposition is true for each possibility, we can say that for any integer a; one of the integers, a; a + 2; a + 4 is divisible by 3: 2

8. ~ (a) The sum of the squares of two odd integers cannot be a perfect square. Two arbitrary odd integers can be represented as 2k + 1 and 2j + 1: The sum of their squares is (2k + 1) 2 + (2j + 1) 2 = 4k 2 + 4k + 1 + 4j 2 + 4j + 1 = 4k 2 +4k+4j 2 +4j +2 = 4 (k 2 + k + j 2 + j)+2 = 4m+2; where m = k 2 +k+j 2 +j The point here, is that the sum of the squares of any two odd numbers is of the form 4m + 2: Could this be a perfect square? Well, let s see what form(s) perfect squares can have. An even number 2n; when squared, has the form: 4n 2 = 4m; where m = n 2 : An odd number 2n+1; when squared, has the form: 4n 2 +4n+1 = 4m+1; where m = n 2 + n: What we have learned is that perfect squares are either of the form 4m or 4m + 1: Perfect squares are never of the form 4m + 2; which is the form that the sum of the squares of two odd numbers always has. Hence, the sum of the squares of two odd integers cannot be a perfect square. (b) The product of four consecutive integers is one less than a perfect square. We can represent the four consecutive integers as n; n + 1; n + 2; n + 3: Their product is n (n + 1) (n + 2) (n + 3) = n 4 + 6n 3 + 11n 2 + 6n This is one less than n 4 + 6n 3 + 11n 2 + 6n + 1 = (n 2 + 3n + 1) 2 ; which is a perfect square. 9. Establish that the di erence of two consecutive cubes is never divisible by 2. Case 1: The smaller number is even. Let a be even. Then 9 a natural number k such that a = 2k: This being the case, a + 1 = 2k + 1 The di erence of the cubes of these numbers is (a + 1) 3 a 3 = (2k + 1) 3 (2k) 3 = 12k 2 + 6k + 1 = 2 6k 2 + 3k + 1; which is odd. {z } 2m+1 Case 2: The smaller number is odd. Let a be odd. Then 9 a natural number k such that a = 2k + 1: This being the case, a + 1 = 2k + 2 The di erence of the cubes of these numbers is (a + 1) 3 a 3 = (2k + 2) 3 (2k + 1) 3 = 12k 2 + 18k + 7 = 2 6k 2 + 9k + 3 + 1; which is odd. {z } 2m+1 Since this exhausts all cases, and each case results in the di erence of two consecutive cubes being odd, our assertion is proved. 3

11. If a and b are integers, not both of which are zero, verify that: gcd (a; b) = gcd ( a; b) = gcd (a; b) = gcd ( a; b) : d = gcd (a; b), d is the smallest natural number such that 9x; y 2 Z such that ax + by = d, d is the smallest natural number such that9x 1 ; y 2 Z such that {z } 1 + by = d (Eq.1) x 1 = x (and consequently d = gcd ( a; b), d is the smallest natural number such that 9x 1 ; y 1 2 Z such that {z } 1 + ( b) y 1 = d {z } x 1 = x y 1 = y (and consequently d = gcd ( a; b), d is the smallest natural number such that 9x; y 1 2 Z such that (a) x +( b) y {z} {z } 1 x = x 1 y 1 = y (and consequently d = gcd (a; b) = d: Remark 1 In Eq. 1, if d were NOT the smallest natural number such that {z } 1 + by = d; then there must be a smaller natural number c such that x 1 =x {z } 1 + by = c: x 1 =x But this would imply that ax {z} 1 + by = c; contradicting the assumption that d was the x 1 =x smallest such natural number. Remark 2 This was not the solution that I originally had. Julian Allagan showed me this proof and I liked it, so I changed the one that I had. 4

18a. Prove: The product of any three consecutive integers is divisible by 6: Let the integers be represented as n; n + 1; n + 2: Claim: At least one of the integers must be even. By the Division Algorithm, n is either of the form 2k or 2k + 1: If n is of the form 2k; our claim is proved. If n is of the form 2k + 1; then n + 1 = (2k + 1) + 1 = 2 (k + 1) ; and hence, n + 1 is even. End of Claim Claim: At least one of the integers must be divisible by 3: By the Division Algorithm, n is either of the form 3k; 3k + 1; or 3k + 2: If n is of the form 3k; then our claim is proved. If n is of the form 3k + 1; then n + 2 = (3k + 1) + 2 = 3 (k + 1) ; and hence, n + 2 is divisible by 3: If n is of the form 3k + 2; then n + 1 = (3k + 2) + 1 = 3 (k + 1) ; and hence, n + 1 is divisible by 3: End of Claim Thus 2j (n) (n + 1) (n + 2) and 3j (n) (n + 1) (n + 2) : Since gcd (2; 3) = 1; the second corollary to Theorem 2.4 tells us that (2 3) j (n) (n + 1) (n + 2) : i.e., the product of any three consecutive integers is divisible by 6: 5

18b. Prove: The product of any four consecutive integers is divisible by 24: Let the integers be represented as n; n + 1; n + 2; and n + 3: By our results in part 11a, the product (n) (n + 1) (n + 2) (n + 3) is divisible by 3: Claim: Our product is divisible by 8: By the Division Algorithm, n is either of the form 4k; 4k + 1; 4k + 2; or 4k + 3: If n is of the form 4k; then 4k+2 = 2 (2k + 1) ; and the product (n) (n + 1) (n + 2) (n + 3) = (4k) (4k + 1) (4k + 2) (4k + 3) = (4k) (4k + 1) 2 (2k + 1) (4k + 3) = 8k (4k + 1) (2k + 1) (4k + 3) : Our claim is proved. If n is of the form 4k + 1; then n + 1 = (4k + 1) + 1 = 2 (2k + 1) : Furthermore, n + 3 = (4k + 1) + 3 = 4 (k + 1) : Hence, our product (n) (n + 1) (n + 2) (n + 3) = (4k + 1) (4k + 2) (4k + 3) (4k + 4) = (4k + 1) 2 (2k + 1) (4k + 3) 4 (k + 1) = 8 (4k + 1) (2k + 1) (4k + 3) (k + 1) : And our claim is proved. Similar arguments can be used to show that if n = 4k + 2 or n = 4k + 3; then 8j (n) (n + 1) (n + 2) (n + 3) End of Claim We have established that 8j (n) (n + 1) (n + 2) (n + 3) and that 3j (n) (n + 1) (n + 2) (n + 3) Since gcd (3; 8) = 1; the second corollary to Theorem 2.4 tells us that (3 8) j (n) (n + 1) (n + 2) (n + 3) : i.e., the product of any four consecutive integers is divisible by 24: 18c. Prove: The product of any ve consecutive integers is divisible by 120: By our results in part 11b, the product (n) (n + 1) (n + 2) (n + 3) (n + 4) is divisible by 24: Since gcd (5; 24) = 1; it remains to show that 5j (n) (n + 1) (n + 2) (n + 3) (n + 4) : An argument similar to those of part 11a., can be used to show this. Hence, the product of ve consecutive integers is divisible by 120: 6