Partial sums and geometric series · Mathematics Class… | StemPy Lab
Course 15.1·Lesson 2 of 3
Partial sums and geometric series
A series ∑an is an infinite sum. We cannot add infinitely many numbers one by one, so we add the first N
Lesson 2 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
say what the sum of an infinite series means, using partial sums;
decide when a geometric series converges and find its sum;
turn a repeating decimal into a fraction, and solve real problems with a geometric series.
Adding without end
Zeno's old puzzle goes like this. To cross a room you first walk half of it. Then you walk half of what is left, then half of that, and so on. There are infinitely many steps. Yet you do cross the room. The distances are
21+41+81+161+⋯
This is an infinite series. We write it with the sigma sign: n=1∑∞2n1. It means "add the terms for n=1,2,3,… without end". The letter n is the index. A-Level books often use r for the index and write r=1∑∞.
We cannot add an infinite list one number at a time. So we do what we can: add the first N terms and call the result the partial sum
SN=a1+a2+⋯+aN.
For Zeno's series S1=21, S2=43, S3=87, and in general SN=1−2N1. The partial sums are a sequence, and we know what to do with those. They tend to 1.
Definition. The series ∑anconverges to S if the sequence of partial sums SN tends to S. Then S is the sum of the series, and we write ∑n=1∞an=S. If SN does not tend to a number, the series diverges.
So Zeno was right to be puzzled, and wrong to be worried. Infinitely many positive numbers can add up to a finite number.
Two parts. On the left, a horizontal bar of length 1 cut into pieces of length 1/2, 1/4, 1/8, 1/16 and 1/32 from the left, each piece in a different shade, with the small remaining piece at the right end marked as what is left. On the right, the partial sums S1 to S10 of 1/2 + 1/4 + 1/8 + ... as dots that rise quickly and close in on a dashed line at the height 1.
The geometric series
The most important series is the geometric series. Each term is the one before it multiplied by a fixed number r, the common ratio:
a+ar+ar2+ar3+⋯=n=0∑∞arn.
You met finite geometric sums in the chapter on Sequences and Series. The partial sum of the first N terms is
SN=a+ar+⋯+arN−1=a⋅1−r1−rN(r=1).
Now let N→∞. The only part that depends on N is rN, and from the last lesson we know what it does.
If ∣r∣<1, then rN→0, so SN→1−ra. The series converges.
If ∣r∣≥1, then rN does not tend to 0, and the partial sums do not settle. The series diverges.
The geometric series.n=0∑∞arn=1−ra when ∣r∣<1, and it diverges when ∣r∣≥1. In words: the sum is the first term divided by one minus the ratio.
A-Level books call 1−ra the sum to infinityS∞. The condition ∣r∣<1 is the same as −1<r<1.
Two examples
Example 1. Find n=1∑∞6(32)n.
Find the first term. The index starts at 1, so the first term is 6×32=4. This is not 6.
Find the ratio. It is r=32, which has size less than 1.
Use the rule. The sum is 1−324=314=12.
Example 2. For which x does 1+2x+4x2+8x3+⋯ converge?
Find the ratio. Each term is 2x times the one before it, so r=2x.
Apply the condition. We need 2x<1, which means −2<x<2.
Give the sum. For such x the sum is 1−x/21=2−x2.
This is our first example of a series that depends on x. The later courses study such series in depth.
Repeating decimals are geometric series
The decimal 0.36=0.363636… means 10036+1000036+100000036+⋯. This is a geometric series with first term 10036 and ratio 1001. Its sum is
1−1/10036/100=9936=114.
For a decimal that starts with some digits that do not repeat, split it. Write 0.47=0.4+0.0777⋯=104+101×0.7=104+101×97=9043.
A real problem: a bouncing ball
A ball dropped from 1.5 m rebounds to 54 of its last height each time. The total distance it travels is the first fall, then an upward and a downward path of the same length for each bounce:
1.5+2×1.5×54+2×1.5×(54)2+⋯=1.5+2×1−0.81.2=1.5+12=13.5 m.
The ball makes infinitely many bounces and still travels a finite distance. The bounces also get shorter and shorter, so the time taken is finite as well.
Practise with new numbers
Try it in Python
The program adds the terms of 21+41+⋯ one at a time in exact fractions. It compares each partial sum with the closed formula.
Common mistakes
Using 1−ra when ∣r∣≥1. The formula only works for ∣r∣<1. For r=2 the "sum" 1−21=−1 is nonsense.
Using the wrong first term. The rule needs the first term of the series as written. If the sum starts at n=1 with arn, the first term is ar, not a.
Forgetting that the ratio can be negative. For 1−21+41−⋯ the ratio is −21, and the sum is 1+1/21=32.
Expecting the partial sums to reach the sum. They get as close as we like, but they never need to equal it.
Remember these
A series converges when its partial sums SN tend to a number. That number is the sum.
n=0∑∞arn=1−ra for ∣r∣<1, and the series diverges for ∣r∣≥1.
The sum is the first term divided by one minus the ratio.
A repeating decimal is the sum of a geometric series.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Find the sum of 12+4+34+⋯.
Does n=0∑∞(−23)n converge?
Find n=1∑∞(52)n.
Write 0.72 as a fraction.
For 21+41+81+⋯, how many terms are needed so that the partial sum SN is greater than 0.999?
References
OpenStax, Calculus Volume 2, Chapter 5, section 5.2 on infinite series and the geometric series.
College Board, AP Calculus AB and BC Course and Exam Description, Unit 10 on infinite sequences and series.
Enroll free in Sequences and the Idea of an Infinite Sum
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.