UCM CSE 115 - Strong induction and well ordering

Unformatted text preview:

CSE115/ENGR160 Discrete Mathematics 03/22/125.2 Strong induction and well-orderingProof with strong inductionProof with strong inductionProof with inductionProof inductionSlide 7Slide 8Proofs using well-ordering propertyCSE115/ENGR160 Discrete Mathematics03/22/12Ming-Hsuan YangUC Merced15.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≤k2Proof 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 true3Proof 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 b4Proof 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≥125Proof 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≥126Proof 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 true7Proof 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 this8Proofs 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


View Full Document

UCM CSE 115 - Strong induction and well ordering

Download Strong induction and well ordering
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Strong induction and well ordering and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Strong induction and well ordering 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?