โš™๏ธ Function Kingdom ยท Functions

Arithmetic & Geometric Sequences

See a list of numbers as a function of its position: tell an arithmetic sequence from a geometric one, write explicit and recursive formulas, and find any term without listing the ones before it.

In short

  • A sequence is a function of position: a_n is the term at position n, and n itself is never the answer to "what is the term?".
  • Arithmetic means a fixed number is added at every step (the common difference d); geometric means a fixed number is multiplied in at every step (the common ratio r). Test the differences first, then the ratios.
  • a_n = a_1 + (n - 1)d and a_n = a_1 * r^(n - 1) โ€” in both, the count of steps from a_1 to a_n is n - 1, one fewer than the position.
  • An arithmetic sequence is a straight line sampled at the whole numbers, with d as its slope; a geometric sequence is an exponential curve sampled the same way, with r as its base.
  • An explicit formula jumps to any term at once; a recursive rule gives a_1 and says how each term comes from the one before it. Both descriptions of a sequence must start at the same first term.
  • Two terms are enough to rebuild a sequence: the gap between their positions tells you how many steps or how many multiplications lie between them.

A list with an address for every term

Glaciologist Ren drills a core out of Slope Glacier every spring and writes the depth on the wall of the hut. After five years the wall reads

12, 19, 26, 33, 40

That is a sequence: an ordered list of numbers. The order is the whole point. Each number has a position, and the notation puts the position in a subscript: a_1 is the first term, a_2 the second, and a_n is the term at position n โ€” read aloud as "the nth term".

Here a_1 = 12, a_3 = 26 and a_5 = 40. Notice what a_n is *not*: it is not n, and it is not a multiple of n. The position and the term are two different numbers, and telling them apart is the single most useful habit in this topic. When a question asks "which row has 40 seats?" it is asking for n. When it asks "how many seats are in row 12?" it is asking for a_12.

Because every position gets exactly one term, a sequence is a function โ€” a function whose input is a whole number, 1, 2, 3, ..., instead of any number at all. That is why the rest of this lesson looks so much like the work on lines and on growth curves. It is the same mathematics, sampled at the whole numbers.

There are two families worth naming, and you can tell them apart with two quick tests.

  • Subtract each term from the one after it. If every difference is the same, the sequence is arithmetic, and that shared value is the common difference d.
  • Divide each term by the one before it. If every quotient is the same, the sequence is geometric, and that shared value is the common ratio r.

Run the tests in that order, and run them on *every* pair, not just the first. In 12, 19, 26, 33 the differences are 7, 7, 7 โ€” arithmetic, with d = 7. In 3, 6, 12, 24 the differences are 3, 6, 12, which are not equal, but the ratios are 2, 2, 2 โ€” geometric, with r = 2. A sequence like 1, 4, 9, 16 passes neither test: the differences 3, 5, 7 grow and the ratios 4, 2.25, 1.78 shrink, so it is neither.

Arithmetic sequences: a line in disguise

An arithmetic sequence adds the same amount at every step, so its terms rise (or fall) in a straight line. If you plotted position across and term up, the points would sit on a ruler.

To get from a_1 to a_n you take steps of size d. How many? Not n. One fewer than n, because the first term is already there before any step is taken. From a_1 to a_4 is three steps, not four. That gives the formula for the nth term:

a_n = a_1 + (n - 1)d

For 12, 19, 26, 33, ... with a_1 = 12 and d = 7:

a_20 = 12 + (20 - 1) x 7 = 12 + 19 x 7 = 12 + 133 = 145

and no term in between had to be written down. That is the point of a formula: it jumps straight to the position you want.

Two details cause almost every wrong answer here.

  • The multiplier is n - 1, not n. If in doubt, test your formula at n = 1: it has to hand a_1 straight back.
  • A falling sequence has a negative d. In 45, 41.5, 38, 34.5, ... the difference is 41.5 - 45 = -3.5, not 3.5. The size of the gap is only half the answer; the direction is the other half.

