Skip to content
EN - Language: English
MathematicsHigh school

Arithmetic and geometric sequences - nth term, sum and compound interest

· 18 min read

In short

An arithmetic sequence adds the same number d each time (3, 7, 11, 15, …), and a geometric sequence multiplies by the same number r (3, 6, 12, 24, …). Their nth terms are aₙ = a₁ + (n − 1)d and aₙ = a₁rⁿ⁻¹. Arithmetic terms grow along a straight line, geometric ones with r > 1 like an exponential function - which is why compound interest pulls ahead of simple interest.

Words to know

Sequence
A list of numbers in a fixed order - a₁, a₂, a₃ and so on. The number aₙ in position n is the nth term.
Arithmetic sequence
Each term is the one before plus the same number d, the common difference.
Geometric sequence
Each term is the one before times the same non-zero number r, the common ratio.
nth term formula
A rule that gives aₙ straight from n, without working out the terms before it.
Sum Sₙ
The sum of the first n terms, a₁ + a₂ + … + aₙ. For an arithmetic sequence it is called an arithmetic series.
Compound interest
Interest added to the balance, so that it earns interest itself. The balances form a geometric sequence.

What do you think?

Two sequences start at 3. In the first you add 4 each time (3, 7, 11, 15, …), and in the second you double each time (3, 6, 12, 24, …). Which one has the bigger 10th term?

The idea: add the same number, or multiply by it

A sequence is a list of numbers in a fixed order: a1a_1 is the first term, a2a_2 the second, and ana_n the term in position nn. Many sequences follow a rule from one term to the next. Two of these rules are so common that they have their own names.

In an arithmetic sequence you add the same number each time. In 3, 7, 11, 15, … it is 4. This number is the common difference dd, and it can be negative.

In a geometric sequence you multiply by the same number each time. In 3, 6, 12, 24, … it is 2. This number is the common ratio rr.

Adding the same amount gives steady growth, like a staircase with equal steps. Multiplying makes the steps grow too, each one bigger than the last. That is why a geometric sequence with r>1r > 1 leaves an arithmetic one behind sooner or later, and why money on compound interest grows faster than on simple interest.

Two sequences, step by step

Go through the animation with the buttons or the arrow keys. Bar nn is the term ana_n.

5101520+412345678

3, 7, 11, 15, 19 · d = 7 − 3 = 4

termadded

Step 1 of 6
Steps of the animation. Arrow keys move between steps.

Start at 3 and add 4 each time: 3, 7, 11, 15, 19. Each bar is the bar before (teal) with the same amber step of 4 on top. A sequence with a constant difference is arithmetic, and here d = 4.

The upside-down copy works for every arithmetic sequence. The first term plus the last, the second plus the second last, and so on, always give the same total: one term goes up by dd while the other goes down by dd. A well-known story, of uncertain reliability, says that the young Carl Friedrich Gauss used this trick at school to add 1+2+⋯+1001 + 2 + \dots + 100 in a moment: 50 pairs of 101 make 5050. He was not the first to find the formula, though.

Try it yourself: build a sequence

Choose an arithmetic or a geometric sequence, then set its first term, its difference dd or ratio rr, and the number of terms. The amber bar is the last term ana_n, and the readouts work out ana_n and SnS_n with your numbers.

Sequence
a₁ = 3
d = 4
n = 8
10203012345678

earlier termsa₈straight line

Term a₈
a₈ = 3 + 7 · 4 = 31
Sum of the terms, S₈
S₈ = (3 + 31)/2 · 8 = 136
Behaviour
increasing, because d > 0

What to notice:

  • arithmetic with d<0d < 0: the bars go down by the same step and soon drop below zero, and the dashed line through their tops is straight,
  • geometric with r=0.5r = 0.5: each bar is half the one before, so the terms get closer and closer to 0,
  • geometric with r=−2r = -2: the bars jump above and below the axis. The signs alternate, so the sequence is neither increasing nor decreasing,
  • geometric with r=1r = 1: every term is a1a_1, and the sum is simply n⋅a1n \cdot a_1.

