Mathematical Induction I

Slides:



Advertisements
Similar presentations
Mathematical induction Isaac Fung. Announcement ► Homework 1 released ► Due on 6 Oct 2008 (in class)
Advertisements

1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
Induction and recursion
CS5371 Theory of Computation
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 12 Number theory Mathematical induction Proof by induction Examples.
Discrete Structures Chapter 5: Sequences, Mathematical Induction, and Recursion 5.2 Mathematical Induction I [Mathematical induction is] the standard proof.
Copyright © Cengage Learning. All rights reserved.
1 Strong Mathematical Induction. Principle of Strong Mathematical Induction Let P(n) be a predicate defined for integers n; a and b be fixed integers.
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
Induction and Recursion by: Mohsin tahir (GL) Numan-ul-haq Waqas akram Rao arslan Ali asghar.
ICS 253 Presents Mathematical Induction Sultan Almuhammadi muhamadi
Mathematical Maxims and Minims, 1988
Lecture 9. Arithmetic and geometric series and mathematical induction
Chapter 6 Mathematical Induction
CSE 20 Lecture 12 Induction CK Cheng 1. Induction Outlines Introduction Theorem Examples: The complexity calculation – Tower of Hanoi – Merge Sort – Fibonacci.
Mathematical Induction. F(1) = 1; F(n+1) = F(n) + (2n+1) for n≥ F(n) n F(n) =n 2 for all n ≥ 1 Prove it!
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
1 Introduction to Abstract Mathematics Chapter 4: Sequences and Mathematical Induction Instructor: Hayk Melikya 4.1- Sequences. 4.2,
INDUCTION AND RECURSION. PRINCIPLE OF MATHEMATICAL INDUCTION To prove that P(n) is true for all positive integers n, where P(n) is a propositional function,
Discrete Mathematics Tutorial 11 Chin
9.4 Mathematical Induction
CompSci 102 Discrete Math for Computer Science March 1, 2012 Prof. Rodger Slides modified from Rosen.
(CSC 102) Lecture 23 Discrete Structures. Previous Lecture Summery  Sequences  Alternating Sequence  Summation Notation  Product Notation  Properties.
Mathematical Induction Section 5.1. Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Mathematical Induction
Copyright © Cengage Learning. All rights reserved. Sequences and Series.
Chapter 5. Section 5.1 Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If we can reach.
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
Mathematical Induction I Lecture 5: Sep 20 (chapter of the textbook and chapter of the course notes)
Section 1.7. Definitions A theorem is a statement that can be shown to be true using: definitions other theorems axioms (statements which are given as.
Section 8.4 Mathematical Induction. Mathematical Induction In this section we are going to perform a type of mathematical proof called mathematical induction.
Section 5.1. Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If we can reach a particular.
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
Mathematical Induction EECS 203: Discrete Mathematics Lecture 11 Spring
Mathematical Induction I Lecture 19 Section 4.2 Mon, Feb 14, 2005.
1 Section 4.4 Inductive Proof What do we believe about nonempty subsets of N? Since  N, <  is well-founded, and in fact it is linear, it follows that.
Chapter 5 1. Chapter Summary  Mathematical Induction  Strong Induction  Recursive Definitions  Structural Induction  Recursive Algorithms.
Mathematical Induction. The Principle of Mathematical Induction Let S n be a statement involving the positive integer n. If 1.S 1 is true, and 2.the truth.
CS151: Mathematical Foundations of Computing Mathematical Induction.
CSE15 Discrete Mathematics 03/22/17
Advanced Algorithms Analysis and Design
CSE 311 Foundations of Computing I
Chapter 3 The Real Numbers.
Induction and recursion
CSE 311: Foundations of Computing
CSNB 143 Discrete Mathematical Structures
Proofs, Recursion and Analysis of Algorithms
Direct Proof and Counterexample IV
CS201: Data Structures and Discrete Mathematics I
Notes 9.5 – Mathematical Induction
Induction and recursion
CSE 311: Foundations of Computing
CSE 373 Data Structures and Algorithms
What is this ? THIS IS A DOMINO.
Mathematical Induction
Lecture 3.1: Mathematical Induction
Induction (Section 3.3).
Direct Proof and Counterexample I
Induction Chapter
Advanced Analysis of Algorithms
Copyright © Cengage Learning. All rights reserved.
Mathematical Induction
Mathematical Induction
Mathematical Induction
Mathematical Induction II
Copyright © Cengage Learning. All rights reserved.
Lecture 3.1: Mathematical Induction
Mathematical Induction II
Presentation transcript:

Mathematical Induction I Lecture 21 Section 4.2 Fri, Feb 23, 2007

The Principle of Mathematical Induction Let P(n) be a predicate defined for integers n. Let a be an integer. If the following two statements are true P(a) For all integers k  a, if P(k), then P(k + 1) then the statement For all integers n  a, P(n) is true.

The Idea The first part shows that the statement is true for the integer a. The second part shows that Since it is true for a, it is true for a + 1. Since it is true for a + 1, it is true for a + 2. Since it is true for a + 2, it is true for a + 3. And so on. Therefore, it is true for all integers  a.

Like Dominos

Like Dominos

Like Dominos

Like Dominos

Like Dominos

Like Dominos

Like Dominos

Like Dominos

Like Dominos

Like Dominos

Proof by Mathematical Induction Basic Step Choose a starting point a (typically 0 or 1). Prove P(a). Inductive Step Suppose P(k) for some arbitrary integer k  a. Prove P(k + 1), using the assumption P(k). Conclude P(n) for all n  a.

Example: Mathematical Induction Theorem: For any integer n  4, we can obtain n¢ using only 2¢ and 5¢ coins. Let P(n) be the predicate “we can obtain n¢ using only 2¢ and 5¢ coins.” Proof: Basic Step: (Start at a = 4.) P(4) is true since 4¢ = 2¢ + 2¢.

Proof continued Inductive Step Suppose that P(k) is true for some k  4. We must show that P(k + 1) is true. Consider two cases: Case 1: k¢ uses a 5¢ coin. Case 2: k¢ does not use a 5¢ coin.

Proof concluded Case 1: k¢ uses a 5¢ coin. Then remove it and replace it with three 2¢ coins, thereby obtaining (k + 1)¢. Case 2: k¢ does not use a 5¢ coin. Then it must use at least two 2¢ coins. Replace two 2¢ coins with one 5¢ coin, thereby obtaining (k + 1)¢.

Proof concluded Therefore, P(n) is true for all n  4. Therefore, P(k + 1) is true. Therefore, P(n) is true for all n  4.

Example: Mathematical Induction Theorem: For all n  1, Proof: Basic Step When n = 1, we have

Proof and Therefore, the statement is true when n = 1.

Proof Inductive Step Suppose that the statement is true when n = k, for some k  1. That is, suppose that

Proof Then

Proof Therefore, the statement is true for all n  1. Therefore, the statement is true when n = k + 1. Therefore, the statement is true for all n  1.

Example: Mathematical Induction Theorem: For all n  1, Proof: Basic Step Show… Inductive Step Suppose…

Sums of Powers of Integers We can also prove by induction that

Mathematical Induction Mathematical induction requires that we “know” the answer in advance. The method verifies the answer. How would we come up with the guess that in the first place?

Finding the Formula We might conjecture that the answer is a cubic polynomial in n. Why? That is, for some real numbers a, b, c, and d. Then figure out what a, b, c, and d are. How?

Finding the Formula Substitute the values 0, 1, 2, and 3 into the equation to get a system of four equations. d = 0. a + b + c + d = 12 = 1. 8a + 4b + 2c + d = 12 + 22 = 5. 27a + 9b + 3c + d = 12 + 22 + 32 = 14.

Finding the Formula Solve the system of equations and get b = 1/2, c = 1/6, d = 0. Then verify using mathematical induction.

Let’s Play “Find the Flaw” Theorem: For every positive integer n, in any set of n horses, all the horses are the same color. Proof: Basic Step. When n = 1, there is only one horse, so trivially they are (it is) all the same color.

Find the Flaw Inductive Step Suppose that any set of k horses are all the same color. Consider a set of k + 1 horses. Remove one of the horses from the set. The remaining set of k horses are all the same color.

Find the Flaw Replace that horse and remove a different horse. Again, the remaining set of k horses are all the same color. Therefore, the two horses that were removed are the same color as the other horses in the set. Thus, the k + 1 horses are all the same color.

Find the Flaw Thus, in any set of n horses, the horses are all the same color.

The Paradox of the Pop Quiz A professor wants to give a pop quiz to his class on a day when they are not expecting it. Theorem: For all n  0, the professor cannot give the pop quiz n days before the last day. Corollary: The professor cannot give a pop quiz.