What a sequence is
A sequence is a list of numbers in a fixed order. Each number is a term, and is the term in position , as with the subscripts of lesson 0.2.1. Positions are whole numbers, usually starting at 1.
For the terms are 3, 5, 7, 9, … The fourth term is .
The terms carry the units of whatever they measure, such as dollars or metres. The position is a count and has no units.
A sequence is a function whose inputs are (lesson 1.1.1). So its graph is a row of separate dots: nothing sits between positions 2 and 3.
Two ways to define a sequence
An explicit definition gives a formula for in terms of . You can jump straight to any term: for , the 100th term is 201.
A recursive definition gives a first term and a rule that builds each term from the one before. The rule , makes the same 3, 5, 7, 9, … To reach the 100th term this way, you must build all 99 terms before it.
Rule: Explicit and recursive
Read as "the next term". A recursive rule needs a starting term, or it defines nothing.
A recursive rule can hide a formula. With and , the terms are 1, 3, 7, 15, 31, 63. Each is one less than a power of 2, so .
Try it
The explicit formula is one list comprehension. The recursive rule is a loop that keeps the latest term and appends the next one.
Both print 3, 5, 7, 9, 11, 13. The last two lines check that from gives .
Arithmetic sequences
Start at 3 and add 4 each time: 3, 7, 11, 15, 19. Adding the same common difference at every step makes an arithmetic sequence. The difference can be positive, negative or zero.
Rule: Arithmetic sequence
To reach term you add exactly times. The first term needs no steps at all.
For 3, 7, 11, …, the 20th term is . To find which term equals 99, solve , as in lesson 0.3.2. That gives , so 99 is the 25th term.
A negative difference makes the terms fall. In 50, 46, 42, … the difference is . The first negative term needs , so : it is the 14th term, .
On a graph, the dots of an arithmetic sequence lie on a straight line with slope (lesson 1.2.1).
Geometric sequences
Start at 5 and double each time: 5, 10, 20, 40, 80. Multiplying by the same common ratio at every step makes a geometric sequence. The ratio is never 0.
Rule: Geometric sequence
To reach term you multiply by exactly times. The 10th term of 5, 10, 20, … is .
Growth by a fixed percentage is geometric (lesson 1.4.2). Growing by 10% a step means : 100, 110, 121, 133.1. Shrinking by 20% a step means .
A negative ratio flips the sign at every step. With and the terms are
Telling them apart
Subtract each term from the next. If the differences are all equal, the sequence is arithmetic. If instead the ratios are all equal, it is geometric.
| sequence | differences | ratios | type |
|---|---|---|---|
| 2, 6, 10, 14 | 4, 4, 4 | 3, 1.67, 1.4 | arithmetic |
| 2, 6, 18, 54 | 4, 12, 36 | 3, 3, 3 | geometric |
| 1, 4, 9, 16 | 3, 5, 7 | 4, 2.25, 1.78 | neither |
Try it
zip(s, s[1:]) pairs each term with the next one. Then a difference is b - a and a ratio is b / a.
The cell rounds the ratios to 4 places; the table rounds them to 2.
Increasing, decreasing and alternating
A sequence is increasing if every term is bigger than the one before: . It is decreasing if every term is smaller: . It is alternating if the signs switch at every step.
The test is the sign of the step . For an arithmetic sequence the step is . For a geometric sequence with a positive first term:
- : increasing, as in 5, 10, 20, …
- : decreasing, as in 10, 8, 6.4, …
- : constant, every term the same
- : alternating, as in
Watch the sign of the first term. With and the terms are : they grow in size but decrease. Some sequences are none of these: gives 4, 1, 0, 1, 4, falling and then rising.
Four sequences as dots. Two have a limit, 0; the other two have none, one because it grows for ever and one because it never settles.
The limit of a sequence
A sequence has the limit if its terms get as close to as you like and then stay that close. You write , read " tends to ", or . A sequence with a limit converges; one without a limit diverges.
Take . Its terms fall towards 1.
| 1 | 2 | 5 | 10 | 100 | 1000 | |
|---|---|---|---|---|---|---|
| 2 | 1.5 | 1.2 | 1.1 | 1.01 | 1.001 | |
| distance from 1 | 1 | 0.5 | 0.2 | 0.1 | 0.01 | 0.001 |
Algebra explains the table: , so the distance from 1 is exactly . It is less than 0.1 once , and less than 0.01 once . However small the tolerance, from some term on every term is that close.
The band reaches 0.1 either side of the limit 1. The 10th term sits on its edge; from the 11th on, every term is inside, and none ever leaves.
Rule: Limit of a sequence
For every tolerance, however small, there is a term after which all the terms lie within that tolerance of . Proof Gym stage PG4 makes this precise.
The four sequences pictured in the previous section show the remaining cases.
- Alternating can converge. In the terms land on both sides of 0, ever closer. The limit is 0.
- Bouncing is not converging. keeps visiting 1 but always leaves again, so it has no limit.
- Growing without end is diverging. For there is no to approach. You write .
A limit need not be reached: is never exactly 1. It may be reached, too: the constant sequence 5, 5, 5, … has limit 5.
Try it
The loop reprints the table. The last column, rounded to 6 places, is the distance .
The while loop finds the first term closer than 0.01 to the limit. It keeps going while is at least 0.01, and stops at 101.
Where goes
Powers of a ratio, , form the simplest geometric sequence. What they do depends only on .
| first terms | behaviour | limit | |
|---|---|---|---|
| 2 | 2, 4, 8, 16 | increasing | none: |
| 1 | 1, 1, 1, 1 | constant | 1 |
| 0.5 | 0.5, 0.25, 0.125, 0.0625 | decreasing | 0 |
| , 0.25, , 0.0625 | alternating | 0 | |
| , 1, , 1 | alternating | none | |
| , 4, , 16 | alternating | none |
Rule: Powers of the ratio
The size (lesson 0.3.3) decides. Below 1, each step shrinks the terms towards 0; at or above 1, they never shrink. The sign of only decides whether they alternate.
The same holds for : multiplying every term by a fixed does not change where they go. The next two lessons rest on the first line of the rule, and case study 1.5.5 uses it to price payments that never stop.
Try it
The first loop prints the table's first five powers.
The second counts how many steps needs to drop below 0.001. With it takes 10; with 0.9, 66; with 0.99, 688.
Ratios near 1 shrink slowly. Lesson 1.5.3 finds such counts with logarithms.
Common mistakes
- Term needs steps, not . The first term is itself.
- Arithmetic adds; geometric multiplies. Check the differences and the ratios before using a formula: 1, 4, 9, 16 is neither.
- Increasing is about the terms, not their size. has ratio 2 but is decreasing.
- A negative ratio alternates. It converges only when : , but has no limit.
- Getting close once is not a limit. hits 1 again and again, but leaves each time. The terms must stay close.
- A recursive rule needs its first term. alone does not say where to start.
Sequences
0 of 12 correct
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
How to type answers
- Powers with
^:x^7,2^(1/3),a^-2. - Multiply with
*or by writing side by side:3x^2,2(x+1). ln(x)is the natural log,log(x, 2)is log base 2,eis Euler's number,sqrt(x)is a square root.sin(x),cos(x)andtan(x)take radians; writepifor π andsin(x)^2for sin²x.- Your first answer to each question is saved: it counts towards your score and brings the question back for review.
- Exact answers like
ln(20)/ln(3)are best. Decimals need about 4 significant figures.
Summary card
- A sequence is an ordered list , given explicitly (a formula for ) or recursively (a first term and a rule for ).
- Arithmetic: add each step, . Geometric: multiply by each step, .
- Equal differences mean arithmetic; equal ratios mean geometric.
- Increasing, decreasing or alternating: look at the sign of , or of the terms.
- : from some term on, every term stays within any tolerance of . A limit need not be reached.
- when ; when ; otherwise has no limit.