Skip to main content

Section 4.3 Induction and Recursion

Beginning Activity Beginning Activity 1: Recursively Defined Sequences

In a proof by mathematical induction, we “start with a first step” and then prove that we can always go from one step to the next step. We can use this same idea to define a sequence as well. We can think of a sequence as an infinite list of numbers that are indexed by the natural numbers (or some infinite subset of \(\mathbb{N} \cup \left\{ 0 \right\}\)). We often write a sequence in the following form:

\begin{equation*} a_1, a_2, \ldots,a_n, \ldots\text{.} \end{equation*}

The number \(a_n\) is called the \(n^\text{ th }\) term of the sequence. One way to define a sequence is to give a specific formula for the \(n^\text{ th }\) term of the sequence such as \(a_n = \dfrac{1}{n}\text{.}\)

Another way to define a sequence is to give a specific definition of the first term (or the first few terms) and then state, in general terms, how to determine \(a_{n + 1}\) in terms of \(n\) and the first \(n\) terms \(a_1 ,a_2 , \ldots ,a_n\text{.}\) This process is known as definition by recursion and is also called a recursive definition. The specific definition of the first term is called the initial condition, and the general definition of \(a_{n + 1}\) in terms of \(n\) and the first \(n\) terms \(a_1 ,a_2 , \ldots ,a_n\) is called the recurrence relation. (When more than one term is defined explicitly, we say that these are the initial conditions.) For example, we can define a sequence recursively as follows:

\(b_1 = 16\text{,}\) and for each \(n \in \mathbb{N}\text{,}\) \(b_{n + 1} = \dfrac{1}{2}b_n\text{.}\)

Using \(n = 1\) and then \(n = 2\text{,}\) we then see that

\begin{align*} b_2 \amp = \frac{1}{2} b_1 \amp b_3 \amp = \frac{1}{2} b_2\\ \amp = \frac{1}{2} \cdot 16 \amp \amp = \frac{1}{2} \cdot 8\\ \amp = 8 \amp \amp = 4 \end{align*}

1.

Calculate \(b_4\) through \(b_{10}\text{.}\) What seems to be happening to the values of \(b_n\) as \(n\) gets larger?

2.

Define a sequence recursively as follows:

\(T_1 = 16\text{,}\) and for each \(n \in \mathbb{N}\text{,}\) \(T_{n + 1} = 16 + \dfrac{1}{2}T_n\text{.}\)
Then \(T_2 = 16 + \dfrac{1}{2} T_1 = 16 + 8 = 24\text{.}\) Calculate \(T_3\) through \(T_{10}\text{.}\) What seems to be happening to the values of \(T_n\) as \(n\) gets larger?

The sequences in Exercise 1 and Exercise 2 can be generalized as follows: Let \(a\) and \(r\) be real numbers. Define two sequences recursively as follows:

\(a_1 = a\text{,}\) and for each \(n \in \mathbb{N}\text{,}\) \(a_{n + 1} = r \cdot a_n\text{.}\)
\(S_1 = a\text{,}\) and for each \(n \in \mathbb{N}\text{,}\) \(S_{n + 1} = a + r \cdot S_n\text{.}\)

3.

Determine formulas (in terms of \(a\) and \(r\)) for \(a_2\) through \(a_6\text{.}\) What do you think \(a_n\) is equal to (in terms of \(a\text{,}\) \(r\text{,}\) and \(n\))?

4.

Determine formulas (in terms of \(a\) and \(r\)) for \(S_2\) through \(S_6\text{.}\) What do you think \(S_n\) is equal to (in terms of \(a\text{,}\) \(r\text{,}\) and \(n\))?

In Beginning Activity 1 in Section 4.2, for each natural number \(n\text{,}\) we defined \(n!\text{,}\) read \(n\) factorial, as the product of the first \(n\) natural numbers. We also defined \(0!\) to be equal to 1. Now recursively define a sequence of numbers \(a_0 ,a_1 ,a_2 , \ldots\) as follows:

\(a_0 = 1\text{,}\) and
for each nonnegative integer \(n\text{,}\) \(a_{n + 1} = \left( {n + 1} \right) \cdot a_n\text{.}\)

Using \(n=0\text{,}\) we see that this implies that \(a_1 =1 \cdot a_0 = 1 \cdot 1 = 1\text{.}\) Then using \(n = 1\text{,}\) we see that

\begin{equation*} a_2 = 2 a_1 = 2 \cdot 1 = 2\text{.} \end{equation*}

5.

Calculate \(a_3, a_4, a_5\text{,}\) and \(a_6\text{.}\)

6.

Do you think that it is possible to calculate \(a_{20}\) and \(a_{100}\text{?}\) Explain.

7.

Do you think it is possible to calculate \(a_n\) for any natural number \(n\text{?}\) Explain.

8.

Compare the values of \(a_0 ,a_1 ,a_2 ,a_3 ,a_4 ,a_5\text{,}\) and \(a_6\) with those of \(0!,1!,2!,3!,4!,5!\text{,}\) and \(6!\text{.}\) What do you observe? We will use mathematical induction to prove a result about this sequence in Exercise 1.

Beginning Activity Beginning Activity 2: The Fibonacci Numbers

The Fibonacci numbers are a sequence of natural numbers \(f_1 ,f_2 ,f_3 , \ldots ,f_n , \ldots\) defined recursively as follows:

  • \(f_1 = 1\) and \(f_2 = 1\text{,}\) and

  • For each natural number \(n\text{,}\) \(f_{n + 2} = f_{n + 1} + f_n\text{.}\)

