CSCI 2824: Lecture 9In this lecture we will talk about the principle of mathematical induction and attempt to prove properties of numbers using induction. This lecture corresponds to section 2.3 of Ensley and Crawley's book. Mathematical InductionMathematical induction is a very common technique for proving properties of natural numbers (and other discrete structures such as sets, relations and trees that we will study very soon). Here is a video of falling dominoes: Click here. Let us imagine an infinitely long sequence of tiles arranged in a straight line (close enough to each other), and let us tip domino number 1. We wish to argue that every domino will fall. Here is how we can argue:
The argument above is the crux of induction. To prove a property over all natural numbers
Example-1Induction can be really useful to guess and prove closed forms of sequences. Consider a simple one: We have Claim: Proof
Proof is by induction on
Therefore, we have proved that Example-2Theorem The sum of first Proof
We prove this fact by induction just like we did for the dominoes. Base Case: We will verify the fact for Inductive Hypothesis: For all Proof of Inductive Hypothesis Let We note that Example 3Let us try the sequence First, we guess what the closed form could be: Claim Proof
We prove by induction. The base case is for
Weak Induction ProofsWe wish to prove a property Proof by (weak) induction proceeds by establishing a base case:
So far, we have been working with weak induction. We will now work with strong induction proofs. Strong Induction ProofsIn weak induction, we prove that the number Example 1Floor and Ceiling Functions
The function The function As examples, Consider the recurrence Here is the result of performing the recurrence on a few values of Some of you may recognize the pattern (it is rather important one for CS). Here is the guess: We can now try proving it by induction. We will first use weak induction. Theorem For all The theorem only applies to natural numbers Failure of Proof by Weak InductionBase-Case For Inductive Hypothesis: This is not easy to prove and infact is strictly not true. This is because Proof by Strong InductionStrong induction is different from weak in the inductive hypothesis.
Going back to dominoes, we assume in weak induction that the Claim: For all Proof
Proof is by strong induction over Base-Case For (Advanced note: For strong induction, the base case is really not needed but we will go through it for the sake of uniformity, anyway). Strong Inductive Hypothesis: For all We will prove the strong induction hypothesis. We will split this into two cases based on Case-1 Assume Case-2 Assume There is now an extra proof needed on the side that argues that whenever For completeness, here is the proof of the side claim. Side-Claim: For all natural numbers Side Proof
This is an example of a proof by contradiction. Let us assume otherwise. I.e., Since |