The sum of the first squares
Add up the square numbers:
Check it with . The left side is , and the right side is . It works.
This page proves it for every at once. The method is proof by induction, which is how a statement about all the counting numbers is usually proved.
The shape of an induction proof
Induction has two steps, and you need both:
- Show it works for the first case. Here, .
- Show that if it works for one case, it must work for the next. That is: if the formula is true for some , then it is true for .
Together those cover everything. Step 1 gets you to . Step 2 then carries you from 1 to 2, from 2 to 3, from 3 to 4, and onward without end. It is worth seeing why one step without the other proves nothing: a formula that is true only for passes step 1 and fails step 2, and a formula that is always one step behind passes step 2 and fails step 1.
Step 1: the first case
We need
The right side is . So the statement is true when .
Step 2: the inductive step
Now suppose the formula is true for some particular . That is our assumption:
We have to show the formula holds for , which means showing
Start with the left side and use the assumption to replace the long sum:
Now take out the common factor from both terms:
Put the second term over so the bracket is a single fraction:
Expand the top:
The quadratic on top factorises, because :
That is exactly the formula with in place of , because .
Both steps are done. The statement is true for , and true for whenever it is true for . So it is true for every counting number.
What each step is doing, and what it is not
The inductive step does not prove the formula for any particular number. It proves a link between one case and the next. On its own it would be satisfied by a formula that is wrong everywhere, as long as the wrongness matched up.
That is why step 1 is not a formality. It is the anchor: it is the one place the formula is checked against reality, and the link in step 2 carries that check onward through every number.
Check your understanding
- Use the formula to work out .
- In step 1, why is it enough to check rather than ?
- Show that if is a whole number, then so is . What does that tell you about every value of this sum?
Answers
- .
- The statement is about , which begins at and has no term, so is its first case. Starting at would prove something slightly different.
- From step 2 the two fractions are equal, so the second is a whole number exactly when the first is. Starting from , which is a whole number, the step carries that along: the sum of the first squares is always a whole number.
A common error
Watch for this one, because it is a common slip in an exam and it costs the mark.
When you write "suppose the statement is true for ", you must then use that supposition. A proof that subtracts the two sides and gets zero has usually assumed the very thing it was asked to prove.
The safe structure is the one above: start from the left side, put the assumption in, and arrive at the right side of the statement. The direction of the work is what makes it a proof rather than a check.