I am being asked how to do this proof for an assignment, but am not certain on what is being asked or how to go about doing it.
(a) fix $r\in \mathbb R \setminus \{1\}$. Prove by induction on n that the following statement holds: $$ 1 + r + r^2+…+r^n= \frac{1-r^{n + 1}}{1 - r} \forall r \in \mathbb R$$ (b) Derive the result by setting $S = 1 + r + \cdots + r^n$, multiplying this equation by r, and solving the two equations for S.