Copyright © Peter Cappello Mathematical Induction Goals Explain & illustrate construction of proofs of a variety of theorems using mathematical induction.

Slides:



Advertisements
Similar presentations
Mathematical Induction
Advertisements

Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Week 5 - Friday.  What did we talk about last time?  Sequences  Summation and production notation  Proof by 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.
Induction and recursion
1.  The set N = {1,2,3,4,……..} is known as natural numbers or the set of positive integers  The natural numbers are used mainly for :  counting  ordering.
Induction Sections 41. and 4.2 of Rosen Fall 2008 CSCE 235 Introduction to Discrete Structures Course web-page: cse.unl.edu/~cse235 Questions:
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
CSE115/ENGR160 Discrete Mathematics 03/22/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 03/31/11
Introduction to Proofs Goals 1.Introduce notion of proof & basic proof methods. 2.Distinguish between correct & incorrect arguments 3.Understand & construct.
Module #1 - Logic 1 Based on Rosen, Discrete Mathematics & Its Applications. Prepared by (c) , Michael P. Frank. Modified By Mingwu Chen Induction.
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.
Mathematical Induction Readings on induction. (a) Weiss, Sec. 7.2, page 233 (b) Course slides for lecture and notes recitation. Every criticism from a.
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.
Mathematical 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.
What it is? Why is it a legitimate proof method? How to use it?
Methods of Proof & Proof Strategies
Lecture 9. Arithmetic and geometric series and mathematical induction
Induction and recursion
Chapter 6 Mathematical Induction
Discrete Mathematics, 1st Edition Kevin Ferland
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!
March 3, 2015Applied Discrete Mathematics Week 5: Mathematical Reasoning 1Arguments Just like a rule of inference, an argument consists of one or more.
1 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
Module #13: Inductive Proofs Rosen 5 th ed., § inference of a generalized conclusion from particular instances 2. mathematical demonstration of the.
Induction Proof. Well-ordering A set S is well ordered if every subset has a least element. [0, 1] is not well ordered since (0,1] has no least element.
Chap 3 –A theorem is a statement that can be shown to be true –A proof is a sequence of statements to show that a theorem is true –Axioms: statements which.
Copyright © Zeph Grunschlag, Induction Zeph Grunschlag.
ICS 253: Discrete Structures I Induction and Recursion King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Based on Rosen, Discrete Mathematics & Its Applications, 5e Prepared by (c) Michael P. Frank Modified by (c) Haluk Bingöl 1/18 Module.
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 3 The Foundations: Logic and Proof,
Methods of Proof Dr. Yasir Ali. Proof A (logical) proof of a statement is a finite sequence of statements (called the steps of the proof) leading from.
CS 103 Discrete Structures Lecture 13 Induction and Recursion (1)
Foundations of Discrete Mathematics Chapters 5 By Dr. Dalia M. Gil, Ph.D.
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.
Mathematical Induction
Copyright © Zeph Grunschlag, Induction Zeph Grunschlag.
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.
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.
Mathematical Induction Thinking Skill: Develop Confidence in Reason Warm Up: Find the k+1 term (P k+1 ) 1) 2)
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
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.
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
Fall 2002CMSC Discrete Structures1 Chapter 3 Sequences Mathematical Induction Recursion Recursion.
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.
Strong Induction: Selected Exercises Goal Explain & illustrate proof construction of a variety of theorems using strong induction.
Introduction to Proofs Goals 1.Introduce notion of proof & basic proof methods. 2.Distinguish between correct & incorrect arguments 3.Understand & construct.
11.7 – Proof by Mathematical Induction
Advanced Algorithms Analysis and Design
Induction and recursion
Mathematical Induction Recursion
Induction and recursion
Week #6 – 30 September / 2/4 October 2002 Prof. Marie desJardins
Follow me for a walk through...
Applied Discrete Mathematics Week 9: Integer Properties
Induction (Section 3.3).
Follow me for a walk through...
Induction Chapter
Advanced Analysis of Algorithms
Mathematical Induction
Mathematical Induction
Follow me for a walk through...
Presentation transcript:

Copyright © Peter Cappello Mathematical Induction Goals Explain & illustrate construction of proofs of a variety of theorems using mathematical induction.

Copyright © Peter Cappello Motivation Mathematics uses 2 kinds of arguments: deductive inductive Proposition: P( n ): … + n = n( n + 1 )/2. Observe that P(1), P(2), P(3), & P(4). Conjecture:  n  N P( n ). Mathematical induction is a finite proof pattern for proving propositions of the form  n  N P( n ).

