Consider the G.P. t1,t2,t3,…,tn,…; the sum of its first n terms is written Sn=∑r=1ntr=t1+t2+⋯+tn. Here ∑ is the notation for summation and r is the running (dummy) variable.
Theorem: for a G.P. a,ar,ar2,…,arn−1 with r=1, Sn=r−1a(rn−1).
Proof: Sn=a+ar+ar2+⋯+arn−1=a(1+r+r2+⋯+rn−1) …(1). Multiplying both sides by r: rSn=a(r+r2+r3+⋯+rn) …(2). Subtracting (2) from (1): Sn−rSn=a(1−rn)⇒Sn(1−r)=a(1−rn)⇒Sn=1−ra(1−rn), r=1.
Let's Note: (1) if 0<r<1 it is convenient to write Sn=1−ra(1−rn); (2) if r>1 it is convenient to write Sn=r−1a(rn−1); (3) if r=1, the G.P. is a,a,a,…,a (n times), so Sn=na; (4) Sn−Sn−1=tn (removing the sum of the first n−1 terms from the sum of the first n terms leaves exactly the nth term -- useful for recovering tn when only Sn is given).
Worked Example 4: for a G.P. a=6,r=2, find S10. S10=2−16(210−1)=6(1023)=6138.
Worked Example 5: how many terms of 2,22,23,24,… are needed to give the sum 2046? 2046=2−12(2n−1)=2(2n−1)⇒1023=2n−1⇒2n=1024=210⇒n=10.
Worked Example 6: for a G.P. r=2, S10=1023, find a. 1023=a⋅2−1210−1=1023a⇒a=1.
Worked Example 7: for a G.P. a=3,r=2,Sn=765, find n. 765=3(2n−1)⇒255=2n−1⇒2n=256=28⇒n=8.
Worked Example 8: for a G.P. S3=16,S6=144, find a and r. S3S6=r3−1r6−1=r3−1(r3−1)(r3+1)=r3+1=16144=9⇒r3=8⇒r=2. From S3=16: a2−123−1=7a=16⇒a=716.
Worked Example 9: find 5+55+555+5555+⋯ upto n terms. Sn=5(1+11+111+⋯)=95[(10−1)+(100−1)+(1000−1)+⋯ to n brackets]=95[(10+100+⋯+10n)−n]=95[910(10n−1)−n].
Worked Example 10: find the sum to n terms of 0.3+0.33+0.333+⋯. Sn=3[0.1+0.11+0.111+⋯]=93[(1−0.1)+(1−0.01)+(1−0.001)+⋯]=93[n−(0.1+0.01+0.001+⋯ to n terms)]=31[n−1−0.10.1(1−0.1n)]=3n−271−0.1n.
Worked Example 11: find the nth term of 0.4,0.44,0.444,…. t1=0.4, t2=0.4+0.04, t3=0.4+0.04+0.004,…, so tn is itself the sum of the first n terms of a G.P. with a=0.4,r=0.1: tn=1−0.10.4(1−0.1n)=94[1−(0.1)n].
Worked Example 12: for a sequence Sn=5(4n−1), find tn, verify it is a G.P., and find r. tn=Sn−Sn−1=5(4n−1)−5(4n−1−1)=5(4n−4n−1)=5⋅4n−1(4−1)=15(4n−1). Then tntn+1=15⋅4n−115⋅4n=4, a constant, so the sequence is a G.P. with tn=15(4n−1) and r=4. …