Mathematical Induction
Jason Filippou
CMSC250 @ UMCP
06-27-2016
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 1 / 48
Mathematical Induction Jason Filippou CMSC250 @ UMCP 06-27-2016 - - PowerPoint PPT Presentation
Mathematical Induction Jason Filippou CMSC250 @ UMCP 06-27-2016 Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 1 / 48 Outline 1 Sequences and series Sequences Series and partial sums 2 Weak Induction Intro to Induction Practice 3
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 1 / 48
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 2 / 48
Sequences and series
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 3 / 48
Sequences and series Sequences
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 4 / 48
Sequences and series Sequences
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 5 / 48
Sequences and series Sequences
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 5 / 48
Sequences and series Sequences
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 5 / 48
Sequences and series Sequences
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 6 / 48
Sequences and series Sequences
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 6 / 48
Sequences and series Sequences
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 6 / 48
Sequences and series Sequences
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 7 / 48
Sequences and series Sequences
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 7 / 48
Sequences and series Sequences
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 8 / 48
Sequences and series Sequences
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 8 / 48
Sequences and series Series and partial sums
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 9 / 48
Sequences and series Series and partial sums
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 10 / 48
Sequences and series Series and partial sums
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 10 / 48
Sequences and series Series and partial sums
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 10 / 48
Sequences and series Series and partial sums
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 11 / 48
Sequences and series Series and partial sums
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 11 / 48
Sequences and series Series and partial sums
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 11 / 48
Weak Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 12 / 48
Weak Induction Intro to Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 13 / 48
Weak Induction Intro to Induction
Existential Stmt. ? Existential Proof Constructive Non- constructive Universal Proof Direct Indirect Contradiction ? ? ? Generic Particular
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 14 / 48
Weak Induction Intro to Induction
Existential Stmt. Universal Stmt Existential Proof Constructive Non- constructive Universal Proof Direct Indirect Contradiction Contraposition Exhaustion Cases Generic Particular
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 15 / 48
Weak Induction Intro to Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 16 / 48
Weak Induction Intro to Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 17 / 48
Weak Induction Intro to Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 17 / 48
Weak Induction Intro to Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 18 / 48
Weak Induction Intro to Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 19 / 48
Weak Induction Intro to Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 20 / 48
Weak Induction Intro to Induction
1 Inductive Base (IB): We prove P(n0). Most often, n0 will be
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 20 / 48
Weak Induction Intro to Induction
1 Inductive Base (IB): We prove P(n0). Most often, n0 will be
2 Inductive hypothesis (IH): If k ∈ N is a generic particular such
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 20 / 48
Weak Induction Intro to Induction
1 Inductive Base (IB): We prove P(n0). Most often, n0 will be
2 Inductive hypothesis (IH): If k ∈ N is a generic particular such
3 Inductive Step (IS): We prove that P(k + 1) is true by making
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 20 / 48
Weak Induction Intro to Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 21 / 48
Weak Induction Intro to Induction
m′
k′
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 22 / 48
Weak Induction Intro to Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 23 / 48
Weak Induction Intro to Induction
1 To state which variable you are inducing on (“Proof by induction on
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 23 / 48
Weak Induction Intro to Induction
1 To state which variable you are inducing on (“Proof by induction on
2 Properly using your generic particulars. Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 23 / 48
Weak Induction Intro to Induction
1 To state which variable you are inducing on (“Proof by induction on
2 Properly using your generic particulars. 3 Explicitly proving the inductive basis, no matter how obvious it
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 23 / 48
Weak Induction Intro to Induction
1 To state which variable you are inducing on (“Proof by induction on
2 Properly using your generic particulars. 3 Explicitly proving the inductive basis, no matter how obvious it
4 Clearly assuming the inductive hypothesis Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 23 / 48
Weak Induction Intro to Induction
1 To state which variable you are inducing on (“Proof by induction on
2 Properly using your generic particulars. 3 Explicitly proving the inductive basis, no matter how obvious it
4 Clearly assuming the inductive hypothesis 5 Explicitly mentioning where the inductive hypothesis is used in
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 23 / 48
Weak Induction Practice
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 24 / 48
Weak Induction Practice
1
100
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 25 / 48
Weak Induction Practice
1
100
2
+∞
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 25 / 48
Weak Induction Practice
1
100
2
+∞
3
+∞
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 25 / 48
Weak Induction Practice
1
100
2
+∞
3
+∞
4
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 25 / 48
Weak Induction Practice
1
100
2
+∞
3
+∞
4
5
100
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 25 / 48
Weak Induction Practice
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 26 / 48
Weak Induction Practice
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 27 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 28 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 29 / 48
Strong Induction
1 P(a), P(a + 1), . . . , P(b) are all true, and 2 ∀k > b, if P(i) is true ∀i : a ≤ i < k, then P(k) is true,
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 30 / 48
Strong Induction
1 P(a), P(a + 1), . . . , P(b) are all true, and 2 ∀k > b, if P(i) is true ∀i : a ≤ i < k, then P(k) is true,
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 30 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 31 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 31 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 31 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 31 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 31 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 31 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 31 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 32 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 33 / 48
Strong Induction
1 F1 = 0, F2 = 1, Fn = Fn−1 + Fn−2 ∀n ≥ 3 2 F0 = 0, F1 = 1, Fn = Fn−1 + Fn−2 ∀n ≥ 2 3 F0 = 1, F1 = 1, Fn+1 = Fn + Fn−1 ∀n ≥ 2 4 F0 = 1, F1 = 1, Fn = Fn−1 + Fn−2 ∀n ≥ 2
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 33 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 34 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 35 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 36 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 37 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 38 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 38 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 38 / 48
Strong Induction
1
2
aWe only care about the positive divisors of q. Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 39 / 48
Strong Induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 40 / 48
Errors in proofs by mathematical induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 41 / 48
Errors in proofs by mathematical induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 42 / 48
Errors in proofs by mathematical induction
Sum of first n non-zero integers ∀n ∈ N∗,
n
i = 1 2 (n + 1 2 )2 Proof (By weak induction on n). Let r ∈ N∗ be a generic particular and P (n) the statement we want to solve. We proceed inductively: 1 Inductive base: For r = 1, P (1) holds. 2 Inductive hypothesis: Assume that P (r) holds ∀r ≥ 1, i.e
r
i = 1 2 (r + 1 2 )2 3 Inductive step: We want to prove P (r + 1), i.e
r+1
i = 1 2 ((r + 1) + 1 2 )2. Beginning from the LHS we have:
r+1
i =
r
i + (r + 1) = 1 2 (r + 1 2 )2 + (r + 1) (By breaking apart the sum and by I.H) = 1 2
1 4 ) + (2r + 2)
1 2
3 2 )2 − 3r − 9 4 + r + 1 4 + (2r + 2)
= 1 2
1 2 2 ⇒ P (r + 1) holds. (By algebra) Since r was chosen arbitrarily from N∗, we conclude that the result must hold for all positive integers. Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 43 / 48
Errors in proofs by mathematical induction
1
2
3
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 44 / 48
Errors in proofs by mathematical induction
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 45 / 48
Errors in proofs by mathematical induction
1
2
3
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 46 / 48
Errors in proofs by mathematical induction
1
2
3
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 47 / 48
Errors in proofs by mathematical induction
1
2
3
Jason Filippou (CMSC250 @ UMCP) Induction 06-27-2016 48 / 48