Compare the formula with y = mx + b and the family resemblance is obvious. Multiplying out gives a_n = dn + (a_1 - d), so d is the slope and a_1 - d is the intercept โ€” the height the line would have at position 0, one step before the sequence starts.

Geometric sequences: an exponential in disguise

A geometric sequence multiplies by the same amount at every step. Where an arithmetic sequence climbs a staircase, a geometric one scales.

The step count works exactly as before โ€” from a_1 to a_n is n - 1 steps โ€” except that each step is a multiplication, and repeated multiplication is a power:

a_n = a_1 * r^(n - 1)

For 3, 6, 12, 24, ... with a_1 = 3 and r = 2:

a_7 = 3 * 2^(7 - 1) = 3 * 26 = 3 x 64 = 192

The exponent, not the coefficient, is where the ratio lives. Writing 3 x 2 x 6 instead of 3 x 26 is the same mistake as adding when you should multiply, and it is worth catching early by asking whether the answer grew *fast enough*.

The common ratio does not have to be a whole number, and it does not have to be positive.

  • r between 0 and 1 makes the sequence shrink. 48, 24, 12, 6, ... has r = 1/2, and a snow-globe that rebounds to 3/4 of the height it fell from has r = 3/4.
  • A negative r makes the signs alternate: 2, -6, 18, -54, ... has r = -3. Odd powers of a negative number stay negative, even powers turn positive, so the sign of a term depends on whether n - 1 is odd or even.

One thing to be careful about: r is a term divided by the term before it, so r = a_2 / a_1. Taking a_1 / a_2 instead gives the reciprocal, and 2 turns into 1/2 โ€” a sequence that shrinks instead of growing.

Given two terms that are not neighbours you can still find r, because the gap tells you how many multiplications happened. If a_2 = 2 and a_5 = 54 then three multiplications separate them, so r3 = 54 / 2 = 27 and r = 3. The same reasoning finds d in an arithmetic sequence: if a_3 = 11 and a_8 = 31 then five steps carried the value up by 20, so d = 20 / 5 = 4, and from there a_1 = 11 - 2 x 4 = 3.

Recursive rules, and how to convert one

There are two honest ways to describe a sequence, and they answer different questions.

An explicit formula gives a_n directly in terms of n. "a_n = 3n + 2" answers "what is the 40th term?" in one line.

A recursive rule gives a term in terms of the one before it, plus a starting value. It is written in two parts, and both parts are needed:

a_1 = 5, a_n = a_(n - 1) + 3, for n > 1

Read that as "start at 5, and each new term is the previous term plus 3". It describes exactly how the sequence is built, which makes it the natural language for anything that grows step by step โ€” savings, populations, the height of each bounce. Its weakness is that to reach a_40 you must walk all thirty-nine steps.

A rule with no starting value is not a rule at all: "a_n = a_(n - 1) + 3" describes 5, 8, 11, ... and 100, 103, 106, ... equally well. That is why every recursive rule names a_1.

Converting recursive to explicit is a matter of reading off a_1 and the step.

  • a_1 = 5, a_n = a_(n - 1) + 3 is arithmetic with d = 3, so a_n = 5 + (n - 1) x 3 = 3n + 2.
  • a_1 = 4, a_n = 3 * a_(n - 1) is geometric with r = 3, so a_n = 4 * 3^(n - 1).

Converting explicit to recursive goes the other way, and the trap is the starting value.

  • For a_n = 5n - 2, the coefficient of n is the common difference, so each step adds 5. The first term is not -2: substitute n = 1 to get a_1 = 5 - 2 = 3. The rule is a_1 = 3, a_n = a_(n - 1) + 5.
  • For a_n = 3 * 2^(n - 1), the base of the power is the ratio, so each step multiplies by 2, and a_1 = 3 * 20 = 3. The rule is a_1 = 3, a_n = 2 * a_(n - 1).

