girgit.org

Sequences and Series

What is a sequence?

The big ideaA sequence is a list of numbers in a fixed order, so that there is a first number, a second, a third, and so on, usually made by a rule.

In simple words

Write some numbers in a line, one after another, and keep the order. Now you can point at any place and say "this is number one, this is number two". Often there is a rule that tells you the next number, like "add 3" or "double it". If you know the rule, you can find the number in any place without writing all the ones before it.

Lists that come in order

In maths, as in everyday English, a sequence is things one after another in order. The heights of a child on each birthday, the money in a savings account at the end of each year, the number of bacteria in a dish every hour, the price of a second-hand scooter each year as it loses value: each is a list where the order matters.

Here is one built from family trees. You have 2 parents, 4 grandparents, 8 great-grandparents. If one generation is about 25 years, then going back 100 years covers 4 generations, and the numbers of ancestors in those generations are

\[ 2,\ 4,\ 8,\ 16 \]

Or divide 1 by 3 and stop after one, two, three, ... decimal places. You get \( 0.3,\ 0.33,\ 0.333,\ 0.3333, \ldots \) This list never stops.

A sequence is such a list: numbers arranged in a definite order by some rule. Each number in it is a term.

Naming the terms

We call the terms \( a_1, a_2, a_3, \ldots \) The small number below, the subscript, is the position. So \( a_1 \) is the first term, \( a_5 \) the fifth term, and \( a_n \) the term in the \( n \)th place. In the ancestors list, \( a_1 = 2 \), \( a_2 = 4 \), \( a_3 = 8 \), \( a_4 = 16 \).

The \( n \)th term \( a_n \) is known as the general term, because a formula for \( a_n \) describes every term at once.

  • A finite sequence has a fixed number of terms, then it stops. The ancestors over 100 years: 4 terms.
  • An infinite sequence is one that is not finite: it goes on for ever. The decimals of 1 ÷ 3, or the list \( 1, 2, 3, 4, \ldots \) of natural numbers.

Three ways to give the rule

1. A formula for the nth term. The multiples of 5 are \( 5, 10, 15, 20, \ldots \) Each term is 5 times its position, so \( a_n = 5n \). The numbers one less, \( 4, 9, 14, 19, \ldots \), have \( a_n = 5n - 1 \). With a formula you can jump to any term: \( a_{40} = 5 \times 40 - 1 = 199 \).

2. A rule from the terms before. A rule that makes each term out of earlier terms is a recurrence relation. The most famous is the Fibonacci sequence:

\[ a_1 = a_2 = 1, \qquad a_n = a_{n-2} + a_{n-1} \text{ for } n \gt 2 \]

Each term is the sum of the two before it: \( 1, 1, 2, 3, 5, 8, 13, 21, 34, \ldots \) Looking at the numbers alone, the pattern is hard to see; the recurrence makes it clear. It is named after the Italian mathematician Leonardo Fibonacci (about 1170 to 1250). Indian scholars of poetry, Virahanka and later Hemachandra, had found the same numbers centuries earlier, by counting the ways to build a rhythm out of short and long beats.

3. Words only. The primes \( 2, 3, 5, 7, 11, \ldots \) are a sequence, but no simple formula gives the \( n \)th prime. We describe them in words: "the whole numbers greater than 1 with no factors except 1 and themselves".

So a sequence need not have a formula, but it must have some rule or scheme that fixes each term, one after another.

Try each kind of rule and watch how the terms come out.

A sequence is a function

A sequence takes a position \( n \) (1, 2, 3, ...) and gives back a number \( a_n \). That is exactly what a function does. So a sequence is a function whose inputs (its domain) are the natural numbers, or a part of them like \( \{1, 2, 3, \ldots, k\} \) for a finite sequence. That is why you will also see \( a(n) \) written for \( a_n \).

Worked examples

Worked example 1

Write the first four terms of (a) \( a_n = 3n - 1 \), (b) \( a_n = (-1)^n n^2 \). Then find \( a_{10} \) for (b).

  1. (a) Put \( n = 1, 2, 3, 4 \): \( a_1 = 2,\ a_2 = 5,\ a_3 = 8,\ a_4 = 11 \).
  2. (b) \( (-1)^n \) is \( -1 \) when \( n \) is odd and \( +1 \) when \( n \) is even, so the signs flip: \( -1,\ 4,\ -9,\ 16 \).
  3. \( a_{10} = (-1)^{10} \times 10^2 = 100 \).

Worked example 2

A sequence has \( a_1 = 2 \) and \( a_n = 2a_{n-1} + 1 \) for \( n \ge 2 \). Find the first five terms.

  1. \( a_2 = 2(2) + 1 = 5 \), \( a_3 = 2(5) + 1 = 11 \).
  2. \( a_4 = 2(11) + 1 = 23 \), \( a_5 = 2(23) + 1 = 47 \).
  3. The terms are \( 2, 5, 11, 23, 47 \). Each one needs the one before, so to reach \( a_{20} \) this way you would need all 19 earlier terms.

Don't mix these up

  • \( a_n \) is a term (a number); \( n \) is its position. In \( 4, 9, 14, \ldots \) the term 14 sits at position \( n = 3 \).
  • Order matters: \( 1, 2, 3 \) and \( 3, 2, 1 \) are different sequences, even though they use the same numbers.

Try it. (a) Write the first four terms of \( a_n = n^2 - n \). (b) Find \( a_6 \) if \( a_n = 2^n - 1 \). (c) What is the 12th Fibonacci number?

Answer
(a) \( 0, 2, 6, 12 \). (b) \( 2^6 - 1 = 63 \). (c) Keep adding: \( 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144 \). So 144.

Words to know

Sequence
Numbers in a definite order, made by some rule.
Term
One number in the sequence; \( a_n \) is the term in place \( n \).
General term
The \( n \)th term \( a_n \), usually as a formula in \( n \).
Finite / infinite sequence
One that stops after a fixed number of terms / one that never stops.
Recurrence relation
A rule that makes each term from the terms before it.
Fibonacci sequence
\( 1, 1, 2, 3, 5, 8, \ldots \): each term is the sum of the two before.

For \( a_n = (n - 1)(n + 2) \), what is \( a_5 \)?

  1. 35
  2. 28
  3. 18

Why is a sequence called a function?

  1. Because every sequence has a formula
  2. Because each natural number \( n \) is matched with exactly one term \( a_n \)
  3. Because sequences never end

In the Fibonacci sequence, \( a_7 = 13 \) and \( a_8 = 21 \). What is \( a_{10} \)?

  1. 34
  2. 55
  3. 42