topic badge
Middle Years

8.01 Sequences

Lesson

 

An ordered collection of numbers (or objects) is called a sequence or progression. It is similar to a set, but may contain repetition and the order of the numbers is important. For example $-3,5,13,21...$3,5,13,21... and $1,10,100,1000...$1,10,100,1000... are two interesting mathematical progressions.

If the sequence ends, it is known as a finite sequence. If the sequence continues indefinitely it is said to be infinite.

The elements of a sequence are called terms. For the sequence $2,3,5,7,11,...$2,3,5,7,11,... (the sequence of prime numbers) the first term is $2$2, the second term is $3$3 and term $3$3 is $5$5. We can show this with the following notation $u_1=2$u1=2, $u_2=3$u2=3, $tu_3=5$tu3=5, and so on. Term $6$6 of this sequence is $13$13, $u_6=13$u6=13.

To refer generally to the $n$nth term we use the notation $u_n$un. The $n$n is a variable which represents the position of a term in the sequence. If we let $n=1$n=1 then $u_n$un is $u_1$u1, if we let $n=6$n=6 then $u_n$un is $u_6$u6. For any term using this notation $u_n$un, we can then see that the term before would have to be $u_{n-1}$un1 and the term after $u_n$un is $u_{n+1}$un+1.

Sequences do not necessarily have to have a pattern or simple rule for generating terms in the sequence. We could create the sequence $3,1,4,1,5,9,...$3,1,4,1,5,9,... by separating the digits of $\pi$π, we could use a dice to generate a sequence of of rolls $2,1,1,3,4,...$2,1,1,3,4,... or we could write down the prime numbers in order. However, many sequences have a generating rule that can be expressed as a formula, let's look at a couple of different ways of describing such sequences.

 

Recurrence relations

We can express a sequence using a recurrence relation when each new term is generated by some function of a previous term or terms. Take for example, the sequence described by:

$u_n=2u_{n-1}+n,u_1=3$un=2un1+n,u1=3

Note that  $u_n$un is the next term after $u_{n-1}$un1. We can describe the rule in words as "the next term is two times the previous term plus the term number; with the first term $u_1$u1 being $3$3". Therefore the second term $u_2$u2 is equal to twice the first term $u_1$u1 plus $2$2, which is $2\times3+2$2×3+2 or $8$8.

The third term is: $u_3=2\times u_2+3=19$u3=2×u2+3=19.

The fourth term is: $u_4=2\times u_3+4=42$u4=2×u3+4=42. This process of deducing the $n$nth term from the $\left(n-1\right)$(n1)th term can continue indefinitely. And our sequence can be listed as $3,8,19,42,...$3,8,19,42,...

A recursive rule always consists of two parts. Firstly how the sequence recurs (how the next term is made) and secondly a term in which to start with, usually term $1$1.

 

Explicit rules

The recursive rule is limited in that it relies on the previous term in order to find the next term. Consider the sequence $3,5,7,9...$3,5,7,9... The recursive rule for this sequence is $u_{n+1}=u_n+2,u_1=3$un+1=un+2,u1=3. We can continue the sequence and find later terms by following this recursive rule however if we wanted to know a much later term, $u_{43}$u43, for example, it would be helpful to have a rule which allows us to find any term and does not rely on knowing the term before to find it.

This rule is called the explicit rule or the general rule and it is written in terms of $n$n. For this sequence the explicit rule would be $u_n=2n+1$un=2n+1. We can see if we wanted to find the $5$5th term we can substitute $5$5 into the place of $n$n, $u_5=2\times5+1=11$u5=2×5+1=11. By continuing the pattern seen in the sequence $3,5,7,9$3,5,7,9 ... we can see that the $5$5th term is $11$11. We can use this rule to jump to a later term like $u_{43}$u43$u_{43}=2\times43+1=87$u43=2×43+1=87.

If a question asks for a rule or equation, it will mean the explicit rule, if a question asks for a recurrence equation/rule then we use the recurrence relation.

 

