Skip to content

Induction and sequences

Induction and sequences

A rule and a formula – one sequence

Two sequences: an=n2+2n\displaystyle {a_n}={n^2+2n}, and b1=3\displaystyle {b_1}={3}, bn+1=bn+2n+3\displaystyle {b_{n+1}}={b_n+2n+3}.

  • a1=3=b1\displaystyle {a_1}={3}={b_1}; a2=8\displaystyle {a_2}={8} and b2=3+5=8\displaystyle {b_2}={3+5}={8}; a3=15\displaystyle {a_3}={15} and b3=8+7=15\displaystyle {b_3}={8+7}={15}.
  • Is an=bn\displaystyle {a_n}={b_n} for every n\displaystyle n? Checking cases is no proof. The proof below proves it by induction: if the terms are equal in place k\displaystyle k, they are equal in place k+1\displaystyle k+1 too.
ClaimReason
1a1=1+2=3=b1\displaystyle {a_1}={1+2}={3}={b_1}Base case
2bk=ak=k2+2k\displaystyle {b_k}={a_k}={k^2+2k}The induction hypothesis, for some natural k\displaystyle k
3To prove: bk+1=ak+1=(k+1)2+2(k+1)\displaystyle {b_{k+1}}={a_{k+1}}={(k+1)^2+2(k+1)}The claim for k+1\displaystyle k+1
4bk+1=bk+2k+3\displaystyle {b_{k+1}}={b_k+2k+3}The recursion rule
5bk+2k+3=k2+2k+2k+3\displaystyle {b_k+2k+3}={k^2+2k+2k+3}By the induction hypothesis (2)
6k2+4k+3=(k+1)2+2(k+1)\displaystyle {k^2+4k+3}={(k+1)^2+2(k+1)}Expanding the right side: k2+2k+1+2k+2\displaystyle k^2+2k+1+2k+2; (3) is proved
7an=bn\displaystyle {a_n}={b_n} for every natural n\displaystyle nConclusion: the principle of induction
A guess and a proof

In the lesson on recursion rules we guessed that the sequence a1=3\displaystyle {a_1}={3}, an+1=2an−1\displaystyle {a_{n+1}}={2a_n-1} is an=2n+1\displaystyle {a_n}={2^n+1}. Now we prove it:

  • Base case: 21+1=3=a1\displaystyle {2^1+1}={3}={a_1}.
  • Inductive step: assume that ak=2k+1\displaystyle {a_k}={2^k+1}. By the recursion rule ak+1=2ak−1=2(2k+1)−1=2k+1+1\displaystyle {a_{k+1}}={2a_k-1}={2(2^k+1)-1}={2^{k+1}+1} – the formula for k+1\displaystyle k+1.
  • Conclusion: by the principle of induction, an=2n+1\displaystyle {a_n}={2^n+1} for every natural n\displaystyle n.
The general term of an arithmetic sequence

The formula an=a1+(n−1)d\displaystyle {a_n}={a_1+(n-1)d} is proved by induction from the recursion rule an+1=an+d\displaystyle {a_{n+1}}={a_n+d} too:

  • Base case: a1+0⋅d=a1\displaystyle {a_1+0\cdot d}={a_1}.
  • Inductive step: if ak=a1+(k−1)d\displaystyle {a_k}={a_1+(k-1)d}, then ak+1=ak+d=a1+kd\displaystyle {a_{k+1}}={a_k+d}={a_1+kd} – the formula for k+1\displaystyle k+1.

The explanation “add d\displaystyle d exactly n−1\displaystyle n-1 times” is the same proof, without the parts named.

Triangular numbers

13610

The triangular number Tn\displaystyle T_n is the number of dots in a triangle whose bottom row has n\displaystyle n dots.

  • Triangle n+1\displaystyle n+1 is triangle n\displaystyle n and one more row of n+1\displaystyle n+1 dots: T1=1\displaystyle {T_1}={1}, Tn+1=Tn+(n+1)\displaystyle {T_{n+1}}={T_n+(n+1)}.
  • The formula by place: Tn=n(n+1)2\displaystyle {T_n}={\frac{n(n+1)}{2}} – and its proof by induction is the proof of the sum of the natural numbers.
Exercise 1

A sequence is defined by the recursion rule a1=2\displaystyle {a_1}={2}, an+1=an+4n+2\displaystyle {a_{n+1}}={a_n+4n+2}.
Prove by induction that an=2n2\displaystyle {a_n}={2n^2} for every natural n\displaystyle n.

Base case
Inductive step

By the recursion rule and the induction hypothesis ak+1=2k2+4k+2\displaystyle {a_{k+1}}={2k^2+4k+2}. Factorise, and reach 2(k+1)2\displaystyle 2(k+1)^2:

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

    Conclusion
    Exercise 2

    A sequence is defined by the recursion rule a1=3\displaystyle {a_1}={3}, an+1=3an−2\displaystyle {a_{n+1}}={3a_n-2}.

    a

    Write the first four terms, and guess a formula by place. (A hint: subtract 1 from each term.)

    b

    Prove the guess by induction. In the step, put the hypothesis into the recursion rule:

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

      Exercise 3

      The pentagonal numbers: P1=1\displaystyle {P_1}={1}, Pn+1=Pn+3n+1\displaystyle {P_{n+1}}={P_n+3n+1} (that is 1,5,12,22,…\displaystyle 1, 5, 12, 22, \ldots).
      Prove by induction that Pn=n(3n−1)2\displaystyle {P_n}={\frac{n(3n-1)}{2}} for every natural n\displaystyle n.

      Base case
      Inductive step

      By the recursion rule and the induction hypothesis Pk+1=k(3k−1)2+3k+1\displaystyle {P_{k+1}}={\frac{k(3k-1)}{2}+3k+1}. Reach (k+1)(3k+2)2\displaystyle \frac{(k+1)(3k+2)}{2}:

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

        Conclusion
        Exercise 4

        n = 1n = 2n = 3

        L(n)\displaystyle L(n) is the number of parts into which n\displaystyle n lines divide the plane, when no two of them are parallel and no three pass through one point.

        a

        Count L(1)\displaystyle L(1), L(2)\displaystyle L(2), L(3)\displaystyle L(3) in the picture, and find L(4)\displaystyle L(4).

        L(1)\displaystyle L(1)

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

          L(2)\displaystyle L(2)

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

            L(3)\displaystyle L(3)

              / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

              / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

              L(4)\displaystyle L(4)

                / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                b

                Line number n+1\displaystyle n+1 crosses the n\displaystyle n lines before it at n\displaystyle n points, so it passes through n+1\displaystyle n+1 parts and cuts each of them in two. Write a recursion rule for L(n)\displaystyle L(n).

                c

                Prove by induction that L(n)=1+n(n+1)2\displaystyle {L(n)}={1+\frac{n(n+1)}{2}}. In the step:

                  / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                  / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

                  Exercise 5

                  A sequence is defined by the recursion rule a1=1\displaystyle {a_1}={1}, an+1=an1+an\displaystyle {a_{n+1}}={\frac{a_n}{1+a_n}}.
                  Work out a2\displaystyle a_2 and a3\displaystyle a_3, guess a formula by place, and prove it by induction. In the step:

                    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

                    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power