Finite Sum $sum_{i=1}^nfrac i {2^i}$












9












$begingroup$


I'm trying to find the sum of :



$$sum_{i=1}^nfrac i {2^i}$$



I've tried to run $i$ from $1$ to $∞$ , and found that the sum is $2$ , i.e :



$$sum_{i=1}^inftyfrac i {2^i} =2$$



since :



$$(1/2 + 1/4 + 1/8 + cdots) + (1/4 + 1/8 + 1/16 +cdots) + (1/8 + 1/16 + cdots) +cdots = 1+ 1/2 + 1/4 + 1/8 + cdots = 2 $$



But when I run $i$ to $n$ , it's a little bit different , can anyone please explain ?



Regards










share|cite|improve this question











$endgroup$












  • $begingroup$
    When you sum till $n$, the left hand side of your last displayed equation is the sum of $n$ geometric series that grow shorter and shorter. Use the formula for the sum of a finite geometric series on each of the $n$ series, and then sum the sums.
    $endgroup$
    – Dilip Sarwate
    Apr 8 '12 at 13:29








  • 1




    $begingroup$
    You could also try differentiating $sum x^{n + 1}$ term by term. Then you will find an expression for $sum n x^{n}$. Set $x = frac{1}{2}$
    $endgroup$
    – Pedro
    Apr 8 '12 at 13:32








  • 1




    $begingroup$
    See also answers to these questions: How to compute the formula $sum limits_{r=1}^d r cdot 2^r$?, What is the limit of $sum limits_{n=1}^{infty}n(2/3)^n$, How can I evaluate $sum_{n=1}^infty frac{2n}{3^{n+1}}$.
    $endgroup$
    – Martin Sleziak
    Apr 8 '12 at 14:10
















9












$begingroup$


I'm trying to find the sum of :



$$sum_{i=1}^nfrac i {2^i}$$



I've tried to run $i$ from $1$ to $∞$ , and found that the sum is $2$ , i.e :



$$sum_{i=1}^inftyfrac i {2^i} =2$$



since :



$$(1/2 + 1/4 + 1/8 + cdots) + (1/4 + 1/8 + 1/16 +cdots) + (1/8 + 1/16 + cdots) +cdots = 1+ 1/2 + 1/4 + 1/8 + cdots = 2 $$



But when I run $i$ to $n$ , it's a little bit different , can anyone please explain ?



Regards










share|cite|improve this question











$endgroup$












  • $begingroup$
    When you sum till $n$, the left hand side of your last displayed equation is the sum of $n$ geometric series that grow shorter and shorter. Use the formula for the sum of a finite geometric series on each of the $n$ series, and then sum the sums.
    $endgroup$
    – Dilip Sarwate
    Apr 8 '12 at 13:29








  • 1




    $begingroup$
    You could also try differentiating $sum x^{n + 1}$ term by term. Then you will find an expression for $sum n x^{n}$. Set $x = frac{1}{2}$
    $endgroup$
    – Pedro
    Apr 8 '12 at 13:32








  • 1




    $begingroup$
    See also answers to these questions: How to compute the formula $sum limits_{r=1}^d r cdot 2^r$?, What is the limit of $sum limits_{n=1}^{infty}n(2/3)^n$, How can I evaluate $sum_{n=1}^infty frac{2n}{3^{n+1}}$.
    $endgroup$
    – Martin Sleziak
    Apr 8 '12 at 14:10














9












9








9


5



$begingroup$


I'm trying to find the sum of :



$$sum_{i=1}^nfrac i {2^i}$$



I've tried to run $i$ from $1$ to $∞$ , and found that the sum is $2$ , i.e :



$$sum_{i=1}^inftyfrac i {2^i} =2$$



since :



$$(1/2 + 1/4 + 1/8 + cdots) + (1/4 + 1/8 + 1/16 +cdots) + (1/8 + 1/16 + cdots) +cdots = 1+ 1/2 + 1/4 + 1/8 + cdots = 2 $$



But when I run $i$ to $n$ , it's a little bit different , can anyone please explain ?



Regards










share|cite|improve this question











$endgroup$




I'm trying to find the sum of :



$$sum_{i=1}^nfrac i {2^i}$$



I've tried to run $i$ from $1$ to $∞$ , and found that the sum is $2$ , i.e :



$$sum_{i=1}^inftyfrac i {2^i} =2$$



