Lesson 11 – Proof by induction

Slides:



Advertisements
Similar presentations
Lesson 10.4: Mathematical Induction
Advertisements

1.1The Principle of Mathematical Induction 1.2Divisibility Chapter Summary Case Study Mathematical Induction 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
Recursive Definitions Rosen, 3.4. Recursive (or inductive) Definitions Sometimes easier to define an object in terms of itself. This process is called.
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
Chapter 10 Sequences, Induction, and Probability Copyright © 2014, 2010, 2007 Pearson Education, Inc Mathematical Induction.
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.
Copyright © 2007 Pearson Education, Inc. Slide 8-1.
ICS 253 Presents Mathematical Induction Sultan Almuhammadi muhamadi
Mathematical Maxims and Minims, 1988
Sequences and Series (T) Students will know the form of an Arithmetic sequence.  Arithmetic Sequence: There exists a common difference (d) between each.
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!
CSNB143 – Discrete Structure Topic 5 – Induction Part I.
CSE373: Data Structures and Algorithms Lecture 2b: Proof by Induction and Powers of Two Nicki Dell Spring 2014.
Discrete Mathematics Tutorial 11 Chin
9.4 Mathematical Induction
8.4 Mathematical Induction
Mathematical Induction Digital Lesson. Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 Mathematical induction is a legitimate method.
CompSci 102 Discrete Math for Computer Science March 1, 2012 Prof. Rodger Slides modified from Rosen.
1+2+3+…+n = n(n+1)/2 We want to prove the above statement by mathematical Induction for all natural numbers (n=1,2,3,…) Next SlideSlide 1.
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.
CSE373: Data Structures and Algorithms Lecture 2: Proof by Induction Linda Shapiro Winter 2015.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Mathematical Induction
Proof by Induction 1.Explanation 1Explanation 1 2.Explanation 2Explanation 2 3.Example DivisionExample Division 4.Example SequencesExample Sequences 5.Example.
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 Thinking Skill: Develop Confidence in Reason Warm Up: Find the k+1 term (P k+1 ) 1) 2)
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.
EXAMPLE 3 Write an indirect proof Write an indirect proof that an odd number is not divisible by 4. GIVEN : x is an odd number. PROVE : x is not divisible.
9/29/2011Lecture Strong Induction1 Lecture 3.2: Strong Induction CS 250, Discrete Structures, Fall 2011 Nitesh Saxena *Adopted from previous lectures.
Algorithmic Foundations COMP108 COMP108 Algorithmic Foundations Mathematical Induction Prudence Wong
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
Mathematical Induction I Lecture 19 Section 4.2 Mon, Feb 14, 2005.
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.
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.
11.7 – Proof by Mathematical Induction
COMP108 Algorithmic Foundations Mathematical Induction
Induction and recursion
CSE 311: Foundations of Computing
CSNB 143 Discrete Mathematical Structures
Proofs, Recursion and Analysis of Algorithms
CSE373: Data Structures and Algorithms Lecture 2: Proof by Induction
CSE373: Data Structures and Algorithms Lecture 2: Proof by Induction
Mathematical Induction
Notes 9.5 – Mathematical Induction
Induction and recursion
Follow me for a walk through...
Section 2.1 Proof Techniques Introduce proof techniques:   o        Exhaustive Proof: to prove all possible cases, Only if it is about a.
Mathematical Induction
Induction (Section 3.3).
Follow me for a walk through...
Proof by Induction.
Proof by Induction.
Chapter 11: Further Topics in Algebra
Mathematical Induction
Mathematical Induction
Mathematical Induction
Follow me for a walk through...
MATHEMATICAL INDUCTION
11.4 Mathematical Induction
COMP108 Algorithmic Foundations Mathematical Induction
Chapter 1 Automata CE year IV.
Presentation transcript:

Lesson 11 – Proof by induction Further Pure 1 Lesson 11 – Proof by induction

Mathematical Statements In this lesson we are going to look at proving mathematical statements. For example: 3n-1 is always an even number The problem is though, how can we prove this to be true as there are infinitely many values of n to try? We can see that if n = 1, then 31-1 = 2 = Even and if n = 2, then 32-1 = 8 = Even and if n = 3, then 33-1 = 26 = Even But it is impossible to test every single value of n to see if the statement is true. We are going to now look at the idea of proof by induction.

