Chalk−1

Math · Precalculus · Concept

Arithmetic and geometric sequences

A sequence is an ordered list of numbers, given by an explicit formula for the nth term or by a recursive formula that builds each term from the one before. An arithmetic sequence adds a common difference d at each step, and a geometric sequence multiplies by a common ratio r. Each kind has formulas for its nth term and for the sum of its first n terms.

Try one — Chalk checks each line

A concrete case

Two ways to save

Ana starts with $50 and adds $20 every week. Ben starts with $5 and doubles his savings every week. The table shows the first eight weeks.

Ana’s amounts go up by the same $20 each week. Ben’s go up by more each week, because each amount is the one before times 2. Ben is far behind at first, with $80 against Ana’s $130 in week 5, and then passes her in week 6, with $160 against $150. By week 8 he has $640 to her $190.

One list grows by adding, the other by multiplying. Those are the two kinds of sequence that follow, arithmetic and geometric.

Savings in dollars, week by week
Week nAna, add 20Ben, times 2
1505
27010
39020
411040
513080
6150160
7170320
8190640

The rule

Sequences and their terms

A sequence is a list of numbers in order. Its term in position n is written an, so a1 is the first term. An explicit formula gives an straight from n. A recursive formula gives a first term and a rule that builds each term from the one before it.

In an arithmetic sequence each term is the one before plus a fixed number d, the common difference. In a geometric sequence each term is the one before times a fixed nonzero number r, the common ratio. Ana’s list has a1=50 and d=20, and Ben’s has a1=5 and r=2.

an=a1+(n−1)⁢dan=a1rn−1
an=a1+(n−1)⁢dan=a1rn−1

Sums and sigma notation

The sum of the first n terms is Sn=a1+a2+⋯+an. Sigma notation writes it in one symbol. Below Σ the index starts at its lower limit, it runs up to the upper limit written above, and each value of the index gives one term.

An arithmetic sum is the number of terms times the average of the first and last terms. A geometric sum has its own formula, which needs r≠1. When r=1 every term is a1 and the sum is na1. If ∣⁢r⁢∣<1, the sum of all infinitely many terms is a1/⁢(1−r).

Sn=n⁢(a1+an)2Sn=a1(1−rn)1−r∑k=1∞a1rk−1=a11−r
Sn=n⁢(a1+an)2Sn=a1(1−rn)1−r∑k=1∞a1rk−1=a11−r

Why it works

Why the formulas work

To reach term n from a1 takes n−1 steps, not n, because a1 itself takes none. Each step adds d in an arithmetic sequence and multiplies by r in a geometric one. That is where n−1 comes from in both nth-term formulas. It also shows that an arithmetic sequence is a linear function of n with slope d, and a geometric one an exponential function.

For an arithmetic sum, write Ana’s eight amounts forward, then backward underneath. Every column adds to 50+190=240, and there are 8 columns. Both rows together make 8⋅240=1920, so one row is 1920⁢/2=960.

For a geometric sum, Ben’s total is S=5+10+⋯+640, and doubling it gives 2⁢S=10+20+⋯+1280. Subtracting S from 2⁢S cancels every term the two lists share. What remains is S=1280−5=1275. The same subtraction in letters gives the formula.

When ∣⁢r⁢∣<1, the power rn in the formula shrinks toward 0 as n grows. The sums then settle on a1/⁢(1−r), the infinite sum.

Pairing Ana’s amounts
Forward507090110130150170190
Backward190170150130110907050
Column sum240240240240240240240240

The method

A term or a sum, step by step

The table works through the first worked example below, the sequence 5, 8, 11, 14, ….

The steps on 5, 8, 11, 14, …
StepWhat to doFor this sequence
1Subtract consecutive terms, then divide themDifferences 3, 3, 3, so arithmetic
2Read a1 and d, or a1 and ra1=5 and d=3
3Write the nth terman =5+3⁢(n−1) =3⁢n+2
4Put in the n you needa20 =3⋅20+2 =62
5If the last term is given, count the terms(62−5)⁢/3+1 =20 terms
6Use the sum formula for the right kindS20 =20⁢(5+62)⁢/2 =670
7Check the formula against the first termsa1=5, a2=8, a3=11

Where it breaks

Where it breaks

Two terms never decide the kind. The lists 2, 4, 6, 8 and 2, 4, 8, 16 start the same, but the first adds 2 and the second doubles. Test at least three terms, and use a formula you are given in preference to a guess.

Many sequences are neither kind. The squares 1, 4, 9, 16 have differences 3, 5, 7 and ratios 4, 9⁢/4, 16⁢/9, so no formula from this lesson fits them.

The formulas assume the first term is a1. When a list starts at n=0, as a population counted from hour 0 often does, the nth term is a0+n⁢d or a0rn instead.

An infinite geometric sum needs ∣⁢r⁢∣<1. For 3+6+12+⋯ the totals grow without bound, and putting r=2 into a1/⁢(1−r) gives −3, which is meaningless. For r=−1 the totals of 1−1+1−1+⋯ jump between 1 and 0 and never settle.

Check your answer

Check your answer

