Section5.6Solving 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.
Let \(d=5, a_0=2\text{.}\) 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\))?
Using the same technique of writing out the terms without simplifying, find an explicit formula for the general form, \(a_k=a_{k-1}+d\text{,}\) of an arithmetic sequence.
Let \(r=2, a_0=3\text{.}\) 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\))?
Using the same technique of writing out the terms without simplifying, find an explicit formula for the general form, \(a_k=ra_{k-1}\text{,}\) of a geometric 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.
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.
Therefore, by induction, \(F_n=\frac{1}{\sqrt{5}}\biggl[\biggl(\frac{1+\sqrt{5}}{2}\biggr)^{n+1}-\biggl(\frac{1-\sqrt{5}}{2}\biggr)^{n+1}\biggr]\text{.}\)
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 \(\biggl(\frac{3+\sqrt{5}}{2}\biggr)=\biggl(\frac{1+\sqrt{5}}{2}\biggr)^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.
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.
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.
Suppose \(d\) is a fixed constant and \(a_0, a_1, a_2,\ldots\) is a sequence that satisfies the recurrence relation \(a_k=a_{k-1}+d\) for all integers \(k\geq 1\text{.}\) Use mathematical induction to prove that \(a_n=a_0+nd\) for all integers \(n\geq 0\text{.}\)
Suppose \(r\) is a fixed constant and \(a_0, a_1, a_2,\ldots\) is a sequence that satisfies the recurrence relation \(a_k=ra_{k-1}\) for all integers \(k\geq 1\text{.}\) Use mathematical induction to prove that \(a_n=a_0r^n\) for all integers \(n\geq 0\text{.}\)