Further explanation for steps of an equation that proofs that $sum^{n}_{k=0}kcdot binom{n}{k}=ncdot2^{n-1}$












1












$begingroup$


So, this is one of the questions in my textbook, which seems to be quite common: $$sum^{n}_{k=0}kcdot binom{n}{k}=ncdot2^{n-1}$$



The same book provides the following solution:
$$sum_{k=0}^{n}kcdot binom{n}{k}= sum^{n}_{k=0}ncdotbinom{n-1}{k-1}=nsum^{n-1}_{k=0}binom{n-1}{k}=ncdot2^{n-1}$$



What is unclear to me, is (1) how I get from $$sum^{n}_{k=0}ncdotbinom{n-1}{k-1} $$ to$$nsum^{n-1}_{k=0}binom{n-1}{k}$$ and (2) from $$nsum^{n-1}_{k=0}binom{n-1}{k}$$ to $$ncdot2^{n-1}$$ respectively.










share|cite|improve this question









$endgroup$

















    1












    $begingroup$


    So, this is one of the questions in my textbook, which seems to be quite common: $$sum^{n}_{k=0}kcdot binom{n}{k}=ncdot2^{n-1}$$



    The same book provides the following solution:
    $$sum_{k=0}^{n}kcdot binom{n}{k}= sum^{n}_{k=0}ncdotbinom{n-1}{k-1}=nsum^{n-1}_{k=0}binom{n-1}{k}=ncdot2^{n-1}$$



    What is unclear to me, is (1) how I get from $$sum^{n}_{k=0}ncdotbinom{n-1}{k-1} $$ to$$nsum^{n-1}_{k=0}binom{n-1}{k}$$ and (2) from $$nsum^{n-1}_{k=0}binom{n-1}{k}$$ to $$ncdot2^{n-1}$$ respectively.










    share|cite|improve this question









    $endgroup$















      1












      1








      1





      $begingroup$


      So, this is one of the questions in my textbook, which seems to be quite common: $$sum^{n}_{k=0}kcdot binom{n}{k}=ncdot2^{n-1}$$



      The same book provides the following solution:
      $$sum_{k=0}^{n}kcdot binom{n}{k}= sum^{n}_{k=0}ncdotbinom{n-1}{k-1}=nsum^{n-1}_{k=0}binom{n-1}{k}=ncdot2^{n-1}$$



      What is unclear to me, is (1) how I get from $$sum^{n}_{k=0}ncdotbinom{n-1}{k-1} $$ to$$nsum^{n-1}_{k=0}binom{n-1}{k}$$ and (2) from $$nsum^{n-1}_{k=0}binom{n-1}{k}$$ to $$ncdot2^{n-1}$$ respectively.










      share|cite|improve this question









      $endgroup$




      So, this is one of the questions in my textbook, which seems to be quite common: $$sum^{n}_{k=0}kcdot binom{n}{k}=ncdot2^{n-1}$$



      The same book provides the following solution:
      $$sum_{k=0}^{n}kcdot binom{n}{k}= sum^{n}_{k=0}ncdotbinom{n-1}{k-1}=nsum^{n-1}_{k=0}binom{n-1}{k}=ncdot2^{n-1}$$



      What is unclear to me, is (1) how I get from $$sum^{n}_{k=0}ncdotbinom{n-1}{k-1} $$ to$$nsum^{n-1}_{k=0}binom{n-1}{k}$$ and (2) from $$nsum^{n-1}_{k=0}binom{n-1}{k}$$ to $$ncdot2^{n-1}$$ respectively.







      sequences-and-series discrete-mathematics summation factorial






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Dec 22 '18 at 15:26









      LuckyLucky

      1127




      1127






















          2 Answers
          2






          active

          oldest

          votes


















          1












          $begingroup$

          (1) We have $$sum_{k=0}^nncdot{n-1choose k-1}=nsum_{k=0}^{n-1}{n-1choose k}$$ by a substitution $k'=k-1$. We can obviously place the $n$ at the front, and we then use ${n-1choose-1}=0$, so $k=0$ can be ignored.



          (2) Here we just use the formula $sum_{k=0}^n{nchoose k}=2^n$. There is a very nice combinatorial proof of this. The term ${nchoose k}$ represents the amount of ways to pick $k$ items out of $n$. If we sum over all $0leq kleq n$, we just look at the total amount of ways to pick any set out of $n$ items. There are $2^n$ ways, since we can choose for each item whether we pick it or not.



          There is also a very nice combinatorial proof of the statement you want to prove in the first place. The term $kcdot{nchoose k}$ can be thought of the amount of ways to pick $k$ items out of $n$ and then choosing one of the $k$ items as your favorite. Summing over $0leq kleq n$, we just look at the total amount of ways to pick any set out of $n$ items, and then choosing one of the picked items as your favorite. We can also reverse this: First choose your favorite item, and then pick any set of remaining items out of the $n-1$ left over items. This results in $ncdot2^{n-1}$ possibilities.






          share|cite|improve this answer









          $endgroup$





















            0












            $begingroup$

            The second part is very simple. As the $sum^{n-1}_{k=0}binom{n-1}{k}$ is the size of power set of a set with size of $n-1$. Hence, it is equal to $2^{n-1}$.



            Hint: For the first part, there is a mistake in the range of $sum$. If it would be true, you can show it using a simple change variable ($u = k - 1$ and change the range of sigma from ($1$ to $n$) to ($0$ to $n-1$)).






            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%2f3049544%2ffurther-explanation-for-steps-of-an-equation-that-proofs-that-sumn-k-0k-c%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1












              $begingroup$

              (1) We have $$sum_{k=0}^nncdot{n-1choose k-1}=nsum_{k=0}^{n-1}{n-1choose k}$$ by a substitution $k'=k-1$. We can obviously place the $n$ at the front, and we then use ${n-1choose-1}=0$, so $k=0$ can be ignored.



              (2) Here we just use the formula $sum_{k=0}^n{nchoose k}=2^n$. There is a very nice combinatorial proof of this. The term ${nchoose k}$ represents the amount of ways to pick $k$ items out of $n$. If we sum over all $0leq kleq n$, we just look at the total amount of ways to pick any set out of $n$ items. There are $2^n$ ways, since we can choose for each item whether we pick it or not.



              There is also a very nice combinatorial proof of the statement you want to prove in the first place. The term $kcdot{nchoose k}$ can be thought of the amount of ways to pick $k$ items out of $n$ and then choosing one of the $k$ items as your favorite. Summing over $0leq kleq n$, we just look at the total amount of ways to pick any set out of $n$ items, and then choosing one of the picked items as your favorite. We can also reverse this: First choose your favorite item, and then pick any set of remaining items out of the $n-1$ left over items. This results in $ncdot2^{n-1}$ possibilities.






              share|cite|improve this answer









              $endgroup$


















                1












                $begingroup$

                (1) We have $$sum_{k=0}^nncdot{n-1choose k-1}=nsum_{k=0}^{n-1}{n-1choose k}$$ by a substitution $k'=k-1$. We can obviously place the $n$ at the front, and we then use ${n-1choose-1}=0$, so $k=0$ can be ignored.



                (2) Here we just use the formula $sum_{k=0}^n{nchoose k}=2^n$. There is a very nice combinatorial proof of this. The term ${nchoose k}$ represents the amount of ways to pick $k$ items out of $n$. If we sum over all $0leq kleq n$, we just look at the total amount of ways to pick any set out of $n$ items. There are $2^n$ ways, since we can choose for each item whether we pick it or not.



                There is also a very nice combinatorial proof of the statement you want to prove in the first place. The term $kcdot{nchoose k}$ can be thought of the amount of ways to pick $k$ items out of $n$ and then choosing one of the $k$ items as your favorite. Summing over $0leq kleq n$, we just look at the total amount of ways to pick any set out of $n$ items, and then choosing one of the picked items as your favorite. We can also reverse this: First choose your favorite item, and then pick any set of remaining items out of the $n-1$ left over items. This results in $ncdot2^{n-1}$ possibilities.






                share|cite|improve this answer









                $endgroup$
















                  1












                  1








                  1





                  $begingroup$

                  (1) We have $$sum_{k=0}^nncdot{n-1choose k-1}=nsum_{k=0}^{n-1}{n-1choose k}$$ by a substitution $k'=k-1$. We can obviously place the $n$ at the front, and we then use ${n-1choose-1}=0$, so $k=0$ can be ignored.



                  (2) Here we just use the formula $sum_{k=0}^n{nchoose k}=2^n$. There is a very nice combinatorial proof of this. The term ${nchoose k}$ represents the amount of ways to pick $k$ items out of $n$. If we sum over all $0leq kleq n$, we just look at the total amount of ways to pick any set out of $n$ items. There are $2^n$ ways, since we can choose for each item whether we pick it or not.



                  There is also a very nice combinatorial proof of the statement you want to prove in the first place. The term $kcdot{nchoose k}$ can be thought of the amount of ways to pick $k$ items out of $n$ and then choosing one of the $k$ items as your favorite. Summing over $0leq kleq n$, we just look at the total amount of ways to pick any set out of $n$ items, and then choosing one of the picked items as your favorite. We can also reverse this: First choose your favorite item, and then pick any set of remaining items out of the $n-1$ left over items. This results in $ncdot2^{n-1}$ possibilities.






                  share|cite|improve this answer









                  $endgroup$



                  (1) We have $$sum_{k=0}^nncdot{n-1choose k-1}=nsum_{k=0}^{n-1}{n-1choose k}$$ by a substitution $k'=k-1$. We can obviously place the $n$ at the front, and we then use ${n-1choose-1}=0$, so $k=0$ can be ignored.



                  (2) Here we just use the formula $sum_{k=0}^n{nchoose k}=2^n$. There is a very nice combinatorial proof of this. The term ${nchoose k}$ represents the amount of ways to pick $k$ items out of $n$. If we sum over all $0leq kleq n$, we just look at the total amount of ways to pick any set out of $n$ items. There are $2^n$ ways, since we can choose for each item whether we pick it or not.



                  There is also a very nice combinatorial proof of the statement you want to prove in the first place. The term $kcdot{nchoose k}$ can be thought of the amount of ways to pick $k$ items out of $n$ and then choosing one of the $k$ items as your favorite. Summing over $0leq kleq n$, we just look at the total amount of ways to pick any set out of $n$ items, and then choosing one of the picked items as your favorite. We can also reverse this: First choose your favorite item, and then pick any set of remaining items out of the $n-1$ left over items. This results in $ncdot2^{n-1}$ possibilities.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Dec 22 '18 at 15:38









                  SmileyCraftSmileyCraft

                  3,566517




                  3,566517























                      0












                      $begingroup$

                      The second part is very simple. As the $sum^{n-1}_{k=0}binom{n-1}{k}$ is the size of power set of a set with size of $n-1$. Hence, it is equal to $2^{n-1}$.



                      Hint: For the first part, there is a mistake in the range of $sum$. If it would be true, you can show it using a simple change variable ($u = k - 1$ and change the range of sigma from ($1$ to $n$) to ($0$ to $n-1$)).






                      share|cite|improve this answer











                      $endgroup$


















                        0












                        $begingroup$

                        The second part is very simple. As the $sum^{n-1}_{k=0}binom{n-1}{k}$ is the size of power set of a set with size of $n-1$. Hence, it is equal to $2^{n-1}$.



                        Hint: For the first part, there is a mistake in the range of $sum$. If it would be true, you can show it using a simple change variable ($u = k - 1$ and change the range of sigma from ($1$ to $n$) to ($0$ to $n-1$)).






                        share|cite|improve this answer











                        $endgroup$
















                          0












                          0








                          0





                          $begingroup$

                          The second part is very simple. As the $sum^{n-1}_{k=0}binom{n-1}{k}$ is the size of power set of a set with size of $n-1$. Hence, it is equal to $2^{n-1}$.



                          Hint: For the first part, there is a mistake in the range of $sum$. If it would be true, you can show it using a simple change variable ($u = k - 1$ and change the range of sigma from ($1$ to $n$) to ($0$ to $n-1$)).






                          share|cite|improve this answer











                          $endgroup$



                          The second part is very simple. As the $sum^{n-1}_{k=0}binom{n-1}{k}$ is the size of power set of a set with size of $n-1$. Hence, it is equal to $2^{n-1}$.



                          Hint: For the first part, there is a mistake in the range of $sum$. If it would be true, you can show it using a simple change variable ($u = k - 1$ and change the range of sigma from ($1$ to $n$) to ($0$ to $n-1$)).







                          share|cite|improve this answer














                          share|cite|improve this answer



                          share|cite|improve this answer








                          edited Dec 22 '18 at 15:34

























                          answered Dec 22 '18 at 15:29









                          OmGOmG

                          2,512722




                          2,512722






























                              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%2f3049544%2ffurther-explanation-for-steps-of-an-equation-that-proofs-that-sumn-k-0k-c%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

                              Måne

                              Storängen

                              VLT Carioca