EECS 203: Discrete Mathematics

Slides:



Advertisements
Similar presentations
Mathematical Induction
Advertisements

Mathematical Induction
MA/CSSE 473/474 How (not) to do an induction proof.
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 Intro to Induction Supplementary Notes Prepared by Raymond Wong Presented by Raymond Wong.
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.
Inductive Proofs Must Have Base Case (value): –where you prove it is true about the base case Inductive Hypothesis (value): –where you state what will.
Chapter 10 Sequences, Induction, and Probability Copyright © 2014, 2010, 2007 Pearson Education, Inc Mathematical 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.
CSE115/ENGR160 Discrete Mathematics 03/29/11 Ming-Hsuan Yang UC Merced 1.
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.
Induction and recursion
What it is? Why is it a legitimate proof method? How to use it?
Mathematical Maxims and Minims, 1988
MATH 224 – Discrete Mathematics
Induction and recursion
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.
1 Introduction to Abstract Mathematics Chapter 4: Sequences and Mathematical Induction Instructor: Hayk Melikya 4.1- Sequences. 4.2,
CSE 311 Foundations of Computing I Lecture 16 Recursively Defined Sets and Structural Induction Spring
1 CMSC 250 Chapter 4, con't., Inductive Proofs. 2 CMSC 250 Description l Inductive proofs must have: –Base case: where you prove that what it is you are.
Discrete Mathematics Tutorial 11 Chin
Chapter Mathematical Induction 4.2 Strong Induction and Well-Ordering 4.3 Recursive Definitions and Structural Induction 4.4 Recursive Algorithms.
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.
(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)
1 INFO 2950 Prof. Carla Gomes Module Induction Rosen, Chapter 4.
1 Mathematical Induction CS 202 Epp, chapter 4. 2.
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.
CSS 342 DATA STRUCTURES, ALGORITHMS, AND DISCRETE MATHEMATICS I LECTURE
Mathematical Induction
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.
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
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.
9/29/2011Lecture Strong Induction1 Lecture 3.2: Strong Induction CS 250, Discrete Structures, Fall 2011 Nitesh Saxena *Adopted from previous lectures.
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.
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.
CSE15 Discrete Mathematics 03/22/17
Advanced Algorithms Analysis and Design
Induction and recursion
Methods of Proof A mathematical theorem is usually of the form pq
CSNB 143 Discrete Mathematical Structures
Proofs, Recursion and Analysis of Algorithms
CSE373: Data Structures and Algorithms Lecture 2: Proof by Induction
BaSIC Math Reviews.
Notes 9.5 – Mathematical Induction
Induction and recursion
Follow me for a walk through...
Lecture 3.2: Induction, and Strong Induction
Lecture 3.2: Induction, and Strong Induction
CSE 373 Data Structures and Algorithms
What is this ? THIS IS A DOMINO.
Mathematical Induction I
Lecture 3.2: Induction, and Strong Induction
Follow me for a walk through...
Induction Chapter
Advanced Analysis of Algorithms
Mathematical Induction
Follow me for a walk through...
Presentation transcript:

EECS 203: Discrete Mathematics Strong Induction EECS 203: Discrete Mathematics

Mathematical vs Strong Induction To prove that P(n) is true for all positive n. Mathematical induction: Strong induction:

Climbing the Ladder (Strongly) We want to show that ∀n≥1 P(n) is true. Think of the positive integers as a ladder. 1, 2, 3, 4, 5, 6, . . . You can reach the bottom of the ladder: P(1) Given all lower steps, you can reach the next. P(1) → P(2), P(1) ∧ P(2) → P(3), . . . ∀k≥1 P(1) ∧ … ∧ P(k) → P(k+1) Then, by strong induction: ∀n≥1 P(n) It’s stronger, because the premises for proving each P(k+1) are stronger.

Is Strong Induction Really Stronger? No. Anything you can prove with strong induction can be proved with regular mathematical induction. And vice versa. Both are equivalent to the well-ordering property. But strong induction can simplify a proof. How? Sometimes P(k) is not enough to prove P(k+1). But P(1) ∧ . . . ∧ P(k) is strong enough.

Coin problem What is the largest cent-value that cannot be formed using only 3-cent and 5-cent stamps? (A) 2 (B) 4 (C) 7 (D) 8 (E) 11 <= Correct answer

Proof for our Coin problem Let P(k) = “k cents can be formed using 3-cent and 5-cent stamps.” Claim: ∀n≥8 P(n). Proof by strong induction: Base cases: P(8): 8 = 3 + 5 P(9): 9 = 3 + 3 + 3 P(10): 10 = 5 + 5.

Proof for our Coin problem Inductive step: Let k be an integer ≥ 11. Inductive hypothesis: P(j) is true when 8 ≤ j < k. P(k-3) is true. Therefore, P(k) is true. (Add a 3-cent stamp.) This completes the inductive step. Inductive hypothesis: P(j) is true whenever 8 ≤ j < k.