[Math] general formula for partial sum of series

calculussequences-and-series

im having trouble figuring out how to find the general formula for partial sums of a series.

Is it a trial and error kind of thing where I just have to figure it out?

or is there a systematic way to figure it out?

enter image description here

in that example from pauls calculus, I dont see how he got that general formula for the partial sums.

Thanks for the help.

Best Answer

It’s the formula for the sum of a finite geometric series:

$$\sum_{k=0}^{n-1}x^k=\frac{1-x^n}{1-x}\;,$$

here with $x=\frac13$. Specifically,

$$\sum_{k=1}^n\frac1{3^{k-1}}=\sum_{k=0}^{n-1}\frac1{3^k}=\sum_{k=0}^{n-1}\left(\frac13\right)^k=\frac{1-(1/3)^n}{1-1/3}=\frac32\left(1-\left(\frac13\right)^n\right)=\frac32\left(1-\frac1{3^n}\right)\;.$$