Definitions and formulas

Sequence. A sequence gives a number ana_n to each position n=1,2,3,…n = 1, 2, 3, \dots, so it is a function of nn. You can describe it by a formula for ana_n (the nth term formula) or by a rule that makes each term from the one before (a recursive rule), for example a1=3a_1 = 3 and an+1=an+4a_{n+1} = a_n + 4.

Arithmetic sequence. The difference between neighbours is always the same:

an+1−an=da_{n+1} - a_n = d

To get from a1a_1 to ana_n you take n−1n - 1 steps of dd, so the nth term is

an=a1+(n−1)da_n = a_1 + (n - 1)d

The sum of the first nn terms is the average of the first and the last term, times the number of terms:

Sn=a1+an2⋅nS_n = \frac{a_1 + a_n}{2} \cdot n

If you put the formula for ana_n into it, you get a version without ana_n:

Sn=2a1+(n−1)d2⋅nS_n = \frac{2a_1 + (n - 1)d}{2} \cdot n

The sequence is increasing when d>0d > 0, decreasing when d<0d < 0, and constant when d=0d = 0.

Geometric sequence. Each term is the one before times the same non-zero number rr:

an+1=an⋅ra_{n+1} = a_n \cdot r

From a1a_1 to ana_n you multiply by rr exactly n−1n - 1 times:

an=a1⋅rn−1a_n = a_1 \cdot r^{n-1}

For r≠1r \neq 1 the sum of the first nn terms is

Sn=a1⋅1−rn1−rS_n = a_1 \cdot \frac{1 - r^n}{1 - r}

Some books write the fraction as rn−1r−1\frac{r^n - 1}{r - 1}, which is the same number. For r=1r = 1 every term equals a1a_1, so Sn=n⋅a1S_n = n \cdot a_1. When a1>0a_1 > 0, the sequence is increasing for r>1r > 1, decreasing for 0<r<10 < r < 1 and constant for r=1r = 1. For r<0r < 0 the signs alternate.

Three neighbours. In an arithmetic sequence an−an−1=an+1−ana_n - a_{n-1} = a_{n+1} - a_n, so

2an=an−1+an+12a_n = a_{n-1} + a_{n+1}

Each term is the mean of its two neighbours. So three numbers x,y,zx, y, z are consecutive terms of an arithmetic sequence exactly when 2y=x+z2y = x + z. In a geometric sequence with non-zero terms anan−1=an+1an\frac{a_n}{a_{n-1}} = \frac{a_{n+1}}{a_n}, so

an2=an−1⋅an+1a_n^2 = a_{n-1} \cdot a_{n+1}

Three non-zero numbers x,y,zx, y, z are consecutive terms of a geometric sequence exactly when y2=xzy^2 = xz.

Lines and exponential curves. The formula an=a1+(n−1)da_n = a_1 + (n - 1)d is a linear function of nn with slope dd: the points (n,an)(n, a_n) lie on a straight line. With r>0r > 0 the formula an=a1⋅rn−1a_n = a_1 \cdot r^{n-1} is an exponential function of nn. So when a1>0a_1 > 0 and r>1r > 1, a geometric sequence grows faster in the long run than any arithmetic one.

Simple and compound interest. You put an amount PP into an account at p%p\% a year. With simple interest you get p%p\% of PP every year, the same amount each time, so the balances form an arithmetic sequence. With compound interest the interest is added to the balance at the end of each year. The balance is multiplied by 1+p1001 + \frac{p}{100} every year, so after nn years it is

P⋅(1+p100)nP \cdot \left(1 + \frac{p}{100}\right)^n

The balances form a geometric sequence with r=1+p100r = 1 + \frac{p}{100}.

