Probability of picking $2$ specific cards











up vote
1
down vote

favorite












Let us have typical Bohemian pack of 32 playing cards. We randomly choose 2 cards from this pack and consider random vector $(X,Y)^T$ where $X$ gives us the number of hearts and $Y$ the number of kings. My original goal is to determine probability distribution of this vector. So I created a $3 times 3$ table with columns $0, 1, 2$ (meaning the number of kings drawn) and same with lines.



Now I struggle with filling the table as I need to calculate probabilities of specific cards drawn. I have tried the following:



$P(X=0, Y=0)=frac {21}{32} cdot frac {20}{31}$, because I can pick $21$ cards from $32$ that are neither kings or hearts and in the second pick it's the same but with one card less.



$P(X=0,Y=1)=1-(frac{7}{32} cdot frac{21}{31})$, because I can pick $7$ hearts (king of hearts not included) in the first pick and $21$ non-hearts and non-kings in the second pick. But we need a complement to this.



$P(X=0,Y=2)=frac{3}{32} cdot frac{2}{31}$, because I can pick $3$ non-king of hearts and then $2$.



$P(X=1,Y=0)=frac{7}{32} cdot frac{21}{31}$ , because it is complement to the second $P$.



$P(X=1,Y=1)=1-(frac {21}{32} cdot frac {20}{31})$, because it is complement to the first $P$.



$P(X=2,Y=0)=frac{7}{32} cdot frac{6}{32}$, because in the first pick I can pick from $7$ heart cards (king of hearts not included) and the same in the second pick but with one card less.



Other cells in the table are $0$.



Now I know these calculations are not correct as the sum of sums of each line must be equal to $1$.



Please correct me or point me the correct way. Thank you.










