One part of a problem requires me to find following sum $\ x+x^2+x^3+...+x^n\ $ and solution suggests that after first step given sum equals to $ \left(x \frac{1-x^n}{1-x} \right) $ and I don't see how to get that. Could anyone explain it to me?
2026-05-06 10:41:21.1778064081
Find the sum $ x+x^2+x^3+...+x^n$
9.5k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
Multiply $x + x^2 + \cdots + x^n$ by $1-x$ and rearrange terms, you get $$\begin{array}{c} x &+& \color{red}{x^2} &+& \color{green}{x^3} &+& \cdots &+&\color{blue}{x^n}\\ &-& \color{red}{x^2} &-& \color{green}{x^3} &-& \cdots &-&\color{blue}{x^n} &-& x^{n+1} \end{array}$$ Notice the massive cancellation of terms, the result simplifies to
$$(1-x)(x + x^2 + \cdots + x^n) = x - x^{n+1} = x(1-x^n)$$ Divide both sides by $1-x$, you get what you want to show.