since :



$$(1/2 + 1/4 + 1/8 + cdots) + (1/4 + 1/8 + 1/16 +cdots) + (1/8 + 1/16 + cdots) +cdots = 1+ 1/2 + 1/4 + 1/8 + cdots = 2 $$



But when I run $i$ to $n$ , it's a little bit different , can anyone please explain ?



Regards







summation






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Oct 3 '16 at 12:29









Martin Sleziak

45k10122277




45k10122277










asked Apr 8 '12 at 13:21









JANJAN

98852029




98852029












  • $begingroup$
    When you sum till $n$, the left hand side of your last displayed equation is the sum of $n$ geometric series that grow shorter and shorter. Use the formula for the sum of a finite geometric series on each of the $n$ series, and then sum the sums.
    $endgroup$
    – Dilip Sarwate
    Apr 8 '12 at 13:29








  • 1




    $begingroup$
    You could also try differentiating $sum x^{n + 1}$ term by term. Then you will find an expression for $sum n x^{n}$. Set $x = frac{1}{2}$
    $endgroup$
    – Pedro
    Apr 8 '12 at 13:32








  • 1




    $begingroup$
    See also answers to these questions: How to compute the formula $sum limits_{r=1}^d r cdot 2^r$?, What is the limit of $sum limits_{n=1}^{infty}n(2/3)^n$, How can I evaluate $sum_{n=1}^infty frac{2n}{3^{n+1}}$.
    $endgroup$
    – Martin Sleziak
    Apr 8 '12 at 14:10


















  • $begingroup$
    When you sum till $n$, the left hand side of your last displayed equation is the sum of $n$ geometric series that grow shorter and shorter. Use the formula for the sum of a finite geometric series on each of the $n$ series, and then sum the sums.
    $endgroup$
    – Dilip Sarwate
    Apr 8 '12 at 13:29








  • 1




    $begingroup$
    You could also try differentiating $sum x^{n + 1}$ term by term. Then you will find an expression for $sum n x^{n}$. Set $x = frac{1}{2}$
    $endgroup$
    – Pedro
    Apr 8 '12 at 13:32








  • 1




    $begingroup$
    See also answers to these questions: How to compute the formula $sum limits_{r=1}^d r cdot 2^r$?, What is the limit of $sum limits_{n=1}^{infty}n(2/3)^n$, How can I evaluate $sum_{n=1}^infty frac{2n}{3^{n+1}}$.
    $endgroup$
    – Martin Sleziak
    Apr 8 '12 at 14:10
















$begingroup$
When you sum till $n$, the left hand side of your last displayed equation is the sum of $n$ geometric series that grow shorter and shorter. Use the formula for the sum of a finite geometric series on each of the $n$ series, and then sum the sums.
$endgroup$
– Dilip Sarwate
Apr 8 '12 at 13:29






$begingroup$
When you sum till $n$, the left hand side of your last displayed equation is the sum of $n$ geometric series that grow shorter and shorter. Use the formula for the sum of a finite geometric series on each of the $n$ series, and then sum the sums.
$endgroup$
– Dilip Sarwate
Apr 8 '12 at 13:29






1




1




$begingroup$
You could also try differentiating $sum x^{n + 1}$ term by term. Then you will find an expression for $sum n x^{n}$. Set $x = frac{1}{2}$
$endgroup$
– Pedro
Apr 8 '12 at 13:32






$begingroup$
You could also try differentiating $sum x^{n + 1}$ term by term. Then you will find an expression for $sum n x^{n}$. Set $x = frac{1}{2}$
$endgroup$
– Pedro
Apr 8 '12 at 13:32






1




1




$begingroup$
See also answers to these questions: How to compute the formula $sum limits_{r=1}^d r cdot 2^r$?, What is the limit of $sum limits_{n=1}^{infty}n(2/3)^n$, How can I evaluate $sum_{n=1}^infty frac{2n}{3^{n+1}}$.
$endgroup$
– Martin Sleziak
Apr 8 '12 at 14:10




$begingroup$
See also answers to these questions: How to compute the formula $sum limits_{r=1}^d r cdot 2^r$?, What is the limit of $sum limits_{n=1}^{infty}n(2/3)^n$, How can I evaluate $sum_{n=1}^infty frac{2n}{3^{n+1}}$.
$endgroup$
– Martin Sleziak
Apr 8 '12 at 14:10