Copyright © Peter Cappello The Principle of Mathematical Induction Let P( n ) be a predicate function:  n  N P( n ) is a proposition. To prove  n  N P( n ), it suffices to prove: 1.P( 1 ) is true. 2.  n  N ( P( n )  P( n + 1 ) ). This is not magic. It is a recipe for constructing a finite proof for arbitrary n  N.

Copyright © Peter Cappello Proving P( 3 ) Given P( 1 )   n  1 ( P( n )  P( n + 1) ). Proof: 1. P( 1 ).[premise 1] 2. P( 1 )  P( 2 ). [U.S. of premise 2 for n = 1] 3. P( 2 ).[step 1, 2, & modus ponens] 4. P( 2 )  P( 3 ). [U.S. of premise 2 for n = 2] 5. P( 3 ).[step 2, 3, & modus ponens] Construct a finite proof for P( 1,999,765 ).

Copyright © Peter Cappello Mathematical Induction as the Domino Principle If the 1 st domino falls over and the n th domino falls over implies that the ( n + 1 ) st domino falls over then domino n falls over for all n  N.

Copyright © Peter Cappello Mathematical Induction as the Domino Principle 123nn +1

Copyright © Peter Cappello The 3-Step Method The implication in step 2 typically is proved directly. The proof pattern thus has 3 steps: 1.Prove P( 1 ). [called the basis] 2.Assume P( n ) [called the induction hypothesis] 3.Prove P( n + 1 ) [called the inductive step] The last 2 steps are for arbitrary n  N. Using P( n ) to prove P( n + 1 ) implies a recursive formulation of P( n ).

Copyright © Peter Cappello Induction as a Creative Process Mathematical induction is similar to, but not identical to, scientific induction. In both cases, a “theory” is created. Look at specific cases; perceive a pattern. Hypothesizing a pattern, a theory, is a creative process (only people who are bad at mathematics say otherwise). With mathematical induction, a “theory” can be proved.

Copyright © Peter Cappello Scientific theories cannot be proved. They can be disproved. A scientific theory can be based on a mathematical model. Propositions can be proved within the model. Like axioms, the relationship between: the mathematical model physical reality cannot be proven correct.

Copyright © Peter Cappello Example 1 = 1 3 = = = What is a general formula, if any, for … + n? Let F( n ): n. A recursive formulation: F( n ) = F( n - 1 ) + n.

Copyright © Peter Cappello 1: 2: 3: Put these blocks, which represent numbers, together to form sums: = = A Geometric Interpretation

Copyright © Peter Cappello n n Area is n 2 /2 + n/2 = n(n + 1)/2

Copyright © Peter Cappello … + n = n(n + 1)/2 A Mathematical Induction Proof F( 1 ) = 1( )/2 = 1. Assume F( n ) = n( n + 1 )/2 Show F( n + 1 ) = ( n + 1 )( n + 2 )/2. F( n + 1 ) = n + ( n + 1 ) [Definition] = F( n ) + n + 1 [Recursive formulation] = n( n + 1 ) / 2 + n + 1 [Induction hyp.] = n( n + 1 ) / 2 + ( n + 1 ) (2/2) = ( n + 1 ) ( n + 2 ) / 2.

Copyright © Peter Cappello In finding a recursive formulation, we focused on the: similarities differences for successive values of n. Sometimes, it is useful to: Note the difference between F( n ) & F( n – 1 ). Find a pattern in this sequence of differences.

Copyright © Peter Cappello Example: n 3 = ? Let F( n ) = n 3. What is a formula for F(n)? 1 = = = = Do you see a pattern?

Copyright © Peter Cappello Prove that  n F( n ) = [ n( n + 1 )/2 ] 2 1. F( 1 ) = 1 3 = 1 = [ 1( 2 ) / 2 ] Assume F( n ) = [ n( n + 1 ) / 2 ] 2.  I.H. 3. Prove F( n + 1 ) = [ ( n + 1 )( n + 2 ) / 2 ] 2. F ( n + 1 ) = n 3 + ( n +1 ) 3  Defn. of F( n + 1 ) = F( n ) + ( n + 1 ) 3  Recursive formulation = [ n( n + 1 )/ 2 ] 2 + ( n + 1 ) 3  Use I. H. = ( n + 1 ) 2 [ ( n / 2 ) 2 + ( n + 1 ) ] = ( n + 1 ) 2 [ n 2 / 4 + ( 4 / 4 )( n + 1 ) ] = ( n +1 ) 2 [ ( n 2 + 4n + 4 ) / 4 ] = [ ( n + 1) (n + 2) / 2 ] 2.

