Love the trick with how this can be done via differentiating the equation:
1 + r + r^2 + ... = 1/(1-r)