Probability of colour co-ordination.

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












There are $6$ pairs of shoes - $2$ pairs red, $2$ pairs blue and $2$ pairs green. $6$ people come and randomly pick a right shoe and a left shoe. What is the probability that none of them have two shoes of the same colour?



I tried as follows:



We define $A_i:$ as the event that the $i^th$ person is colour co-ordinated, $i=1,2,3,4,5,6$



Then we are to find $P(bigcap_i=1^6 A_i^c)$. Now,
$$P(bigcap_i=1^6 A_i^c)=P(bigcup_i=1^6 A_i)^c=1-P(bigcup_i=1^6 A_i)$$ and use the inclusion-exclusion equality on $$1-P(bigcup_i=1^6 A_i)$$
Now $$P(bigcup_i=1^6 A_i)=sum_r=1^6 (-1)^r-1S_r$$ $$ where S_r=sum_1le i_1le i_2le....le i_r P(bigcap_j=1^r A_i_j)quad r=1,2,...,6$$
But I am struggling to evaluate the $S_r$ quantities...







share|cite|improve this question























    up vote
    0
    down vote

    favorite












    There are $6$ pairs of shoes - $2$ pairs red, $2$ pairs blue and $2$ pairs green. $6$ people come and randomly pick a right shoe and a left shoe. What is the probability that none of them have two shoes of the same colour?



    I tried as follows:



    We define $A_i:$ as the event that the $i^th$ person is colour co-ordinated, $i=1,2,3,4,5,6$



    Then we are to find $P(bigcap_i=1^6 A_i^c)$. Now,
    $$P(bigcap_i=1^6 A_i^c)=P(bigcup_i=1^6 A_i)^c=1-P(bigcup_i=1^6 A_i)$$ and use the inclusion-exclusion equality on $$1-P(bigcup_i=1^6 A_i)$$
    Now $$P(bigcup_i=1^6 A_i)=sum_r=1^6 (-1)^r-1S_r$$ $$ where S_r=sum_1le i_1le i_2le....le i_r P(bigcap_j=1^r A_i_j)quad r=1,2,...,6$$
    But I am struggling to evaluate the $S_r$ quantities...







    share|cite|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      There are $6$ pairs of shoes - $2$ pairs red, $2$ pairs blue and $2$ pairs green. $6$ people come and randomly pick a right shoe and a left shoe. What is the probability that none of them have two shoes of the same colour?



      I tried as follows:



      We define $A_i:$ as the event that the $i^th$ person is colour co-ordinated, $i=1,2,3,4,5,6$



      Then we are to find $P(bigcap_i=1^6 A_i^c)$. Now,
      $$P(bigcap_i=1^6 A_i^c)=P(bigcup_i=1^6 A_i)^c=1-P(bigcup_i=1^6 A_i)$$ and use the inclusion-exclusion equality on $$1-P(bigcup_i=1^6 A_i)$$
      Now $$P(bigcup_i=1^6 A_i)=sum_r=1^6 (-1)^r-1S_r$$ $$ where S_r=sum_1le i_1le i_2le....le i_r P(bigcap_j=1^r A_i_j)quad r=1,2,...,6$$
      But I am struggling to evaluate the $S_r$ quantities...







      share|cite|improve this question











      There are $6$ pairs of shoes - $2$ pairs red, $2$ pairs blue and $2$ pairs green. $6$ people come and randomly pick a right shoe and a left shoe. What is the probability that none of them have two shoes of the same colour?



      I tried as follows:



      We define $A_i:$ as the event that the $i^th$ person is colour co-ordinated, $i=1,2,3,4,5,6$



      Then we are to find $P(bigcap_i=1^6 A_i^c)$. Now,
      $$P(bigcap_i=1^6 A_i^c)=P(bigcup_i=1^6 A_i)^c=1-P(bigcup_i=1^6 A_i)$$ and use the inclusion-exclusion equality on $$1-P(bigcup_i=1^6 A_i)$$
      Now $$P(bigcup_i=1^6 A_i)=sum_r=1^6 (-1)^r-1S_r$$ $$ where S_r=sum_1le i_1le i_2le....le i_r P(bigcap_j=1^r A_i_j)quad r=1,2,...,6$$
      But I am struggling to evaluate the $S_r$ quantities...









      share|cite|improve this question










      share|cite|improve this question




      share|cite|improve this question









      asked Jul 25 at 11:37









      Neel

      485




      485




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          You're making a huge detour by focusing on the persons. You should be focussing on the shoes.



          Edit:



          More explicitly, consider the first left red shoe. The probability that it doesn't get matched with a right red shoe is $frac46=frac23$.



          For the second left red shoe, there are two inequivalent possibilities.



          It can get matched with another right shoe of the same colour as the first left red shoe got matched with, with probability $frac15$, and then only $1$ of the remaining $6$ colour pairings avoids a matching, for a contribution $frac15cdotfrac16$.



          Or it can get matched with a right shoe of the third colour, with probability $frac25$. Then we can pick one of two left blue shoes to pair it with the remaining right green shoe and one of two left green shoes to pair it with the remaining right blue shoe, and the other left green and left blue shoes can be paired with the right red shoes in either order, so $8$ of the remaining $24$ shoe pairings avoid a matching, for a contribution $frac25cdotfrac13$.



          Thus, in total, the probability to avoid a matching is



          $$
          frac23left(frac15cdotfrac16+frac25cdotfrac13right)=frac19;.
          $$






          share|cite|improve this answer























          • When focusing on shoes I could think of it as a matching problem where a particular coloured right shoe matches with the same coloured left shoe, but it is not like the regular matching problem as the shoes of any particular foot are not unique. So I am getting stuck there as well.
            – Neel
            Jul 25 at 11:56

















          up vote
          0
          down vote














          $$ textwhere S_r=sum_colorred1leq i_1< i_2<....< i_rleq 6
          P(bigcap_j=1^r A_i_j)quad r=1,2,...,6$$ But I am struggling to
          evaluate the $S_r$ quantities...




          In my answer I´m focussing on the interpretation of the formula.



          First see the red marked indices. Especially the signs. You have to order the sets. First of all we have $i_jin 1,2,3,4,5,6 $.



          For $r=2$ we have the following probabilities:



          $P(A_1 cap A_2 )+P(A_1 cap A_3 )+P(A_1 cap A_4 )+P(A_1 cap A_5 )+P(A_1 cap A_6 )+P(A_2 cap A_3 )$



          $+P(A_2 cap A_4 )+P(A_2 cap A_5 )+P(A_2 cap A_5 )+P(A_3 cap A_4 )+P(A_3 cap A_5 )+P(A_3 cap A_6 )$



          $+P(A_4 cap A_5 )+P(A_4 cap A_6 )+P(A_5 cap A_6 )$



          You see that the first index is always smaller than the second index. The short notation is $$sumlimits_i=1^5 sumlimits_j>i^6 P(A_i cap A_j)$$



          To see how to calculate the number of combinations you can imagine a table like below



          $$beginarrayc hline &1&2&3&4&5&6 \ hline 1&&x&x&x&x&x \ hline 2 &&&x&x&x&x \ hline 3 &&&&x&x&x \ hline 4 &&&&&x&x \ hline 5 &&&&&&x \ hline 6 &&&&&& \ hlineendarray$$



          You count the cells above (or below) the diagonal. It can be calculated by subtracting the diagonal from the number of all cells and dividing the result by $2$: $fracn^2-n2=binomn2=binom62=15$






          share|cite|improve this answer





















            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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f2862344%2fprobability-of-colour-co-ordination%23new-answer', 'question_page');

            );

            Post as a guest






























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            You're making a huge detour by focusing on the persons. You should be focussing on the shoes.



            Edit:



            More explicitly, consider the first left red shoe. The probability that it doesn't get matched with a right red shoe is $frac46=frac23$.



            For the second left red shoe, there are two inequivalent possibilities.



            It can get matched with another right shoe of the same colour as the first left red shoe got matched with, with probability $frac15$, and then only $1$ of the remaining $6$ colour pairings avoids a matching, for a contribution $frac15cdotfrac16$.



            Or it can get matched with a right shoe of the third colour, with probability $frac25$. Then we can pick one of two left blue shoes to pair it with the remaining right green shoe and one of two left green shoes to pair it with the remaining right blue shoe, and the other left green and left blue shoes can be paired with the right red shoes in either order, so $8$ of the remaining $24$ shoe pairings avoid a matching, for a contribution $frac25cdotfrac13$.



            Thus, in total, the probability to avoid a matching is



            $$
            frac23left(frac15cdotfrac16+frac25cdotfrac13right)=frac19;.
            $$






            share|cite|improve this answer























            • When focusing on shoes I could think of it as a matching problem where a particular coloured right shoe matches with the same coloured left shoe, but it is not like the regular matching problem as the shoes of any particular foot are not unique. So I am getting stuck there as well.
              – Neel
              Jul 25 at 11:56














            up vote
            0
            down vote













            You're making a huge detour by focusing on the persons. You should be focussing on the shoes.



            Edit:



            More explicitly, consider the first left red shoe. The probability that it doesn't get matched with a right red shoe is $frac46=frac23$.



            For the second left red shoe, there are two inequivalent possibilities.



            It can get matched with another right shoe of the same colour as the first left red shoe got matched with, with probability $frac15$, and then only $1$ of the remaining $6$ colour pairings avoids a matching, for a contribution $frac15cdotfrac16$.



            Or it can get matched with a right shoe of the third colour, with probability $frac25$. Then we can pick one of two left blue shoes to pair it with the remaining right green shoe and one of two left green shoes to pair it with the remaining right blue shoe, and the other left green and left blue shoes can be paired with the right red shoes in either order, so $8$ of the remaining $24$ shoe pairings avoid a matching, for a contribution $frac25cdotfrac13$.



            Thus, in total, the probability to avoid a matching is



            $$
            frac23left(frac15cdotfrac16+frac25cdotfrac13right)=frac19;.
            $$






            share|cite|improve this answer























            • When focusing on shoes I could think of it as a matching problem where a particular coloured right shoe matches with the same coloured left shoe, but it is not like the regular matching problem as the shoes of any particular foot are not unique. So I am getting stuck there as well.
              – Neel
              Jul 25 at 11:56












            up vote
            0
            down vote










            up vote
            0
            down vote









            You're making a huge detour by focusing on the persons. You should be focussing on the shoes.



            Edit:



            More explicitly, consider the first left red shoe. The probability that it doesn't get matched with a right red shoe is $frac46=frac23$.



            For the second left red shoe, there are two inequivalent possibilities.



            It can get matched with another right shoe of the same colour as the first left red shoe got matched with, with probability $frac15$, and then only $1$ of the remaining $6$ colour pairings avoids a matching, for a contribution $frac15cdotfrac16$.



            Or it can get matched with a right shoe of the third colour, with probability $frac25$. Then we can pick one of two left blue shoes to pair it with the remaining right green shoe and one of two left green shoes to pair it with the remaining right blue shoe, and the other left green and left blue shoes can be paired with the right red shoes in either order, so $8$ of the remaining $24$ shoe pairings avoid a matching, for a contribution $frac25cdotfrac13$.



            Thus, in total, the probability to avoid a matching is



            $$
            frac23left(frac15cdotfrac16+frac25cdotfrac13right)=frac19;.
            $$






            share|cite|improve this answer















            You're making a huge detour by focusing on the persons. You should be focussing on the shoes.



            Edit:



            More explicitly, consider the first left red shoe. The probability that it doesn't get matched with a right red shoe is $frac46=frac23$.



            For the second left red shoe, there are two inequivalent possibilities.



            It can get matched with another right shoe of the same colour as the first left red shoe got matched with, with probability $frac15$, and then only $1$ of the remaining $6$ colour pairings avoids a matching, for a contribution $frac15cdotfrac16$.



            Or it can get matched with a right shoe of the third colour, with probability $frac25$. Then we can pick one of two left blue shoes to pair it with the remaining right green shoe and one of two left green shoes to pair it with the remaining right blue shoe, and the other left green and left blue shoes can be paired with the right red shoes in either order, so $8$ of the remaining $24$ shoe pairings avoid a matching, for a contribution $frac25cdotfrac13$.



            Thus, in total, the probability to avoid a matching is



            $$
            frac23left(frac15cdotfrac16+frac25cdotfrac13right)=frac19;.
            $$







            share|cite|improve this answer















            share|cite|improve this answer



            share|cite|improve this answer








            edited Jul 25 at 12:54


























            answered Jul 25 at 11:42









            joriki

            164k10180328




            164k10180328











            • When focusing on shoes I could think of it as a matching problem where a particular coloured right shoe matches with the same coloured left shoe, but it is not like the regular matching problem as the shoes of any particular foot are not unique. So I am getting stuck there as well.
              – Neel
              Jul 25 at 11:56
















            • When focusing on shoes I could think of it as a matching problem where a particular coloured right shoe matches with the same coloured left shoe, but it is not like the regular matching problem as the shoes of any particular foot are not unique. So I am getting stuck there as well.
              – Neel
              Jul 25 at 11:56















            When focusing on shoes I could think of it as a matching problem where a particular coloured right shoe matches with the same coloured left shoe, but it is not like the regular matching problem as the shoes of any particular foot are not unique. So I am getting stuck there as well.
            – Neel
            Jul 25 at 11:56




            When focusing on shoes I could think of it as a matching problem where a particular coloured right shoe matches with the same coloured left shoe, but it is not like the regular matching problem as the shoes of any particular foot are not unique. So I am getting stuck there as well.
            – Neel
            Jul 25 at 11:56










            up vote
            0
            down vote














            $$ textwhere S_r=sum_colorred1leq i_1< i_2<....< i_rleq 6
            P(bigcap_j=1^r A_i_j)quad r=1,2,...,6$$ But I am struggling to
            evaluate the $S_r$ quantities...




            In my answer I´m focussing on the interpretation of the formula.



            First see the red marked indices. Especially the signs. You have to order the sets. First of all we have $i_jin 1,2,3,4,5,6 $.



            For $r=2$ we have the following probabilities:



            $P(A_1 cap A_2 )+P(A_1 cap A_3 )+P(A_1 cap A_4 )+P(A_1 cap A_5 )+P(A_1 cap A_6 )+P(A_2 cap A_3 )$



            $+P(A_2 cap A_4 )+P(A_2 cap A_5 )+P(A_2 cap A_5 )+P(A_3 cap A_4 )+P(A_3 cap A_5 )+P(A_3 cap A_6 )$



            $+P(A_4 cap A_5 )+P(A_4 cap A_6 )+P(A_5 cap A_6 )$



            You see that the first index is always smaller than the second index. The short notation is $$sumlimits_i=1^5 sumlimits_j>i^6 P(A_i cap A_j)$$



            To see how to calculate the number of combinations you can imagine a table like below



            $$beginarrayc hline &1&2&3&4&5&6 \ hline 1&&x&x&x&x&x \ hline 2 &&&x&x&x&x \ hline 3 &&&&x&x&x \ hline 4 &&&&&x&x \ hline 5 &&&&&&x \ hline 6 &&&&&& \ hlineendarray$$



            You count the cells above (or below) the diagonal. It can be calculated by subtracting the diagonal from the number of all cells and dividing the result by $2$: $fracn^2-n2=binomn2=binom62=15$






            share|cite|improve this answer

























              up vote
              0
              down vote














              $$ textwhere S_r=sum_colorred1leq i_1< i_2<....< i_rleq 6
              P(bigcap_j=1^r A_i_j)quad r=1,2,...,6$$ But I am struggling to
              evaluate the $S_r$ quantities...




              In my answer I´m focussing on the interpretation of the formula.



              First see the red marked indices. Especially the signs. You have to order the sets. First of all we have $i_jin 1,2,3,4,5,6 $.



              For $r=2$ we have the following probabilities:



              $P(A_1 cap A_2 )+P(A_1 cap A_3 )+P(A_1 cap A_4 )+P(A_1 cap A_5 )+P(A_1 cap A_6 )+P(A_2 cap A_3 )$



              $+P(A_2 cap A_4 )+P(A_2 cap A_5 )+P(A_2 cap A_5 )+P(A_3 cap A_4 )+P(A_3 cap A_5 )+P(A_3 cap A_6 )$



              $+P(A_4 cap A_5 )+P(A_4 cap A_6 )+P(A_5 cap A_6 )$



              You see that the first index is always smaller than the second index. The short notation is $$sumlimits_i=1^5 sumlimits_j>i^6 P(A_i cap A_j)$$



              To see how to calculate the number of combinations you can imagine a table like below



              $$beginarrayc hline &1&2&3&4&5&6 \ hline 1&&x&x&x&x&x \ hline 2 &&&x&x&x&x \ hline 3 &&&&x&x&x \ hline 4 &&&&&x&x \ hline 5 &&&&&&x \ hline 6 &&&&&& \ hlineendarray$$



              You count the cells above (or below) the diagonal. It can be calculated by subtracting the diagonal from the number of all cells and dividing the result by $2$: $fracn^2-n2=binomn2=binom62=15$






              share|cite|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote










                $$ textwhere S_r=sum_colorred1leq i_1< i_2<....< i_rleq 6
                P(bigcap_j=1^r A_i_j)quad r=1,2,...,6$$ But I am struggling to
                evaluate the $S_r$ quantities...




                In my answer I´m focussing on the interpretation of the formula.



                First see the red marked indices. Especially the signs. You have to order the sets. First of all we have $i_jin 1,2,3,4,5,6 $.



                For $r=2$ we have the following probabilities:



                $P(A_1 cap A_2 )+P(A_1 cap A_3 )+P(A_1 cap A_4 )+P(A_1 cap A_5 )+P(A_1 cap A_6 )+P(A_2 cap A_3 )$



                $+P(A_2 cap A_4 )+P(A_2 cap A_5 )+P(A_2 cap A_5 )+P(A_3 cap A_4 )+P(A_3 cap A_5 )+P(A_3 cap A_6 )$



                $+P(A_4 cap A_5 )+P(A_4 cap A_6 )+P(A_5 cap A_6 )$



                You see that the first index is always smaller than the second index. The short notation is $$sumlimits_i=1^5 sumlimits_j>i^6 P(A_i cap A_j)$$



                To see how to calculate the number of combinations you can imagine a table like below



                $$beginarrayc hline &1&2&3&4&5&6 \ hline 1&&x&x&x&x&x \ hline 2 &&&x&x&x&x \ hline 3 &&&&x&x&x \ hline 4 &&&&&x&x \ hline 5 &&&&&&x \ hline 6 &&&&&& \ hlineendarray$$



                You count the cells above (or below) the diagonal. It can be calculated by subtracting the diagonal from the number of all cells and dividing the result by $2$: $fracn^2-n2=binomn2=binom62=15$






                share|cite|improve this answer














                $$ textwhere S_r=sum_colorred1leq i_1< i_2<....< i_rleq 6
                P(bigcap_j=1^r A_i_j)quad r=1,2,...,6$$ But I am struggling to
                evaluate the $S_r$ quantities...




                In my answer I´m focussing on the interpretation of the formula.



                First see the red marked indices. Especially the signs. You have to order the sets. First of all we have $i_jin 1,2,3,4,5,6 $.



                For $r=2$ we have the following probabilities:



                $P(A_1 cap A_2 )+P(A_1 cap A_3 )+P(A_1 cap A_4 )+P(A_1 cap A_5 )+P(A_1 cap A_6 )+P(A_2 cap A_3 )$



                $+P(A_2 cap A_4 )+P(A_2 cap A_5 )+P(A_2 cap A_5 )+P(A_3 cap A_4 )+P(A_3 cap A_5 )+P(A_3 cap A_6 )$



                $+P(A_4 cap A_5 )+P(A_4 cap A_6 )+P(A_5 cap A_6 )$



                You see that the first index is always smaller than the second index. The short notation is $$sumlimits_i=1^5 sumlimits_j>i^6 P(A_i cap A_j)$$



                To see how to calculate the number of combinations you can imagine a table like below



                $$beginarrayc hline &1&2&3&4&5&6 \ hline 1&&x&x&x&x&x \ hline 2 &&&x&x&x&x \ hline 3 &&&&x&x&x \ hline 4 &&&&&x&x \ hline 5 &&&&&&x \ hline 6 &&&&&& \ hlineendarray$$



                You count the cells above (or below) the diagonal. It can be calculated by subtracting the diagonal from the number of all cells and dividing the result by $2$: $fracn^2-n2=binomn2=binom62=15$







                share|cite|improve this answer













                share|cite|improve this answer



                share|cite|improve this answer











                answered Jul 25 at 17:17









                callculus

                16.4k31427




                16.4k31427






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2862344%2fprobability-of-colour-co-ordination%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    What is the equation of a 3D cone with generalised tilt?

                    Color the edges and diagonals of a regular polygon

                    Relationship between determinant of matrix and determinant of adjoint?