No discussion of recursion and induction would be complete without some obligatory examples of proofs using induction. We start with the “Hello World” example.

For our first version of a proof of Proposition 3.12, we clearly identify the open statement $S_n$ and describe the proof carefully in terms of $S_n\text{.}$ As you develop more experience with writing proofs by induction, this will become less essential, as you'll see in the second version of the proof.

Before looking at a refined version of this proof, let's take a moment to discuss the key steps in every proof by induction. The first step is the basis step, in which the open statement $S_1$ is shown to be true. (It's worth noting that there's nothing special about $1$ here. If we want to prove only that $S_n$ is true for all integers $n\geq 5\text{,}$ then proving that $S_5$ is true is our basis step.) When proving the basis step, if $S_n$ is an equation, we do not just write down $S_1$ and move on. We need to prove that $S_1$ is true. Notice how in the proof above, we discussed the left-hand side of $S_1$ and the right-hand side of $S_1$ and concluded that they were equal.

After the basis step comes the inductive step, in which we assume that $S_k$ is true for some positive integer $k$ and prove that $S_{k+1}$ is true. When doing this, we call $S_k$ our inductive hypothesis. In the inductive step, the most common mistake students make is starting with the entirety of $S_{k+1}$ and manipulating it until they obtain a true statement. This is dangerous, as it is possible to start with something false and through valid algebraic steps, obtain a true statement. Instead, the best option is to work as with the basis step: if $S_{k+1}$ is an equation or inequality, work on one side until you find a place to apply the inductive hypothesis and then continue until you obtain the other side. If the algebra gets tricky along the way, you can also work with the left-hand side of $S_{k+1}$ and separately work with the right-hand side of $S_{k+1}\text{.}$ If you're able to manipulate both sides to be in the same form, then you have shown they are equal and $S_{k+1}$ is true.

Now let's take a look at a more refined proof of Proposition 3.12. From here on, when we give a proof by induction, we'll use this style. As you're getting started with induction proofs, you may find it useful to be more explicit about the steps as we did in the first proof above.

The preceding arguments are 100% correct… but some combinatorial mathematicians would argue that they may actually hide what is really going on. These folks would much prefer a combinatorial proof, as was provided in Section 2.4. Our perspective is that you should prefer to give a combinatorial proof—when you can find one. But if pressed, you should be able to give a formal proof by mathematical induction.

Here's a second example, also quite a classic. Again, recall that we gave a combinatorial proof in the last chapter. As you read the proof, make sure you can identify the open statement $S_n\text{,}$ the basis step, and the inductive step.

Here's a more general version of the first result in this section, and again we note that we gave a combinatorial proof in Section 2.4.