3 Answers
3






active

oldest

votes


















10












$begingroup$

For the sake of generality, and more importantly to make typing easier, we use $t$ instead of $1/2$.



We want to find the sum
$$S(t)=t+2t^2+3t^3+4t^4+ cdots +(n-1)t^{n-1}+nt^n.$$
Multiplying both sides by $t$, we get
$$tS(t)=t^2+2t^3+3t^4 +4t^5+ cdots +(n-1)t^{n}+nt^{n+1}.$$
Subtract, and rearrange a bit. We get
$$(1-t)S(t)=(t+t^2+t^3+ +cdots +t^n)-nt^{n+1}.tag{$ast$}$$
Recall that for $tne 1$, we have $t+t^2+t^3+ +cdots +t^n=tfrac{1-t^n}{1-t}$.

If we do not recall the sum of a finite geometric series, we can find it by a trick similar to (but simpler) than the trick that got us to $(ast)$.



Substitute, and solve for $S(t)$. (The method breaks down when $t=1$ because of a division by $0$ issue. But $t=1$ is easy to handle separately.)



Remark: Now that we have obtained an expression for $sum_{k=1}^n kt^k$, we can use this expression, and the same basic trick, to find $sum_{k=1}^n k^2t^k$, and then $sum_{k=1}^n k^3t^k$. Things get rapidly more unpleasant, and to get much further one needs to introduce new ideas.






share|cite|improve this answer