In words, the recursion formula states that for any natural number \(n\) with \(n \geq 3\text{,}\) the \(n^{th}\) Fibonacci number is the sum of the two previous Fibonacci numbers. So we see that

\begin{align*} f_3 \amp = f_2 + f_1 = 1 + 1 = 2,\\ f_4 \amp = f_3 + f_2 = 2 + 1 = 3, \text{ and }\\ f_5 \amp = f_4 + f_3 = 3 + 2 = 5\text{.} \end{align*}

1.

Calculate \(f_6\) through \(f_{20}\text{.}\)

2.

Which of the Fibonacci numbers \(f_1\) through \(f_{20}\) are even? Which are multiples of 3?

3.

For \(n = 2\text{,}\) \(n = 3\text{,}\) \(n = 4\text{,}\) and \(n = 5\text{,}\) how is the sum of the first \((n - 1)\) Fibonacci numbers related to the \((n + 1)^{st}\) Fibonacci number?

4.

Record any other observations about the values of the Fibonacci numbers or any patterns that you observe in the sequence of Fibonacci numbers. If necessary, compute more Fibonacci numbers.

Subsection The Fibonacci Numbers

The Fibonacci numbers form a famous sequence in mathematics that was investigated by Leonardo of Pisa (1170 — 1250), who is better known as Fibonacci. Fibonacci introduced this sequence to the Western world as a solution of the following problem:

Suppose that a pair of adult rabbits (one male, one female) produces a pair of rabbits (one male, one female) each month. Also, suppose that newborn rabbits become adults in two months and produce another pair of rabbits. Starting with one adult pair of rabbits, how many pairs of rabbits will be produced each month for one year?

Since we start with one adult pair, there will be one pair produced the first month, and since there is still only one adult pair, one pair will also be produced in the second month (since the new pair produced in the first month is not yet mature). In the third month, two pairs will be produced, one by the original pair and one by the pair which was produced in the first month. In the fourth month, three pairs will be produced, and in the fifth month, five pairs will be produced.

The basic rule is that in a given month after the first two months, the number of adult pairs is the number of adult pairs one month ago plus the number of pairs born two months ago. This is summarized in Table 4.14, where the number of pairs produced is equal to the number of adult pairs, and the number of adult pairs follows the Fibonacci sequence of numbers that we developed in Beginning Activity 2.

Table 4.14. Fibonacci Numbers
Months 1 2 3 4 5 6 7 8 9 10
Adult Pairs 1 1 2 3 5 8 13 21 34 55
Newborn Pairs 1 1 2 3 5 8 13 21 34 55
Month-Old Pairs 0 1 1 2 3 5 8 13 21 34

Historically, it is interesting to note that Indian mathematicians were studying these types of numerical sequences well before Fibonacci. In particular, about fifty years before Fibonacci introduced his sequence, Acharya Hemachandra (sometimes spelled Hemchandra) (1089 — 1173) considered the following problem, which is from the biography of Hemachandra in the MacTutor History of Mathematics Archive 7 .

Suppose we assume that lines are composed of syllables which are either short or long. Suppose also that each long syllable takes twice as long to articulate as a short syllable. A line of length \(n\) contains \(n\) units where each short syllable is one unit and each long syllable is two units. Clearly a line of length \(n\) units takes the same time to articulate regardless of how it is composed. Hemchandra asks: How many different combinations of short and long syllables are possible in a line of length \(n\text{?}\)

This is an important problem in the Sanskrit language since Sanskrit meters are based on duration rather than on accent as in the English Language. The answer to this question generates a sequence similar to the Fibonacci sequence. Suppose that \(h_n\) is the number of patterns of syllables of length \(n\text{.}\) We then see that \(h_1 = 1\) and \(h_2 = 2\text{.}\) Now let \(n\) be a natural number and consider pattern of length \(n + 2\text{.}\) This pattern either ends in a short syllable or a long syllable. If it ends in a short syllable and this syllable is removed, then there is a pattern of length \(n+1\text{,}\) and there are \(h_{n+1}\) such patterns. Similarly, if it ends in a long syllable and this syllable is removed, then there is a pattern of length \(n\text{,}\) and there are \(h_n\) such patterns. From this, we conclude that

\begin{equation*} h_{n+2} = h_{n+1} + h_n\text{.} \end{equation*}

This actually generates the sequence 1, 2, 3, 5, 8, 13, 21, …. For more information about Hemachandra, see the article “Math for Poets and Drummers” by Rachel Wells Hall in the February 2008 issue of Math Horizons.

We will continue to use the Fibonacci sequence in this book. This sequence may not seem all that important or interesting. However, it turns out that this sequence occurs in nature frequently and has applications in computer science. There is even a scholarly journal, The Fibonacci Quarterly, devoted to the Fibonacci numbers.

The sequence of Fibonacci numbers is one of the most studied sequences in mathematics, due mainly to the many beautiful patterns it contains. Perhaps one observation you made in Beginning Activity 2 is that every third Fibonacci number is even. This can be written as a proposition as follows:

\begin{equation*} \text{ For each natural number } n, f_{3n} \text{ is an even natural number }\text{.} \end{equation*}

