Why aren't these two solutions equivalent? Combinatorics problem Announcing the arrival of...

2 sample t test for sample sizes - 30,000 and 150,000

How to leave only the following strings?

What is the ongoing value of the Kanban board to the developers as opposed to management

Is my guitar’s action too high?

Suing a Police Officer Instead of the Police Department

What is her name?

How to ask rejected full-time candidates to apply to teach individual courses?

Who can become a wight?

Can the van der Waals coefficients be negative in the van der Waals equation for real gases?

How to mute a string and play another at the same time

How to charge percentage of transaction cost?

Who's this lady in the war room?

Recursive calls to a function - why is the address of the parameter passed to it lowering with each call?

tabularx column has extra padding at right?

Putting Ant-Man on house arrest

When does Bran Stark remember Jamie pushing him?

Assertions In A Mock Callout Test

What's the difference between using dependency injection with a container and using a service locator?

What's the connection between Mr. Nancy and fried chicken?

What helicopter has the most rotor blades?

Is there a verb for listening stealthily?

Can I take recommendation from someone I met at a conference?

A journey... into the MIND

What is the evidence that custom checks in Northern Ireland are going to result in violence?



Why aren't these two solutions equivalent? Combinatorics problem



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Different answers from different formulations of combinatorics problemNice problem of combinatorics..Trouble Understanding this Combinatorics ProblemThe number of ways to distribute groups between professors. Combinatorics. Surjective problem?Seating 10 people in a circular tableCounting problem combinatorics with employees of a faculty.Committee Forming Combinatorics ProblemA combinatorics problem with positionsCard combinatorics - two answersWhere is my solution wrong for this combinatorics problem?












5












$begingroup$


I was given the following fact: there is a set $S$ of $11$ people, among which there are $4$ professors and $7$ students,



$S={p_1, p_2, p_3,p_4, s_1, s_2,...,s_7}$



We are requested to form from it a group of $5$ people, and we must have at least 3 professors.



I find that the two answers I will expose should be equivalent, but are not, and I can't figure out why.



Answer 1



The group of $5$ people must have at least $3$ professors. This means that three of the $5$ people will necessarily be a subset of $S_p$, the subset of $S$ containing only the professors. There are $binom{4}{3}$ subsets of $S_p$, and therefore I have $binom{4}{3}$ alternatives for the three professors that must be in the group.



Now that I've made sure this $3$ professors are in the group, I have $11-3=8$ people left to choose from. The remaining two persons of the group can either be professors or students, so I can pick any of those $8$. So for the two remaining places I have $binom{8}{2}$ alternatives. At last, I have $binom{4}{3} binom{8}{2} = 112$ ways of forming a group of $5$ people in which there will definitely be at least $3$ professors.



Answer 2



There are $4$ professors and, in my group of $5$ people, I must have at least $3$ of them. So I'll either have $3$ or $4$ professors.



If I have $3$ professors, I'll choose them from the $4$ professors, and fill the remaining two places with $2$ of $7$ students. This is $binom{4}{3} binom{7}{2}$.



If on the other hand I have $4$ professors, I'll have $binom{4}{4}$ alternatives for choosing them, and $binom{7}{1}$ ways of choosing a student for the remaining last place.



So at last there are $binom{4}{3}binom{7}{2}+binom{4}{4}binom{7}{1} = 91$ ways of making the group.



Doubt



As you can see, the answers are different. Answer $1$ says there are $112$ ways of making the group; answer two says $91$. However, both reasonings seem okay to me and I can't see why should they differ nor where. Perhaps someone can clear this up for me.










share|cite|improve this question











