2022-12-29
An inductive proof of the sum of the first n natural numbers
Written by: Ned
This is a pretty straightforward proof of a very useful method for calculating sums. The formula itself is . As an example, I’ll look at the sum of 1 to 10, so n in this case is 10. From the formula it’s expected the sum will be
. Suppose we write the numbers 1 to n, and n to 1 in columns and sum them. We have a constant sum which is
for each pair. We have n pairs, but we also used the numbers twice instead of once so to get the correct sum we should divide the result by
.
-> these 10 pairs add up to
Since we used each number twice, we divide by by
to get
.
To prove this by induction we identify the base case, here when n = 1, and plug it into the formula. Which, since the sum of 1 is 1, should give us 1.
as expected.
Now, we assume the formula is true for n = k, that is that , this is the induction hypothesis. Then we show that it also holds for
. That is we show that:
Begin with the LHS:
by the induction hypothesis.
Get a common denominator by multiplying the term by the needed representation of
, in this case
:
Factoring the common term gives:
Thus . So by induction it is shown that the sum of the first n positive numbers,
.
This is a fairly intuitive formula once you see it laid out in columns or rows as in the example. But it makes a good first inductive proof as well since it’s fairly simple and doesn’t involve anything more complicated than expanding and factoring quadratics. Induction is a very useful proof technique, so if you aren’t already familiar with it, it’s worth running through some more examples.
You could for instance show that using the same technique.