Proof by induction Here is an example to think about. An old woman is asked how old she is, and replies “I am 100 years old”. No record has been kept of her birthday so how do we now she is 100? Answer: Because she was 99 last year. With proof by induction we assume that a statement is true and then try to prove that the next result will also be true. If this principle holds then as long as the first value works then automatically so must the second, then the third and so on and so on. It’s a bit like pushing over a domino line.

Proof by induction Now we can go back to our original problem from the first slide. Prove that 3n-1 is always an even number Lets assume that 3k-1 is always even, for n = k. Now 3k+1-1 = 3×3k-1 = 3×3k-3 + 2 = 3×(3k-1) + 2 = 3×(Even) + Even = Even So we have shown that if 3n-1 is even for n = k then 3n-1 will be even for n = k+1. Now if k = 1, 3k-1 = Even The domino effect kicks in and it must be true for n = 2,3,…………∞

Questions 1) Prove that, for all positive integers n, 1 + 2 + 3 + …… + n = (n/2)(n+1) 2) Prove that, for all positive integers n, 12 + 22 + 32 + …… + n2 = (n/6)(n+1)(2n+1) 3) Prove that, for all positive integers n, 13 + 23 + 33 + …… + n3 = (n2/4) (n+1)2 These are important results and we shall learn some more about them in lesson 12

Solution 1 Prove that, for all positive integers n, 1 + 2 + 3 + …… + n = (n/2)(n+1) First we start by assuming that it is true for n = k and try to show that it will be true for n = k+1 This shows that if n = k works then n = k+1 will also work. So if n = 1, then the sum of 1 is 1 & 0.5×1×2 = 1 which is the sum of 1. Therefore by induction the original statement is true for all n.

Solution 2 Prove that, for all positive integers n, 12 + 22 + 32 + …… + n2 = (n/6)(n+1)(2n+1) First we start by assuming that it is true for n = k and try to show that it will be true for n = k+1 This shows that if n = k works then n = k+1 will also work. So if n = 1, then the sum of 1 is 1 & (1/6)×1×2×3= 1 which is the sum of 1. Therefore by induction the original statement is true for all n

Solution 3 Prove that, for all positive integers n, 13 + 23 + 33 + …… + n3 = (n/4)2(n+1)2 First we start by assuming that it is true for n = k and try to show that it will be true for n = k+1 This shows that if n = k works then n = k+1 will also work. So if n = 1, then the sum of 1 is 1 & 0.25×4 = 1 which is the sum of 1. Therefore by induction the original statement is true for all n

More Proofs by induction 1 A sequence is defined by un+1 = 4un – 3, u1 = 2 Prove that un = 4n-1 + 1 We start by assuming that n = k will work and investigate what happens with n = k+1 uk+1 = 4uk – 3 = 4(4k-1 + 1) – 3 = 4×4k-1 + 4 – 3 = 4k + 4 – 3 = 4k + 1

More Proofs by induction 2 Prove that un = 4n + 6n – 1 is divisible by 9 for all n > 0. uk+1 = 4k+1 + 6(k+1) – 1 = 4k+1 + 6k + 6 – 1 = 4k+1 + 6k + 5 = 4×4k + 24k – 18k – 4 + 4 + 5 With this line I have just added in values so that I can factorise to make un = (4×4k + 24k – 4) – 18k + 4 + 5 = 4(4k + 6k -1) – 18k + 9 = 4(uk) – 9(2k – 1) This proves that uk+1 is divisible by 9 because uk is divisible by 9 and the second part 9(2k – 1) must also be divisible by 9. Now if n = 1, then u1 = 41 + 6×1 – 1 = 9 which is divisible by 9. This proves that un must always be divisible by 9 for all n > 0.

Enrichment problem Let P(n) be the statement that is divisible by 44. I shall show this is true if n is any positive integer! If n=1 then is equal to 44… so is divisible by 44! So the statement is clearly true when n=1.

Assume statement is true for n=k We suppose that the statement is true for n=k where k is some positive integer. So we assume that is divisible by 44. We want to then show that the statement must also be true for n=k+1.

Considering n=k+1 We therefore want to consider (this is with n=k+1). We want to show this is divisible by 44. All we are allowed to assume is that Is divisible by 44 (the case n=k). So let’s see if we can express in terms of .

The trick! So if is divisible by 44 with n=k then it is also divisible by 44 with n=k+1.

The conclusion So we have shown that is divisible by 44 with n=1. If it is divisible by 44 with n=k, for any positive integer k, then it follows that it is divisible by 44 with n=k+1. Therefore it follows that must be divisible by 44 for all positive integers n!