I was assigned two induction problems that I tried to solve. One was easy to solve using the following method, but one got me stuck. Problem:
Prove by induction on $n \geq 1$ that for every $a \neq 1$, $\sum_{i=0}^{n} a^i = \frac{a^{n+1} - 1}{a - 1}$
Work: We note that since this is of the form $\sum_{k=1}^{n} f(k) = g(n)$, we can solve this by induction by showing that $f(1) = g(1)$ and $g(n + 1) - g(n) = f(n + 1)$.
So $f(1) = \sum_{i=0}^{1} a^i = a^0 + a^1 = a^1 + 1$, and $g(1) = \frac{a^{1+1} - 1}{a - 1} = \frac{a^2 -1}{a - 1} = \frac{(a + 1)(a - 1)}{a - 1} = a + 1$. Thus, $f(1) = g(1)$.
Evaluating the second condition, we see that the left side ($f(n)$) becomes $a^{n+1}$, and the right side ($g(n)$) becomes $\frac{a^{n+1+1} - 1}{a + 1 - 1} - \frac{a^{n+1} - 1}{a - 1}$.
$\begin{aligned} a^{n+1} &=^? \frac{a^{n+1+1} - 1}{a + 1 - 1} - \frac{a^{n+1} - 1}{a - 1}\\ &=^? \frac{a^{n+2} - 1}{a} - \frac{a^{n+1} - 1}{a - 1}\\ &=^? \frac{a^na^2 - 1}{a} - \frac{a^na^1 - 1}{a - 1}\\ &=^? \frac{a^na^2 - 1}{a}(\frac{a - 1}{a - 1}) - \frac{a^na^1 - 1}{a - 1}(\frac{a}{a})\\ &=^? \frac{(a^na^2 - 1)(a - 1)}{a(a - 1)} - \frac{a^na^2 - a}{a(a - 1)}\\ &=^? \frac{a^na^2(a - 1) - 1(a - 1) - a^na^2 + a}{a(a - 1)}\\ &=^? \frac{a^na^3 - a^na^2 - a + 1 - a^na^2 + a}{a(a - 1)}\\ &=^?\frac{a^na^3 -2a^na^2 + 1}{a^2 - a}\\ \end{aligned}$
I checked over my algebra several times, and I can't find a mistake. I haven't been able to figure out how to manipulate $\frac{a^na^3 -2a^na^2 + 1}{a^2 - a}$ into a simpler form. Can someone point out an error, if one exists, or show me the next step in simplification?