The principle of mathematical induction is a simple but powerful technique for proving mathematical results. In its most basic form, it says the following:
If something’s true for an integer , and if it being true for the number implies it is true for the number , then it is true for all integers .
This is a more-or-less “obvious” statement. It has two components: the base case and the inductive step. The base case establishes truth for one number. The inductive step does not actually establish truth of the statement for any particular value. Instead, it establishes the truth of a logical implication. In formal terms, the above box reads:
If is a proposition for the integer , then if is true and , then is true for all integers .
Think of induction as a string of dominos. Establishing the base case is like knocking down the first domino. Establishing the inductive step is like setting up the dominos so that if the -th domino falls, it knocks over the -th domino. Thinking of it this way, it should be obvious that once these two things are established, then all the dominos will fall. This is one of the concepts that is best learned through examples.
Let’s prove a basic result using induction. We will prove that . We begin with the base case. Is it true for ? Yes, because the left-hand side is and the right-hand side is . Now we establish the induction step. If it’s true for , is it then true for ? Let’s see. We begin with . Since we are assuming that it’s true for , we can rewrite the first terms as . Then our sum becomes
which is the formula we wanted for , so the formula is true for all positive integers . Let’s go over why this works again. We showed the formula is correct when . We then showed that if the formula is correct when , then it is also correct when . Why does this mean the formula is correct for any ? Well, it’s correct for . By the inductive step, since it’s correct for , it’s also correct for . By the inductive step again, since it’s correct for , it’s also correct for , and so on.
Now we’ll prove a more interesting result using induction. Consider the question: how many subsets (including the empty set) of are there that contain no consecutive integers? For problems like these, it’s always nice to look for a pattern first, in case the formula for the answer is nice. For , both the empty subset and the entire set work, so the answer is 2. For , the subsets all work, so the answer is 3. For , the subsets work, so the answer is 5. Continuing in this way, we’ll see that the answer for the first few values of are . These look like the Fibonacci numbers! We know that the Fibonacci numbers are defined by a recurrence relation , so maybe the answer we’re looking for also satisfies this recurrence. That is, we conjecture (or guess) that , where is the answer we’re looking for and .
To prove our conjecture, we can use induction, so we just need to show that , , and . As an exercise, convince yourself why this is enough to answer our original question. The base cases we just did: and . Now, let’s establish the relation . Let’s call a set “happy” if it contains no consecutive integers (so our original question is to find the number of happy subsets of ). Suppose we have a happy subset of . What do we know about ? Well, it either contains the number or it doesn’t. If it doesn’t, then it’s just a happy subset of , and we know there are of those. If does contain , then it can’t contain or else it wouldn’t be happy. Then, if we ignore , then the rest of is a happy subset of , of which we know there are . Therefore, and we are done!
To recap, you should have learned the following from this post:
- What the principle of mathematical induction is and how it works
- How to use induction to prove mathematical statements