If $r\neq 1$, show that $$a+ar+ar^2+\cdots+ar^n=\frac{a\left(r^{n+1}-1\right)}{r-1}$$ for any positive integer $n$
I seem to be doing something wrong could somebody tell me what is wrong with my method?
$n=1:$
$$ar^1=\frac{a(r^{1+1}-1)}{r-1}$$ $$ar=\frac{a(r-1)(r+1)}{r-1}$$ $$ar = a(r+1)$$ I can't see anything wrong my working, am i interpreting the question wrong?