share|cite|improve this question




























    up vote
    1
    down vote

    favorite












    Let us have typical Bohemian pack of 32 playing cards. We randomly choose 2 cards from this pack and consider random vector $(X,Y)^T$ where $X$ gives us the number of hearts and $Y$ the number of kings. My original goal is to determine probability distribution of this vector. So I created a $3 times 3$ table with columns $0, 1, 2$ (meaning the number of kings drawn) and same with lines.



    Now I struggle with filling the table as I need to calculate probabilities of specific cards drawn. I have tried the following:



    $P(X=0, Y=0)=frac {21}{32} cdot frac {20}{31}$, because I can pick $21$ cards from $32$ that are neither kings or hearts and in the second pick it's the same but with one card less.



    $P(X=0,Y=1)=1-(frac{7}{32} cdot frac{21}{31})$, because I can pick $7$ hearts (king of hearts not included) in the first pick and $21$ non-hearts and non-kings in the second pick. But we need a complement to this.



    $P(X=0,Y=2)=frac{3}{32} cdot frac{2}{31}$, because I can pick $3$ non-king of hearts and then $2$.



    $P(X=1,Y=0)=frac{7}{32} cdot frac{21}{31}$ , because it is complement to the second $P$.



    $P(X=1,Y=1)=1-(frac {21}{32} cdot frac {20}{31})$, because it is complement to the first $P$.



    $P(X=2,Y=0)=frac{7}{32} cdot frac{6}{32}$, because in the first pick I can pick from $7$ heart cards (king of hearts not included) and the same in the second pick but with one card less.



    Other cells in the table are $0$.



    Now I know these calculations are not correct as the sum of sums of each line must be equal to $1$.



    Please correct me or point me the correct way. Thank you.










    share|cite|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      Let us have typical Bohemian pack of 32 playing cards. We randomly choose 2 cards from this pack and consider random vector $(X,Y)^T$ where $X$ gives us the number of hearts and $Y$ the number of kings. My original goal is to determine probability distribution of this vector. So I created a $3 times 3$ table with columns $0, 1, 2$ (meaning the number of kings drawn) and same with lines.



      Now I struggle with filling the table as I need to calculate probabilities of specific cards drawn. I have tried the following:



      $P(X=0, Y=0)=frac {21}{32} cdot frac {20}{31}$, because I can pick $21$ cards from $32$ that are neither kings or hearts and in the second pick it's the same but with one card less.



      $P(X=0,Y=1)=1-(frac{7}{32} cdot frac{21}{31})$, because I can pick $7$ hearts (king of hearts not included) in the first pick and $21$ non-hearts and non-kings in the second pick. But we need a complement to this.



      $P(X=0,Y=2)=frac{3}{32} cdot frac{2}{31}$, because I can pick $3$ non-king of hearts and then $2$.



      $P(X=1,Y=0)=frac{7}{32} cdot frac{21}{31}$ , because it is complement to the second $P$.



      $P(X=1,Y=1)=1-(frac {21}{32} cdot frac {20}{31})$, because it is complement to the first $P$.



      $P(X=2,Y=0)=frac{7}{32} cdot frac{6}{32}$, because in the first pick I can pick from $7$ heart cards (king of hearts not included) and the same in the second pick but with one card less.



      Other cells in the table are $0$.



      Now I know these calculations are not correct as the sum of sums of each line must be equal to $1$.



      Please correct me or point me the correct way. Thank you.










      share|cite|improve this question















      Let us have typical Bohemian pack of 32 playing cards. We randomly choose 2 cards from this pack and consider random vector $(X,Y)^T$ where $X$ gives us the number of hearts and $Y$ the number of kings. My original goal is to determine probability distribution of this vector. So I created a $3 times 3$ table with columns $0, 1, 2$ (meaning the number of kings drawn) and same with lines.



      Now I struggle with filling the table as I need to calculate probabilities of specific cards drawn. I have tried the following:



      $P(X=0, Y=0)=frac {21}{32} cdot frac {20}{31}$, because I can pick $21$ cards from $32$ that are neither kings or hearts and in the second pick it's the same but with one card less.



      $P(X=0,Y=1)=1-(frac{7}{32} cdot frac{21}{31})$, because I can pick $7$ hearts (king of hearts not included) in the first pick and $21$ non-hearts and non-kings in the second pick. But we need a complement to this.



      $P(X=0,Y=2)=frac{3}{32} cdot frac{2}{31}$, because I can pick $3$ non-king of hearts and then $2$.



      $P(X=1,Y=0)=frac{7}{32} cdot frac{21}{31}$ , because it is complement to the second $P$.



      $P(X=1,Y=1)=1-(frac {21}{32} cdot frac {20}{31})$, because it is complement to the first $P$.



      $P(X=2,Y=0)=frac{7}{32} cdot frac{6}{32}$, because in the first pick I can pick from $7$ heart cards (king of hearts not included) and the same in the second pick but with one card less.



      Other cells in the table are $0$.



      Now I know these calculations are not correct as the sum of sums of each line must be equal to $1$.



      Please correct me or point me the correct way. Thank you.







      probability probability-distributions






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 24 at 16:24









      N. F. Taussig

      43.4k93355




      43.4k93355










      asked Nov 24 at 16:05









      ThePopa611

      446




      446






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          You haven't considered some of the cases and the calculation is wrong in some of the cases you have considered. Also remember that in some of the cases the order can be reversed to get the same probability again leading us to directly multiply by $2$ most of the times. Let's start at the beginning



          $P(X=0, Y=0)=frac {21choose2}{32choose2} = frac {21}{32} cdot frac {20}{31}$ - This one is correct



          $P(X=0,Y=1)= frac{2cdot3cdot21}{32cdot31}$ - $3$ ways to choose a king, $21$ ways to select a non heart, non king card and $2$ since the order can be reversed with the same probability



          $P(X=0,Y=2)=frac{3}{32} cdot frac{2}{31}$ - $3choose2$ ways to choose 2 non heart kings



          $P(X=1,Y=0)=frac{2cdot7cdot21}{32cdot31}$ - $7$ ways to choose a non king heart, $21$ ways to choose from a non heart non king card and $2$ since the order can be reversed with the same probability



          $P(X=1,Y=1)=frac {21cdot2 + 2cdot7cdot3}{32cdot31}$ - This one's a bit complicated. First let's say you select the king of hearts. Then $21$ ways to select the other card. Next, we assume king of hearts is not selected. Then, $7$ ways to choose a heart's card (excluding the king) and $3$ ways to choose a non heart's king card. The $2$ is present in both cases since the order can be reversed with the same probability



          $P(X=1,Y=2)=frac{2cdot3}{32cdot31}$ - Since both cards are kings, one of the cards has to be the king of hearts. The second king can be chosen from the $3$ left in $3$ ways and $2$ since the order can be reversed with the same probability



          $P(X=2,Y=0)=frac{7}{32} cdot frac{6}{31}$ - $7choose2$ ways to select $2$ hearts card from $8-1 = 7$ (excluding hearts king as $0$ kings)



          $P(X=2,Y=1)=frac{2cdot7}{32cdot31}$ - Since two hearts cards are there and one is king, then $1$ card has to be the king of hearts. The second card can be selected from the remaining $7$ cards in $7$ ways and $2$ since the order can be reversed with the same probability



          Summing all of them will give you $1$. Please ask if you need more clarifications in any case.






          share|cite|improve this answer























          • Thank you for your clarification. I totally forgot about reversing the order. You clarified it to me well.
            – ThePopa611
            Nov 24 at 20:27











          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%2f3011723%2fprobability-of-picking-2-specific-cards%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote



          accepted










          You haven't considered some of the cases and the calculation is wrong in some of the cases you have considered. Also remember that in some of the cases the order can be reversed to get the same probability again leading us to directly multiply by $2$ most of the times. Let's start at the beginning



          $P(X=0, Y=0)=frac {21choose2}{32choose2} = frac {21}{32} cdot frac {20}{31}$ - This one is correct



          $P(X=0,Y=1)= frac{2cdot3cdot21}{32cdot31}$ - $3$ ways to choose a king, $21$ ways to select a non heart, non king card and $2$ since the order can be reversed with the same probability



          $P(X=0,Y=2)=frac{3}{32} cdot frac{2}{31}$ - $3choose2$ ways to choose 2 non heart kings



          $P(X=1,Y=0)=frac{2cdot7cdot21}{32cdot31}$ - $7$ ways to choose a non king heart, $21$ ways to choose from a non heart non king card and $2$ since the order can be reversed with the same probability



          $P(X=1,Y=1)=frac {21cdot2 + 2cdot7cdot3}{32cdot31}$ - This one's a bit complicated. First let's say you select the king of hearts. Then $21$ ways to select the other card. Next, we assume king of hearts is not selected. Then, $7$ ways to choose a heart's card (excluding the king) and $3$ ways to choose a non heart's king card. The $2$ is present in both cases since the order can be reversed with the same probability



          $P(X=1,Y=2)=frac{2cdot3}{32cdot31}$ - Since both cards are kings, one of the cards has to be the king of hearts. The second king can be chosen from the $3$ left in $3$ ways and $2$ since the order can be reversed with the same probability



          $P(X=2,Y=0)=frac{7}{32} cdot frac{6}{31}$ - $7choose2$ ways to select $2$ hearts card from $8-1 = 7$ (excluding hearts king as $0$ kings)



          $P(X=2,Y=1)=frac{2cdot7}{32cdot31}$ - Since two hearts cards are there and one is king, then $1$ card has to be the king of hearts. The second card can be selected from the remaining $7$ cards in $7$ ways and $2$ since the order can be reversed with the same probability



          Summing all of them will give you $1$. Please ask if you need more clarifications in any case.






          share|cite|improve this answer























          • Thank you for your clarification. I totally forgot about reversing the order. You clarified it to me well.
            – ThePopa611
            Nov 24 at 20:27















          up vote
          1
          down vote



          accepted










          You haven't considered some of the cases and the calculation is wrong in some of the cases you have considered. Also remember that in some of the cases the order can be reversed to get the same probability again leading us to directly multiply by $2$ most of the times. Let's start at the beginning



          $P(X=0, Y=0)=frac {21choose2}{32choose2} = frac {21}{32} cdot frac {20}{31}$ - This one is correct



          $P(X=0,Y=1)= frac{2cdot3cdot21}{32cdot31}$ - $3$ ways to choose a king, $21$ ways to select a non heart, non king card and $2$ since the order can be reversed with the same probability



          $P(X=0,Y=2)=frac{3}{32} cdot frac{2}{31}$ - $3choose2$ ways to choose 2 non heart kings



          $P(X=1,Y=0)=frac{2cdot7cdot21}{32cdot31}$ - $7$ ways to choose a non king heart, $21$ ways to choose from a non heart non king card and $2$ since the order can be reversed with the same probability



          $P(X=1,Y=1)=frac {21cdot2 + 2cdot7cdot3}{32cdot31}$ - This one's a bit complicated. First let's say you select the king of hearts. Then $21$ ways to select the other card. Next, we assume king of hearts is not selected. Then, $7$ ways to choose a heart's card (excluding the king) and $3$ ways to choose a non heart's king card. The $2$ is present in both cases since the order can be reversed with the same probability



          $P(X=1,Y=2)=frac{2cdot3}{32cdot31}$ - Since both cards are kings, one of the cards has to be the king of hearts. The second king can be chosen from the $3$ left in $3$ ways and $2$ since the order can be reversed with the same probability



          $P(X=2,Y=0)=frac{7}{32} cdot frac{6}{31}$ - $7choose2$ ways to select $2$ hearts card from $8-1 = 7$ (excluding hearts king as $0$ kings)



          $P(X=2,Y=1)=frac{2cdot7}{32cdot31}$ - Since two hearts cards are there and one is king, then $1$ card has to be the king of hearts. The second card can be selected from the remaining $7$ cards in $7$ ways and $2$ since the order can be reversed with the same probability



          Summing all of them will give you $1$. Please ask if you need more clarifications in any case.






          share|cite|improve this answer























          • Thank you for your clarification. I totally forgot about reversing the order. You clarified it to me well.
            – ThePopa611
            Nov 24 at 20:27













          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          You haven't considered some of the cases and the calculation is wrong in some of the cases you have considered. Also remember that in some of the cases the order can be reversed to get the same probability again leading us to directly multiply by $2$ most of the times. Let's start at the beginning



          $P(X=0, Y=0)=frac {21choose2}{32choose2} = frac {21}{32} cdot frac {20}{31}$ - This one is correct



          $P(X=0,Y=1)= frac{2cdot3cdot21}{32cdot31}$ - $3$ ways to choose a king, $21$ ways to select a non heart, non king card and $2$ since the order can be reversed with the same probability



          $P(X=0,Y=2)=frac{3}{32} cdot frac{2}{31}$ - $3choose2$ ways to choose 2 non heart kings



          $P(X=1,Y=0)=frac{2cdot7cdot21}{32cdot31}$ - $7$ ways to choose a non king heart, $21$ ways to choose from a non heart non king card and $2$ since the order can be reversed with the same probability



          $P(X=1,Y=1)=frac {21cdot2 + 2cdot7cdot3}{32cdot31}$ - This one's a bit complicated. First let's say you select the king of hearts. Then $21$ ways to select the other card. Next, we assume king of hearts is not selected. Then, $7$ ways to choose a heart's card (excluding the king) and $3$ ways to choose a non heart's king card. The $2$ is present in both cases since the order can be reversed with the same probability



          $P(X=1,Y=2)=frac{2cdot3}{32cdot31}$ - Since both cards are kings, one of the cards has to be the king of hearts. The second king can be chosen from the $3$ left in $3$ ways and $2$ since the order can be reversed with the same probability



          $P(X=2,Y=0)=frac{7}{32} cdot frac{6}{31}$ - $7choose2$ ways to select $2$ hearts card from $8-1 = 7$ (excluding hearts king as $0$ kings)



          $P(X=2,Y=1)=frac{2cdot7}{32cdot31}$ - Since two hearts cards are there and one is king, then $1$ card has to be the king of hearts. The second card can be selected from the remaining $7$ cards in $7$ ways and $2$ since the order can be reversed with the same probability



          Summing all of them will give you $1$. Please ask if you need more clarifications in any case.






          share|cite|improve this answer














          You haven't considered some of the cases and the calculation is wrong in some of the cases you have considered. Also remember that in some of the cases the order can be reversed to get the same probability again leading us to directly multiply by $2$ most of the times. Let's start at the beginning



          $P(X=0, Y=0)=frac {21choose2}{32choose2} = frac {21}{32} cdot frac {20}{31}$ - This one is correct



          $P(X=0,Y=1)= frac{2cdot3cdot21}{32cdot31}$ - $3$ ways to choose a king, $21$ ways to select a non heart, non king card and $2$ since the order can be reversed with the same probability



          $P(X=0,Y=2)=frac{3}{32} cdot frac{2}{31}$ - $3choose2$ ways to choose 2 non heart kings



          $P(X=1,Y=0)=frac{2cdot7cdot21}{32cdot31}$ - $7$ ways to choose a non king heart, $21$ ways to choose from a non heart non king card and $2$ since the order can be reversed with the same probability



          $P(X=1,Y=1)=frac {21cdot2 + 2cdot7cdot3}{32cdot31}$ - This one's a bit complicated. First let's say you select the king of hearts. Then $21$ ways to select the other card. Next, we assume king of hearts is not selected. Then, $7$ ways to choose a heart's card (excluding the king) and $3$ ways to choose a non heart's king card. The $2$ is present in both cases since the order can be reversed with the same probability



          $P(X=1,Y=2)=frac{2cdot3}{32cdot31}$ - Since both cards are kings, one of the cards has to be the king of hearts. The second king can be chosen from the $3$ left in $3$ ways and $2$ since the order can be reversed with the same probability



          $P(X=2,Y=0)=frac{7}{32} cdot frac{6}{31}$ - $7choose2$ ways to select $2$ hearts card from $8-1 = 7$ (excluding hearts king as $0$ kings)



          $P(X=2,Y=1)=frac{2cdot7}{32cdot31}$ - Since two hearts cards are there and one is king, then $1$ card has to be the king of hearts. The second card can be selected from the remaining $7$ cards in $7$ ways and $2$ since the order can be reversed with the same probability



          Summing all of them will give you $1$. Please ask if you need more clarifications in any case.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Nov 24 at 20:28

























          answered Nov 24 at 17:31









          Sauhard Sharma

          52611




          52611












          • Thank you for your clarification. I totally forgot about reversing the order. You clarified it to me well.
            – ThePopa611
            Nov 24 at 20:27


















          • Thank you for your clarification. I totally forgot about reversing the order. You clarified it to me well.
            – ThePopa611
            Nov 24 at 20:27
















          Thank you for your clarification. I totally forgot about reversing the order. You clarified it to me well.
          – ThePopa611
          Nov 24 at 20:27




          Thank you for your clarification. I totally forgot about reversing the order. You clarified it to me well.
          – ThePopa611
          Nov 24 at 20:27


















          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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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.


          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%2f3011723%2fprobability-of-picking-2-specific-cards%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

          Le Mesnil-Réaume

          Ida-Boy-Ed-Garten

          web3.py web3.isConnected() returns false always