{S}_{i-1}-{S}_{i}={A}_{i}={S}_{0}\cdot{\left(1-r \right)}^{i-1}-{S}_{0}\cdot{\left(1-r \right)}^{i}}={S}_{i-1}\cdot r