Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

$ x^0+ x^1 + x^2 + \ldots + x^n$

This should be really simple I guess and I tried something but got to a dead end. Thanks. :)

share|cite|improve this question
I see all but an equation – mathemagician Jan 8 '13 at 13:54
There’s nothing there to solve, so I expect that what you want is a closed form for the sum. This is a geometric series: the sum is $$\frac{1-x^{n+1}}{1-x}\;.$$ – Brian M. Scott Jan 8 '13 at 13:54
Hint: If $r\neq 0$ is solution this equation then $\frac{1}{r}$ too. – MathOverview Jan 8 '13 at 13:56
Sorry I edited I just wanted to get a general formula(closed form as Brian suggested)for this sum and how to get to it. My math english is bad :) – Fofole Jan 8 '13 at 13:59
up vote 6 down vote accepted

Let $$S=1+x+x^2+\cdots+x^n$$ Observe $$S=1+x(1+x+\cdots+x^{n-1})=1+x\left(S-x^n\right)$$ Solve for $S$ and you will get your closed form. After that solving $S=0$ becomes trivial

share|cite|improve this answer
I had always memorized the geo series formula. This makes a lot more sense! :) – apnorton Jan 8 '13 at 14:10
Logical,simple and clear. Thank you. Math is fun btw :) – Fofole Jan 8 '13 at 14:16

If $$S=1+x+x^2+\cdots+x^{n-1}+x^n--->(1)$$

If $x=1,S=1+1+$ up to $n$ terms, hence $=n$

So, $$S\cdot x=x+x^2+\cdots+x^n+x^{n+1}--->(2)$$

$$(2)-(1)\implies S(x-1)=x^{n+1}-1$$ if $x\ne 1$

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.