Sum of Geometric Sequence/Proof 3

Proof
From Difference of Two Powers:


 * $\displaystyle a^n - b^n = \paren {a - b} \paren {a^{n - 1} + a^{n - 2} b + a^{n - 3} b^2 + \ldots + a b^{n - 2} + b^{n - 1} } = \paren {a - b} \sum_{j \mathop = 0}^{n - 1} a^{n - j - 1} b^j$

Set $a = x$ and $b = 1$:


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

from which the result follows directly.