Section 5.2 – Recursive Sequences

definition: A recursive definition of a sequence, $a_n$, has two parts,

  1. One or more base cases
    • e.g. $a_0=1$, $a_1=7$
  2. A recursive function
    • e.g. $a_i = 2 \cdot a_{i-1}$

Example 1

The sequence of numbers,

is defined as,

for $n \ge 1$. Non recursively this is defined as,

for all $n \ge 0$ (this is the closed form).

Example 2

The Fibonacci Sequence is another example. It can be defined as,

for $n \ge 2$.

Example 3

Consider,

Solution

or,

which isn't a closed form but is better.

Example

Let $a_0 = 0$, $a_1 = 3$ and for $n \ge 2$,

Solution

We're going to say this is of the form,

for $n \ge 0$.

Proof

By strong induction

Let $P(n)$ be the statement,

for $n \ge 0$.

Base: Consider $P(0)$ and $P(1)$, from the recursive function,

and from our closed form,

so $P$ holds for $n = 0,1$.

Induction Hypothesis: Let $k \gt 1$, suppose that $P(m)$ is true for $1 \le m \lt k$. That is,

Induction Step: Consider $P(k)$,

therefore, by induction, $P(n)$ holds.