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

Similar documents
Complete Induction and the Well- Ordering Principle

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.

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

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

Climbing an Infinite Ladder

Discrete Mathematics. Spring 2017

Intro to Logic and Proofs

Climbing an Infinite Ladder

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

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.

Properties of the Integers

Basic Proof Examples

Mathematical Induction. Section 5.1

CSC 344 Algorithms and Complexity. Proof by Mathematical Induction

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

Solutions to Assignment 1

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

Chapter 5: The Integers

Mathematics 228(Q1), Assignment 2 Solutions

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

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

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

Math 242: Principles of Analysis Fall 2016 Homework 1 Part B solutions

PRINCIPLE OF MATHEMATICAL INDUCTION

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

CSE 20 DISCRETE MATH. Winter

Induction and recursion. Chapter 5

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

Review 1. Andreas Klappenecker

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

With Question/Answer Animations

Solutions to Homework Set 1

Structure of R. Chapter Algebraic and Order Properties of R

n(n + 1). 2 . If n = 3, then 1+2+3=6= 3(3+1) . If n = 2, then = 3 = 2(2+1)

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

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

INDUCTION AND RECURSION. Lecture 7 - Ch. 4

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

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

MATH 117 LECTURE NOTES

Homework 1. 10(b) A useful denial of the statement We will win the first game or the second one is We will lose the first two games.

Standard forms for writing numbers

Sums of Squares. Bianca Homberg and Minna Liu

COT 2104 Homework Assignment 1 (Answers)

CSE 20 DISCRETE MATH. Fall

MAT115A-21 COMPLETE LECTURE NOTES

Math 109 September 1, 2016

0.Axioms for the Integers 1

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

1.2 The Well-Ordering Principle

Chapter Summary. Mathematical Induction Strong Induction Well-Ordering Recursive Definitions Structural Induction Recursive Algorithms

CSE 20. Final Review. CSE 20: Final Review

MATH10040: Numbers and Functions Homework 1: Solutions

Mathematics 228(Q1), Assignment 3 Solutions

CHAPTER 4 SOME METHODS OF PROOF

Discrete Structures - CM0246 Mathematical Induction

Discrete Mathematics. Spring 2017

Introduction to Decision Sciences Lecture 10

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

The Real Number System

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

Four Basic Sets. Divisors

Show Your Work! Point values are in square brackets. There are 35 points possible. Some facts about sets are on the last page.

Problem 1: Suppose A, B, C and D are finite sets such that A B = C D and C = D. Prove or disprove: A = B.

MATH 2400: PRACTICE PROBLEMS FOR EXAM 1

1. Propositions: Contrapositives and Converses

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

Mathematical Induction

CS 220: Discrete Structures and their Applications. Mathematical Induction in zybooks

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

CHAPTER 8: EXPLORING R

Math 3000 Section 003 Intro to Abstract Math Homework 6

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

Strong Induction (Second Principle) Example: There are two piles of cards, players take turn: each turn: one player removes any number of cards from

Introduction Integers. Discrete Mathematics Andrei Bulatov

Mathematical Reasoning & Proofs

CHAPTER 1. MATHEMATICAL LOGIC 1.1 Fundamentals of Mathematical Logic

Chapter 1 The Real Numbers

Number Theory and Graph Theory. Prime numbers and congruences.

MATH 13 SAMPLE FINAL EXAM SOLUTIONS

Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination I (Spring 2008)

Induction and Recursion

5: The Integers (An introduction to Number Theory)

PRINCIPLE OF MATHEMATICAL INDUCTION

Postulate 2 [Order Axioms] in WRW the usual rules for inequalities

Division Algorithm B1 Introduction to the Division Algorithm (Procedure) quotient remainder

A guide to Proof by Induction

21 Induction. Tom Lewis. Fall Term Tom Lewis () 21 Induction Fall Term / 14

Kevin James. MTHSC 412 Section 3.1 Definition and Examples of Rings

Exercises 1 - Solutions

Writing Assignment 2 Student Sample Questions

Math 10850, fall 2017, University of Notre Dame

NOTES ON INTEGERS. 1. Integers

Recitation 7: Existence Proofs and Mathematical Induction

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

