CSCI 301 L17 Notes

Lecture 17 - Notes

No new Goals for today.

Announcements

Induction

Example Prove the following proposition: \[ \forall n \in \mathbb{N}, \left( \sum_{i=0}^n 2^i \right) = 2^{n+1} - 1 \]

Proof by Smallest Counterexample

This is a combination of proof by induction and proof by contradiction. The basic idea is to show the base case holds, then prove the inductive hypothesis by contradiction. You can do this by supposing that it does not always hold that \(S_{k-1} \Rightarrow S_{k}\). We let \(k\) be the smallest example for which this is the case, and thus suppose \(S_{k-1}\) is true but \(S_k\) is not; then show that this leads to a contradiction.

Example

Proposition: If \(n \in \mathbb{N}\), then \(4 \mid (5^n - 1)\).

This can be proved by smallest counterexample. See proof BoP section 10.3, p191.