Skip to main content

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 Nβˆͺ{0}). We often write a sequence in the following form:

a1,a2,…,an,….

The number an is called the n th  term of the sequence. One way to define a sequence is to give a specific formula for the n th  term of the sequence such as an=1n.

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 an+1 in terms of n and the first n terms a1,a2,…,an. 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 an+1 in terms of n and the first n terms a1,a2,…,an 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:

b1=16, and for each n∈N, bn+1=12bn.

Using n=1 and then n=2, we then see that

b2=12b1b3=12b2=12β‹…16=12β‹…8=8=4

1.

Calculate b4 through b10. What seems to be happening to the values of bn as n gets larger?

2.

Define a sequence recursively as follows:

T1=16, and for each n∈N, Tn+1=16+12Tn.
Then T2=16+12T1=16+8=24. Calculate T3 through T10. What seems to be happening to the values of Tn 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:

a1=a, and for each n∈N, an+1=rβ‹…an.
S1=a, and for each n∈N, Sn+1=a+rβ‹…Sn.

3.

Determine formulas (in terms of a and r) for a2 through a6. What do you think an is equal to (in terms of a, r, and n)?

4.

Determine formulas (in terms of a and r) for S2 through S6. What do you think Sn is equal to (in terms of a, r, and n)?

In Beginning Activity 1 in Section 4.2, for each natural number n, we defined n!, 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 a0,a1,a2,… as follows:

a0=1, and
for each nonnegative integer n, an+1=(n+1)β‹…an.

Using n=0, we see that this implies that a1=1β‹…a0=1β‹…1=1. Then using n=1, we see that

a2=2a1=2β‹…1=2.

5.

Calculate a3,a4,a5, and a6.

6.

Do you think that it is possible to calculate a20 and a100? Explain.

7.

Do you think it is possible to calculate an for any natural number n? Explain.

8.

Compare the values of a0,a1,a2,a3,a4,a5, and a6 with those of 0!,1!,2!,3!,4!,5!, and 6!. What do you observe? We will use mathematical induction to prove a result about this sequence in Exercise 1.