CSCE 222 Discrete Structures for Computing. Review for Exam 1. Dr. Hyunyoung Lee !!!

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

EECS 1028 M: Discrete Mathematics for Engineers

In Exercises 1 12, list the all of the elements of the given set. 2. The set of all positive integers whose square roots are less than or equal to 3

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

Transcription:

Generalized Induction Proof: Let P (n) be the proposition 1 + 2 + 2 2 + + 2 n = 2 n+1 1. We want to show P (n) is true for all integers n 0.

Generalized Induction Example: Use generalized induction to prove that the sum of the first n + 1 terms in a geometric progression with initial term a and common ratio r 1 is given by a + ar + ar 2 + + ar n = arn+1 a r 1

Generalized Induction Proof: Let P (n) be the proposition a + ar + ar 2 + + ar n = arn+1 a r 1 We want to show P (n) is true for all integers n 0.

Generalized Induction Example: Use generalized induction to prove the inequality 2 n < n! for all integers n 4.

Generalized Induction Proof: Let P (n) be the proposition 2 n < n!. We want to prove that P (n) is true for all integers n 4.

Generalized Induction Example: Use mathematical induction to prove that 7 n+2 + 8 2n+1 is divisible by 57 for all n 0.

Generalized Induction Proof: Let P (n) be the proposition m (m Z 7 n+2 + 8 2n+1 = 57m). We want to show P (n) is true for all n 0.

Generalized Induction Generalized De Morgan s Law Let A 1, A 2,..., A n be subsets of a universal set U, and let P (n) be the proposition c n A j j=1 = n A c j j=1 Prove P (n) is true for all n 2. Proof: Base Step: The statement P (2) asserts (A 1 A 2 ) c = (A 1 ) c (A 2 ) c, which is true by De Morgan s Law. Inductive Step: Assume P (k) is true for some fixed integer k 2. That is, assume c k A j j=1 = k A c j j=1

for any collection of k sets A 1, A 2,..., A k. Then, k+1 c A j j=1 = = = k A j j=1 c k A j j=1 k A c j j=1 A k+1 A c k+1 A c k+1 c = k+1 A c j j=1 This completes the inductive step. Therefore, P (n) is true for all n 2.

Complete Induction and the Well- Ordering Principle Complete Induction as a Rule of Inference In mathematical proofs, complete induction (PCI) is a rule of inference of the form P (a) P (a + 1) P (b) k b ([P (a) P (a + 1) P (k)] P (k + 1)) n a (P (n)) where a and b are positive integers with a b, and P is any propositional function with domain n a.

Complete Induction To prove that a propositional function P (n) is true for all positive integers n a, we complete two steps: 1. (Base Case) Verify the truth of P (a) P (a + 1) P (b) 2. (Inductive Step) Prove the conditional statement [P (a) P (a + 1) P (k)] P (k + 1) is true for all positive integers k b. To complete the inductive step, we assume P (m) is true for all m = a, a+1, a+2,..., k, then show P (k + 1) must also be true for all k b.

Complete Induction Special Case: a = b = 1 To prove that a propositional function P (n) is true for all positive integers n, we complete two steps: 1. (Base Case) Verify that P (1) is true. 2. (Inductive Step) Prove the conditional statement [P (1) P (2) P (3) P (k)] P (k + 1) is true for all positive integers k.

Complete Induction Special Case: a = b = 1 Example: Prove that every positive integer n has a binary expansion of the form n = a 0 + a 1 2 + a 2 2 2 + + a j 2 j, where j is a nonnegative integer, a j = 1, and a i {0, 1} for all i.

Complete Induction Proof: Let P (n) be the proposition: n = a 0 + a 1 2 + a 2 2 2 + + a j 2 j, where j is a nonnegative integer, a j = 1, and a i {0, 1} for all i. We want to show P (n) is true for all n 1. Base Step: P (1) is true, since 1 = a 0 2 0 where j = 0 and a 0 = 1. Inductive Step: Assume P (m) is true for all positive integers m k. Then, consider the integer k + 1. We have two cases:

