Find a course

Module 5: Sequences, Series and LimitsLesson 12 of 1212 min

Sequences, Series and a First Look at Limits

Work with arithmetic and geometric sequences and their sums, find when an infinite series converges, and build intuition for limits.

Step 1 of 12Learn

Patterns that go on forever

A sequence is an ordered list of numbers: a1, a2, a3, … Two families matter most.

An arithmetic sequence adds a common difference d each time: 5, 8, 11, 14, … (d = 3). The nth term is

a_n = a1 + (n − 1)d

So the 50th term is 5 + 49 × 3 = 152. Arithmetic sequences are linear functions sampled at whole numbers.

A geometric sequence multiplies by a common ratio r each time: 3, 6, 12, 24, … (r = 2). The nth term is

a_n = a1·r^(n − 1)

So the 10th term is 3 × 29 = 1,536. Geometric sequences are exponential functions sampled at whole numbers.

To decide which kind you have, check differences and ratios between neighboring terms. 2, 6, 18, 54 has a constant ratio of 3: geometric. 20, 17, 14, 11 has a constant difference of −3: arithmetic. Some sequences are neither, like the squares 1, 4, 9, 16.

The most common slip is the (n − 1). The first term already exists before any step, so reaching term n takes n − 1 steps, not n.

Step 2 of 12Practice · Chart

Adding 3 each time vs doubling each time

Tap the first term where the geometric sequence is larger.

Tap the point that answers the question, then press Check.

Adding 3 each time vs doubling each timeLine chart with 8 categories: 1: Arithmetic 5, 8, 11, … 5, Geometric 2, 4, 8, … 2; 2: Arithmetic 5, 8, 11, … 8, Geometric 2, 4, 8, … 4; 3: Arithmetic 5, 8, 11, … 11, Geometric 2, 4, 8, … 8; 4: Arithmetic 5, 8, 11, … 14, Geometric 2, 4, 8, … 16; 5: Arithmetic 5, 8, 11, … 17, Geometric 2, 4, 8, … 32; 6: Arithmetic 5, 8, 11, … 20, Geometric 2, 4, 8, … 64; 7: Arithmetic 5, 8, 11, … 23, Geometric 2, 4, 8, … 128; 8: Arithmetic 5, 8, 11, … 26, Geometric 2, 4, 8, … 256.010020030012345678Term number n
Adding 3 each time vs doubling each time
Term number nArithmetic 5, 8, 11, …Geometric 2, 4, 8, …
152
284
3118
41416
51732
62064
723128
826256

Step 3 of 12Practice · Work it out

What is the 20th term of the arithmetic sequence 7, 11, 15, 19, …?

Step 4 of 12Learn

Adding up the terms: series

A series is the sum of the terms of a sequence.

Arithmetic series. The sum of the first n terms is

S_n = n(a1 + a_n)/2

the number of terms times the average of the first and last. A famous story says a young Carl Friedrich Gauss added 1 + 2 + … + 100 in seconds by pairing 1 + 100, 2 + 99, and so on: 50 pairs of 101, which is 5,050. The formula gives 100(1 + 100)/2 = 5,050.

Geometric series. The sum of the first n terms (with r ≠ 1) is

S_n = a1(1 − rn)/(1 − r)

Example: 3 + 6 + 12 + … for 8 terms. S8 = 3(1 − 28)/(1 − 2) = 3(−255)/(−1) = 765.

Geometric sums appear in finance (savings plans and loan payments), computer science (doubling memory) and biology (generations of offspring).

Sigma notation writes series compactly. Σ from k = 1 to 5 of (2k + 1) means plug in k = 1, 2, 3, 4, 5 and add: 3 + 5 + 7 + 9 + 11 = 35. The symbol Σ is the capital Greek letter sigma, for "sum."

Step 5 of 12Try the calculator

Geometric series calculator

Enter a first term, a ratio and a number of terms. When |r| < 1, compare the partial sum with the infinite sum a/(1 − r) and increase n to watch them meet.

nth term a·r^(n−1)
0.0156
Partial sum S_n
15.9844
Infinite sum a/(1 − r) (only meaningful if |r| < 1)
16

Step 6 of 12Learn

Infinite series and the idea of a limit

Walk halfway to a wall, then half of what's left, then half again, forever. You cover 1/2 + 1/4 + 1/8 + 1/16 + … of the distance. You take infinitely many steps, yet the total never exceeds the whole distance. The sum approaches 1.

That's an infinite geometric series. When |r| < 1, the terms shrink fast enough that the sum settles on a finite value:

S = a1/(1 − r)

For 1/2 + 1/4 + 1/8 + …: S = (1/2)/(1 − 1/2) = 1. For 8 + 4 + 2 + 1 + …: S = 8/(1 − 1/2) = 16.

When |r| ≥ 1, the terms don't shrink, and the sum grows without bound or bounces around. The series diverges: 2 + 4 + 8 + … has no finite sum.

The phrase "the sum approaches 1" is the heart of calculus. We say the limit of the partial sums is 1. More generally, the limit of f(x) as x approaches a value is the number f(x) gets arbitrarily close to. You've already seen limits in this course without the name:

  • The average pizza cost approached $8 as x grew: the limit of (40 + 8x)/x as x → ∞ is 8.
  • Compounding more often approached Pe^(rt).
  • 0.999… repeating is the infinite series 0.9 + 0.09 + 0.009 + …, which equals 0.9/(1 − 0.1) = 1 exactly.

Calculus builds derivatives and integrals entirely out of limits, so this idea is the bridge from precalculus to everything that comes next.

Step 7 of 12Chart

Partial sums of 1/2 + 1/4 + 1/8 + …

Partial sums of 1/2 + 1/4 + 1/8 + …Bar chart with 8 categories: 1: 0.5; 2: 0.75; 3: 0.875; 4: 0.9375; 5: 0.969; 6: 0.984; 7: 0.992; 8: 0.996.00.20.40.60.8112345678Number of terms n0.50.750.8750.93750.9690.9840.9920.996
Each bar closes half of the remaining gap to 1, so the partial sums approach the limit 1.
Partial sums of 1/2 + 1/4 + 1/8 + …
Number of terms nSum of first n terms
10.5
20.75
30.875
40.9375
50.969
60.984
70.992
80.996

Step 8 of 12Practice · Sort into groups

Does each infinite geometric series converge or diverge?

Tap an item, then tap its group (or drag it there).

Step 9 of 12Note

Step 10 of 12Practice · Work it out

Find the sum of the infinite geometric series 12 + 4 + 4/3 + 4/9 + …

Step 11 of 12Practice · True or false

The repeating decimal 0.777… is equal to 7/9.

Step 12 of 12Practice · Choose one

What is the limit of f(x) = (3x2 + 1)/(x2 − 5) as x grows without bound?