1 / 9

Inductive Proofs

Inductive Proofs. Mathematical Induction. A powerful, rigorous technique for proving that a predicate P ( n ) is true for every natural number n , no matter how large. Essentially a “domino effect” principle.

laverriere
Download Presentation

Inductive Proofs

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Inductive Proofs

  2. Mathematical Induction • A powerful, rigorous technique for proving that a predicate P(n) is true for every natural number n, no matter how large. • Essentially a “domino effect” principle. • Based on a predicate-logic inference rule: P(0)n0(P(n)P(n+1))n0 P(n) “The First Principleof MathematicalInduction”

  3. Validity of Induction Proof that k0P(k) is a valid consequent:Given any k0, n0(P(n)P(n+1)) (antecedent 2) trivially implies n0 (n<k)(P(n)P(n+1)), or (P(0)P(1))  (P(1)P(2))  …  (P(k1)P(k)). Repeatedly applying the hypothetical syllogism rule to adjacent implications k-1 times then gives P(0)P(k); which with P(0) (antecedent #1) and modus ponens gives P(k). Thus k0P(k).

  4. Outline of an Inductive Proof • Want to prove nP(n)… • Base case (or basis step): Prove P(0). • Inductive step: Prove nP(n)P(n+1). • E.g. use a direct proof: • Let nN, assume P(n). (inductive hypothesis) • Under this assumption, prove P(n+1). • Inductive inference rule then gives nP(n).

  5. Induction Example • Prove that the sum of the first n odd positive integers is n2. That is, prove: • Proof by induction. • Base case: Let n=1. The sum of the first 1 odd positive integer is 1 which equals 12.(Cont…) P(n)

  6. Example cont. • Inductive step: Prove n1: P(n)P(n+1). • Let n1, assume P(n), and prove P(n+1). By inductivehypothesis P(n)

  7. Another Induction Example • Prove that n>0, n<2n. Let P(n)=(n<2n) • Base case: P(1)=(1<21)=(1<2)=T. • Inductive step: For n>0, prove P(n)P(n+1). • Assuming n<2n, prove n+1 < 2n+1. • Note n + 1 < 2n + 1 (by inductive hypothesis) < 2n + 2n(because 1<2=22022n-1= 2n) = 2n+1 • So n + 1 < 2n+1, and we’re done. i.e. P(n+1) is true

  8. Another Induction Example Use mathematical Induction to prove that the sum of the first n odd positive integers is n2. SOL: A. Basic Step: p(1) , the sum of the first odd positive integer which is 1 is 12 and equal to 1. So, p(1) is true. B. Inductive step: Suppose that p(k) is true. So, 1+ 3 + 5 + …. + (2K-1) = k2 We must show that p(K+1) is true, assuming that p(K) is true P(K+1) = 1+3+5+…….+ (2K-1) + (2K+1) = K2 + (2K+1) By assumption = (K+1)2By Perfect Square Equation So, p(K+1) is TRUE

  9. Another Induction Example Use mathematical Induction to prove that N3 – N is divisible by 3 whenever n is positive and n>=1 Basic step: P(1) is divisible by 3 since 1-1 = 0 and 3 divides 0 Inductive step: • Assume P(k) is true . P(k): K3 - K is divisible by 3  K3-K= 3m, where m is an integer B. Try to prove that p(k+1) is true as well P(k+1): (K+1)3 – (K+1) = (K3+3K2+3K+1) – K – 1 = ( K3 – K ) + 3(K2 + K) = 3m + 3(K2 + K) = 3(m + K2 + K) = 3 n So, p(k+1) is divisible by 3 Conclusion: N3 – N is divisible by 3 whenever n is positive integer

More Related