$endgroup$





















    6












    $begingroup$

    Let $r=1/2$.



    Write all the terms being added as
    $$ left.
    matrix{
    r& phantom{2}r^2& phantom{2}r^3& phantom{2}r^4&cdots&phantom{n}r^n cr
    0 & phantom{2}r^2& phantom{2}r^3& phantom{2}r^4&cdots& phantom{2}r^n cr
    0&0& phantom{2}r^3& phantom{2}r^4&cdots& phantom{2}r^ncr
    & vdots&&&&cr
    0&0&0&0&cdots& phantom{2} r^ncr
    } right} n-text{rows}
    $$
    $$
    overline{matrix{ r&2r^2&3r^3&4r^4&cdots&nr^n}phantom{dfgfsdfsfs}}
    $$
    Using the formula for the sum of a finite Geometric series, the sum of row $i$ is
    $$
    r^i+r^{i+1}+cdots+ r^n ={r^i-r^{n+1}over 1-r }.
    $$



    The sum of the row sums is
    $$eqalign{
    sum_{i=1}^n {r^i-r^{n+1}over 1-r } &=
    {1over 1-r}Bigl(,sum_{i=1}^n r^i- sum_{i=1}^nr^{n+1} Bigr)cr
    &={1over 1-r}cdot biggl({r-r^{n+1}over 1-r}-nr^{n+1}biggr)cr
    &={1over 1-r}cdot biggl({r-r^{n+1}over 1-r}-{(1-r)nr^{n+1}over1-r}biggr)cr
    &={ r-r^{n+1}-(1-r)nr^{n+1}over (1-r)^2}cr
    &={r-r^{n+1}(1+n-nr)over (1-r)^2}.
    }
    $$






    share|cite|improve this answer











    $endgroup$





















      3












      $begingroup$

      Hint: Consider $f(x) = sum_{i=0}^n x^i$ as a function of $x$. This is a geometric series, so you can get a simpler expression for this:



      $$sum_{i=0}^n x^i = f(x) = frac{1 - x^{n+1}}{1 - x}.$$



      Now differentiating $f(x)$ with respect to $x$, we get



      $$sum_{i=1}^n i x^{i-1} = f'(x) = left(frac{1 - x^{n+1}}{1 - x}right)' = color{red}{?}$$



      Multiplying everything by $x$ we get



      $$sum_{i=1}^n i x^i = x f'(x) = color{red}{?}$$



      Now plug in $x = frac{1}{2}$ to get



      $$sum_{i=1}^n i left(frac{1}{2}right)^i = frac{1}{2} f'left(frac{1}{2}right) = color{red}{?}$$






      share|cite|improve this answer









      $endgroup$














        Your Answer





        StackExchange.ifUsing("editor", function () {
        return StackExchange.using("mathjaxEditing", function () {
        StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
        StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
        });
        });
        }, "mathjax-editing");

        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "69"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        noCode: true, onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f129302%2ffinite-sum-sum-i-1n-frac-i-2i%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        10












        $begingroup$

        For the sake of generality, and more importantly to make typing easier, we use $t$ instead of $1/2$.



        We want to find the sum
        $$S(t)=t+2t^2+3t^3+4t^4+ cdots +(n-1)t^{n-1}+nt^n.$$
        Multiplying both sides by $t$, we get
        $$tS(t)=t^2+2t^3+3t^4 +4t^5+ cdots +(n-1)t^{n}+nt^{n+1}.$$
        Subtract, and rearrange a bit. We get
        $$(1-t)S(t)=(t+t^2+t^3+ +cdots +t^n)-nt^{n+1}.tag{$ast$}$$
        Recall that for $tne 1$, we have $t+t^2+t^3+ +cdots +t^n=tfrac{1-t^n}{1-t}$.

        If we do not recall the sum of a finite geometric series, we can find it by a trick similar to (but simpler) than the trick that got us to $(ast)$.



        Substitute, and solve for $S(t)$. (The method breaks down when $t=1$ because of a division by $0$ issue. But $t=1$ is easy to handle separately.)



        Remark: Now that we have obtained an expression for $sum_{k=1}^n kt^k$, we can use this expression, and the same basic trick, to find $sum_{k=1}^n k^2t^k$, and then $sum_{k=1}^n k^3t^k$. Things get rapidly more unpleasant, and to get much further one needs to introduce new ideas.






        share|cite|improve this answer











        $endgroup$


















          10












          $begingroup$

          For the sake of generality, and more importantly to make typing easier, we use $t$ instead of $1/2$.



          We want to find the sum
          $$S(t)=t+2t^2+3t^3+4t^4+ cdots +(n-1)t^{n-1}+nt^n.$$
          Multiplying both sides by $t$, we get
          $$tS(t)=t^2+2t^3+3t^4 +4t^5+ cdots +(n-1)t^{n}+nt^{n+1}.$$
          Subtract, and rearrange a bit. We get
          $$(1-t)S(t)=(t+t^2+t^3+ +cdots +t^n)-nt^{n+1}.tag{$ast$}$$
          Recall that for $tne 1$, we have $t+t^2+t^3+ +cdots +t^n=tfrac{1-t^n}{1-t}$.

          If we do not recall the sum of a finite geometric series, we can find it by a trick similar to (but simpler) than the trick that got us to $(ast)$.



          Substitute, and solve for $S(t)$. (The method breaks down when $t=1$ because of a division by $0$ issue. But $t=1$ is easy to handle separately.)



          Remark: Now that we have obtained an expression for $sum_{k=1}^n kt^k$, we can use this expression, and the same basic trick, to find $sum_{k=1}^n k^2t^k$, and then $sum_{k=1}^n k^3t^k$. Things get rapidly more unpleasant, and to get much further one needs to introduce new ideas.






          share|cite|improve this answer











          $endgroup$
















            10












            10








            10





            $begingroup$

            For the sake of generality, and more importantly to make typing easier, we use $t$ instead of $1/2$.



            We want to find the sum
            $$S(t)=t+2t^2+3t^3+4t^4+ cdots +(n-1)t^{n-1}+nt^n.$$
            Multiplying both sides by $t$, we get
            $$tS(t)=t^2+2t^3+3t^4 +4t^5+ cdots +(n-1)t^{n}+nt^{n+1}.$$
            Subtract, and rearrange a bit. We get
            $$(1-t)S(t)=(t+t^2+t^3+ +cdots +t^n)-nt^{n+1}.tag{$ast$}$$
            Recall that for $tne 1$, we have $t+t^2+t^3+ +cdots +t^n=tfrac{1-t^n}{1-t}$.

            If we do not recall the sum of a finite geometric series, we can find it by a trick similar to (but simpler) than the trick that got us to $(ast)$.



            Substitute, and solve for $S(t)$. (The method breaks down when $t=1$ because of a division by $0$ issue. But $t=1$ is easy to handle separately.)



            Remark: Now that we have obtained an expression for $sum_{k=1}^n kt^k$, we can use this expression, and the same basic trick, to find $sum_{k=1}^n k^2t^k$, and then $sum_{k=1}^n k^3t^k$. Things get rapidly more unpleasant, and to get much further one needs to introduce new ideas.






            share|cite|improve this answer











            $endgroup$



            For the sake of generality, and more importantly to make typing easier, we use $t$ instead of $1/2$.



            We want to find the sum
            $$S(t)=t+2t^2+3t^3+4t^4+ cdots +(n-1)t^{n-1}+nt^n.$$
            Multiplying both sides by $t$, we get
            $$tS(t)=t^2+2t^3+3t^4 +4t^5+ cdots +(n-1)t^{n}+nt^{n+1}.$$
            Subtract, and rearrange a bit. We get
            $$(1-t)S(t)=(t+t^2+t^3+ +cdots +t^n)-nt^{n+1}.tag{$ast$}$$
            Recall that for $tne 1$, we have $t+t^2+t^3+ +cdots +t^n=tfrac{1-t^n}{1-t}$.

            If we do not recall the sum of a finite geometric series, we can find it by a trick similar to (but simpler) than the trick that got us to $(ast)$.



            Substitute, and solve for $S(t)$. (The method breaks down when $t=1$ because of a division by $0$ issue. But $t=1$ is easy to handle separately.)



            Remark: Now that we have obtained an expression for $sum_{k=1}^n kt^k$, we can use this expression, and the same basic trick, to find $sum_{k=1}^n k^2t^k$, and then $sum_{k=1}^n k^3t^k$. Things get rapidly more unpleasant, and to get much further one needs to introduce new ideas.







            share|cite|improve this answer














            share|cite|improve this answer



            share|cite|improve this answer








            edited Oct 17 '18 at 11:29









            Hilder Vítor Lima Pereira

            323114




            323114










            answered Apr 8 '12 at 13:38









            André NicolasAndré Nicolas

            455k36432820




            455k36432820























                6












                $begingroup$

                Let $r=1/2$.



                Write all the terms being added as
                $$ left.
                matrix{
                r& phantom{2}r^2& phantom{2}r^3& phantom{2}r^4&cdots&phantom{n}r^n cr
                0 & phantom{2}r^2& phantom{2}r^3& phantom{2}r^4&cdots& phantom{2}r^n cr
                0&0& phantom{2}r^3& phantom{2}r^4&cdots& phantom{2}r^ncr
                & vdots&&&&cr
                0&0&0&0&cdots& phantom{2} r^ncr
                } right} n-text{rows}
                $$
                $$
                overline{matrix{ r&2r^2&3r^3&4r^4&cdots&nr^n}phantom{dfgfsdfsfs}}
                $$
                Using the formula for the sum of a finite Geometric series, the sum of row $i$ is
                $$
                r^i+r^{i+1}+cdots+ r^n ={r^i-r^{n+1}over 1-r }.
                $$



                The sum of the row sums is
                $$eqalign{
                sum_{i=1}^n {r^i-r^{n+1}over 1-r } &=
                {1over 1-r}Bigl(,sum_{i=1}^n r^i- sum_{i=1}^nr^{n+1} Bigr)cr
                &={1over 1-r}cdot biggl({r-r^{n+1}over 1-r}-nr^{n+1}biggr)cr
                &={1over 1-r}cdot biggl({r-r^{n+1}over 1-r}-{(1-r)nr^{n+1}over1-r}biggr)cr
                &={ r-r^{n+1}-(1-r)nr^{n+1}over (1-r)^2}cr
                &={r-r^{n+1}(1+n-nr)over (1-r)^2}.
                }
                $$






                share|cite|improve this answer











                $endgroup$


















                  6












                  $begingroup$

                  Let $r=1/2$.



                  Write all the terms being added as
                  $$ left.
                  matrix{
                  r& phantom{2}r^2& phantom{2}r^3& phantom{2}r^4&cdots&phantom{n}r^n cr
                  0 & phantom{2}r^2& phantom{2}r^3& phantom{2}r^4&cdots& phantom{2}r^n cr
                  0&0& phantom{2}r^3& phantom{2}r^4&cdots& phantom{2}r^ncr
                  & vdots&&&&cr
                  0&0&0&0&cdots& phantom{2} r^ncr
                  } right} n-text{rows}
                  $$
                  $$
                  overline{matrix{ r&2r^2&3r^3&4r^4&cdots&nr^n}phantom{dfgfsdfsfs}}
                  $$
                  Using the formula for the sum of a finite Geometric series, the sum of row $i$ is
                  $$
                  r^i+r^{i+1}+cdots+ r^n ={r^i-r^{n+1}over 1-r }.
                  $$



                  The sum of the row sums is
                  $$eqalign{
                  sum_{i=1}^n {r^i-r^{n+1}over 1-r } &=
                  {1over 1-r}Bigl(,sum_{i=1}^n r^i- sum_{i=1}^nr^{n+1} Bigr)cr
                  &={1over 1-r}cdot biggl({r-r^{n+1}over 1-r}-nr^{n+1}biggr)cr
                  &={1over 1-r}cdot biggl({r-r^{n+1}over 1-r}-{(1-r)nr^{n+1}over1-r}biggr)cr
                  &={ r-r^{n+1}-(1-r)nr^{n+1}over (1-r)^2}cr
                  &={r-r^{n+1}(1+n-nr)over (1-r)^2}.
                  }
                  $$






                  share|cite|improve this answer











                  $endgroup$
















                    6












                    6








                    6





                    $begingroup$

                    Let $r=1/2$.



                    Write all the terms being added as
                    $$ left.
                    matrix{
                    r& phantom{2}r^2& phantom{2}r^3& phantom{2}r^4&cdots&phantom{n}r^n cr
                    0 & phantom{2}r^2& phantom{2}r^3& phantom{2}r^4&cdots& phantom{2}r^n cr
                    0&0& phantom{2}r^3& phantom{2}r^4&cdots& phantom{2}r^ncr
                    & vdots&&&&cr
                    0&0&0&0&cdots& phantom{2} r^ncr
                    } right} n-text{rows}
                    $$
                    $$
                    overline{matrix{ r&2r^2&3r^3&4r^4&cdots&nr^n}phantom{dfgfsdfsfs}}
                    $$
                    Using the formula for the sum of a finite Geometric series, the sum of row $i$ is
                    $$
                    r^i+r^{i+1}+cdots+ r^n ={r^i-r^{n+1}over 1-r }.
                    $$



                    The sum of the row sums is
                    $$eqalign{
                    sum_{i=1}^n {r^i-r^{n+1}over 1-r } &=
                    {1over 1-r}Bigl(,sum_{i=1}^n r^i- sum_{i=1}^nr^{n+1} Bigr)cr
                    &={1over 1-r}cdot biggl({r-r^{n+1}over 1-r}-nr^{n+1}biggr)cr
                    &={1over 1-r}cdot biggl({r-r^{n+1}over 1-r}-{(1-r)nr^{n+1}over1-r}biggr)cr
                    &={ r-r^{n+1}-(1-r)nr^{n+1}over (1-r)^2}cr
                    &={r-r^{n+1}(1+n-nr)over (1-r)^2}.
                    }
                    $$






                    share|cite|improve this answer











                    $endgroup$



                    Let $r=1/2$.



                    Write all the terms being added as
                    $$ left.
                    matrix{
                    r& phantom{2}r^2& phantom{2}r^3& phantom{2}r^4&cdots&phantom{n}r^n cr
                    0 & phantom{2}r^2& phantom{2}r^3& phantom{2}r^4&cdots& phantom{2}r^n cr
                    0&0& phantom{2}r^3& phantom{2}r^4&cdots& phantom{2}r^ncr
                    & vdots&&&&cr
                    0&0&0&0&cdots& phantom{2} r^ncr
                    } right} n-text{rows}
                    $$
                    $$
                    overline{matrix{ r&2r^2&3r^3&4r^4&cdots&nr^n}phantom{dfgfsdfsfs}}
                    $$
                    Using the formula for the sum of a finite Geometric series, the sum of row $i$ is
                    $$
                    r^i+r^{i+1}+cdots+ r^n ={r^i-r^{n+1}over 1-r }.
                    $$



                    The sum of the row sums is
                    $$eqalign{
                    sum_{i=1}^n {r^i-r^{n+1}over 1-r } &=
                    {1over 1-r}Bigl(,sum_{i=1}^n r^i- sum_{i=1}^nr^{n+1} Bigr)cr
                    &={1over 1-r}cdot biggl({r-r^{n+1}over 1-r}-nr^{n+1}biggr)cr
                    &={1over 1-r}cdot biggl({r-r^{n+1}over 1-r}-{(1-r)nr^{n+1}over1-r}biggr)cr
                    &={ r-r^{n+1}-(1-r)nr^{n+1}over (1-r)^2}cr
                    &={r-r^{n+1}(1+n-nr)over (1-r)^2}.
                    }
                    $$







                    share|cite|improve this answer














                    share|cite|improve this answer



                    share|cite|improve this answer








                    edited Apr 8 '12 at 14:39

























                    answered Apr 8 '12 at 14:20









                    David MitraDavid Mitra

                    63.7k6102165




                    63.7k6102165























                        3












                        $begingroup$

                        Hint: Consider $f(x) = sum_{i=0}^n x^i$ as a function of $x$. This is a geometric series, so you can get a simpler expression for this:



                        $$sum_{i=0}^n x^i = f(x) = frac{1 - x^{n+1}}{1 - x}.$$



                        Now differentiating $f(x)$ with respect to $x$, we get



                        $$sum_{i=1}^n i x^{i-1} = f'(x) = left(frac{1 - x^{n+1}}{1 - x}right)' = color{red}{?}$$



                        Multiplying everything by $x$ we get



                        $$sum_{i=1}^n i x^i = x f'(x) = color{red}{?}$$



                        Now plug in $x = frac{1}{2}$ to get



                        $$sum_{i=1}^n i left(frac{1}{2}right)^i = frac{1}{2} f'left(frac{1}{2}right) = color{red}{?}$$






                        share|cite|improve this answer









                        $endgroup$


















                          3












                          $begingroup$

                          Hint: Consider $f(x) = sum_{i=0}^n x^i$ as a function of $x$. This is a geometric series, so you can get a simpler expression for this:



                          $$sum_{i=0}^n x^i = f(x) = frac{1 - x^{n+1}}{1 - x}.$$



                          Now differentiating $f(x)$ with respect to $x$, we get



                          $$sum_{i=1}^n i x^{i-1} = f'(x) = left(frac{1 - x^{n+1}}{1 - x}right)' = color{red}{?}$$



                          Multiplying everything by $x$ we get



                          $$sum_{i=1}^n i x^i = x f'(x) = color{red}{?}$$



                          Now plug in $x = frac{1}{2}$ to get



                          $$sum_{i=1}^n i left(frac{1}{2}right)^i = frac{1}{2} f'left(frac{1}{2}right) = color{red}{?}$$






                          share|cite|improve this answer









                          $endgroup$
















                            3












                            3








                            3





                            $begingroup$

                            Hint: Consider $f(x) = sum_{i=0}^n x^i$ as a function of $x$. This is a geometric series, so you can get a simpler expression for this:



                            $$sum_{i=0}^n x^i = f(x) = frac{1 - x^{n+1}}{1 - x}.$$



                            Now differentiating $f(x)$ with respect to $x$, we get



                            $$sum_{i=1}^n i x^{i-1} = f'(x) = left(frac{1 - x^{n+1}}{1 - x}right)' = color{red}{?}$$



                            Multiplying everything by $x$ we get



                            $$sum_{i=1}^n i x^i = x f'(x) = color{red}{?}$$



                            Now plug in $x = frac{1}{2}$ to get



                            $$sum_{i=1}^n i left(frac{1}{2}right)^i = frac{1}{2} f'left(frac{1}{2}right) = color{red}{?}$$






                            share|cite|improve this answer









                            $endgroup$



                            Hint: Consider $f(x) = sum_{i=0}^n x^i$ as a function of $x$. This is a geometric series, so you can get a simpler expression for this:



                            $$sum_{i=0}^n x^i = f(x) = frac{1 - x^{n+1}}{1 - x}.$$



                            Now differentiating $f(x)$ with respect to $x$, we get



                            $$sum_{i=1}^n i x^{i-1} = f'(x) = left(frac{1 - x^{n+1}}{1 - x}right)' = color{red}{?}$$



                            Multiplying everything by $x$ we get



                            $$sum_{i=1}^n i x^i = x f'(x) = color{red}{?}$$



                            Now plug in $x = frac{1}{2}$ to get



                            $$sum_{i=1}^n i left(frac{1}{2}right)^i = frac{1}{2} f'left(frac{1}{2}right) = color{red}{?}$$







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Apr 8 '12 at 13:35









                            TMMTMM

                            9,13532848




                            9,13532848






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Mathematics Stack Exchange!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                Use MathJax to format equations. MathJax reference.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f129302%2ffinite-sum-sum-i-1n-frac-i-2i%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Bressuire

                                Cabo Verde

                                Gyllenstierna