As with many propositions associated with definitions by recursion, we can prove this using mathematical induction. The first step is to define the appropriate open sentence. For this, we can let \(P(n)\) be, “\(f_{3n}\) is an even natural number.”

Notice that \(P( 1 )\) is true since \(f_3 = 2\text{.}\) We now need to prove the inductive step. To do this, we need to prove that for each \(k \in \mathbb{N}\text{,}\)

if \(P( k )\) is true, then \(P( {k + 1} )\) is true.
That is, we need to prove that for each \(k \in \mathbb{N}\text{,}\) if \(f_{3k}\) is even, then \(f_{3\left( {k + 1} \right)}\) is even.

So let's analyze this conditional statement using a know-show table.

Step Know Reason
\(P\) \(f_{3k}\) is even. Inductive hypothesis
\(P1\) \(\left( {\exists m \in \mathbb{N}} \right)\left( {f_{3k} = 2m} \right)\) Definition of “even integer”
\(\vdots\) \(\vdots\) \(\vdots\)
\(Q1\) \(\left( {\exists q \in \mathbb{N}} \right) \left( {f_{3\left( {k + 1} \right)} = 2q} \right)\)
\(Q\) \(f_{3\left( {k + 1} \right)}\) is even. Definition of “even integer”
Step Show Reason

The key question now is, “Is there any relation between \(f_{3\left( {k + 1} \right)}\) and \(f_{3k}\text{?}\)” We can use the recursion formula that defines the Fibonacci sequence to find such a relation.

The recurrence relation for the Fibonacci sequence states that a Fibonacci number (except for the first two) is equal to the sum of the two previous Fibonacci numbers. If we write \(3\left( {k + 1} \right) = 3k + 3\text{,}\) then we get \(f_{3\left( {k + 1} \right)} = f_{3k + 3}\text{.}\) For \(f_{3k + 3}\text{,}\) the two previous Fibonacci numbers are \(f_{3k + 2}\) and \(f_{3k + 1}\text{.}\) This means that

\begin{equation*} f_{3k + 3} = f_{3k + 2} + f_{3k + 1}\!\text{.} \end{equation*}

Using this and continuing to use the Fibonacci relation, we obtain the following:

\begin{align*} f_{3\left( {k + 1} \right)} \amp = f_{3k + 3}\\ \amp = f_{3k + 2} + f_{3k + 1}\\ \amp = \left( {f_{3k + 1} + f_{3k} } \right) + f_{3k + 1}\text{.} \end{align*}

The preceding equation states that \(f_{3\left( {k + 1} \right)} = 2f_{3k + 1} + f_{3k}\text{.}\) This equation can be used to complete the proof of the induction step.

Progress Check 4.15. Every Third Fibonacci Number Is Even.

Complete the proof of Proposition 4.16.

Hint.

We have already defined the predicate \(P\left( n \right)\) to be used in an induction proof and have proved the basis step. Use the information in and after the preceding know-show table to help prove that if \(f_{3k}\) is even, then \(f_{3\left( {k + 1} \right)}\) is even.

Solution.
Proof.

We will use a proof by induction. For each natural number \(n\text{,}\) we let \(P( n )\) be, \(f_{3n}\) is an even natural number.

Since \(f_3 = 2\text{,}\) we see that \(P( 1 )\) is true and this proves the basis step.

For the inductive step, we let \(k\) be a natural number and assume that \(P( k )\) is true. That is, assume that \(f_{3k}\) is an even natural number. This means that there exists an integer \(m\) such that

\begin{equation} f_{3k} = 2m\text{.}\tag{35} \end{equation}

We need to prove that \(P( {k + 1} )\) is true or that \(f_{3\left( {k + 1} \right)}\) is even. Notice that \(3( {k + 1} ) = 3k + 3\) and, hence, \(f_{3\left( {k + 1} \right)} = f_{3k + 3}\text{.}\) We can now use the recursion formula for the Fibonacci numbers to conclude that

\begin{equation*} f_{3k + 3} = f_{3k + 2} + f_{3k + 1}\text{.} \end{equation*}

Using the recursion formula again, we get \(f_{3k + 2} = f_{3k + 1} + f_{3k}\text{.}\) Putting this all together, we see that

\begin{align} f_{3\left( {k + 1} \right)} \amp = f_{3k + 3} \notag\\ \amp = f_{3k + 2} + f_{3k + 1}\notag\\ \amp = \left( {f_{3k + 1} + f_{3k} } \right) + f_{3k + 1} \notag\\ \amp = 2f_{3k + 1} + f_{3k}\tag{36} \end{align}

We now substitute the expression for \(f_{3k}\) in equation (35) into equation (36). This gives

\begin{align*} f_{3\left( {k + 1} \right)} \amp = 2f_{3k + 1} + 2m\\ f_{3\left( {k + 1} \right)} \amp = 2\left( {f_{3k + 1} + m} \right) \end{align*}

This preceding equation shows that \(f_{3\left( {k + 1} \right)}\) is even. Hence it has been proved that if \(P\left( k \right)\) is true, then \(P\left( {k + 1} \right)\) is true and the inductive step has been established. By the Principle of Mathematical Induction, this proves that for each natural number \(n\text{,}\) the Fibonacci number \(f_{3n}\) is an even natural number.

Subsection Geometric Sequences and Geometric Series

Let \(a,r \in \mathbb{R}\text{.}\) The following sequence was introduced in Beginning Activity 1.

