COMP 170 L2 Page 1. COMP 170 L2 Page 2 COMP 170 L2 L10: Intro to Induction l Objective n Introduce induction from proof-by-smallest-counter-example 

Slides:



Advertisements
Similar presentations
Mathematical Induction
Advertisements

Know what is meant by proof by Induction Learning Outcomes: PROOF BY INDUCTION Be able to use proof by induction to prove statements.
To prove by induction that 2 n ≥ n 2 for n ≥ 4, n  N Next (c) Project Maths Development Team 2011.
COMP 170 L2 Page 1 L03: Binomial Coefficients l Purpose n Properties of binomial coefficients n Related issues: the Binomial Theorem and labeling.
1.1The Principle of Mathematical Induction 1.2Divisibility Chapter Summary Case Study Mathematical Induction 1.
Mathematical induction Isaac Fung. Announcement ► Homework 1 released ► Due on 6 Oct 2008 (in class)
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.
COMP 170 L2 Page 1 L03: Binomial Coefficients l Purpose n Properties of binomial coefficients n Related issues: the Binomial Theorem and labeling.
1 Intro to Induction Supplementary Notes Prepared by Raymond Wong Presented by Raymond Wong.
CSE115/ENGR160 Discrete Mathematics 03/22/12 Ming-Hsuan Yang UC Merced 1.
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 12 Number theory Mathematical induction Proof by induction Examples.
COMP 170 L2 L15: Probability of Unions of Events l Objective: n The inclusion-exclusion principle for probability Page 1.
1 Advanced Induction Supplementary Notes Prepared by Raymond Wong Presented by Raymond Wong.
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.
Mathematical Maxims and Minims, 1988
Lecture 9. Arithmetic and geometric series and mathematical induction
COMP 170 L2 Page 1 L05: Inverses and GCDs l Objective: n When does have an inverse? n How to compute the inverse? n Need: Greatest common dividers (GCDs)
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.
CSE 311 Foundations of Computing I Lecture 15 Recursive Definitions and Structural Induction Autumn 2011 CSE 3111.
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.
COMP 170 L2 Page 1 Review for Midterm 1 l Part I: Counting n L01-L03 l Part II: Number Theory and Cryptography n L04, L05.
1.1 Introduction to Inductive and Deductive Reasoning
COMP 170 L2 Part 3 of Course Chapter 3 of Textbook.
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.
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.
To prove by induction that 3 is a factor of 4 n - 1, n  N Next (c) Project Maths Development Team 2011.
COMP 170 L2 L08: Quantifiers. COMP 170 L2 Outline l Quantifiers: Motivation and Concepts l Quantifiers: Notations and Meaning l Saying things with Quantified.
2-6 Proving Angles Congruent. Theorem: a conjecture or statement that you prove true.
MAT 2720 Discrete Mathematics Section 2.2 More Methods of Proof Part II
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.
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.
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
CSE 311 Foundations of Computing I Lecture 15 Strong Induction and Recursive Definitions Spring
COMP 170 L2 Page 1 Review for Midterm 2 Part II: Number Theory and Cryptography L06: RSA Part III: Logic L07, L08, L09 Part IV: Induction and Recurrence.
Copyright © Zeph Grunschlag, Induction Zeph Grunschlag.
3.3 Mathematical Induction 1 Follow me for a walk through...
1 Mathematical Induction. 2 What is induction? A method of proof It does not generate answers: it only can prove them Three parts: Base case(s): show.
INDUCTION David Kauchak CS52 – Spring to-1 multiplexer control control_negate and_out1 input0 input1 and_out2 output.
CSE15 Discrete Mathematics 03/22/17
Introduction Intro Problem Materials Hypothesis Procedure Results
Advanced Algorithms Analysis and Design
CSE 311 Foundations of Computing I
Methods of Proof A mathematical theorem is usually of the form pq
CSNB 143 Discrete Mathematical Structures
BaSIC Math Reviews.
CSE 311: Foundations of Computing
Exercise Use mathematical induction to prove the following formula.
Follow me for a walk through...
CSE 373 Data Structures and Algorithms
Section 2.1 Proof Techniques Introduce proof techniques:   o        Exhaustive Proof: to prove all possible cases, Only if it is about a.
CMSC 341 Math Review.
Induction (Section 3.3).
Sullivan Algebra and Trigonometry: Section 13.4
Follow me for a walk through...
Induction Chapter
Advanced Analysis of Algorithms
Miniconference on the Mathematics of Computation
Mathematical Induction
(c) Project Maths Development Team 2011
1.1 Introduction to Inductive and Deductive Reasoning
Follow me for a walk through...
CSE 311 Foundations of Computing I
From the last time: gcd(a, b) can be characterized in two different ways: It is the least positive value of ax + by where x and y range over integers.
Presentation transcript:

COMP 170 L2 Page 1

COMP 170 L2 Page 2

COMP 170 L2 L10: Intro to Induction l Objective n Introduce induction from proof-by-smallest-counter-example  Making use of small-problem/big-problem relationships in proofs Page 3

COMP 170 L2 Recap: l Given: (a) p(0) is True; (b) If n>0, then p(n-1) => p(n) l Conclusion: p(n) is True for all l Proof by Smallest Counter Example Page 4

COMP 170 L2 Outline l Weak induction l Strong induction Page 5

COMP 170 L2 Weak Principle of Math Induction l We have actually proved: Page 6

COMP 170 L2 Weak Principle of Math Induction l Suppose b=0 l Intuitively n p(0) n p(0) => p(1) n p(1) => p(2) n p(2) => p(3), n …. n So, p(n) is True for all n>=0 Page 7

COMP 170 L2 Inductive Proof l Base Case (n=b): Show that p(b) is True l Induction (n>b): Show p(n-1) => p(n) n Induction Hypothesis  p(n-1) is True n Inductive Step:  p(n) is True l Inductive conclusion: n p(n) is True for all n>=b Page 8

COMP 170 L2 Page 9

COMP 170 L2 Page 10

COMP 170 L2

Outline l Weak induction l Strong induction Page 12

COMP 170 L2 Review: Weak Induction l Suppose b=0 l Intuitively n p(0) n p(0) => p(1) n p(1) => p(2) n p(2) => p(3), n …. n So, p(n) is True for all n>=0 Page 13

COMP 170 L2 l Suppose b=0 l Intuitively n p(0) n p(0) => p(1) n p(0) /\ p(1) => p(2) (don’t have p(1) => p(2)) n p(0) /\ p(1) /\ p(2) => p(3), (don’t have p(2) => p(3)) n …. n So, p(n) is True for all n>=0 Page 14

COMP 170 L2 Page 15

COMP 170 L2 Strong Induction Implicitly Used in Proof of Euclid’s Division Theorem

COMP 170 L2 Remarks Page 17

COMP 170 L2 Summary Page 18