Copyright © Peter Cappello Translating the starting point If we: know P( n ) is false for 1  n  9 think P( n ) is true for n > 9. Then define Q( n ) = P( n + 9 ). Use mathematical induction to show that  n  N Q( n ). We thus can start the induction at any natural number.

Copyright © Peter Cappello Example: Stamps Suppose the US Post Office prints only 5 & 9 cent stamps. Prove  n > 34, you can make postage for n cents, using only 5 & 9 cent stamps. Let S( n ) denote the statement: You can make postage for n cents using only 5-cent & 9-cent stamps. 1. Basis: For n = 35: Use 7 5-cent stamps. 2. I.H.: Assume S( n ).

Copyright © Peter Cappello 3. Prove S( n + 1 ). Case: For S( n ), # of 9-cent stamps used = 0: Only 5-cent stamps are used for S( n ). # of 5-cent stamps ≥ 7. Replace 7 5-cent stamps with 4 9-cent stamps. Case: For S( n ), # of 9-cent stamp used > 0: Replace 1 9-cent stamp with 2 5-cent stamps.

Copyright © Peter Cappello Generalizing the Basis To prove  n  N P( n ), if suffices to show: P( 1 )  P( 2 ).  n  N( [ P( n )  P( n + 1 ) ]  P( n + 2 ) ) If: We can push over the first 2 dominos; Pushing over any 2 adjacent dominos implies pushing over the next domino. then we can push over all the dominos.

Copyright © Peter Cappello The Fibonacci Formula Define the n th Fibonacci number, F( n ), as: F( 0 ) = 0, F( 1 ) = 1, F( n ) = F( n – 1 ) + F( n – 2 ). Prove F( n ) = 5 -1/2 ( [ ( /2 ) / 2] n - [ ( /2 ) / 2 ] n ). Basis: F( 0 ) = 5 -1/2 ( [ ( /2 ) /2 ] 0 - [ ( /2 ) / 2 ] 0 ) = 0. F( 1 ) = 5 -1/2 ( [ ( /2 ) / 2 ] 1 - [ ( /2 ) / 2 ] 1 ) = ( 5 -1/2 / 2 ) ( / /2 ) = 1.

Copyright © Peter Cappello The Fibonacci Formula F( n ) = 5 -1/2 ( [ ( /2 ) / 2] n - [ ( /2 ) / 2 ] n ) Let a = ( /2 ) / 2 b = ( /2 ) / 2. Note: a + 1 = a 2 & b + 1 = b 2. Induction hypotheses: F( n ) = 5 -1/2 ( a n – b n ) F( n +1 ) = 5 -1/2 ( a n + 1 – b n + 1 ). Induction step: Show F( n + 2 ) = 5 -1/2 ( a n b n + 2 ).

Copyright © Peter Cappello F( n ) = 5 -1/2 ( [ ( /2 ) / 2] n - [ ( /2 ) / 2 ] n ) Proof of Induction Step F( n + 2 ) = F ( n + 1 ) + F ( n ) [Definition] = 5 -1/2 ( a n + 1 – b n + 1 ) /2 ( a n – b n ) [I.H.] = 5 -1/2 ( a n a n – b n + 1 – b n ) = 5 -1/2 ( a n ( a + 1 ) – b n ( b + 1 ) ). = 5 -1/2 ( a n + 2 – b n + 2 )

Copyright © Peter Cappello Generalizing this... If P( 1 )  P( 2 ) ... P( k )  n { [ P( n + 1 )  P( n + 2 ) ... P( n + k ) ]  P( n + k + 1 ) } then  n  N P( n ).

Copyright © Peter Cappello End

Copyright © Peter Cappello Strong Mathematical Induction If P( 1 )  P( 2 ) ...  P( k ) and for n  k, [ P( 1 )  P( 2 ) ...  P( n ) ]  P( n + 1 ) then,  n  N P(n).

Copyright © Peter Cappello Example: Fundamental Theorem of Arithmetic Prove that all natural numbers  2 can be represented as a product of primes. Basis: 2: 2 is a prime. Assume that 1, 2,..., n can be represented as a product of primes.

Copyright © Peter Cappello Show that n + 1can be represented as a product of primes. Case n + 1 is a prime: It can be represented as a product of 1 prime, itself. Case n + 1 is composite: n = ab, for some a,b < n. Therefore, a = p 1 p 2... p k & b = q 1 q 2... q l, where the p i s & q i s are primes. Represent n = p 1 p 2... p k q 1 q 2... q l.