Worked example

Write a recurrence relation and explicit rule to describe the $n$nth term of the sequence $5,9,13,17,21,...$5,9,13,17,21,...

Think: For a recurrence relation we need to state the initial term and how to get from one term to the next term. We can describe the pattern in words as "next term is previous term plus $4$4; with term $1$1 equal to $5$5".

Do: We can use $u_n$un for the next term after $u_{n-1}$un1. So the recurrence relation is:

$u_n=u_{n-1}+4,u_1=5$un=un1+4,u1=5

To obtain the explicit rule it can sometimes be useful to look at the sequence as a table of values and try to see the connection between $n$n and the term:

$n$n $u_n$un Pattern
$1$1 $5$5 $5$5
$2$2 $9$9 $5+4$5+4
$3$3 $13$13 $5+2\times4$5+2×4
$4$4 $17$17 $5+3\times4$5+3×4
...    
$n$n $u_n$un $5+(n-1)\times4=1+4n$5+(n1)×4=1+4n

Hence, the sequence could be written as the recurrence relation $u_n=u_{n-1}+4,u_1=5$un=un1+4,u1=5 or as the explicit rule $u_n=1+4n$un=1+4n.

 

Practice questions

Question 1

What is the third term in the following sequence?

$2,-4,6,-8,16,\ldots$2,4,6,8,16,

Question 2

Consider the following sequence.

$-1,1,3,5,7,\ldots$1,1,3,5,7,

  1. What is the recurring pattern in the sequence?

    The sequence starts at $-1$1 and goes up by $2$2.

    A

    The sequence starts at $-1$1 and each term is subsequently multiplied by $2$2.

    B

    The sequence starts at $2$2 and goes up by $3$3.

    C

    The sequence starts at $7$7 and goes down by $2$2.

    D
  2. Find the next number in the sequence.

 

 

Sequences with technology

Recursive rules

A graphics calculator can be used to generate the terms of a sequence given a recursive rule. When problem solving involving sequences we can make effective use of our calculator to:

  • List the terms of the sequence
  • Find a particular term in a sequence
  • Calculate the sum of a given set of terms from a sequence
  • Graph the sequence to observe patterns in the behaviour of the sequence

See below to work through an example of using a calculator with the recursive sequence

 $u_n=u_{n-1}+5$un=un1+5$u_1=2$u1=2

Note: This rule can be described in words as "next term is previous term plus $5$5; with initial term equal to $2$2".

As $u_{n+1}$un+1 is the next term after $u_n$un, an alternative way to write the rule is $u_{n+1}=u_n+5$un+1=un+5$tu_1=2$tu1=2

 

TI Nspire

How to use the TI Nspire to complete the following tasks regarding recursive rules

  1. Generate the first $10$10 terms of the sequence with the recursive relationship: $u_n=u_{n-1}+5,u_1=2$un=un1+5,u1=2

  2. Find the $100$100th term of the given sequence.

  3. Find the sum of the first $10$10 terms.

  4. Plot the sequence and describe the long-term behaviour.

 

Practice questions

Question 3

What is the $53$53rd term in the following sequence?

$2,3.5,5,6.5,8,9.5,\ldots$2,3.5,5,6.5,8,9.5,

 

Explicit rules

A graphics calculator can also be used to generate the terms of a sequence given an explicit rule. Consider the following rule for the $n$nth term of the sequence, $u_n=n^2+1$un=n2+1 and see below to view the problem and steps to follow with a calculator.

 

TI Nspire

How to use the TI Nspire to complete the following tasks regarding explicit sequences

  1. Generate the first $10$10 terms of the sequence with the explicit rule: $u_n=n^2+1$un=n2+1.

  2. Find the $100$100th term of the given sequence.

  3. Find the sum of the first $10$10 terms.

  4. Plot the sequence and describe the long-term behaviour.

 

What is Mathspace

About Mathspace