sumofgeometricseries

Sum of Geometric Series

Suppose S=SUM(1 to n) ab**n

S=a(b**(n+1)-b)/(b-1)

Proof:

bS=SUM(1 to n) ab**(n+1)

bS-S=a(b**(n+1)-b)