topic badge
Hong Kong
Stage 4 - Stage 5

Graphs and Tables - Recurrence Relations

Lesson

The terms of any sequence that are generated by Recurrence formulae can be easily tabulated and graphed.

The graph of a recurrence relation can provide a visual understanding of the way the sequence behaves. For instance we may be able to see that that terms are always increasing or always decreasing in size. We might see that the terms appear to be approaching a limiting size. We might see the that the sequence starts to become erratic an unpredictable. We might also see that the terms change linearly, or as a quadratic curve, or as some other known form, and this might provide a hint as to a possible explicit form of the sequence. 

The graph could take a number of forms. For example you might use a series of discrete points, or perhaps a histogram, or some other type of graph. The important point to be made is that the graph should highlight  the trend exhibited by the sequence, and so the vertical axis scale may need to be adjusted to see this, particularly if part of the graph climbs or falls rapidly.

Our first example concerns a stockbroker's claim that  $\$200$$200 can be turned into a $\$1000$$1000 in $10$10 months. He claims that he can make $30%$30% a month on the investment, for the cost of $\$35$$35 a month. 

Such a claim seems incredulous, but given the percentage earnings and the monthly fee stated, we can form a recurrence relation as:

$U_{n+1}=1.3U_n-35,U_1=200$Un+1=1.3Un35,U1=200

Note that the coefficient $1.3$1.3 is equivalent to $130%$130%, which is a $30%$30% increase on the previous month's amount as shown by the formula. The subtraction of $\$35$$35 represents the monthly fee. 

We can tabulate the size of the investment at the beginning of the month for the first 10 months as follows, using month numbers and rounded whole dollars: 

M 1 2 3 4 5 6 7 8 9 10
$ 200 225 258 300 355 426 519 640 796 1000

The beginning of month $2$2 shows that the investment has grown to $\$225$$225, determined using the recurrence formula, so that $U_2=1.3\times200-35=225$U2=1.3×20035=225. Similarly, the beginning of month $3$3 is determined as $U_3=1.3\times225-35=257.50$U3=1.3×22535=257.50 which, rounded to whole dollars, becomes $\$258$$258.

The sequence of $10$10 months can be graphed using a 3-dimensional histogram as follows:

Note the monotonic increase in the original investment, with the rate of change in value increasing as well. Although not strictly geometric (the $\$35$$35 deduction effects the ratio between successive terms), the trend is certainly apparent - the higher the amount, the faster it grows. This type of growth is typical of recurrence relationships that have the form $U_{n+1}=r\times U_n\pm k$Un+1=r×Un±k with $r>1$r>1

Note that had the monthly fee been higher, it may have affected the efficacy of the claim.

Our second example is related to the Fibonacci sequence. Recall that each new term of the Fibonacci sequence, apart from the first two terms, is generated by adding the previous two terms, so that the sequence begins $1,1,2,3,5,8,13,21,...$1,1,2,3,5,8,13,21,... In our example we are going to develop a new sequence where each new term is formed by a subtraction of the two previous terms so that the recurrence formula becomes:

$U_{n+2}=U_{n+1}-U_{n,}U_1=1,U_2=1$Un+2=Un+1Un,U1=1,U2=1

So here, $u_3=u_2-u_1=1-1=0$u3=u2u1=11=0, and $u_4=u_3-u_2=0-1=-1$u4=u3u2=01=1, and again $u_5=u_4-u_3=-1-0=-1$u5=u4u3=10=1 and so on, so our tabulated sequence for the first eight terms are:

$n$n 1 2 3 4 5 6 7 8
$u_n$un 1 1 0 -1 -1 0 1 1

  The pattern continues indefinitely, and below is a two-dimensional histogram for the first fourteen terms.

Worked Examples

QUESTION 1

Consider the recurrence relation $U_{n+1}=0.5U_n+2$Un+1=0.5Un+2 and $U_0=20$U0=20.

  1. Find $U_1$U1.

  2. Find $U_2$U2.

  3. Find $U_3$U3.

  4. Complete the table of values.

    $n$n $0$0 $1$1 $2$2 $3$3
    $U_n$Un $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$
  5. Graph the relation.

    Loading Graph...

QUESTION 2

Consider the recurrence relation $u_{n+1}=2u_n$un+1=2un.

  1. Complete the table identifying the first $4$4 terms of the sequence in terms of $u_0$u0.

    $n$n $1$1 $2$2 $3$3 $4$4
    $u_n$un $\editable{}u_0$u0 $\editable{}u_0$u0 $\editable{}u_0$u0 $\editable{}u_0$u0
  2. Express $u_7$u7 in terms of $u_0$u0.

  3. Express $u_n$un in terms of $u_0$u0.

QUESTION 3

Consider the recurrence relation $u_{n+2}=u_{n+1}+u_n$un+2=un+1+un.

Complete the table for the first $10$10 terms in the sequence when $u_1=1$u1=1 and $u_2=1$u2=1.

  1. $n$n $1$1 $2$2 $3$3 $4$4 $5$5 $6$6 $7$7 $8$8 $9$9 $10$10
    $u_n$un $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$

What is Mathspace

About Mathspace