SLIDE 1
CSE 311: Foundations of Computing
Fall 2014 Lecture 16: Recursively Defined Sets
Strong Induction
∀ 0 ∧ 1 ∧ 2 ∧ ⋯ ∧ → + 1 ∴ ∀ ()
1. By induction we will show that () is true for every ≥ 0 2. Base Case: Prove (0) 3. Inductive Hypothesis: Assume that for some arbitrary integer ≥ 0, () is true for every from 0 to 4. Inductive Step: Prove that ( + 1) is true using the Inductive Hypothesis (that () is true for all values ≤ ) 5. Conclusion: Result follows by induction
Fibonacci Numbers
- = 0
- = 1
- =
+ for all ≥ 2
Bounding the Fibonacci Numbers
f0 = 0; f1 = 1; fn = fn-1 + fn-2 for all ≥ 2 Theorem: 2n/2-1 ≤ fn < 2n for all ≥ 2
Proof:
- 1. Let P(n) be “2n/2-1 ≤ fn < 2n. By (strong) induction we prove P(n) for all n ≥ 2.
2. Base Case: P(2) is true: f2=1, 22/2-1=20=1 ≤ f2, 22=4>f2 3. Ind.Hyp: Assume 2j/2-1 ≤ fj < 2j for all integers j with 2 ≤ j ≤ k for some arbitrary integer k ≥ 2. 4.
- Ind. Step: Goal: Show 2(k+1)/2-1 ≤ fk+1 < 2k+1