\begin{align*} \text{Initial condition: } \amp a_1 = a\\ \text{Recurrence relation: } \amp \text{For each } n \in \N, a_{n + 1} = r \cdot a_n\text{.} \end{align*}

This is a recursive definition for a geometric sequence with initial term \(a\) and (common) ratio \(r\text{.}\) The basic idea is that the next term in the sequence is obtained by multiplying the previous term by the ratio \(r\text{.}\) The work in Beginning Activity 1 suggests that the following proposition is true.

The proof of this proposition is Exercise 6.

Another sequence that was introduced in Beginning Activity 1 is related to geometric series and is defined as follows:

\begin{align*} \text{Initial condition: } \amp S_1 = a\\ \text{Recurrence relation: } \amp \text{For each } n \in \N, S_{n + 1} = a + r \cdot S_n\text{.} \end{align*}

For each \(n \in \mathbb{N}\text{,}\) the term \(S_n\) is a (finite) geometric series with initial term \(a\) and (common) ratio \(r\text{.}\) The work in Beginning Activity 1 suggests that the following proposition is true.

The proof of Theorem 4.18 is Exercise 7. The recursive definition of a geometric series and Theorem 4.18 give two different ways to look at geometric series. Theorem 4.18 represents a geometric series as the sum of the first \(n\) terms of the corresponding geometric sequence. Another way to determine the sum of a geometric series is given in Theorem 4.19, which gives a formula for the sum of a geometric series that does not use a summation.

The proof of Theorem 4.19 is Exercise 8.

Exercises Exercises

1.

For the sequence \(a_{0}, a_1 ,a_2 , \ldots , a_n , \ldots\) , assume that \(a_0 = 1\) and that for each \(n \in \mathbb{N} \cup \left\{ 0 \right\}\text{,}\) \(a_{n + 1} = \left( {n + 1} \right)a_n\text{.}\) Use mathematical induction to prove that for each \(n \in \mathbb{N} \cup \left\{ 0 \right\}\text{,}\) \(a_n = n!\text{.}\)

Answer.

Let \(P(n)\) be \(a_n = n!\text{.}\) Since \(a_0 = 1\) and \(0 ! = 1\text{,}\) we see that \(P(0)\) is true. For the inductive step, we assume that \(k \in \N \cup \{0\}\) and that \(P(k)\) is true or that \(a_k = k!\text{.}\)

\begin{align*} a_{k+1} \amp = \left( k + 1 \right)a_k\\ \amp = \left( k + 1 \right) k!\\ \amp = \left( k + 1 \right)!\text{.} \end{align*}

This proves the inductive step that if \(P(k)\) is true, then \(P(k+1)\) is true.

2.

Assume that \(f_1 ,f_2 , \ldots ,f_n , \ldots\) are the Fibonacci numbers. Prove each of the following:

(a)

For each \(n \in \mathbb{N}\text{,}\) \(f_{4n}\) is a multiple of 3.

Answer.

Let \(P( n )\) be, “\(f_{4n}\) is a multiple of 3.” Since \(f_4 = 3\text{,}\) \(P( 1 )\) is true. If \(P( k )\) is true, then there exists an integer \(m\) such that \(f_{4k} = 3m\text{.}\) We now need to prove that \(P(k+1)\) is true or that \(f_{4(k+1)}\) is a multiple of 3. We use the following:

\begin{align*} f_{4 \left( k + 1 \right)} \amp = f_{4k + 4}\\ \amp = f_{4k+3} + f_{4k+2}\\ \amp = \left( f_{4k+2} + f_{4k+1} \right) + \left( f_{4k+1} + f_{4k} \right)\\ \amp = f_{4k+2} + 2 f_{4k+1} + f_{4k}\\ \amp = \left( f_{4k+1} + f_{4k} \right) + 2 f_{4k+1} + f_{4k}\\ \amp = 3f_{4k + 1} + 2f_{4k} \end{align*}

We now use the assumption that \(f_{4k} = 3m\) and the last equation to obtain \(f_{4(k+1)} = 3f_{4k + 1} + 2\cdot 3m\) and hence, \(f_{4(k+1)} = 3 \left( f_{4k +1} + 2m \right)\text{.}\) Therefore, \(f_{4(k+1)}\) is a multiple of 3 and this completes the proof of the inductive step.

(b)

For each \(n \in \mathbb{N}\text{,}\) \(f_{5n}\) is a multiple of 5.

(c)

For each \(n \in \mathbb{N}\) with \(n \geq 2\text{,}\) \(f_1 + f_2 + \cdots + f_{n - 1} = f_{n + 1} - 1\text{.}\)

Answer.

Let \(P( n )\) be, “\(f_1 + f_2 + \cdots + f_{n - 1} = f_{n + 1} - 1\text{.}\)” Since \(f_1 = f_3 - 1\text{,}\) \(P ( 2 )\) is true. For \(k \geq 2\text{,}\) if \(P ( k )\) is true, then \(f_1 + f_2 + \cdots + f_{k - 1} = f_{k + 1} - 1\text{.}\) Then

\begin{align*} \left( f_1 + f_2 + \cdots + f_{k - 1} \right) + f_k \amp = \left( f_{k + 1} - 1 \right) + f_k\\ \amp = \left( f_{k+1} + f_k \right) - 1\\ \amp = f_{k+2} - 1\text{.} \end{align*}