Not every recursive rule makes an arithmetic or a geometric sequence. "a_1 = 2, a_n = 2 * a_(n - 1) + 3" gives 2, 7, 17, 37, ... which is neither, and the only way to reach a_4 is to take the steps one at a time.

How to type your answer

The answer box is plain text, so here is exactly what each kind of question wants.

  • A term, a common difference or a position is a whole number: type 145, or -6, or 12. If the prompt says "which row", it wants the row number, not the number of seats.
  • A common ratio or a term that is not whole is a fraction in lowest terms: type 1/2, 3/4, 16/9. Write 3/4, never 6/8, and never 0.75 for a question that asked for a fraction.
  • A decimal answer comes with its rounding written into the prompt ("to 1 decimal place"), and you should give exactly that: -56.5.
  • An explicit formula is typed as an expression in n, right-hand side only. Type 3n + 2, not "a_n = 3n + 2" โ€” the checker reads the formula, and the subscript notation is not something it can parse. Write multiplication with * and powers with ^, so a geometric formula looks like 5*2^(n - 1). Keep the bracket around n - 1: without it, 5*2n - 1 means something else entirely.
  • A recursive rule and "arithmetic, geometric or neither" come as options to choose from, because a two-part rule cannot be typed into one box. Read both halves of each option โ€” the starting value and the step โ€” since the wrong ones usually get one half right.

Any equivalent form of a formula is accepted, so 5 + (n - 1) x 3 passes just as 3n + 2 does. Before you submit one, test it at n = 1: if it does not give back the first term of the list you were shown, it is describing a different sequence.

Worked examples

Example 1

Find a_20 for the sequence 7, 11, 15, 19, ...

  1. Test for arithmetic first: 11 - 7 = 4, 15 - 11 = 4, 19 - 15 = 4. Every difference is the same, so the sequence is arithmetic with d = 4.
  2. Read off the first term: a_1 = 7.
  3. Use the nth term formula: a_n = a_1 + (n - 1)d = 7 + (n - 1) x 4.
  4. Substitute n = 20. The multiplier is 20 - 1 = 19, not 20, because a_1 is already in place before any step is taken.
  5. a_20 = 7 + 19 x 4 = 7 + 76 = 83.

Example 2

Write an explicit formula for 20, 17, 14, 11, ... and use it to find a_15.

  1. Differences: 17 - 20 = -3, 14 - 17 = -3. The sequence is arithmetic with d = -3 โ€” negative, because the terms are falling.
  2. a_n = a_1 + (n - 1)d = 20 + (n - 1) x (-3).
  3. Expand the bracket: (n - 1) x (-3) = -3n + 3, so a_n = 20 - 3n + 3 = -3n + 23.
  4. Check at n = 1: -3 + 23 = 20, which is the first term, so the formula is right.
  5. a_15 = -3 x 15 + 23 = -45 + 23 = -22.

Example 3

A geometric sequence has a_2 = 24 and a_5 = 3. Find the common ratio and the first term.

  1. From a_2 to a_5 the ratio is multiplied in 5 - 2 = 3 times, so a_5 = a_2 * r3.
  2. r3 = a_5 / a_2 = 3 / 24 = 1/8.
  3. Which number cubed gives 1/8? Since 1/2 x 1/2 x 1/2 = 1/8, the common ratio is r = 1/2. The sequence is shrinking, which matches 24 falling to 3.
  4. Now step back one place: a_2 = a_1 * r, so a_1 = a_2 / r = 24 / (1/2) = 48.
  5. Check: 48, 24, 12, 6, 3 โ€” the second term is 24 and the fifth is 3, as required.

Example 4

