Geometric series, finite and infinite
Subtracting $r$ times the sum from the sum cancels every middle term, giving $S_n = a_1\frac{1 - r^n}{1 - r}$, and when $|r| < 1$ the sums settle on $\frac{a_1}{1 - r}$, so $\frac12 + \frac14 + \frac18 + \cdots = 1$.
From Algebra 2.