Sequences
You can read a gentle introduction to Sequences in Common Number Patterns.
What is a Sequence?
A Sequence is a list of things (usually numbers) that are in order.
Infinite or Finite
When the sequence goes on forever it is called an infinite sequence,
otherwise it is a finite sequence
otherwise it is a finite sequence
In Order
When we say the terms are "in order", we are free to define what order that is! They could go forwards, backwards ... or they could alternate ... or any type of order we want!
Like a Set
A Sequence is like a Set, except:
- the terms are in order (with Sets the order does not matter)
- the same value can appear many times (only once in Sets)
Notation
Sequences also use the same notation as sets: list each element, separated by a comma, and then put curly brackets around the whole thing. | {3, 5, 7, ...} |
The curly brackets { } are sometimes called "set brackets" or "braces".
A Rule
A Sequence usually has a Rule, which is a way to find the value of each term.
As a Formula
Saying "starts at 3 and jumps 2 every time" is fine, but it doesn't help us calculate the:
- 10th term,
- 100th term, or
- nth term, where n could be any term number we want.
So, we want a formula with "n" in it (where n is any term number).
So, What Can A Rule For {3, 5, 7, 9, ...} Be?
Firstly, we can see the sequence goes up 2 every time, so we can guess that a Rule is something like "2 times n" (where "n" is the term number). Let's test it out:
Test Rule: 2n
n | Term | Test Rule |
---|---|---|
1 | 3 | 2n = 2×1 = 2 |
2 | 5 | 2n = 2×2 = 4 |
3 | 7 | 2n = 2×3 = 6 |
That nearly worked ... but it is too low by 1 every time, so let us try changing it to:
Test Rule: 2n+1
n | Term | Test Rule |
---|---|---|
1 | 3 | 2n+1 = 2×1 + 1 = 3 |
2 | 5 | 2n+1 = 2×2 + 1 = 5 |
3 | 7 | 2n+1 = 2×3 + 1 = 7 |
That Works!
So instead of saying "starts at 3 and jumps 2 every time" we write this:
2n+1
Many Rules
But mathematics is so powerful we can find more than one Rule that works for any sequence.
So it is best to say "A Rule" rather then "The Rule" (unless we know it is the right Rule).
Notation
To make it easier to use rules, we often use this special style:
|
So a rule for {3, 5, 7, 9, ...} can be written as an equation like this:
xn = 2n+1
And to calculate the 10th term we can write:
x10 = 2n+1 = 2×10+1 = 21
Can you calculate x50 (the 50th term) doing this?
Here is another example:
Special Sequences
Now let's look at some special sequences, and their rules.
Arithmetic Sequences
In an Arithmetic Sequence the difference between one term and the next is a constant.
In other words, we just add some value each time ... on to infinity.
In General we can write an arithmetic sequence like this:
{a, a+d, a+2d, a+3d, ... }
where:
- a is the first term, and
- d is the difference between the terms (called the "common difference")
And we can make the rule:
xn = a + d(n-1)
(We use "n-1" because d is not used in the 1st term).
Geometric Sequences
In a Geometric Sequence each term is found by multiplying the previous term by a constant.
In General we can write a geometric sequence like this:
{a, ar, ar2, ar3, ... }
where:
- a is the first term, and
- r is the factor between the terms (called the "common ratio")
Note: r should not be 0.
- When r=0, we get the sequence {a,0,0,...} which is not geometric
And the rule is:
xn = ar(n-1)
(We use "n-1" because ar0 is the 1st term)
Triangular Numbers
1, 3, 6, 10, 15, 21, 28, 36, 45, ... |
The Triangular Number Sequence is generated from a pattern of dots which form a triangle:
By adding another row of dots and counting all the dots we can find the next number of the sequence.
But it is easier to use this Rule:
xn = n(n+1)/2
Square Numbers
1, 4, 9, 16, 25, 36, 49, 64, 81, ... |
The next number is made by squaring where it is in the pattern.
Rule is xn = n2
Cube Numbers
1, 8, 27, 64, 125, 216, 343, 512, 729, ... |
The next number is made by cubing where it is in the pattern.
Rule is xn = n3
Fibonacci Sequence
This is the Fibonacci Sequence
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, ... |
The next number is found by adding the two numbers before it together:
- The 2 is found by adding the two numbers before it (1+1)
- The 21 is found by adding the two numbers before it (8+13)
- etc...
Rule is xn = xn-1 + xn-2
That rule is interesting because it depends on the values of the previous two terms.
Rules like that are called recursive formulas.
The Fibonacci Sequence is numbered from 0 onwards like this:
n = | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | ... |
xn = | 0 | 1 | 1 | 2 | 3 | 5 | 8 | 13 | 21 | 34 | 55 | 89 | 144 | 233 | 377 | ... |
Series and Partial Sums
Now you know about sequences, the next thing to learn about is how to sum them up. Read our page on Partial Sums.
When we sum up just part of a sequence it is called a Partial Sum.
But a sum of an infinite sequence it is called a "Series" (it sounds like another name for sequence, but it is actually a sum). See Infinite Series.
No comments:
Post a Comment