Put n=1, 2 and 3 into your nth-term formula and compare with the first three terms. A formula that gives the wrong a1 has its n−1 wrong.

For a sum, add a short version by hand. The first 3 terms of 5, 8, 11, … add to 24, and the formula gives 3⁢(5+11)⁢/2=24.

Check the size. A sum of positive terms is positive and larger than its largest term. An infinite geometric sum with 0<r<1 is larger than a1 but finite.

In a Math box, write the nth term as an=… on the first row, and then a value such as a20=62 below it. Chalk reads a20 as the formula at n=20, so a right value reads ✓. A wrong one reads ✗ with “That isn’t a₂₀. Recheck the substitution.” A row Sn=… with the formula reads • with “Defines S₂₀.”, and the value below it reads ✓. A sum written in sigma notation with numbers, such as the sum of 3⁢k+2 from k=1 to 20 equal to 670, is worked out and reads ✓ or ✗.

Does 8−4+2−1+⋯ have an infinite sum, and is that sum above or below 8?

Yes, and below. The ratio is r=−1⁢/2, and ∣⁢r⁢∣<1, so the sum is 8⁢/⁢(1−(−1⁢/2))=8⁢/⁢(3⁢/2)=16⁢/3≈5.33. The negative terms pull the total under the first term. Using r=1⁢/2 drops the sign and gives 16, the sum of 8+4+2+1+⋯ instead.

Infinite sums, 0.999⁢… and what comes next

The repeating decimal 0.999⁢… is the infinite geometric sum 0.9+0.09+0.009+⋯, with a1=0.9 and r=0.1. Its sum is 0.9⁢/⁢(1−0.1) =0.9⁢/0.9 =1, so 0.999⁢… and 1 are the same number.

An arithmetic sequence with d>0 grows like a line, and a geometric one with r>1 grows like an exponential. Every exponential eventually passes every line, as Ben passed Ana, however small the start or large the slope.

Savings with interest are geometric. A deposit that earns 5⁢% a year is multiplied by 1.05 each year, and regular deposits add up as a geometric sum, which is how a savings plan or a loan payment is worked out.

When a sum has infinitely many terms that are not geometric, such as 1+1⁢/4+1⁢/9+1⁢/16+⋯, deciding whether it settles takes the tests of a calculus course on series.

Common mistakes

  • Using n instead of n−1 in the nth-term formula. For 5, 8, 11, …, a20=5+19⋅3=62, not 5+20⋅3=65, because a1 is reached after zero steps.
  • Taking the ratio upside down. For 48, 24, 12, … the ratio is 24⁢/48=1⁢/2, not 2, because r is each term divided by the one before it.
  • Using the arithmetic sum formula for a geometric sequence. For 3, 6, 12, …, 384, the average of first and last gives 8⁢(3+384)⁢/2=1548, but the sum is 765. Geometric terms do not rise evenly, so the first and last do not average out.
  • Miscounting the terms. From 5 to 62 in steps of 3 there are (62−5)⁢/3+1=20 terms, not 19, because both ends count.
  • Using a1/⁢(1−r) when ∣⁢r⁢∣≥1. For 3+6+12+⋯ it gives 3⁢/⁢(1−2)=−3, a negative total for positive terms. The infinite sum exists only when ∣⁢r⁢∣<1.
  • Losing the sign of a negative ratio. With a1=2 and r=−3, a4=2⁢(−3)3=−54. Writing 2⋅33=54 loses the sign, and the terms 2, −6, 18, −54 alternate because r is negative.

Key terms

Sequence
An ordered list of values, with each term identified by an integer index. A sequence may be given by a direct formula or a rule based on earlier terms.
Arithmetic sequence
A sequence in which each term is the one before plus a fixed common difference d, so an=a1+(n−1)⁢d. The sum of its first n terms is n⁢(a1+an)⁢/2.
Geometric sequence
A sequence in which each term is the one before times a fixed common ratio r, so an=a1rn−1. For r≠1 the sum of its first n terms is a1(1−rn)⁢/⁢(1−r).
Partial sum
The sum of the first n terms of a series, Sn=a1+⋯+an. If the partial sums approach a limit, that limit is the series’ sum.
Sigma notation
A compact way to write a sum: Σ from i=1 to n of ai means a1+a2+⋯+an. The index i takes each integer value from the lower limit to the upper limit, and each value contributes one term.
Geometric series
A series in which each term is the previous one times a fixed ratio r: a+a⁢r+ar2+⋯. It converges to a⁢/⁢(1−r) when ∣⁢r⁢∣<1 and diverges otherwise, unless a=0.

Work through an example

For the arithmetic sequence 5, 8, 11, 14, …, find the 20th term and the sum of the first 20 terms.

Find a term and a sum of an arithmetic sequence →

Find a term and a sum of a geometric sequence →

Decide if a sequence is arithmetic or geometric →

Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Plot aₙ = 3n + 2 in Graph Try in Graph Check the term and the sum in Math Study the 6 key terms Open worked example on a board Arithmetic sum in Math Reference

Your existing work stays on this device. Examples open as editable copies.