This proves that if \(P \left( k \right)\) is true, then \(P \left( k + 1\right)\) is true.

(d)

For each \(n \in \mathbb{N}\text{,}\) \(f_1 + f_3 + \cdots + f_{2n - 1} = f_{2n}\text{.}\)

(e)

For each \(n \in \mathbb{N}\text{,}\) \(f_2 + f_4 + \cdots + f_{2n} = f_{2n + 1} - 1\text{.}\)

(f)

For each \(n \in \mathbb{N}\text{,}\) \(f_1^2 + f_2^2 + \cdots + f_n^2 = f_n f_{n + 1}\text{.}\)

Answer.

Let \(P( n )\) be, “\(f_1^2 + f_2^2 + \cdots + f_n^2 = f_n f_{n + 1}\text{.}\)” For the basis step, we notice that \(f_1^2 = 1\) and \(f_1 \cdot f_2 = 1\) and hence, \(P(1)\) is true. For the inductive step, we need to prove that if \(P(k)\) is true, then \(P(k+1)\) is true. That is, we need to prove that if \(f_1^2 + f_2^2 + \cdots + f_k^2 = f_k f_{k + 1}\text{,}\) then \(f_1^2 + f_2^2 + \cdots + f_k^2 + f_{k+1}^2 = f_{k+1} f_{k + 2}\text{.}\) To do this, we can use

\begin{align*} \left( f_1^2 + f_2^2 + \cdots + f_k^2 \right) + f_{k+1}^2 \amp = f_k f_{k + 1} + f_{k+1}^2\\ f_1^2 + f_2^2 + \cdots + f_k^2 + f_{k+1}^2 \amp = f_{k+1} \left( f_k + f_{k+1} \right)\\ \amp = f_{k+1} f_{k+2}\text{.} \end{align*}
(g)

For each \(n \in \mathbb{N}\) such that \(n\not \equiv 0 \pmod 3\text{,}\) \(f_n\) is an odd integer.

3.

Use the result in Task 2.f of Exercise 2 to prove that

\begin{equation*} \frac{f_1^2 + f_2^2 + \cdots + f_n^2 + f_{n+1}^2}{f_1^2 + f_2^2 + \cdots + f_n^2} = 1 + \frac{f_{n+1}}{f_n}\text{.} \end{equation*}

4.

The quadratic formula can be used to show that \(\alpha = \dfrac{1 + \sqrt{5}}{2}\) and \(\beta = \dfrac{1 - \sqrt{5}}{2}\) are the two real number solutions of the quadratic equation \(x^2 - x - 1 = 0\text{.}\) Notice that this implies that

\begin{align*} \alpha^2 \amp = \alpha + 1, \text{ and }\\ \beta^2 \amp = \beta + 1\text{.} \end{align*}

It may be surprising to find out that these two irrational numbers are closely related to the Fibonacci numbers.

(a)

Verify that \(f_1 = \dfrac{\alpha^1 - \beta^1}{\alpha - \beta}\) and that \(f_2 = \dfrac{\alpha^2 - \beta^2}{\alpha - \beta}\text{.}\)

(b)

(This part is optional, but it may help with the induction proof in Task 4.c.) Work with the relation \(f_3 = f_2 + f_1\) and substitute the expressions for \(f_1\) and \(f_2\) from Task 4.a Rewrite the expression as a single fraction and then in the numerator use \(\alpha^2 + \alpha = \alpha ( \alpha + 1 )\) and a similar equation involving \(\beta\text{.}\) Now prove that \(f_3 = \dfrac{\alpha^3 - \beta^3}{\alpha - \beta}\text{.}\)

(c)

Use induction to prove that for each natural number \(n\text{,}\) if \(\alpha = \dfrac{1 + \sqrt{5}}{2}\) and \(\beta = \dfrac{1 - \sqrt{5}}{2}\text{,}\) then \(f_n = \dfrac{\alpha^n - \beta^n}{\alpha - \beta}\text{.}\)

This formula for the \(n^{th}\) Fibonacci number is known as Binet's formula, named after the French mathematician Jacques Binet (1786 — 1856).

5.

Is the following conjecture true or false?

6.

Prove Theorem 4.17. Let \(a,r \in \mathbb{R}\text{.}\) If a geometric sequence is defined by \(a_1 = a\) and for each \(n \in \mathbb{N}\text{,}\) \(a_{n + 1} = r \cdot a_n\text{,}\) then for each \(n \in \mathbb{N}\text{,}\) \(a_n = a \cdot r^{n - 1}\text{.}\)

Answer.

For the inductive step, if \(a_k = a \cdot r^{k - 1}\text{,}\) then

\begin{align*} a_{k+1} \amp = r \cdot a_k\\ \amp = r \left( a \cdot r^{k-1} \right)\\ \amp = a \cdot r^k\text{.} \end{align*}

7.

Prove Theorem 4.18. Let \(a,r \in \mathbb{R}\text{.}\) If the sequence \(S_1 ,S_2 , \ldots ,S_n , \ldots\) is defined by \(S_1 = a\) and for each \(n \in \mathbb{N}\text{,}\) \(S_{n + 1} = a + r \cdot S_n\text{,}\) then for each \(n \in \mathbb{N}\text{,}\) \(S_n = a + a \cdot r + a \cdot r^2 + \cdots + a \cdot r^{n - 1}\text{.}\) That is, the geometric series \(S_n\) is the sum of the first \(n\) terms of the corresponding geometric sequence.

