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.

Slides:



Advertisements
Similar presentations
Mathematical Induction
Advertisements

Mathematical Induction (cont.)
Chapter 4 Sequences and Mathematical Induction. 4.2 Mathematical Induction.
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
Recursive Definitions Rosen, 3.4. Recursive (or inductive) Definitions Sometimes easier to define an object in terms of itself. This process is called.
1 Intro to Induction Supplementary Notes Prepared by Raymond Wong Presented by Raymond Wong.
Discrete Structures Chapter 2 Part B 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.
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.
Discrete Structures Chapter 5: Sequences, Mathematical Induction, and Recursion 5.2 Mathematical Induction I [Mathematical induction is] the standard proof.
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.
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.
Methods of Proof & Proof Strategies
Mathematical Maxims and Minims, 1988
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!
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 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
Methods of Proofs PREDICATE LOGIC The “Quantifiers” and are known as predicate quantifiers. " means for all and means there exists. Example 1: If we.
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.
ICS 253: Discrete Structures I Induction and Recursion King Fahd University of Petroleum & Minerals Information & Computer Science Department.
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)
Foundations of Discrete Mathematics Chapters 5 By Dr. Dalia M. Gil, Ph.D.
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.
1 CMSC 250 Chapter 4, Summations and Products. 2 CMSC 250 Induction l Induction is a proof technique used to verify a property of a sequence –2,4,6,8,…
Mathematical Induction
1 CMSC 341 Math Review. 2 Exponents Identities (X A ) B = X AB X A * X B = X A+B X A / X B = X A-B X A + X B  X A+B.
CompSci 102 Discrete Math for Computer Science March 13, 2012 Prof. Rodger Slides modified from Rosen.
1 CMSC 250 Chapter 3, Number Theory. 2 CMSC 250 Introductory number theory l A good proof should have: –a statement of what is to be proven –"Proof:"
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,
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
Chapter 5 With Question/Answer Animations 1. Chapter Summary Mathematical Induction - Sec 5.1 Strong Induction and Well-Ordering - Sec 5.2 Lecture 18.
Fall 2002CMSC Discrete Structures1 Chapter 3 Sequences Mathematical Induction Recursion Recursion.
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.
Induction (chapter of the book and chapter of the notes)
Advanced Algorithms Analysis and Design
EECS 203: Discrete Mathematics
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett
Induction and recursion
Mathematical Induction Recursion
Chapter 5 Induction and Recursion
Proofs, Recursion and Analysis of Algorithms
BaSIC Math Reviews.
Induction and recursion
Exercise Use mathematical induction to prove the following formula.
Follow me for a walk through...
Applied Discrete Mathematics Week 9: Integer Properties
CMSC 341 Math Review.
Follow me for a walk through...
Induction Chapter
Advanced Analysis of Algorithms
Mathematical Induction
Follow me for a walk through...
Chapter 2: Geometric Reasoning
Copyright © Cengage Learning. All rights reserved.
Presentation transcript:

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 trying to prove is true about the base case –Inductive hypothesis: where you state what will be assumed in the proof –Inductive step: show: –where you state what will be proven below proof: –where you prove what is stated in the show portion –this proof must use the inductive hypothesis somewhere

3 CMSC 250 Example l Prove this statement: Base case ( n = 1): l Inductive hypothesis (assume the statement is true for n = p ): Inductive step (show the statement is true for n = p + 1), i.e, show :

4 CMSC 250 Variations l … + 20 = ? l If you can, use the fact just proved, that: l Can it be rearranged into a form that works? l If not, it must be proved from scratch

5 CMSC 250 Another example

6 CMSC 250 Discrete Structures CMSC 250 Lecture 23 March 26, 2008

7 CMSC 250 Another example- geometric progression

8 CMSC 250 Another example- a divisibility property

9 CMSC 250 A sequence example l Assume the following definition of a sequence: l Prove :

10 CMSC 250 Discrete Structures CMSC 250 Lecture 24 March 28, 2008

11 CMSC 250 An example with an inequality Prove this statement: Base case (n = 3): Inductive hypothesis (n = p): assume Inductive step (n = p + 1): Show:

12 CMSC 250 Another example with an inequality

13 CMSC 250 A less-mathematical example l If all we had was 2-cent coins and 5-cent coins, we could form any value greater than 3 cents. –Base case (n = 4): –Inductive hypothesis (n = p): –Inductive step (n = p + 1):

14 CMSC 250 Discrete Structures CMSC 250 Lecture 25 March 31, 2008

15 CMSC 250 Recurrence relation example l Assume the following definition of a function: l Prove the following definition property:

16 CMSC 250 Strong induction l Regular induction: P(n)  P(n+1) l With strong induction, the implication changes slightly: –if the statement to be proven is true for all preceding elements, then it's true for the current element (  n)[(  i, a  i  n)[P(i)]  P(n+1)] l The strong induction principle: P(0)  …  P(p) (  n)[P(0)  P(1)  P(2)  …  P(n)  P(n + 1)]  (  n ≥ 0)[P(n)]

17 CMSC 250 Now prove the recurrence relation property, using strong induction l Here's the function definition again: l This is the property to be proven:

18 CMSC 250 Another recurrence relation example l Assume the following definition of a function: l Prove the following definition property, using strong induction:

19 CMSC 250 Discrete Structures CMSC 250 Lecture 26 April 2, 2008

20 CMSC 250 Another example- a divisibility property l Assume the following definition of a recurrence relation: l Prove using strong induction that all elements in this relation have this property:

21 CMSC 250 Another example l Assume the following definition of a recurrence relation: l Prove using strong induction that all elements in this relation have this property:

22 CMSC 250 Discrete Structures CMSC 250 Lecture 27 April 4, 2008

23 CMSC 250 Another example Theorem: for all n ≥ 2 there exist primes p 1, p 2,…, p k, and exponents e 1, e 2,… e k, such that

24 CMSC 250 Constructive induction l Show: (i.e., find integers A and B for which this is true) In particular, we want to find the smallest A and B which will work

25 CMSC 250 A factorial example