Example 1: two terms of an arithmetic sequence

In an arithmetic sequence a3=7a_3 = 7 and a7=19a_7 = 19. Find a1a_1, dd and the sum of the first 20 terms.

Step 1. Count the steps between the two terms

From a3a_3 to a7a_7 there are 7−3=47 - 3 = 4 steps of dd.

a7=a3+4da_7 = a_3 + 4d

Step 2. Find the common difference

We put in the two terms and solve for dd.

19=7+4d4d=12d=3\begin{aligned} 19 &= 7 + 4d \\ 4d &= 12 \\ d &= \boxed{3} \end{aligned}

Step 3. Go back to the first term

From a1a_1 to a3a_3 there are 2 steps, so we take them back.

a1=a3−2d=7−6=1\begin{aligned} a_1 &= a_3 - 2d \\ &= 7 - 6 \\ &= \boxed{1} \end{aligned}

Step 4. Find the 20th term

The sum formula needs the last term, a20a_{20}, which is 19 steps after a1a_1.

a20=1+19⋅3=58\begin{aligned} a_{20} &= 1 + 19 \cdot 3 \\ &= \boxed{58} \end{aligned}

Step 5. Add up the first 20 terms

We use the average of the first and the last term, times the number of terms.

S20=1+582⋅20=59⋅10=590\begin{aligned} S_{20} &= \frac{1 + 58}{2} \cdot 20 \\ &= 59 \cdot 10 \\ &= 590 \end{aligned}

Answer

a1=1a_1 = 1, d=3d = 3 and S20=590S_{20} = 590. The sequence is 1, 4, 7, 10, …, and its first 20 terms add up to 590.

Example 2: compound interest

You put £2,000 into a savings account at 5% a year. At the end of each year the interest is added to the balance. How much is in the account after 10 years? How much would simple interest give?

Step 1. See what one year does

Adding 5% means multiplying by 1+5100=1.051 + \frac{5}{100} = 1.05.

2000⋅1.05=21002100⋅1.05=2205\begin{aligned} 2000 \cdot 1.05 &= 2100 \\ 2100 \cdot 1.05 &= 2205 \end{aligned}

Step 2. Spot the geometric sequence

Every year multiplies the balance by the same number, so the balances form a geometric sequence with r=1.05r = 1.05 and first term b1=2100b_1 = 2100.

bn=2100⋅1.05n−1=2000⋅1.05n\begin{aligned} b_n &= 2100 \cdot 1.05^{n-1} \\ &= \boxed{2000 \cdot 1.05^n} \end{aligned}

Step 3. Put in 10 years

We raise 1.05 to the 10th power and round to the penny.

b10=2000⋅1.0510≈2000⋅1.62889≈3257.79\begin{aligned} b_{10} &= 2000 \cdot 1.05^{10} \\ &\approx 2000 \cdot 1.62889 \\ &\approx 3257.79 \end{aligned}

Step 4. Compare with simple interest

Simple interest pays 5% of £2,000, which is £100, every year: an arithmetic sequence with d=100d = 100.

2000+10⋅100=30002000 + 10 \cdot 100 = 3000

Answer

After 10 years the account holds about £3,257.79 - £257.79 more than the £3,000 from simple interest, because the interest earns interest too.

Your turn

In a geometric sequence a2=6a_2 = 6 and a5=162a_5 = 162. Find the common ratio rr, the first term a1a_1 and the sum of the first six terms.

Hintshow

From a2a_2 to a5a_5 there are 3 steps, so a5=a2⋅r3a_5 = a_2 \cdot r^3.

Solutiontry it on your own first

Step 1. Write the fifth term through the second

Three multiplications by rr lead from a2a_2 to a5a_5.

a5=a2⋅r3a_5 = a_2 \cdot r^3

Step 2. Find the common ratio

We put in the numbers, divide by 6 and take the cube root.

