Sum of Sequence of Power by Index

Theorem

 * $\ds \sum_{j \mathop = 0}^n j x^j = \frac {n x^{n + 2} - \paren {n + 1} x^{n + 1} + x} {\paren {x - 1}^2}$

for $x \ne 1$.