lacunary - Mathnotes

Induction

For proof by induction that a statement is true for all n1 we show two things:

  • That the statement is true for n=1.
  • That if some statement is true for n=k, it must also be true for n=k+1

Then, since it's true for n=1, it must also be true for n=1+1=2, and since it's true for n=2, it must also be true for n=2+1=3, and so on, ad infinitum.

Example

We will prove by induction that

12+22+32++n2=n(n+1)(2n+1)6(a)

First, let's show that for n=1 the equation is true:

12=1(1+1)(21+1)6=1(b)

Now we must show that if we assume the equation is true for n=k:

12+22+32++k2=k(k+1)(2k+1)6(c)

then it is also true for n=k+1, that is that:

12+22+32++(k+1)2=(k+1)((k+1)+1)(2(k+1)+1)6(d)

is true.

Since we assume that (c) is true, then adding (k+1)2 to both sides in (c) must also result in a true equation:

12+22+32++k2+(k+1)2=k(k+1)(2k+1)6+(k+1)2(e)

By combining terms on the right side and factoring, we get that:

12+22+32++k2+(k+1)2=(k+1)((k+1)+1)(2(k+1)+1)6(e)

must be true, which is what we set out to show.

Thus, since we have shown that (a) is true for n=1, and that if it is true for n=1 it must also be true for n=1+1=2, then it must also be true for n=2, and therefore also true for n=2+1=3, and so on, ad infinitum .

Another Example

Prove that for all n0:

k=0n3k=3(n+1)12(a)

Proof

We will proceed using proof by induction.

Base Case

First, we must show that the base case where n=0 is true.

Substituting 0 for n into (a) gives

k=003k=30+112,(b)

and we can simplify both sides to get

30=3112,(c)

which reduces to

1=1,(d)

which is obviously true and shows that (a) is true for the base case where n=0.

Induction Case

Now we must show that if we assume (a) is true for some n0, that (a) is also true for n+1.

That is, we must show that if we assume

k=0n3k=3(n+1)12(e)

is true, that

k=0(n+1)3k=3(n+1)+112(f)

is necessarily true.

Now, assume (e) is true.

Using the fact that the summation on the left hand side of (f) is short hand for the series

30+31+32++3n+3(n+1),(g)

we can rewrite (f) as

30+31+32++3n+3(n+1)=3(n+1)+112(h)

Now, the terms on the left-hand side of (h) are just

k=0n3k+3(n+1)(i)

so we have

k=0n3k+3(n+1)=3(n+1)+112(j)

Since we assumed that (e) is true, we can replace the summation on the left-hand side of (j) with its equivalent on the right-hand side of (e) to get

3(n+1)12+3(n+1)=3(n+1)+112.(k)

Combining terms on the left-hand side gives

3(3(n+1))12=3(n+1)+112,(l)

and since 3(3(n+1))=3(n+1)+1 we get that

3(n+1)+112=3(n+1)+112,(m)

is necessarily a true statement, which is what we needed to show.