162=6⋅r3r3=27r=3\begin{aligned} 162 &= 6 \cdot r^3 \\ r^3 &= 27 \\ r &= \boxed{3} \end{aligned}

Step 3. Go back to the first term

One step back means dividing by rr.

a1=63=2a_1 = \frac{6}{3} = \boxed{2}

Step 4. Put the numbers into the sum formula

We use a1=2a_1 = 2, r=3r = 3 and n=6n = 6.

S6=2⋅1−361−3S_6 = 2 \cdot \frac{1 - 3^6}{1 - 3}

Step 5. Work out the fraction

We use 36=7293^6 = 729, then simplify the fraction.

S6=2⋅−728−2=2⋅364=728\begin{aligned} S_6 &= 2 \cdot \frac{-728}{-2} \\ &= 2 \cdot 364 \\ &= 728 \end{aligned}

Answer

r=3r = 3, a1=2a_1 = 2 and S6=728S_6 = 728. The sequence is 2, 6, 18, 54, 162, 486.

Common mistakes

  • nn steps instead of n−1n - 1. From a1a_1 to a10a_{10} there are 9 steps: a10=3+9⋅4=39a_{10} = 3 + 9 \cdot 4 = 39, not 3+10⋅4=433 + 10 \cdot 4 = 43.
  • The first term inside the power. a1⋅rn−1a_1 \cdot r^{n-1} is not (a1r)n−1(a_1 r)^{n-1}. For 3, 6, 12, … the 4th term is 3⋅23=243 \cdot 2^3 = 24, not 63=2166^3 = 216.
  • Counting by the index, not by the steps. Between a3a_3 and a7a_7 there are 4 steps, and between a2a_2 and a5a_5 three, as in the examples.
  • The geometric sum formula with r=1r = 1. It would divide by 0. All the terms are then equal to a1a_1, so Sn=n⋅a1S_n = n \cdot a_1.
  • Adding percentages instead of multiplying. 5% a year compound means multiplying by 1.05 every year, not adding 5% of the start each time. Adding gives simple interest.
  • “A negative ratio, so it is decreasing”. With r=−2r = -2 the sequence 3, −6, 12, −24, … is not decreasing: its signs alternate.

In exams and at university

In England, GCSE Mathematics asks you to generate terms of a sequence from a term-to-term or a position-to-term rule, to recognise arithmetic and simple geometric progressions, and to find the nth term of linear (arithmetic) sequences. Compound interest comes up in growth and decay problems.

A level Mathematics covers arithmetic and geometric sequences and series: the nth term, the sum of the first nn terms, sigma notation, and the sum to infinity of a convergent geometric series, which needs ∣r∣<1|r| < 1. A level books write the terms as unu_n, with aa for the first term, dd for the common difference, rr for the common ratio and ll for the last term. Why an infinite sum can have a finite value is explained in Infinite series and convergence tests.

In the United States, the Common Core high-school standards ask students to write arithmetic and geometric sequences both recursively and with an explicit formula, and to treat them as linear and exponential functions. AP Precalculus opens Unit 2 with them. It counts from a0a_0, so its an=a0+nda_n = a_0 + nd is our a1+(n−1)da_1 + (n - 1)d with a different start.

At university, sequences open the study of infinite series. In the open textbook Contemporary Calculus by Dale Hoffman, for example, the chapter on infinite series starts with sequences and then sums geometric series.

Check yourself

Test yourself

What is the 20th term of the sequence 5, 8, 11, 14, …?

What is 2+4+6+⋯+1002 + 4 + 6 + \dots + 100?

Which of these sequences is geometric?

A geometric sequence has a1=3a_1 = 3 and r=−2r = -2. What do its terms do?

A price of 100 rises by 10% every year. What is it after two years?

Flashcards for review

Flip a card and say whether you knew the answer. The ones you did not know come back at the end of the deck. Why it pays to come back to them in a few days is explained in the guide Spaced repetition.

