Geometric series - total sum and partial sums

The geometric series total sum S can be calculated using a “shift technique” as follows: (1) Compare S and rS:

S=a0+a0r+a0r2+a0r3+⋯≫≫×rrS=a0r+a0r2+a0r3+a0r4+⋯

(2) Subtract second line from first line, many cancellations:

S=a0+a0r+a0r2+a0r3+⋯−(rS=a0r+a0r2+a0r3+a0r4+⋯)——————————————————S−rS=a0

(3) Solve to find S:

S=a01−r

Assumes convergence!

Note: this calculation assumes that S exists, i.e. that the series converges.

The geometric series partial sums can be calculated similarly, as follows:

(1) Compare S and rS:

SN=a0+a0r+a0r2+⋯+a0rN≫≫×rrSN=a0r+a0r2+⋯+a0rN+a0rN+1

(2) Subtract second line from first line, many cancellations:

SN=a0+a0r+a0r2+⋯+a0rN−(rSN=a0r+a0r2+⋯+a0rN+a0rN+1)——————————————————SN−rSN=a0−a0rN+1

(3) Solve to find SN:

SN=a01−rN+11−r=a01−r−a01−rrN+1=S−SrN+1

(4) The last formula is revealing in its own way. Here is what it means in terms of terms:

a0+a0r+⋯+a0rN=a0+a0r+a0r2+⋯−(a0rN+1+a0rN+2+⋯)