CSE115/ENGR160 Discrete Mathematics 03/22/12 Ming-Hsuan Yang UC Merced 1.

Slides:



Advertisements
Similar presentations
Mathematical Induction
Advertisements

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
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.
CSE115/ENGR160 Discrete Mathematics 04/21/11 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 04/03/12 Ming-Hsuan Yang UC Merced 1.
1 Inductive Proofs Rosen 6 th ed., § Mathematical Induction A powerful, rigorous technique for proving that a predicate P(n) is true for every.
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/31/11
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.
Module #1 - Logic 1 Based on Rosen, Discrete Mathematics & Its Applications. Prepared by (c) , Michael P. Frank. Modified By Mingwu Chen 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?
ICS 253 Presents Mathematical Induction Sultan Almuhammadi muhamadi
Mathematical Maxims and Minims, 1988
Induction and recursion
Chapter 6 Mathematical Induction
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,
Induction and Recursion §4.1 Mathematical Induction §4.2 Strong Induction and Well-Ordering §4.3 Recursive Definitions and Structural Inductions §4.4 Recursive.
Copyright © Peter Cappello Mathematical Induction Goals Explain & illustrate construction of proofs of a variety of theorems using mathematical induction.
Discrete Mathematics Tutorial 11 Chin
Module #13: Inductive Proofs Rosen 5 th ed., § inference of a generalized conclusion from particular instances 2. mathematical demonstration of the.
Chap 3 –A theorem is a statement that can be shown to be true –A proof is a sequence of statements to show that a theorem is true –Axioms: statements which.
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.
Based on Rosen, Discrete Mathematics & Its Applications, 5e Prepared by (c) Michael P. Frank Modified by (c) Haluk Bingöl 1/18 Module.
CompSci 102 Discrete Math for Computer Science March 1, 2012 Prof. Rodger Slides modified from Rosen.
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.
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,
Jessie Zhao Course page: 1.
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
Mathematical Induction
6/12/2016 Prepared by Dr.Saad Alabbad1 CS100 : Discrete Structures Proof Techniques(2) Mathematical Induction & Recursion Dr.Saad Alabbad Department of.
Mathematical Induction And Recursion Discrete Math Team KS MATEMATIKA DISKRIT (DISCRETE MATHEMATICS ) 1.
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.
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.
CSE15 Discrete Mathematics 03/22/17
Advanced Algorithms Analysis and Design
EECS 203: Discrete Mathematics
Chapter 3 The Real Numbers.
Induction and recursion
Chapter 5 Induction and Recursion
Proofs, Recursion and Analysis of Algorithms
Induction and recursion
Follow me for a walk through...
CSE 373 Data Structures and Algorithms
Applied Discrete Mathematics Week 9: Integer Properties
Follow me for a walk through...
Induction Chapter
Advanced Analysis of Algorithms
Follow me for a walk through...
Agenda Proofs (Konsep Pembuktian) Direct Proofs & Counterexamples
Presentation transcript:

CSE115/ENGR160 Discrete Mathematics 03/22/12 Ming-Hsuan Yang UC Merced 1

5.2 Strong induction and well- ordering Use strong induction to show that if n is an integer greater than 1, then n can be written as the product of primes Let p(n) be the proposition that n can be written as the product of primes Basis step: p(2) is true as 2 can be written as the product of one prime, itself Inductive step: Assume p(k) is true with the assumption that p(j) is true for j≤k 2

Proof with strong induction That is, j (j≤k) can be written as a product of primes To complete the proof, we need to show p(k+1) is true (i.e., k+1 can be written as a product of primes) There are two cases: when k+1 is prime or composite If k+1 is prime, we immediately see that p(k+1) is true 3

Proof with strong induction If k+1 is composite and can be written as a product of two positive integers a and b, with 2≤a≤b<k+1 By inductive hypothesis, both a and b can be written as product of primes Thus, if k+1 is composite, it can be written as the product of primes, namely, the primes in the factorization of a and those in the factorization of b 4

Proof with induction Prove that every amount of postage of 12 cents or more can be formed using just 4-cent and 5-cent stamps First use mathematical induction for proof Basis step: Postage of 12 cents can be formed using 3 4-cent stamps Inductive step: The inductive hypothesis assumes p(k) is true That is, we need to sure p(k+1) is true when k≥12 5

Proof induction Suppose that at least one 4-cent stamp is used to form postage of k cents We can replace this stamp with 5-cent stamp to form postage of k+1 cents If no 4-cent stamps are used, we can form postage of k cents using only 5-cent stamps As k≥12, we need at least 3 5-cent stamps to form postage of k cents So, we can replace 3 5-cent stamps with 4 4-cent stamps for k+1 cents As we have completed basis and inductive steps, we know p(n) is true for n≥12 6

Proof with strong induction Use strong induction for proof In the basis step, we show that p(12), p(13), p(14) and p(15) are true In the inductive step, we show that how to get postage of k+1 cents for k≥15 from postage of k-3 cents Basis step: we can form postage of 12, 13, 14, 15 cents using 3 4-cent stamps, 2 4-cent/1 5-cent stamps, 2 5-cent/1 4-cent stamps, and 3 5-cent stamps. So p(12), p(13), p(14), p(15) are true 7

Proof with strong induction Inductive step: The inductive hypothesis is the statement p(j) is true for 12≤j ≤k, where k is an integer with k≥15. We need to show p(k+1) is true We can assume p(k-3) is true because k-3 ≥12, that is, we can form postage of k-3 cents using just 4-cent and 5-cent stamps To form postage of k+1 cents, we need only add another 4- cent stamp to the stamps we used to form postage of k-3 cents. That is, we show p(k+1) is true As we have completed basis and inductive steps of a strong induction, we show that p(n) is true for n≥12 There are other ways to prove this 8

Proofs using well-ordering property Validity of both the principle of mathematical induction and strong induction follows from a fundamental axiom of the set of integers, the well-ordering property Well-order property: every non-empty set of non-negative integers has a least element The well-ordering property can be used directly in proofs The well-ordering property, the principle of mathematical induction, and strong induction are all equivalent 9