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.

Slides:



Advertisements
Similar presentations
Mathematical Induction
Advertisements

1.1The Principle of Mathematical Induction 1.2Divisibility Chapter Summary Case Study Mathematical Induction 1.
Mathematical induction Isaac Fung. Announcement ► Homework 1 released ► Due on 6 Oct 2008 (in class)
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
TR1413: INTRO TO DISCRETE MATHEMATICS LECTURE 2: MATHEMATICAL INDUCTION.
Kavita Hatwal Fall Sequences and Induction.
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
Copyright © Cengage Learning. All rights reserved.
1 Section 3.3 Mathematical Induction. 2 Technique used extensively to prove results about large variety of discrete objects Can only be used to prove.
CSE115/ENGR160 Discrete Mathematics 03/29/11 Ming-Hsuan Yang UC Merced 1.
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.
Induction and recursion
Induction and recursion
ICS 253 Presents Mathematical Induction Sultan Almuhammadi muhamadi
MATH 224 – Discrete Mathematics
Lecture 9. Arithmetic and geometric series and mathematical induction
Induction and recursion
Chapter 6 Mathematical Induction
CSNB143 – Discrete Structure Topic 5 – Induction Part I.
1 Introduction to Abstract Mathematics Chapter 4: Sequences and Mathematical Induction Instructor: Hayk Melikya 4.1- Sequences. 4.2,
Chapter 4: Induction and Recursion
Induction and recursion
Chapter 5 With Question/Answer Animations. Section 5.1.
Chapter Mathematical Induction 4.2 Strong Induction and Well-Ordering 4.3 Recursive Definitions and Structural Induction 4.4 Recursive Algorithms.
8.4 Mathematical Induction
Section 3.3: Mathematical Induction Mathematical induction is a proof technique that can be used to prove theorems of the form:  n  Z +,P(n) We have.
CompSci 102 Discrete Math for Computer Science March 1, 2012 Prof. Rodger Slides modified from Rosen.
CS 103 Discrete Structures Lecture 13 Induction and Recursion (1)
Inductive Proofs and Inductive Definitions Jim Skon.
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.
CSS 342 DATA STRUCTURES, ALGORITHMS, AND DISCRETE MATHEMATICS I LECTURE
Mathematical Induction
Copyright © Cengage Learning. All rights reserved. Sequences and Series.
CompSci 102 Discrete Math for Computer Science March 13, 2012 Prof. Rodger Slides modified from Rosen.
CS Discrete Mathematical Structures Mehdi Ghayoumi MSB rm 132 Ofc hr: Thur, 9:30-11:30a.
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 1. 2 Suppose we have a sequence of propositions which we would like to prove: P (0), P (1), P (2), P (3), P (4), … P (n), … We.
Chapter 5 Kenneth Rosen, Discrete Mathematics and its Applications, 7th edition, McGraw Hill Instructor: Longin Jan Latecki, Copyright.
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
Mathematical Induction I Lecture 19 Section 4.2 Mon, Feb 14, 2005.
Copyright © Zeph Grunschlag, Induction Zeph Grunschlag.
3.3 Mathematical Induction 1 Follow me for a walk through...
Chapter 5 1. Chapter Summary  Mathematical Induction  Strong Induction  Recursive Definitions  Structural Induction  Recursive Algorithms.
Chapter 4: Induction and Recursion
Induction and recursion
Induction and Recursion Chapter 5
CSE15 Discrete Mathematics 03/22/17
Advanced Algorithms Analysis and Design
Induction and recursion
Induction and Recursion
CSE373: Data Structures and Algorithms Lecture 2: Proof by Induction
Notes 9.5 – Mathematical Induction
Induction and recursion
Follow me for a walk through...
What is this ? THIS IS A DOMINO.
Lesson 11 – Proof by induction
Mathematical Induction I
Mathematical Induction
Induction (Section 3.3).
Induction Chapter
Advanced Analysis of Algorithms
Mathematical Induction
Mathematical Induction
Induction and recursion
Induction and recursion
Copyright © Cengage Learning. All rights reserved.
Lecture 3.1: Mathematical Induction
Presentation transcript:

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 rung of the ladder, then we can reach the next rung. From (1), we can reach the first rung. Then by applying (2), we can reach the second rung. Applying (2) again, the third rung. And so on. We can apply (2) any number of times to reach any particular rung, no matter how high up.

Principle of Mathematical Induction Principle of Mathematical Induction: To prove that P(n) is true for all positive integers n, we complete these steps: Basis Step: Show that P( 1 ) is true. Inductive Step: Show that P(k) → P(k + 1 ) is true for all positive integers k. To complete the inductive step, assuming the inductive hypothesis that P(k) holds for an arbitrary integer k, show that must P(k + 1 ) be true. Climbing an Infinite Ladder Example: BASIS STEP: By ( 1 ), we can reach rung 1. INDUCTIVE STEP: Assume the inductive hypothesis that we can reach rung k. Then by ( 2 ), we can reach rung k + 1. Hence, P(k) → P(k + 1 ) is true for all positive integers k. We can reach every rung on the ladder.

Proving a Summation Formula by Mathematical Induction Example: Show that: Solution: BASIS STEP: P( 1 ) is true since 1 ( )/ 2 = 1. INDUCTIVE STEP: Assume true for P(k). The inductive hypothesis is Under this assumption,

Remembering How Mathematical Induction Works Consider an infinite sequence of dominoes, labeled 1,2,3, …, where each domino is standing. We know that the first domino is knocked down, i.e., P( 1 ) is true. We also know that if whenever the kth domino is knocked over, it knocks over the (k + 1 )st domino, i.e, P(k) → P(k + 1 ) is true for all positive integers k. Let P(n) be the proposition that the nth domino is knocked over. Hence, all dominos are knocked over. P(n) is true for all positive integers n.

Conjecturing and Proving Correct a Summation Formula Example: Conjecture and prove correct a formula for the sum of the first n positive odd integers. Then prove your conjecture. Solution: We have: 1= 1, = 4, = 9, = 16, = 25. We can conjecture that the sum of the first n positive odd integers is n 2, BASIS STEP: P( 1 ) is true since 1 2 = 1. INDUCTIVE STEP: P(k) → P(k + 1 ) for every positive integer k. Assume the inductive hypothesis holds and then show that P(k) holds has well. So, assuming P(k), it follows that: Hence, we have shown that P(k + 1 ) follows from P(k). Therefore the sum of the first n positive odd integers is n ∙∙∙+ (2 n − 1) = n 2. Inductive Hypothesis: ∙∙∙+ (2 k − 1) = k ∙∙∙+ (2 k − 1) + (2 k + 1) =[ ∙∙∙+ (2 k − 1)] + (2 k + 1) = k 2 + (2 k + 1) (by the inductive hypothesis) = k k + 1 = ( k + 1) 2

Proving Inequalities Example: Use mathematical induction to prove that 2 n < n!, for every integer n ≥ 4. Solution: Let P(n) be the proposition that 2 n < n!. BASIS STEP: P( 4 ) is true since 2 4 = 16 < 4! = 24. INDUCTIVE STEP: Assume P(k) holds, i.e., 2 k < k! for an arbitrary integer k ≥ 4. To show that P(k + 1 ) holds: 2 k+ 1 = 2∙2 k < 2 ∙ k! (by the inductive hypothesis) < (k + 1 )k! = (k + 1 )! Therefore, 2 n < n! holds, for every integer n ≥ 4. Note that here the basis step is P( 4 ), since P( 0 ), P( 1 ), P( 2 ), and P( 3 ) are all false.