Mathematical Induction I Lecture 19 Section 4.2 Mon, Feb 14, 2005.

Slides:



Advertisements
Similar presentations
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
Advertisements

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.
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
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 Section 3.3 Mathematical Induction. 2 Technique used extensively to prove results about large variety of discrete objects Can only be used to prove.
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
Discrete Mathematics, 1st Edition Kevin Ferland
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!
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
Mathematical Induction II Lecture 21 Section 4.3 Mon, Feb 27, 2006.
9.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.
(CSC 102) Lecture 23 Discrete Structures. Previous Lecture Summery  Sequences  Alternating Sequence  Summation Notation  Product Notation  Properties.
CS 103 Discrete Structures Lecture 13 Induction and Recursion (1)
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.
Types of Proof Lecture 4 Sections 0.4 Wed, Aug 29, 2007.
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,
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 ( الاستقراء الرياضي )
Section 9.4 – Mathematical Induction Mathematical Induction: A method to prove that statements involving natural numbers are true for all natural numbers.
Mathematical Induction EECS 203: Discrete Mathematics Lecture 11 Spring
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.
Advanced Algorithms Analysis and Design
Chapter 3 The Real Numbers.
Induction and recursion
CSNB 143 Discrete Mathematical Structures
Proofs, Recursion and Analysis of Algorithms
Direct Proof and Counterexample IV
CS201: Data Structures and Discrete Mathematics I
Induction and recursion
CSE 311: Foundations of Computing
CS 220: Discrete Structures and their Applications
Mathematical Induction I
Mathematical Induction
Lecture 3.1: Mathematical Induction
Direct Proof and Counterexample I
Sullivan Algebra and Trigonometry: Section 13.4
Follow me for a walk through...
Advanced Analysis of Algorithms
Copyright © Cengage Learning. All rights reserved.
Mathematical Induction
Mathematical Induction
Counting Elements of Disjoint Sets: The Addition Rule
Mathematical Induction
Follow me for a walk through...
Mathematical Induction II
Copyright © Cengage Learning. All rights reserved.
Agenda Proofs (Konsep Pembuktian) Direct Proofs & Counterexamples
Lecture 3.1: Mathematical Induction
Mathematical Induction II
Presentation transcript:

Mathematical Induction I Lecture 19 Section 4.2 Mon, Feb 14, 2005

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 Principle of Mathematical Induction Symbolically, this can be written as P(a)P(a)  k  Z with k  a, P(k)  P(k + 1)  n  Z with n  a, P(n).

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(k + 1) is true. Therefore, P(n) is true for all n  4.

Example: Mathematical Induction Theorem: Σ i = 1..n 1/(i(i + 1)) = n/(n + 1). Proof: Basic Step P(1) is true since Σ i = /(i(i + 1)) = 1/(1.2) = 1/2 = 1/(1 + 1).

Proof continued Inductive Step Suppose P(k) is true for some k  1. Then Σ i = 1..k+1 1/(i(i + 1)) = (Σ i = 1..k 1/(i(i + 1)) ) + 1/((k + 1)(k + 2) = k/(k + 1) + 1/((k + 1)(k + 2) = (k + 1)/(k + 2). Therefore, P(k + 1) is true. Therefore, P(n) is true for all n  1.

Example: Mathematical Induction Theorem: Σ i = 1..n i = n(n + 1)/2. Proof: Basic Step P(1) is true since Σ i = 1..1 i = 1 = 1  (1 + 1)/2.

Proof continued Inductive Step Suppose P(k) is true for some k  1. Then Σ i = 1..k+1 i = (Σ i = 1..k i ) + (k + 1) = k(k + 1)/2 + (k + 1) = (k + 1)(k + 2)/2. Therefore, P(k + 1) is true. Therefore, P(n) is true for all n  1.

Sums of Powers of Integers We can also prove by induction that Σ i = 1..n i 2 = n(n + 1)(2n + 1)/6. Σ i = 1..n i 3 = n 2 (n + 1) 2 /4. Σ i = 1..n i 4 = n(n + 1)(2n + 1)(3n 2 + 3n – 1)/30. Σ i = 1..n i 5 = n 2 (n + 1) 2 (2n 2 + 2n – 1)/12.

Putnam Question B-1 (1981) Find lim n  [(1/n 5 )  h = 1..n  k = 1..n (5h 4 – 18h 2 k 2 + 5k 4 )]. Solution Express  h  k 5h 4,  h  k 18h 2 k 2, and  h  k 5k 4 as polynomials in n. Simplify the polynomials. Divide by n 5. Take the limit as n  . The answer is -1.

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 Σ i = 1..n i 2 = n(n + 1)(2n + 1)/6?

Finding the Formula We might conjecture that the answer is a cubic polynomial in n. That is, Σ i = 1..n i 2 = an 3 + bn 2 + cn + d for some real numbers a, b, c, and d.

Finding the Formula Then substitute n = 0, n = 1, n = 2, and n = 3 into the equation to get a system of four equations. n = 0: 0 = d. n = 1: 1 2 = 1 = a + b + c + d. n = 2: = 5 = 8a + 4b + 2c + d. n = 3: = 14 = 27a + 9b + 3c + d.

Finding the Formula Solve the system d = 0, a + b + c + d = 1, 8a + 4b + 2c + d = 5, 27a + 9b + 3c + d = 14. for a, b, c, and d. a = 1/3, 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.