$endgroup$

















    5












    $begingroup$


    I was given the following fact: there is a set $S$ of $11$ people, among which there are $4$ professors and $7$ students,



    $S={p_1, p_2, p_3,p_4, s_1, s_2,...,s_7}$



    We are requested to form from it a group of $5$ people, and we must have at least 3 professors.



    I find that the two answers I will expose should be equivalent, but are not, and I can't figure out why.



    Answer 1



    The group of $5$ people must have at least $3$ professors. This means that three of the $5$ people will necessarily be a subset of $S_p$, the subset of $S$ containing only the professors. There are $binom{4}{3}$ subsets of $S_p$, and therefore I have $binom{4}{3}$ alternatives for the three professors that must be in the group.



    Now that I've made sure this $3$ professors are in the group, I have $11-3=8$ people left to choose from. The remaining two persons of the group can either be professors or students, so I can pick any of those $8$. So for the two remaining places I have $binom{8}{2}$ alternatives. At last, I have $binom{4}{3} binom{8}{2} = 112$ ways of forming a group of $5$ people in which there will definitely be at least $3$ professors.



    Answer 2



    There are $4$ professors and, in my group of $5$ people, I must have at least $3$ of them. So I'll either have $3$ or $4$ professors.



    If I have $3$ professors, I'll choose them from the $4$ professors, and fill the remaining two places with $2$ of $7$ students. This is $binom{4}{3} binom{7}{2}$.



    If on the other hand I have $4$ professors, I'll have $binom{4}{4}$ alternatives for choosing them, and $binom{7}{1}$ ways of choosing a student for the remaining last place.



    So at last there are $binom{4}{3}binom{7}{2}+binom{4}{4}binom{7}{1} = 91$ ways of making the group.



    Doubt



    As you can see, the answers are different. Answer $1$ says there are $112$ ways of making the group; answer two says $91$. However, both reasonings seem okay to me and I can't see why should they differ nor where. Perhaps someone can clear this up for me.










    share|cite|improve this question











    $endgroup$















      5












      5








      5


      1



      $begingroup$


      I was given the following fact: there is a set $S$ of $11$ people, among which there are $4$ professors and $7$ students,



      $S={p_1, p_2, p_3,p_4, s_1, s_2,...,s_7}$



      We are requested to form from it a group of $5$ people, and we must have at least 3 professors.



      I find that the two answers I will expose should be equivalent, but are not, and I can't figure out why.



      Answer 1



      The group of $5$ people must have at least $3$ professors. This means that three of the $5$ people will necessarily be a subset of $S_p$, the subset of $S$ containing only the professors. There are $binom{4}{3}$ subsets of $S_p$, and therefore I have $binom{4}{3}$ alternatives for the three professors that must be in the group.



      Now that I've made sure this $3$ professors are in the group, I have $11-3=8$ people left to choose from. The remaining two persons of the group can either be professors or students, so I can pick any of those $8$. So for the two remaining places I have $binom{8}{2}$ alternatives. At last, I have $binom{4}{3} binom{8}{2} = 112$ ways of forming a group of $5$ people in which there will definitely be at least $3$ professors.



      Answer 2



      There are $4$ professors and, in my group of $5$ people, I must have at least $3$ of them. So I'll either have $3$ or $4$ professors.



      If I have $3$ professors, I'll choose them from the $4$ professors, and fill the remaining two places with $2$ of $7$ students. This is $binom{4}{3} binom{7}{2}$.



      If on the other hand I have $4$ professors, I'll have $binom{4}{4}$ alternatives for choosing them, and $binom{7}{1}$ ways of choosing a student for the remaining last place.



      So at last there are $binom{4}{3}binom{7}{2}+binom{4}{4}binom{7}{1} = 91$ ways of making the group.



      Doubt



      As you can see, the answers are different. Answer $1$ says there are $112$ ways of making the group; answer two says $91$. However, both reasonings seem okay to me and I can't see why should they differ nor where. Perhaps someone can clear this up for me.










      share|cite|improve this question











      $endgroup$




      I was given the following fact: there is a set $S$ of $11$ people, among which there are $4$ professors and $7$ students,



      $S={p_1, p_2, p_3,p_4, s_1, s_2,...,s_7}$



      We are requested to form from it a group of $5$ people, and we must have at least 3 professors.



      I find that the two answers I will expose should be equivalent, but are not, and I can't figure out why.



      Answer 1



      The group of $5$ people must have at least $3$ professors. This means that three of the $5$ people will necessarily be a subset of $S_p$, the subset of $S$ containing only the professors. There are $binom{4}{3}$ subsets of $S_p$, and therefore I have $binom{4}{3}$ alternatives for the three professors that must be in the group.



      Now that I've made sure this $3$ professors are in the group, I have $11-3=8$ people left to choose from. The remaining two persons of the group can either be professors or students, so I can pick any of those $8$. So for the two remaining places I have $binom{8}{2}$ alternatives. At last, I have $binom{4}{3} binom{8}{2} = 112$ ways of forming a group of $5$ people in which there will definitely be at least $3$ professors.



      Answer 2



      There are $4$ professors and, in my group of $5$ people, I must have at least $3$ of them. So I'll either have $3$ or $4$ professors.



      If I have $3$ professors, I'll choose them from the $4$ professors, and fill the remaining two places with $2$ of $7$ students. This is $binom{4}{3} binom{7}{2}$.



      If on the other hand I have $4$ professors, I'll have $binom{4}{4}$ alternatives for choosing them, and $binom{7}{1}$ ways of choosing a student for the remaining last place.



      So at last there are $binom{4}{3}binom{7}{2}+binom{4}{4}binom{7}{1} = 91$ ways of making the group.



      Doubt



      As you can see, the answers are different. Answer $1$ says there are $112$ ways of making the group; answer two says $91$. However, both reasonings seem okay to me and I can't see why should they differ nor where. Perhaps someone can clear this up for me.







      combinatorics discrete-mathematics problem-solving






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited 6 hours ago









      N. F. Taussig

      45.5k103358




      45.5k103358










      asked 7 hours ago









      AngelusSilesiusAngelusSilesius

      1137




      1137






















          2 Answers
          2






          active

          oldest

          votes


















          13












          $begingroup$

          Your second solution is the correct one.



          Your first solution is incorrect because you overcount the scenarios where a professor is picked in the second step.



          The outcome where you pick the first three professors in the first step followed by the fourth professor in the second step: ${p_1,p_2,p_3},{p_4,s_1}$ is also counted where you picked the last three professors in the first step and the first professor in the second step: ${p_2,p_3,p_4},{p_1,s_1}$. These outcomes should be considered the same however since in both scenarios you have the same five people selected.



          Be careful not to overcount things with multiplication principle. Objects selected in one step are treated differently than objects selected in a later step.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Of course! Now I understand. Thank you for answering my doubt.
            $endgroup$
            – AngelusSilesius
            6 hours ago



















          5












          $begingroup$

          The first answer is wrong. It overestimates the count by double-counting the four-professors solutions. This is because each can begin with three of the four in four different ways. Note that $$binom{4}{3}binom{7}{2}+4binom{4}{4}binom{7}{1}=112.$$Although "double counting" referred above to a fallacy, it's also the name of a valid, useful technique one should be happy to use.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            This is right, thank you for taking the trouble and answering my doubt!
            $endgroup$
            – AngelusSilesius
            6 hours ago












          Your Answer








          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%2f3197429%2fwhy-arent-these-two-solutions-equivalent-combinatorics-problem%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









          13












          $begingroup$

          Your second solution is the correct one.



          Your first solution is incorrect because you overcount the scenarios where a professor is picked in the second step.



          The outcome where you pick the first three professors in the first step followed by the fourth professor in the second step: ${p_1,p_2,p_3},{p_4,s_1}$ is also counted where you picked the last three professors in the first step and the first professor in the second step: ${p_2,p_3,p_4},{p_1,s_1}$. These outcomes should be considered the same however since in both scenarios you have the same five people selected.



          Be careful not to overcount things with multiplication principle. Objects selected in one step are treated differently than objects selected in a later step.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Of course! Now I understand. Thank you for answering my doubt.
            $endgroup$
            – AngelusSilesius
            6 hours ago
















          13












          $begingroup$

          Your second solution is the correct one.



          Your first solution is incorrect because you overcount the scenarios where a professor is picked in the second step.



          The outcome where you pick the first three professors in the first step followed by the fourth professor in the second step: ${p_1,p_2,p_3},{p_4,s_1}$ is also counted where you picked the last three professors in the first step and the first professor in the second step: ${p_2,p_3,p_4},{p_1,s_1}$. These outcomes should be considered the same however since in both scenarios you have the same five people selected.



          Be careful not to overcount things with multiplication principle. Objects selected in one step are treated differently than objects selected in a later step.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Of course! Now I understand. Thank you for answering my doubt.
            $endgroup$
            – AngelusSilesius
            6 hours ago














          13












          13








          13





          $begingroup$

          Your second solution is the correct one.



          Your first solution is incorrect because you overcount the scenarios where a professor is picked in the second step.



          The outcome where you pick the first three professors in the first step followed by the fourth professor in the second step: ${p_1,p_2,p_3},{p_4,s_1}$ is also counted where you picked the last three professors in the first step and the first professor in the second step: ${p_2,p_3,p_4},{p_1,s_1}$. These outcomes should be considered the same however since in both scenarios you have the same five people selected.



          Be careful not to overcount things with multiplication principle. Objects selected in one step are treated differently than objects selected in a later step.






          share|cite|improve this answer









          $endgroup$



          Your second solution is the correct one.



          Your first solution is incorrect because you overcount the scenarios where a professor is picked in the second step.



          The outcome where you pick the first three professors in the first step followed by the fourth professor in the second step: ${p_1,p_2,p_3},{p_4,s_1}$ is also counted where you picked the last three professors in the first step and the first professor in the second step: ${p_2,p_3,p_4},{p_1,s_1}$. These outcomes should be considered the same however since in both scenarios you have the same five people selected.



          Be careful not to overcount things with multiplication principle. Objects selected in one step are treated differently than objects selected in a later step.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered 7 hours ago









          JMoravitzJMoravitz

          49.5k44092




          49.5k44092












          • $begingroup$
            Of course! Now I understand. Thank you for answering my doubt.
            $endgroup$
            – AngelusSilesius
            6 hours ago


















          • $begingroup$
            Of course! Now I understand. Thank you for answering my doubt.
            $endgroup$
            – AngelusSilesius
            6 hours ago
















          $begingroup$
          Of course! Now I understand. Thank you for answering my doubt.
          $endgroup$
          – AngelusSilesius
          6 hours ago




          $begingroup$
          Of course! Now I understand. Thank you for answering my doubt.
          $endgroup$
          – AngelusSilesius
          6 hours ago











          5












          $begingroup$

          The first answer is wrong. It overestimates the count by double-counting the four-professors solutions. This is because each can begin with three of the four in four different ways. Note that $$binom{4}{3}binom{7}{2}+4binom{4}{4}binom{7}{1}=112.$$Although "double counting" referred above to a fallacy, it's also the name of a valid, useful technique one should be happy to use.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            This is right, thank you for taking the trouble and answering my doubt!
            $endgroup$
            – AngelusSilesius
            6 hours ago
















          5












          $begingroup$

          The first answer is wrong. It overestimates the count by double-counting the four-professors solutions. This is because each can begin with three of the four in four different ways. Note that $$binom{4}{3}binom{7}{2}+4binom{4}{4}binom{7}{1}=112.$$Although "double counting" referred above to a fallacy, it's also the name of a valid, useful technique one should be happy to use.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            This is right, thank you for taking the trouble and answering my doubt!
            $endgroup$
            – AngelusSilesius
            6 hours ago














          5












          5








          5





          $begingroup$

          The first answer is wrong. It overestimates the count by double-counting the four-professors solutions. This is because each can begin with three of the four in four different ways. Note that $$binom{4}{3}binom{7}{2}+4binom{4}{4}binom{7}{1}=112.$$Although "double counting" referred above to a fallacy, it's also the name of a valid, useful technique one should be happy to use.






          share|cite|improve this answer











          $endgroup$



          The first answer is wrong. It overestimates the count by double-counting the four-professors solutions. This is because each can begin with three of the four in four different ways. Note that $$binom{4}{3}binom{7}{2}+4binom{4}{4}binom{7}{1}=112.$$Although "double counting" referred above to a fallacy, it's also the name of a valid, useful technique one should be happy to use.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited 6 hours ago

























          answered 7 hours ago









          J.G.J.G.

          34.2k23252




          34.2k23252












          • $begingroup$
            This is right, thank you for taking the trouble and answering my doubt!
            $endgroup$
            – AngelusSilesius
            6 hours ago


















          • $begingroup$
            This is right, thank you for taking the trouble and answering my doubt!
            $endgroup$
            – AngelusSilesius
            6 hours ago
















          $begingroup$
          This is right, thank you for taking the trouble and answering my doubt!
          $endgroup$
          – AngelusSilesius
          6 hours ago




          $begingroup$
          This is right, thank you for taking the trouble and answering my doubt!
          $endgroup$
          – AngelusSilesius
          6 hours ago


















          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%2f3197429%2fwhy-arent-these-two-solutions-equivalent-combinatorics-problem%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

          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

          Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...