← Back
CSNotes

INDUCTION:

In order to prove that a certain statement holds for any natural number, it is sufficient to:

  • Prove that the statement is true for 0 (the base case)
  • Prove that, assuming the statement holds for a generic natural number kk (this assumption is called inductive hypothesis), then it ALSO holds for k+1k+1 (induction step)

Example:

Prove that, for any natural number nn, the sum of the natural numbers from 1 to nn is:

1+2+...+n=n(n+1)21+2+...+n=\frac{n(n+1)}{2}

Prove that 21+22+...+2n=2n+1−22^1+2^2+...+2^n=2^{n+1}-2

  • it is a general rule that if you have am+ana^m+a^n where m=nm=n, you can factor out ama^m, leave you with 2×am2\times a^m. After that, we can apply the rule that am×an=am+na^m\times a^n = a^{m+n}

Prove that 1+3+5+...+(2n−1)=n21+3+5+...+(2n-1)=n^2

The idea behind the induction principle is the same as the idea of domino show, if we can be sure that:

  • the first tile falls (base case)
    • provided the kthk^{th} tile falls (I.H), then the (k+1)th(k+1)^{th} tile ALSO falls (inductive step)
  • therefore, all tiles fall

Example:

Prove that, for any n≥4,n!>2nn\geq4, n!>2^n

Prove that 1.2+2.3+3.4+...+n(n+1)=n(n+1)(n+2)31.2+2.3+3.4+...+n(n+1)=\frac{n(n+1)(n+2)}{3}

STRONG INDUCTION:

Strong induction is a refined form of basic induction in which:

  • the basis steps works the same way
  • for the inductive step, we prove that the statement for a generic natural k+1k+1 hold IF we assume that the statement holds for any natural ≤k\le k (not just for kk)
  • so we still get to the end goal that we need to prove k+1k+1, but here we are assuming kk AND EVERYTHING BELOW IT is true

So, in our inductive step, we assume something called ii is true, where a≤i≤ka\le i\le k, then prove k+1k+1

Example:

Given n∈Nn\in \mathbb{N}, define ana_n recursively as follows:

a0=1, a1=3, an=2an−1−an−2 for n≥2a_0=1, \ a_1=3,\ a_n=2a_{n-1}-a_{n-2}\text{ for }n\ge 2

Prove that for all n≥0, an=2n+1n\ge 0,\ a_n=2n+1