Finite Geometric Series Formula

We know that:

a = first term
r = common ratio
n = number of terms

We'r going to use a notation $S_n$ to denote the sum of first n terms as following:

$S_n$= sum of first n terms

$S_n=a+ar+ar^2+\cdot\cdot\cdot+ar^{n-1}$

We want to come up with a nice clean formula for evaluating this and we're gonna use a little trick to do it.

Let's just multiple negative r on both sides of equation as following:

$-rS_n=-ar-ar^2-\cdot\cdot\cdot-ar^{n-1}-ar^n$

So:

$S_n-rS_n=a-ar^n$

$S_n(1-r)=a(1-r^n)$

$$S_n=\frac{a(1-r^n)}{1-r}$$

posted @ 2022-03-27 23:58  enjoy_jun  阅读(46)  评论(0编辑  收藏  举报