Case 1: (k+1 is even) If k + 1 is even, then k + 1 = 2m where m k. Therefore, P (m) is true and we have k + 1 = 2m = 2(a 0 + a 1 2 + a 2 2 2 + + a j 2 j ) = 0 + a 0 2 + a 1 2 2 + a 2 2 3 + + a j 2 j+1 = â 0 + â 1 2 + â 2 2 2 + â 3 2 3 + + â j+1 2 j+1 where â j+1 = a j = 1, â 0 = 0, and â i = a i 1 {0, 1} for all 1 i j. Therefore, P (k + 1) is true in this case. Case 2: (k+1 is odd) If k + 1 is odd, then k = 2m where m < k.

Therefore, P (m) is true and we have k + 1 = 1 + 2m = 1 + 2(a 0 + a 1 2 + a 2 2 2 + + a j 2 j ) = 1 + a 0 2 + a 1 2 2 + a 2 2 3 + + a j 2 j+1 = â 0 + â 1 2 + â 2 2 2 + â 3 2 3 + + â j+1 2 j+1 where â j+1 = a j = 1, â 0 = 1, and â i = a i 1 {0, 1} for all 1 i j. Therefore, P (k + 1) is true in either case. This completes the inductive step. Therefore, it follows by complete induction that P (n) is true for all n 1.

Complete Induction Example: Prove that every positive integer n 2 can be expressed as a product of prime numbers.

Complete Induction Proof: Let P (n) be the proposition: n = p 1 p 2 p j, where j 1 and p i is prime for all j. We want to show P (n) is true for all n 2. We will use complete induction corresponding to the case a = b = 2. Base Step: P (2) is true, since is a prime number. 2 = p 1 Inductive Step: Assume P (m) is true for all integers m = a, a + 1,..., k. That is, assume all integers m = 2, 3,..., k have a prime factorization.

Then, for k b = 2, we have two cases. Case 1: (k+1 is prime) If k +1 = p 1 is prime, then P (k +1) is true. Case 2: (k+1 is composite) If k + 1 is composite, then there exist integers c and d with 1 < c d < k + 1, such that k + 1 = c d Then, 2 c k and 2 d k, and it follows by the induction hypothesis that c = p 1 p 2 p j d = q 1 q 2 q l where p i and q i are prime for all i. Thus, k + 1 = (p 1 p 2 p j ) (q 1 q 2 q l )

and we conclude that P (k + 1) is true. This completes the inductive step, and it follows by complete induction that P (n) is true for all n 2.

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.

Well-Ordering Principle Example: Use well-ordering property to prove the division algorithm: If a is an integer and d is a positive integer, then there exist (unique) integers q and r with 0 r < d such that a = dq + r.

Well-Ordering Principle Proof: Consider the set S = {n Z + n = a dq +1 where q Z} This set is nonempty because dq can be made as large as desired (by taking q < 0 with q sufficiently large). By the wellordering principle, S has a least element n 0 = (a dq 0 ) + 1 where q 0 Z. We claim n 0 d. If not, then n 1 = (a d(q 0 + 1)) + 1 = n 0 d > 0, which implies n 1 S and n 1 < n 0. This contradicts the assumption that n 0 is the least element of S. Therefore, 1 n 0 d. This proves a = dq 0 + r where r = n 0 1 is an integer such that 0 r < d.

The proof that q 0 and r are unique is left as an exercise.

Well-Ordering Principle Theorem: The Well-Ordering Principle (WOP) and the Principle of Mathematical Induction (PMI) are equivalent.

WOP PMI Proof: Assume WOP holds. We want to prove PMI holds. Let S Z + such that (i) 1 S, (ii) k S k + 1 S for all k Z +. We want to prove S = Z +. Assume for the sake of contradiction that S Z +. Then, T = Z + S is a non-empty subset of Z +. Therefore, by the well-ordering principle, T has a least element m. That is, there exists m T such that m n for all n T. Since 1 S, we know m 2. Therefore m 1 is a positive integer. Clearly m 1 / T (otherwise m 1 would be the least element

of T ). This means m 1 S, and by assumption (ii) (m 1) S (m 1) + 1 S. Therefore, m S which contradicts the fact that m T. We conclude that S = Z +. Therefore PMI holds.