Sequences, Sums and Closed Forms
Adding the same amount every step gives an arithmetic sequence, which grows like a line. Multiplying by the same amount gives a geometric sequence, which grows (or shrinks) exponentially. Both are simple enough that you can write their nth term and their sums in closed form.
What the symbols mean
- Arithmetic term
The term after n steps of adding d.
- Common difference
What gets added at each step.
- Geometric term
The term after n steps of multiplying by q.
- Common ratio
What each term gets multiplied by.
Explanation
A sequence is simply a list of numbers in a definite order: a first one, a second one, and so on. All we're really talking about here are the two simplest ways such a list can grow: by adding the same amount each time (an arithmetic sequence), or by multiplying by the same amount each time (a geometric sequence, named because each term is the geometric mean of its neighbors). The formulas look like a wall of symbols, but they're tiny: (start at , add a total of times) and (start at , multiply by a total of times). The sum formula on the right is just a shortcut so you don't have to add a thousand terms by hand. Bear with the notation; each piece is something you already know how to do.
Sigma notation packs a sum into one symbol: means .
Arithmetic sums. Pair the first term with the last, the second with the second-to-last, and so on. Moving inward, one term goes up by and the other goes down by , so every pair has the same total. That means the sum is (number of terms) × (first + last) / 2, or in other words, the number of terms times the average term. For (25 terms), that's .
Geometric sums. Pairing doesn't help here, but a different trick does. Write . Multiplying by shifts every term one place over, so and share all but their end terms. Subtract and almost everything cancels: , which gives the formula above. With doubling, .
Infinite geometric series. When , the in the formula goes to , so the sum settles down: . That's why . Each term covers half the remaining distance to 2.
Arithmetic sequences grow linearly, while geometric ones with grow exponentially and eventually beat any arithmetic sequence. That gap between linear and exponential growth comes back later in the course, when we compare how fast algorithms run.
See it
Worked examples
Find .
- 1
The terms go up by 3, and getting from 2 to 29 takes steps, so there are terms.
Practice
Type your answer and check it. Solve them all to complete the lesson.
If , what is ?
Find .
Find .
Find (forever).
A ball dropped from 10 m rebounds to 60% of its previous height after every bounce, forever. What total distance does it travel, in meters?
A culture starts with 100 bacteria and doubles every 3 hours. How many hours until it reaches 1,000,000?
The hardest one here. Get it, and you've got this lesson.
Find .
Where it's used
Loan payments, compound interest and the running time of loops are sums of arithmetic or geometric sequences.