Flashcards

  1. What is an arithmetic sequence?

    A sequence in which each term is the one before plus the same number dd, the common difference: an+1−an=da_{n+1} - a_n = d. Example: 3, 7, 11, 15, … with d=4d = 4.
  2. What is the nth term of an arithmetic sequence?

    an=a1+(n−1)da_n = a_1 + (n - 1)d. From a1a_1 to ana_n there are n−1n - 1 steps of dd.
  3. How do you add the first nn terms of an arithmetic sequence?

    Sn=a1+an2⋅nS_n = \frac{a_1 + a_n}{2} \cdot n. The first and the last term, the second and the second last, and so on, always give the same total a1+ana_1 + a_n.
  4. What is a geometric sequence?

    A sequence in which each term is the one before times the same non-zero number rr, the common ratio: an+1=an⋅ra_{n+1} = a_n \cdot r. Example: 3, 6, 12, 24, … with r=2r = 2.
  5. What is the nth term of a geometric sequence?

    an=a1⋅rn−1a_n = a_1 \cdot r^{n-1}. From a1a_1 to ana_n you multiply by rr exactly n−1n - 1 times.
  6. How do you add the first nn terms of a geometric sequence?

    For r≠1r \neq 1: Sn=a1⋅1−rn1−rS_n = a_1 \cdot \frac{1 - r^n}{1 - r}. For r=1r = 1 every term is a1a_1, so Sn=n⋅a1S_n = n \cdot a_1.
  7. How can you tell that x,y,zx, y, z are consecutive terms of an arithmetic or a geometric sequence?

    Arithmetic: 2y=x+z2y = x + z, the middle term is the mean of its neighbours. Geometric (non-zero numbers): y2=xzy^2 = xz.
  8. When does a geometric sequence with a1>0a_1 > 0 increase?

    When r>1r > 1. For 0<r<10 < r < 1 it decreases, for r=1r = 1 it is constant, and for r<0r < 0 its signs alternate.
  9. Why do the balances with compound interest form a geometric sequence?

    Every year multiplies the balance by the same number 1+p1001 + \frac{p}{100}, for example 1.05 at 5%. Simple interest adds the same amount every year, so it gives an arithmetic sequence.
  10. How do arithmetic and geometric sequences grow?

    Arithmetic terms lie on a straight line, a linear function of nn. Geometric ones with r>0r > 0 follow an exponential function, so with a1>0a_1 > 0 and r>1r > 1 they grow faster in the long run.

Sources

We checked the facts on this page against these sources. All of them may be reused freely: they carry an open licence or are not covered by copyright.

  1. David Lippman - Math in Society, chapter Growth Models (linear growth with a common difference, exponential growth with a common ratio, recursive and explicit forms) (PDF) · CC BY-SA 4.0
  2. David Lippman - Math in Society, chapter Finance (simple interest grows by the same amount, compound interest is multiplied by the same factor) (PDF) · CC BY-SA 4.0
  3. Dale Hoffman - Contemporary Calculus, 10.1 Sequences (a sequence as a function of n, increasing and decreasing sequences) (PDF) · CC BY 3.0 US
  4. Dale Hoffman - Contemporary Calculus, 10.3 Geometric and Harmonic Series (the sum of a geometric series, found by multiplying by the ratio and subtracting) (PDF) · CC BY 3.0 US
  5. Active Calculus (Matthew Boelkins, Grand Valley State University) - 8.3 Geometric sums (the sum a(1 − rⁿ)/(1 − r) of a finite geometric series for r ≠ 1) · CC BY-SA 4.0
  6. Wikipedia - Arithmetic progression (common difference, nth term, sum, the Gauss anecdote and its uncertain reliability) · CC BY-SA 4.0
  7. Wikipedia - Geometric progression (common ratio, nth term, growth, decay and alternating signs) · CC BY-SA 4.0

More explainers