8.

Prove Theorem 4.19. Let \(a, r \in \mathbb{R}\) and \(r \ne 1\text{.}\) If the sequence \(S_1 ,S_2 , \ldots ,S_n , \ldots\) is defined by \(S_1 = a\) and for each \(n \in \mathbb{N}\text{,}\) \(S_{n + 1} = a + r \cdot S_n\text{,}\) then for each \(n \in \mathbb{N}\text{,}\) \(S_n = a\left( {\dfrac{{1 - r^n }}{{1 - r}}} \right)\text{.}\)

Answer.

For the inductive step, use the assumption that \(S_k = a\left( {\dfrac{{1 - r^k }}{{1 - r}}} \right)\) and the recursive definiton to write \(S_{k + 1} = a + r \cdot S_k\text{.}\)

9.

For the sequence \(a_1 ,a_2 , \ldots ,a_n , \ldots\) , assume that \(a_1 = 2\) and that for each \(n \in \mathbb{N}\text{,}\) \(a_{n + 1} = a_n + 5\text{.}\)

(a)

Calculate \(a_2\) through \(a_6\text{.}\)

Answer.

\(a_2 = 7\text{,}\) \(a_3 = 12\text{,}\) \(a_4 = 17\text{,}\) \(a_5 = 22\text{,}\) \(a_6 = 27\text{.}\)

(b)

Make a conjecture for a formula for \(a_n\) for each \(n \in \mathbb{N}\text{.}\)

Answer.

One possibility is: For each \(n \in \N\text{,}\) \(a_n = 2 + 5(n - 1)\text{.}\)

(c)

Prove that your conjecture in Task 9.b is correct.

10.

The sequence in Exercise 9 is an example of an arithmetic sequence. An arithmetic sequence is defined recursively as follows:

Let \(c\) and \(d\) be real numbers. Define the sequence \(a_1 ,a_2 , \ldots ,a_n , \ldots\) by \(a_1 = c\) and for each \(n \in \mathbb{N}\text{,}\) \(a_{n + 1} = a_n + d\text{.}\)

(a)

Determine formulas for \(a_3\) through \(a_8\text{.}\)

(b)

Make a conjecture for a formula for \(a_n\) for each \(n \in \mathbb{N}\text{.}\)

11.

For the sequence \(a_1 ,a_2 , \ldots ,a_n , \ldots\) , assume that \(a_1 = 1\text{,}\) \(a_2 = 5\text{,}\) and that for each \(n \in \mathbb{N}\) with \(n\geq 2\text{,}\) \(a_{n + 1} = a_n + 2a_{n-1}\text{.}\) Prove that for each natural number \(n\text{,}\) \(a_n = 2^n + (-1)^n\text{.}\)

12.

For the sequence \(a_1 ,a_2 , \ldots ,a_n , \ldots\) , assume that \(a_1 = 1\) and that for each \(n \in \mathbb{N}\text{,}\) \(a_{n + 1} = \sqrt {5 + a_n }\text{.}\)

(a)

Calculate, or approximate, \(a_2\) through \(a_6\text{.}\)

Answer.

\(a_2 = \sqrt{6}\text{,}\) \(a_3 = \sqrt{\sqrt{6} + 5} \approx 2.729\text{,}\) \(a_4 \approx 2.780\text{,}\) \(a_5 \approx 2.789\text{,}\) \(a_6 \approx 2.791\)

(b)

Prove that for each \(n \in \mathbb{N}\text{,}\) \(a_n \lt 3\text{.}\)

Answer.

Let \(P( n )\) be, “\(a_n \lt 3\text{.}\)” Since \(a_1 = 1\text{,}\) \(P( 1 )\) is true. For \(k \in \mathbb{N}\text{,}\) if \(P( k )\) is true, then \(a_k \lt 3\text{.}\) Now

\begin{equation*} a_{k+1} = \sqrt{5 + a_k}\text{.} \end{equation*}

Since \(a_k \lt 3\text{,}\) this implies that \(a_{k+1} \lt \sqrt{8}\) and hence, \(a_{k+1} \lt 3\text{.}\) This proves that if \(P \left( k \right)\) is true, then \(P \left( k + 1\right)\) is true.

13.

For the sequence \(a_1 ,a_2 , \ldots ,a_n , \ldots\) , assume that \(a_1 = 1\text{,}\) \(a_2 = 3\text{,}\) and that for each \(n \in \mathbb{N}\text{,}\) \(a_{n + 2} = 3a_{n + 1} - 2a_n\text{.}\)

(a)

Calculate \(a_3\) through \(a_6\text{.}\)

Answer.

\(a_3 = 7\text{,}\) \(a_4 =15\text{,}\) \(a_5 =31\text{,}\) \(a_6 =63\)

(b)

Make a conjecture for a formula for \(a_n\) for each \(n \in \mathbb{N}\text{.}\)

Hint.

Think in terms of powers of 2.

14.

For the sequence \(a_1 ,a_2 , \ldots ,a_n , \ldots\) , assume that \(a_1 = 1\text{,}\) \(a_2 = 1\text{,}\) and that for each \(n \in \mathbb{N}\text{,}\) \(a_{n + 2} = \dfrac{1}{2}\left( {a_{n + 1} + \dfrac{2}{{a_n }}} \right)\text{.}\)

(a)

