The terms of a G.P. can grow astonishingly fast, and their sums even faster. There is a story of a king who offered a reward of one grain of rice on the first square of a chessboard, two on the second, four on the third, and so on: the total for 64 squares is more rice than the world has ever grown. In this lesson we find a formula for the sum of the first n terms of a G.P., and then a surprising fact: when the terms shrink, the sum of infinitely many of them can be a finite number.
The sum of n terms of a G.P.#
Let Sn=a+ar+ar2+⋯+arn−1. Multiply every term by r:
rSn=ar+ar2+ar3+⋯+arn
Now subtract the first line from the second. All the middle terms cancel, leaving only the last term of rSn and the first term of Sn:
rSn−Sn=arn−a⟹Sn(r−1)=a(rn−1)
So, provided r=1,
Sn=r−1a(rn−1)=1−ra(1−rn)
The two forms are the same (multiply top and bottom by −1). Use the first when r>1 and the second when r<1, so that the numbers stay positive.
If r=1, every term equals a and the formula cannot be used; simply Sn=na.
Example 1#
Find the sum of the first 6 terms of 2+6+18+⋯
a=2, r=3, n=6:
S6=3−12(36−1)=22×728=728
Example 2#
Find the sum of the first 8 terms of 1+21+41+⋯
a=1, r=21:
S8=1−211−(21)8=211−2561=2×256255=128255
Example 3#
How many terms of 3+6+12+⋯ must be added to give 765?
2−13(2n−1)=765⟹2n−1=255⟹2n=256=28⟹n=8
Example 4#
The rice on the chessboard: find 1+2+4+⋯ to 64 terms.
a=1, r=2, n=64: S64=264−1, a number with 20 digits, more than 18 million million million grains.
The sum to infinity#
Now look at 1+21+41+81+⋯. The sums of the first few terms are
1,1.5,1.75,1.875,1.9375,…
They creep closer and closer to 2 without ever passing it. Each new term covers half the remaining gap. We say that the sum to infinity is 2.
In general, look at Sn=1−ra(1−rn). If −1<r<1, the powers rn get closer and closer to 0 as n grows: for r=21, r10 is already less than 0.001. So Sn gets closer and closer to 1−ra. This value is the sum to infinity:
S∞=1−ra,valid only when −1<r<1
If r≥1 or r≤−1, the terms do not shrink and the series has no finite sum. For example 1+2+4+⋯ just keeps growing.
Example 5#
Find the sum to infinity of 9+3+1+31+⋯
a=9, r=31, which lies between −1 and 1:
S∞=1−319=329=227
Example 6#
Find the sum to infinity of 8−4+2−1+⋯
a=8, r=−21: S∞=1+218=238=316.
Recurring decimals as fractions#
A recurring decimal is an infinite G.P. in disguise.
Example 7#
Write 0.7=0.777… as a fraction.
0.777…=107+1007+10007+⋯
This is a G.P. with a=107 and r=101. So the value is 1−1/107/10=9/107/10=97.
Example 8#
Write 0.45=0.4545… as a fraction.
0.4545…=10045+1000045+⋯=1−1/10045/100=9945=115
A bouncing ball#
Example 9#
A ball is dropped from a height of 12 m. Each time it hits the ground it rises to 32 of the height it fell from. Find the total distance it travels before coming to rest.
The ball first falls 12 m. Then it rises 8 m and falls 8 m, rises 316 m and falls 316 m, and so on. The rises form a G.P. 8+316+⋯ with a=8 and r=32, whose sum is 1−2/38=24. The falls after the first are the same. So the total distance is
12+2×24=60 m
Practice#
- Find the sum of the first 7 terms of 1+3+9+⋯
- Find the sum of the first 6 terms of 5+10+20+⋯
- Find the sum of the first 5 terms of 16+8+4+⋯
- Find the sum of the first 6 terms of 1−2+4−⋯
- How many terms of 2+4+8+⋯ must be added to give 510?
- Find the sum to infinity of 12+4+34+⋯
- Find the sum to infinity of 5−25+45−⋯
- Write 0.3 and 0.36 as fractions.
- The sum to infinity of a G.P. is 20 and its first term is 5. Find the common ratio.
- A ball is dropped from 20 m and each time rises to 53 of the height it fell. Find the total distance travelled.
Answers#
Show answers
- 237−1=22186=1093
- 5(26−1)=5×63=315
- 2116(1−321)=32×3231=31
- r=−2: 1−(−2)1−(−2)6=31−64=−21
- 2(2n−1)=510 gives 2n=256, so n=8.
- 1−3112=18
- 1+215=310
- 93=31 and 9936=114
- 1−r5=20 gives 1−r=41, so r=43.
- Rises: 12+536+⋯=1−3/512=30. Total =20+2×30=80 m.