2
$\begingroup$

Given that "r" is a constant real number, I have a series that goes like this:

$$ r^1 + r^2 + r^3 ... $$

Is there a formula that can tell the sum of the first n elements? So basically a formula for calculating this sum:

$$ \sum_{k=1}^{n} r^k $$

Thanks for any help!

$\endgroup$
3

1 Answer 1

1
$\begingroup$

This is the sum of a geometric series, with starting term $r$ and common ratio of $r$ as well.

Now, the general sum of the this series is:

$$S = \frac{1-r^{n+1}}{1-r}$$

A special case is when $|r| < 1$:

$$S = \frac{1}{1-r}$$

$\endgroup$
7
  • 2
    $\begingroup$ What's the point of posting this for the $N$th time? $\endgroup$
    – user147263
    Nov 11, 2015 at 23:15
  • 1
    $\begingroup$ To assist users who can't perform a simple google search $\endgroup$
    – Varun Iyer
    Nov 11, 2015 at 23:15
  • 1
    $\begingroup$ I tried to google it, but since I had no idea that this was called a geometric series, I couldn't really find anything. Now that I know, I can find the answer myself of course. I just didn't know it was called that. But thanks anyway! $\endgroup$
    – notadam
    Nov 11, 2015 at 23:18
  • 1
    $\begingroup$ @NormalHuman you see the OPs answer. $\endgroup$
    – Varun Iyer
    Nov 11, 2015 at 23:20
  • 1
    $\begingroup$ My point stands: they can be assisted by marking their question as a duplicate of a canonical question, better than by a hurried two-line answer. $\endgroup$
    – user147263
    Nov 11, 2015 at 23:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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