Survey
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
Discrete Structures - CB0246 Mathematical Induction Andrés Sicard-Ramírez EAFIT University Semester 2014-2 Motivation Example Conjecture a formula for the sum of the first π positive odd integers. Discrete Structures - CB0246. Mathematical Induction 2/39 Motivation Example Conjecture a formula for the sum of the first π positive odd integers. Problem Let π (π) be a propositional function. How can we proof that π (π) is true for all π β β€+ ? Discrete Structures - CB0246. Mathematical Induction 3/39 Principle of Mathematical Induction Definition (Principle of mathematical induction) Let π (π) be a propositional function. To prove that π (π) is true for all π β β€+ , we must make two proofs: Basis step: Prove π (1) Discrete Structures - CB0246. Mathematical Induction 4/39 Principle of Mathematical Induction Definition (Principle of mathematical induction) Let π (π) be a propositional function. To prove that π (π) is true for all π β β€+ , we must make two proofs: Basis step: Prove π (1) Inductive step: Prove π (π) β π (π + 1) for all π β β€+ π (π) is called the inductive hypothesis. Discrete Structures - CB0246. Mathematical Induction 5/39 Principle of Mathematical Induction 314 5 / Induction induction and Recursion works* How mathematical FIGURE 2 * Illustrating How Mathematical Induction Works Using Dom WAYS TO REMEMBER HOW MATHEMATICAL INDUCTION WORK Fig. 2 of [Rosen 2012, §the5.1]. infinite ladder and the rules for reaching steps can help you remember ho Discrete Structures - CB0246. Mathematical Induction works. induction Note that statements (1) and (2) for the infinite ladder 6/39 are e Principle of Mathematical Induction Definition (Principle of mathematical induction) Inference rule version: π (1) βπ(π (π) β π (π + 1)) (PMI) βππ (π) or equivalently [π (1) β§ βπ(π (π) β π (π + 1)] β βππ (π) Discrete Structures - CB0246. Mathematical Induction (PMI) 7/39 Principle of Mathematical Induction Methodology for using the principle of mathematical induction Discrete Structures - CB0246. Mathematical Induction 8/39 Principle of Mathematical Induction Methodology for using the principle of mathematical induction 1. State the propositional function π (π). Discrete Structures - CB0246. Mathematical Induction 9/39 Principle of Mathematical Induction Methodology for using the principle of mathematical induction 1. State the propositional function π (π). 2. Prove the basis step, i.e. π (1). Discrete Structures - CB0246. Mathematical Induction 10/39 Principle of Mathematical Induction Methodology for using the principle of mathematical induction 1. State the propositional function π (π). 2. Prove the basis step, i.e. π (1). 3. Prove the induction step, i.e. βπ(π (π) β π (π + 1)). Remark: In this proof you need to use the inductive hypothesis π (π). Discrete Structures - CB0246. Mathematical Induction 11/39 Principle of Mathematical Induction Methodology for using the principle of mathematical induction 1. State the propositional function π (π). 2. Prove the basis step, i.e. π (1). 3. Prove the induction step, i.e. βπ(π (π) β π (π + 1)). Remark: In this proof you need to use the inductive hypothesis π (π). 4. Conclude βππ (π) by the principle of mathematical induction. Discrete Structures - CB0246. Mathematical Induction 12/39 Principle of Mathematical Induction Example Prove that the sum of the first π odd positive integers is π2 .* Whiteboard. * Historical remark. From 1575, it could be the first property proved using the PMI (see Gunderson, David S. (2011). Handbook of Mathematical Induction, § 1.8). Discrete Structures - CB0246. Mathematical Induction 13/39 Principle of Mathematical Induction Exercise Prove that if π β β€+ , then 1 + 2 + 3 + β― + π = π(π + 1)/2. Discrete Structures - CB0246. Mathematical Induction 14/39 Principle of Mathematical Induction Exercise (cont.) Proof. 1. π (π): 1 + 2 + 3 + β― + π = π(π + 1)/2. Discrete Structures - CB0246. Mathematical Induction 15/39 Principle of Mathematical Induction Exercise (cont.) Proof. 1. π (π): 1 + 2 + 3 + β― + π = π(π + 1)/2. 2. Basis step π (1): 1 = 1(1 + 1)/2. Discrete Structures - CB0246. Mathematical Induction 16/39 Principle of Mathematical Induction Exercise (cont.) Proof. 1. π (π): 1 + 2 + 3 + β― + π = π(π + 1)/2. 2. Basis step π (1): 1 = 1(1 + 1)/2. 3. Inductive step: Inductive hypothesis π (π): 1 + 2 + 3 + β― + π = π(π + 1)/2. Letβs prove π (π + 1): 1 + 2 + 3 + β― + π + (π + 1) = π(π + 1)/2 + (π + 1) (by IH) Discrete Structures - CB0246. Mathematical Induction = (π + 1)(π/2 + 1) (by arithmetic) = (π + 1)(π + 2)/2 (by arithmetic) 17/39 Principle of Mathematical Induction Exercise (cont.) Proof. 1. π (π): 1 + 2 + 3 + β― + π = π(π + 1)/2. 2. Basis step π (1): 1 = 1(1 + 1)/2. 3. Inductive step: Inductive hypothesis π (π): 1 + 2 + 3 + β― + π = π(π + 1)/2. Letβs prove π (π + 1): 1 + 2 + 3 + β― + π + (π + 1) = π(π + 1)/2 + (π + 1) (by IH) = (π + 1)(π/2 + 1) (by arithmetic) = (π + 1)(π + 2)/2 (by arithmetic) 4. βππ (π) by the principle of induction mathematical. Discrete Structures - CB0246. Mathematical Induction 18/39 Principle of Mathematical Induction Exercise Prove that if π β β, then 20 + 21 + 22 + β― + 2π = 2π+1 β 1 Discrete Structures - CB0246. Mathematical Induction 19/39 Principle of Mathematical Induction Exercise (cont.) Proof. 1. π (π): 20 + 21 + 22 + β― + 2π = 2π+1 β 1 Discrete Structures - CB0246. Mathematical Induction 20/39 Principle of Mathematical Induction Exercise (cont.) Proof. 1. π (π): 20 + 21 + 22 + β― + 2π = 2π+1 β 1 2. Basis step π (0): 20 = 1 = 20+1 β 1. Discrete Structures - CB0246. Mathematical Induction 21/39 Principle of Mathematical Induction Exercise (cont.) Proof. 1. π (π): 20 + 21 + 22 + β― + 2π = 2π+1 β 1 2. Basis step π (0): 20 = 1 = 20+1 β 1. 3. Inductive step: Inductive hypothesis π (π): 20 + 21 + 22 + β― + 2π = 2π+1 β 1 Letβs prove π (π + 1): 20 + 21 + 22 + β― + 2π + 2π+1 = 2π+1 β 1 + 2π+1 (by IH) Discrete Structures - CB0246. Mathematical Induction = 2(2π+1 ) β 1 (by arithmetic) = 2π+2 β 1 (by arithmetic) 22/39 Principle of Mathematical Induction Exercise (cont.) Proof. 1. π (π): 20 + 21 + 22 + β― + 2π = 2π+1 β 1 2. Basis step π (0): 20 = 1 = 20+1 β 1. 3. Inductive step: Inductive hypothesis π (π): 20 + 21 + 22 + β― + 2π = 2π+1 β 1 Letβs prove π (π + 1): 20 + 21 + 22 + β― + 2π + 2π+1 = 2π+1 β 1 + 2π+1 (by IH) = 2(2π+1 ) β 1 (by arithmetic) = 2π+2 β 1 (by arithmetic) 4. βππ (π) by the principle of induction mathematical. Discrete Structures - CB0246. Mathematical Induction 23/39 Strong Induction Definition (Strong (or course-of-values) induction) Let π (π) be a propositional function. To prove that π (π) is true for all π β β€+ , we must make two proofs: Basis step: Prove π (1) Discrete Structures - CB0246. Mathematical Induction 24/39 Strong Induction Definition (Strong (or course-of-values) induction) Let π (π) be a propositional function. To prove that π (π) is true for all π β β€+ , we must make two proofs: Basis step: Prove π (1) Inductive step: Prove [π (1) β§ π (2) β§ β― β§ π (π)] β π (π + 1) for all π β β€+ Discrete Structures - CB0246. Mathematical Induction 25/39 Strong Induction Definition (Strong (or course-of-values) induction) Let π (π) be a propositional function. To prove that π (π) is true for all π β β€+ , we must make two proofs: Basis step: Prove π (1) Inductive step: Prove [π (1) β§ π (2) β§ β― β§ π (π)] β π (π + 1) for all π β β€+ The (strong) inductive hypothesis is given by π (π) is true for π = 1, 2, β¦ , π. Discrete Structures - CB0246. Mathematical Induction 26/39 Strong Induction Definition (Strong induction) Inference rule version: π (1) βπ[(π (1) β§ π (2) β§ β― β§ π (π)) β π (π + 1)] (strong induction) βππ (π) Discrete Structures - CB0246. Mathematical Induction 27/39 Strong Induction Example (A part of the fundamental theorem of arithmetic) Prove that if π is an integer greater than 1, either is prime itself or is the product of prime numbers. Discrete Structures - CB0246. Mathematical Induction 28/39 Strong Induction Example (cont.) Proof. 1. π (π): π is prime itself or it is the product of prime numbers. Discrete Structures - CB0246. Mathematical Induction 29/39 Strong Induction Example (cont.) Proof. 1. π (π): π is prime itself or it is the product of prime numbers. 2. Basis step π (2): 2 is a prime number. Discrete Structures - CB0246. Mathematical Induction 30/39 Strong Induction Example (cont.) Proof. 1. π (π): π is prime itself or it is the product of prime numbers. 2. Basis step π (2): 2 is a prime number. 3. Inductive step: Inductive hypothesis: π (π) is true for π = 1, 2, β¦ , π. Discrete Structures - CB0246. Mathematical Induction 31/39 Strong Induction Example (cont.) Proof. 1. π (π): π is prime itself or it is the product of prime numbers. 2. Basis step π (2): 2 is a prime number. 3. Inductive step: Inductive hypothesis: π (π) is true for π = 1, 2, β¦ , π. Letβs prove that π + 1 satisfies the property: Discrete Structures - CB0246. Mathematical Induction 32/39 Strong Induction Example (cont.) Proof. 1. π (π): π is prime itself or it is the product of prime numbers. 2. Basis step π (2): 2 is a prime number. 3. Inductive step: Inductive hypothesis: π (π) is true for π = 1, 2, β¦ , π. Letβs prove that π + 1 satisfies the property: 3.1 If π + 1 is a prime number then it satisfies the property. Discrete Structures - CB0246. Mathematical Induction 33/39 Strong Induction Example (cont.) Proof. 1. π (π): π is prime itself or it is the product of prime numbers. 2. Basis step π (2): 2 is a prime number. 3. Inductive step: Inductive hypothesis: π (π) is true for π = 1, 2, β¦ , π. Letβs prove that π + 1 satisfies the property: 3.1 If π + 1 is a prime number then it satisfies the property. 3.2 If π + 1 is a composite number: π + 1 = ππ where 2 β€ π β€ π < π + 1. Since π (π) and π (π) by the inductive hypothesis, then π (π + 1). Discrete Structures - CB0246. Mathematical Induction 34/39 Strong Induction Example (cont.) Proof. 1. π (π): π is prime itself or it is the product of prime numbers. 2. Basis step π (2): 2 is a prime number. 3. Inductive step: Inductive hypothesis: π (π) is true for π = 1, 2, β¦ , π. Letβs prove that π + 1 satisfies the property: 3.1 If π + 1 is a prime number then it satisfies the property. 3.2 If π + 1 is a composite number: π + 1 = ππ where 2 β€ π β€ π < π + 1. Since π (π) and π (π) by the inductive hypothesis, then π (π + 1). 4. π (π) is true for all integer π greater than 1 by strong induction. Discrete Structures - CB0246. Mathematical Induction 35/39 First-Order Peano Arithmetic Axioms of first-order Peano arithmetic* βπ. 0 β πβ² βπ π. πβ² = πβ² β π = π βπ. 0 + π = π βπ π. πβ² + π = (π + π)β² βπ. 0 β π = 0 βπ π. πβ² β π = π + (π β π) Giuseppe Peano (1858 β 1932) * See, for example, Hájek, Petr and Pudlák, Pavel (1998). Metamathematics of First-Order Arithmetic. Discrete Structures - CB0246. Mathematical Induction 36/39 First-Order Peano Arithmetic Axioms of first-order Peano arithmetic* βπ. 0 β πβ² βπ π. πβ² = πβ² β π = π βπ. 0 + π = π βπ π. πβ² + π = (π + π)β² βπ. 0 β π = 0 βπ π. πβ² β π = π + (π β π) For all formulae π΄, Giuseppe Peano (1858 β 1932) [π΄(0) β§ (βπ. π΄(π) β π΄(πβ² ))] β βππ΄(π) * See, for example, Hájek, Petr and Pudlák, Pavel (1998). Metamathematics of First-Order Arithmetic. Discrete Structures - CB0246. Mathematical Induction 37/39 First-Order Peano Arithmetic Theorem The principle of mathematical induction and strong induction are equivalent.* * See, for example, Gunderson, David S. (2011). Handbook of Mathematical Induction. Discrete Structures - CB0246. Mathematical Induction 38/39 References Gunderson, David S. (2011). Handbook of Mathematical Induction. Chapman & Hall. Hájek, Petr and Pudlák, Pavel (1998). Metamathematics of First-Order Arithmetic. 2nd printing. Springer. Rosen, Kenneth H. (2012). Discrete Mathematics and Its Applications. 7th ed. McGraw-Hill. Discrete Structures - CB0246. Mathematical Induction 39/39