Skip to main content

Section 5.6 Solving Recurrence Relations by Iteration

Given a sequence defined recursively, we want to be able to find an explicit formula for the sequence. In general, this can be difficult and can involve very sophisticated mathematical tools. We will learn one method, the method of iteration, just to get a taste for the ideas.
To find an explicit formula for a recursive sequence using the methods of iteration:
  1. Calculate several terms of the sequence, often without simplifying the terms.
  2. See a pattern.
  3. Guess an explicit formula for the pattern. Keep in mind your formula should just depend on n.
  4. Prove your explicit formula using induction.

Example 5.6.1. Finding an Explicit Formula.

Find the first five terms of the sequence given by ak=ak1+3,k1, a0=4.
Answer.
a0=4,a1=7,a2=10,a3=13,a4=16
It might be difficult to see a pattern, so we will calculate the terms without simplifying at all.
a0=4a1=4+3a2=(4+3)+3a3=((4+3)+3)+3a4=(((4+3)+3)+3)+3
Now it should be easier to see a pattern. It seems we have an=4+3n, which is an explicit formula.
To prove this is the correct formula, we would assume ak=ak1+3 and prove an=4+3n by induction.

Proof.

Let ak=ak1+3,a0=4. Prove an=4+3n,n0
Base Step: Let n=0. Then an=a0=4. And 4+3n=4+3(0)=4. Thus, an=4+3n for n=0.
Induction Step: Assume ak=4+3k for some k0.
Show ak+1=4+3(k+1).
Proof of induction step: By the recursive definition of the sequence, ak+1=ak+3. Thus,
ak+1=ak+3=4+3k+3   by induction assumption=4+3(k+1)
Therefore, by induction, an=4+3n,n0.

Definition 5.6.2.

An arithmetic sequence is given recursively by
ak=ak1+d
where d is constant.

Activity 5.6.1.

Generalize Example 5.6.1 to find an explicit formula for an arithmetic sequence.

(a)

Let d=5,a0=2. Write out the first 6 terms of the arithmetic sequence. Can you find an explicit formula for the sequence (one that just depends on n)?

(b)

Write out the first 6 terms of the sequence without simplifying at all. Now can you find an explicit formula?

(c)

Using the same technique of writing out the terms without simplifying, find an explicit formula for the general form, ak=ak1+d, of an arithmetic sequence.

Definition 5.6.3.

A geometric sequence is given recursively by
ak=rak1
where r is constant.

Activity 5.6.2.

Use the method of iteration to find an explicit formula for a geometric sequence.

(a)

Let r=2,a0=3. Write out the first 6 terms of the geometric sequence. Can you find an explicit formula for the sequence (one that just depends on n)?

(b)

Write out the first 6 terms of the sequence without simplifying at all. Now can you find an explicit formula?

(c)

Using the same technique of writing out the terms without simplifying, find an explicit formula for the general form, ak=rak1, of a geometric sequence.

Proving a Recursive Sequence Satisfies an Explicit Formula.

To prove a recursively defined sequence satisfies an explicit formula:
  • Assume the recursive formula for the sequence.
  • Show, using an induction proof, that the explicit formula holds. You need to prove the base step for all initial terms. You will need to use the recurrence relation in the inductive step.

Activity 5.6.3.

Prove if a0=2 and ak=ak1+5, then an=2+5n for n0 by induction.
Hint.
You are assuming the recursive relationship holds. The statement you are proving by induction is that an=2+5n for n0.

Activity 5.6.4.

Prove if ak=rak1, then an=a0rn for n0 by induction.
Hint.
You are assuming the recursive relationship holds. The statement you are proving by induction is that an=a0rn for n0.
As promised, in Example 5.6.4 we will prove an explicit formula for the Fibonacci sequence. We will not derive it as that is beyond the scope of this course. But we can prove that it works using induction. Before working through the proof, it will be helpful to see the algebraic simplification in the next activity.

Activity 5.6.5.

Simplify (1+52)2 and (152)2.

Example 5.6.4. Proving Explicit Formula for the Fibonacci Sequence.

Let Fk=Fk1+Fk2,k1, F0=1,F1=1 be the Fibonacci sequence.
Prove Fn=15[(1+52)n+1(152)n+1].

Proof.

Let Fk=Fk1+Fk2,F0=1,F1=1.
Base Step: Let n=0. Then F0=1. And
15[(1+52)0+1(152)0+1]=15[252]=1
Let n=1. Then F1=1. And
15[(1+52)1+1(152)1+1]=15[6+2546254]=1
Induction Step: Assume
Fi=15[(1+52)i+1(152)i+1],0ik
for some k0 (strong induction).
Show
Fk+1=15[(1+52)k+2(152)k+2].
Proof of induction step: By the recursive definition of the sequence, Fk+1=Fk+Fk1. Thus,
Fk+1=15[(1+52)k+1(152)k+1]+15[(1+52)k(152)k]=15[(1+52)k+1+(1+52)k(152)k+1(152)k]=15[(1+52)k(1+52+1)(152)k(152+1)]=15[(1+52)k(3+52)(152)k(352)]=15[(1+52)k(1+52)2(152)k(152)2]=15[(1+52)k+2(152)k+2]
Therefore, by induction, Fn=15[(1+52)n+1(152)n+1].
Note, the proof contains some algebraic steps that may not be obvious. But all of them can be checked. For example, it is easier to see that (3+52)=(1+52)2 by squaring the RHS and simplifying.
It can be confusing to remember when to use induction and when to use a LHS/RHS proof. The following summary gives guidelines for when to use each technique.

Summary of Techniques for Sequences.

If you are given a sequence where each term is just a formula for n:
  • You sequence is defined explicitly.
  • For example, an=n2+5.
  • To prove a recurrence relation, use LHS/RHS proof.
  • You are assuming the explicit formula and proving the recurrence relation. Thus, use the explicit formula in your proof. Do not assume the recurrence relation.
If you are given a sequence where each term is defined by previous terms:
  • You sequence is defined recursively.
  • For example, an=3an1+2an2.
  • To prove an explicit formula, use induction on the explicit formula.
  • You are assuming the recurrence formula and proving the explicit formula. Thus, use the recurrence formula in your proof, generally in the induction step. Your base step, assume statement, and show statement all involve the explicit formula.

Reading Questions Check Your Understanding

1.

Find a recurrence relation for 3,6,12,24,48,.

2.

Find an explicit formula for 3,6,12,24,48,.

3.

Find a recurrence relation for 2,6,10,14,18,.

4.

Find an explicit formula for 2,6,10,14,18,.

Exercises Exercises

1.

Use iteration to conjecture an explicit formula for the sequence
a0=1
ak=kak1,k1.

2.

Use iteration to conjecture an explicit formula for the sequence
b1=1
bk=3bk1+1,k2.
Hint.
The formula for a geometric sum, (5.2.2), might be helpful.

3.

Use iteration to conjecture an explicit formula for the sequence
r0=3
rk=rk1+2k,k1.
Hint.
The formula for the sum of the first n integers, (5.2.1) might be helpful.

4.

Suppose d is a fixed constant and a0,a1,a2, is a sequence that satisfies the recurrence relation ak=ak1+d for all integers k1. Use mathematical induction to prove that an=a0+nd for all integers n0.

5.

Suppose r is a fixed constant and a0,a1,a2, is a sequence that satisfies the recurrence relation ak=rak1 for all integers k1. Use mathematical induction to prove that an=a0rn for all integers n0.
You have attempted 1 of 6 activities on this page.