The ice theatre has 14 seats in row 1, and every row after it has 3 seats more than the row before. Which row holds 47 seats?

  1. Each row adds the same number of seats, so the seat counts form an arithmetic sequence with a_1 = 14 and d = 3.
  2. Write the nth term: a_n = 14 + (n - 1) x 3.
  3. This time the term is known and the position is not, so set the formula equal to 47: 14 + (n - 1) x 3 = 47.
  4. Take the first row off both sides: (n - 1) x 3 = 33, so n - 1 = 11.
  5. Add the 1 back on: n = 12. The answer is the row number, 12, not the 33 extra seats or the 11 rows travelled.

Practice problems, with solutions

Three problems of increasing difficulty, each with the full working. In the game these are generated fresh every time; these three are fixed so this page always shows the same ones.

Problem 1

Difficulty 1 of 5

2, 6, 18, 54, ... Is this sequence arithmetic, geometric or neither?

  1. Arithmetic โ€” each term is the one before it plus a fixed number.
  2. Geometric โ€” each term is the one before it times a fixed number.
  3. Neither โ€” the terms grow by no fixed amount and by no fixed factor.

Answer: B. Geometric โ€” each term is the one before it times a fixed number.

  1. Differences: 4, 12, 36
  2. Ratios: 3, 3, 3
  3. The sequence is geometric, because every term is the one before it times 3.

Problem 2

Difficulty 3 of 5

11, 20, 29, 38, ... This arithmetic sequence carries on in the same way. What is a_20?

Answer: 182

  1. d = 20 - 11 = 9
  2. a_n = a_1 + (n - 1)d = 11 + (n - 1) x 9
  3. a_20 = 11 + 19 x 9 = 11 + 171 = 182

Problem 3

Difficulty 4 of 5

A geometric sequence has a_1 = 256 and common ratio r = 1/2. What is a_7?

Answer: 4

  1. a_n = a_1 * r^(n - 1)
  2. a_7 = 256 * (1/2)^(7 - 1) = 256 * (1/2)6
  3. (1/2)6 = 1/64
  4. a_7 = 4

Common mistakes

  • Using n instead of n - 1: writing a_20 = a_1 + 20d, or a_n = a_1 * rn. Test any formula at n = 1 โ€” it must give the first term back.
  • Adding where the sequence multiplies, or multiplying where it adds: answering 3 * 26 as 3 x 2 x 6, or treating 5, 10, 20, 40 as "add 5 each time" because the first gap happens to be 5.
  • Inverting the ratio: computing a_1 / a_2 instead of a_2 / a_1, so a growing sequence comes back with r = 1/2 instead of 2.
  • Losing the minus on a decreasing sequence: reading 45, 41.5, 38, ... as d = 3.5 rather than -3.5, so every later term comes out far too high.
  • Answering the wrong question at the end: giving the number of seats when the question asked which row, or stopping at n - 1 instead of adding the 1 back on.
  • Starting a recursive rule in the wrong place: converting a_n = 5n - 2 to "a_1 = -2, a_n = a_(n - 1) + 5" instead of substituting n = 1 to find that a_1 = 3.
  • Treating a quotient of two far-apart terms as r: a_5 / a_2 is r3, not r, so it still needs a cube root.

What you should be able to do

  • Identify a sequence as arithmetic or geometric and find its common difference or ratio.
  • Write an explicit formula for the nth term and use it to find a given term.
  • Write and use a recursive formula, and convert between recursive and explicit forms.
  • Find a formula from two given terms.

Where this fits in the curriculum

Common Core

  • HSF-IF.A.3

    High school โ€” Recognise that sequences are functions, sometimes defined recursively, whose domain is a subset of the integers.

  • HSF-BF.A.2

    High school โ€” Write arithmetic and geometric sequences both recursively and with an explicit formula, use them to model situations, and translate between the two forms.

  • HSF-LE.A.2

    High school โ€” Construct linear and exponential functions, including arithmetic and geometric sequences, given a graph, a description of a relationship, or two inputโ€“output pairs.

  • HSF-BF.A.1.A

    High school โ€” Determine an explicit expression, a recursive process, or steps for calculation from a context.

SAT

Learn these first

This leads on to