Calculate \(a_3\) through \(a_6\text{.}\)

Answer.

\(a_3 = \dfrac{3}{2}\text{,}\) \(a_4 =\dfrac{7}{4}\text{,}\) \(a_5 =\dfrac{37}{24}\text{,}\) \(a_6 =\dfrac{451}{336}\)

(b)

Prove that for each \(n \in \mathbb{N}\text{,}\) \(1 \leq a_n \leq 2\text{.}\)

15.

For the sequence \(a_1 ,a_2 , \ldots ,a_n , \ldots\text{,}\) assume that \(a_1=1\text{,}\) \(a_2=1\text{,}\) \(a_3=1\text{,}\) and for that each natural number \(n\text{,}\)

\begin{equation*} a_{n+3} = a_{n+2} + a_{n+1} + a_n\text{.} \end{equation*}
(a)

Compute \(a_4\text{,}\) \(a_5\text{,}\) \(a_6\text{,}\) and \(a_7\text{.}\)

(b)

Prove that for each natural number \(n\) with \(n>1\text{,}\) \(a_n \leq 2^{n-2}\text{.}\)

16.

For the sequence \(a_1, a_2, \ldots, a_n, \ldots\text{,}\) assume that \(a_1 = 1\text{,}\) and that for each natural number \(n\text{,}\)

\begin{equation*} a_{n + 1} = a_n + n \cdot n!\text{.} \end{equation*}
(a)

Compute \(n!\) for the first 10 natural numbers.

(b)

Compute \(a_n\) for the first 10 natural numbers.

Answer.
\begin{align*} a_2 \amp = 5 \amp a_5 \amp = 719 \amp a_8 \amp = 362879\\ a_3 \amp = 23 \amp a_6 \amp = 5039 \amp a_9 \amp = 3628799\\ a_4 \amp = 119 \amp a_7 \amp = 40319 \amp a_{10} \amp = 39916799 \end{align*}
(c)

Make a conjecture about a formula for \(a_n\) in terms of \(n\) that does not involve a summation or a recursion.

17.

For the sequence \(a_1, a_2, \ldots, a_n, \ldots\) , assume that \(a_1 = 1\text{,}\) \(a_2 = 1\text{,}\) and for each \(n \in \N\text{,}\) \(a_{n+2} = a_{n+1} + 3a_n\text{.}\) Determine which terms in this sequence are divisible by 4 and prove that your answer is correct.

18.

The Lucas numbers are a sequence of natural numbers \(L_1, L_2, L_3, \ldots, L_n, \ldots \text{,}\) which are defined recursively as follows:

  • \(L_1 = 1\) and \(L_2 = 3\text{,}\) and

  • For each natural number \(n\text{,}\) \(L_{n+2} = L_{n+1} + L_n\text{.}\)

List the first 10 Lucas numbers and the first ten Fibonacci numbers and then prove each of the following propositions. The Second Principle of Mathematical Induction may be needed to prove some of these propositions.

(a)

For each natural number \(n\text{,}\) \(L_n = 2f_{n+1} - f_n\text{.}\)

Answer.

Let \(P(n)\) be, “\(L_n = 2f_{n+1} - f_n\text{.}\)” First, verify that \(P(1)\) and \(P(2)\) are true. Now let \(k\) be a natural number with \(k \geq 2\) and assume that \(P(1)\text{,}\) \(P(2)\text{,}\) …, \(P(k)\) are all true. Since \(P(k)\) and \(P(k-1)\) are both assumed to be true, we can use them to help prove that \(P(k+1)\) must then be true as follows:

\begin{align*} L_{k+1} \amp = L_k + L_{k-1}\\ \amp = \left( 2f_{k+1} - f_k \right) + \left( 2f_k - f_{k-1} \right)\\ \amp = 2 \left( f_{k+1} + f_k \right) - \left( f_k + f_{k-1} \right)\\ \amp = 2f_{k+2} - f_{k+1}\text{.} \end{align*}
(b)

For each \(n \in \mathbb{N}\) with \(n \geq 2\text{,}\) \(5f_n = L_{n - 1} + L_{n + 1}\text{.}\)

(c)

For each \(n \in \mathbb{N}\) with \(n \geq 3\text{,}\) \(L_n = f_{n + 2} - f_{n - 2}\text{.}\)

19.

There is a formula for the Lucas numbers similar to the formula for the Fibonacci numbers in Exercise 4. Let \(\alpha = \dfrac{1 + \sqrt{5}}{2}\) and \(\beta = \dfrac{1 - \sqrt{5}}{2}\text{.}\) Prove that for each \(n \in \N\text{,}\) \(L_n = \alpha^n + \beta^n\text{.}\)

20.

Use the result in Exercise 19, previously proven results from Exercise 18, or mathematical induction to prove each of the following results about Lucas numbers and Fibonacci numbers.

(a)

For each \(n \in \mathbb{N}\text{,}\) \(L_n = \dfrac{{f_{2n} }}{{f_n }}\text{.}\)

(b)

For each \(n \in \mathbb{N}\text{,}\) \(f_{n+1} = \dfrac{f_n + L_n}{2}\text{.}\)

(c)

For each \(n \in \mathbb{N}\text{,}\) \(L_{n+1} = \dfrac{L_n +5f_n}{2}\text{.}\)

(d)

For each \(n \in \mathbb{N}\) with \(n \geq 2\text{,}\) \(L_n = f_{n+1} + f_{n-1}\text{.}\)

