Given $S = \sum_{n=0}^\infty a_n$ where $a_n$ is $\sum_{i=n}^\infty{x^i}$, we have $S = 1 + 2x + 3x^2 + 4x^3 + 5x^4 + \dots$
I'm trying to find its sum over the reals on the interval $x \in (-1, 1)$.
I can prove that $x\cdot a_n = a_n-x^n$ using the infinite series representation. Therefore $$a_n = \frac{x^n}{1-x} \tag{1}$$.
So here's my work from there.
$$ \begin{align} S &= \sum_{n=0}^\infty{\frac{x^n}{1-x}}\\ \label{metric}&= \frac{\sum x^n}{1-x}\\ &= \frac{\frac1{1-x}}{1-x}\tag{2} \\ &= \frac1{(1-x)^2} \end{align}$$
$2$ uses the same logic as $1$ in summing the terms.
Is this a logical and valid way to find $S$?