21. Evaluation of Proofs.

See the instructions for Exercise 19 from Section 3.1.

(a)
Proposition

Let \(f_n\) be the \(n^\text{ th }\) Fibonacci number, and let \(\alpha\) be the positive solution of the equation \(x^2 = x + 1\text{.}\) So \(\alpha = \dfrac{1 + \sqrt{5}}{2}\text{.}\) For each natural number \(n\text{,}\) \(f_n \leq \alpha^{n-1}\text{.}\)

Proof

We will use a proof by mathematical induction. For each natural number \(n\text{,}\) we let \(P( n )\) be, “\(f_n \leq \alpha^{n-1}\text{.}\)”

We first note that \(P( 1 )\) is true since \(f_1 = 1\) and \(\alpha^0 = 1\text{.}\) We also notice that \(P( 2 )\) is true since \(f_2 = 1\) and, hence, \(f_2 \leq \alpha^1\text{.}\)

We now let \(k\) be a natural number with \(k \geq 2\) and assume that \(P ( 1 )\text{,}\) \(P( 2 )\text{,}\) … , \(P( k )\) are all true. We now need to prove that \(P \left( k + 1 \right)\) is true or that \(f_{k+1} \leq \alpha^k\text{.}\)

Since \(P( k -1 )\) and \(P ( k )\) are true, we know that \(f_{k-1} \leq \alpha^{k-2}\) and \(f_k \leq \alpha^{k-1}\text{.}\) Therefore,

\begin{align*} f_{k + 1} \amp = f_k + f_{k-1}\\ f_{k + 1} \amp \leq \alpha^{k-1} + \alpha^{k-2}\\ f_{k + 1} \amp \leq \alpha^{k-2} \left(\alpha + 1 \right)\!\text{.} \end{align*}

We now use the fact that \(\alpha + 1 = \alpha^2\) and the preceding inequality to obtain

\begin{align*} f_{k+1} \amp \leq \alpha^{k-2} \alpha^2\\ f_{k+1} \amp \leq \alpha^k \end{align*}

This proves that if \(P( 1 )\text{,}\) \(P( 2 )\text{,}\) … , \(P( k )\) are true, then \(P(k + 1 )\) is true. Hence, by the Second Principle of Mathematical Induction, we conclude that for each natural number \(n\text{,}\) \(f_n \leq \alpha^{n-1}\text{.}\)

Activity 25. Compound Interest.

Assume that \(R\) dollars is deposited in an account that has an interest rate of \(i\) for each compounding period. A compounding period is some specified time period such as a month or a year. For each integer \(n\) with \(n \geq 0\text{,}\) let \(V_n\) be the amount of money in an account at the end of the \(n\)th compounding period. Then

\begin{align*} V_1 \amp = R + i \cdot R \amp V_2 \amp = V_1 + i \cdot V_1\\ \amp = R \left( 1 + i \right) \amp \amp = \left( {1 + i} \right) V_1\\ \amp \amp \amp = \left( {1 + i} \right)^2 R\text{.} \end{align*}
(a)

Explain why \(V_3 = V_2 + i \cdot V_2\text{.}\) Then use the formula for \(V_2\) to determine a formula for \(V_3\) in terms of \(i\) and \(R\text{.}\)

(b)

Determine a recurrence relation for \(V_{n + 1}\) in terms of \(i\) and \(V_n\text{.}\)

(c)

Write the recurrence relation in Task 25.b so that it is in the form of a recurrence relation for a geometric sequence. What is the initial term of the geometric sequence and what is the common ratio?

(d)

Use Theorem 4.17 to determine a formula for \(V_n\) in terms of \(I\text{,}\) \(R\text{,}\) and \(n\text{.}\)

Activity 26. The Future Value of an Ordinary Annuity.

For an ordinary annuity, \(R\) dollars is deposited in an account at the end of each compounding period. It is assumed that the interest rate, \(i\text{,}\) per compounding period for the account remains constant. Let \(S_t\) represent the amount in the account at the end of the \(t\)th compounding period. \(S_t\) is frequently called the future value of the ordinary annuity. So \(S_1 = R\text{.}\) To determine the amount after two months, we first note that the amount after one month will gain interest and grow to \(( {1 + i} )S_1\text{.}\) In addition, a new deposit of \(R\) dollars will be made at the end of the second month. So

\begin{equation*} S_2 = R + ( {1 + i} )S_1\text{.} \end{equation*}
(a)

For each \(n \in \mathbb{N}\text{,}\) use a similar argument to determine a recurrence relation for \(S_{n + 1}\) in terms of \(R\text{,}\) \(i\text{,}\) and \(S_n\text{.}\)

(b)

By recognizing this as a recursion formula for a geometric series, use Theorem 4.19 to determine a formula for \(S_n\) in terms of \(R\text{,}\) \(i\text{,}\) and \(n\) that does not use a summation. Then show that this formula can be written as

\begin{equation*} S_n = R\left( {\frac{{\left( {1 + i} \right)^n - 1}}{i}} \right)\text{.} \end{equation*}
(c)

What is the future value of an ordinary annuity in 20 years if $200 dollars is deposited in an account at the end of each month where the interest rate for the account is 6% per year compounded monthly? What is the amount of interest that has accumulated in this account during the 20 years?

mathshistory.st-andrews.ac.uk/Biographies/Hemchandra