urn contains 5 balls. 2 balls are drawn and are found to be white, Then prob. that all are white.

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











up vote
0
down vote

favorite












An urn contains 5 balls. 2 balls are drawn and are found to be white. What is Probability that all balls are white



$bfMy; Try::$ Let event $bfE_1=2$ drawn balls are white.



Let event $bfE_2=3$ drawn balls are white.



Let event $bfE_3=4$ drawn balls are white.



Let event $bfE_4=5$ drawn balls are white.



So Here $displaystyle bfbfP(E_1) = binom52;;;,P(E_2)=binom53;;;,P(E_3)=binom54;;;,P(E_4)=binom55;;;$



I have seems that Here we have used Bayes Theorem, But I did not understand How can we ued it.



Please help me,



Thanks







share|cite|improve this question
















  • 3




    My opinion is that the problem cannot be solved. We need a prior distribution. More informally, we need information on how the urn was filled with white/not-white balls.
    – André Nicolas
    Mar 19 '14 at 17:03














up vote
0
down vote

favorite












An urn contains 5 balls. 2 balls are drawn and are found to be white. What is Probability that all balls are white



$bfMy; Try::$ Let event $bfE_1=2$ drawn balls are white.



Let event $bfE_2=3$ drawn balls are white.



Let event $bfE_3=4$ drawn balls are white.



Let event $bfE_4=5$ drawn balls are white.



So Here $displaystyle bfbfP(E_1) = binom52;;;,P(E_2)=binom53;;;,P(E_3)=binom54;;;,P(E_4)=binom55;;;$



I have seems that Here we have used Bayes Theorem, But I did not understand How can we ued it.



Please help me,



Thanks







share|cite|improve this question
















  • 3




    My opinion is that the problem cannot be solved. We need a prior distribution. More informally, we need information on how the urn was filled with white/not-white balls.
    – André Nicolas
    Mar 19 '14 at 17:03












up vote
0
down vote

favorite









up vote
0
down vote

favorite











An urn contains 5 balls. 2 balls are drawn and are found to be white. What is Probability that all balls are white



$bfMy; Try::$ Let event $bfE_1=2$ drawn balls are white.



Let event $bfE_2=3$ drawn balls are white.



Let event $bfE_3=4$ drawn balls are white.



Let event $bfE_4=5$ drawn balls are white.



So Here $displaystyle bfbfP(E_1) = binom52;;;,P(E_2)=binom53;;;,P(E_3)=binom54;;;,P(E_4)=binom55;;;$



I have seems that Here we have used Bayes Theorem, But I did not understand How can we ued it.



Please help me,



Thanks







share|cite|improve this question












An urn contains 5 balls. 2 balls are drawn and are found to be white. What is Probability that all balls are white



$bfMy; Try::$ Let event $bfE_1=2$ drawn balls are white.



Let event $bfE_2=3$ drawn balls are white.



Let event $bfE_3=4$ drawn balls are white.



Let event $bfE_4=5$ drawn balls are white.



So Here $displaystyle bfbfP(E_1) = binom52;;;,P(E_2)=binom53;;;,P(E_3)=binom54;;;,P(E_4)=binom55;;;$



I have seems that Here we have used Bayes Theorem, But I did not understand How can we ued it.



Please help me,



Thanks









share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Mar 19 '14 at 16:58









juantheron

33.4k1042124




33.4k1042124







  • 3




    My opinion is that the problem cannot be solved. We need a prior distribution. More informally, we need information on how the urn was filled with white/not-white balls.
    – André Nicolas
    Mar 19 '14 at 17:03












  • 3




    My opinion is that the problem cannot be solved. We need a prior distribution. More informally, we need information on how the urn was filled with white/not-white balls.
    – André Nicolas
    Mar 19 '14 at 17:03







3




3




My opinion is that the problem cannot be solved. We need a prior distribution. More informally, we need information on how the urn was filled with white/not-white balls.
– André Nicolas
Mar 19 '14 at 17:03




My opinion is that the problem cannot be solved. We need a prior distribution. More informally, we need information on how the urn was filled with white/not-white balls.
– André Nicolas
Mar 19 '14 at 17:03










3 Answers
3






active

oldest

votes

















up vote
0
down vote













Since the two drawn are white, that means there were no more than 3 black balls in the original distribution. We have 2 choices for each ball color, so there are $2^5=32$ ways to assign the colors. But $binom55=1$ of those choices is all black and $binom54=5$ of those choices include exactly 4 black balls. Thus our sample space is reduced from 32 to
$$
32 - binom55 - binom54 = 32 - 1 - 5 = 26.
$$
Thus the probability is $dfrac126$ that all 5 are white.






share|cite|improve this answer






















  • Nice. It should be noted that you are assuming that all initial configurations are supposed to be equally likely, which is not stated in the problem. Still it looks like a fair assumption, in order to get some reply. (also, there are no "black balls", but we may assume that to be synonym to "non-white balls" :)
    – Rolazaro Azeveires
    Apr 8 '17 at 3:24










  • I think there were some comments deleted that had other details, because I did make a lot of assumptions in my answer. But this was more than 3 years ago, so I am not sure anymore!
    – Laars Helenius
    Apr 9 '17 at 18:33










  • Thre.... oh! gee... I gotta look at the year in the dates :-) (Or, better, dates should be ISO, this style of dates are unreadable... "no one" places the year after the day)
    – Rolazaro Azeveires
    Apr 10 '17 at 1:13

















up vote
0
down vote













The Universe of events in this problem is partitioned into
the mutually exclusive, and totally exhaustive, events $A_k$
denoting the fact that the urn contains $k$ white balls
$$
U = A_,,0 cup A_,,1 cup cdots cup A_,,5
$$



You don't specify the process by which the urns are filled-up
prior to the extraction, so we leave for the moment undefined.



Let $E_2$ denote the event "first two balls extracted are white".



Then given the urn $A_k$, with 5 balls of which $k$ white
the number of ways to extract the first two balls white, will
be equal to the number of ways to extract $k-2$ white balls from the remaining $3$:
$3 choose k-2$ over a total number of ways $5 choose k$, i.e.:
$$
Pleft( E_,,2 right) = left( matrix
3 cr
k - 2 cr right)/left( matrix
5 cr
k cr right) = left[ 2 le k right]3!k! over left( k - 2 right)!5! = k^,underline ,2, /5^,underline ,2, = 2! over 5^,underline ,2, left( matrix
k cr
2 cr right)
$$
where $x^,underline ,n, $ denotes the Falling Factorial.



Then
$$
eqalign
& Pleft( E_,,2 right) = sumlimits_k Pleft( E_,,2 right)Pleft( A_,,k right) = sumlimits_k Pleft( E_,,2 cap A_,,k right) = cr
& = 2! over 5^,underline ,2, sumlimits_0, le ,k, le ,5 left( matrix
k cr
2 cr right)Pleft( A_,,k right) = 1 over 5^,underline ,2, sumlimits_0, le ,k, le ,5 k^,underline ,2, Pleft( A_,,k right) cr
$$
and
$$
Pleft( E_,,2 cap A_,,k right) = k^,underline ,2, over 5^,underline ,2, Pleft( A_,,k right)
$$



Therefore we may conclude that
$$
Pleft( A_,,k right) = Pleft( A_,,k cap E_,,2 right) over Pleft( E_,,2 right) =
Pleft( E_,,2 cap A_,,k right) over Pleft( E_,,2 right) =
k^,underline ,2, Pleft( A_,,k right) over sumlimits_0, le ,k, le ,5 k^,underline ,2, Pleft( A_,,k right)
$$



Let now do some assumptions regarding the probability of urn composition.



1) all urns compositions equi-probable, with $P(A_k)=1/6$.



$$
Pleft( E_,,2 right) = 2! over 6;5^,underline ,2, sumlimits_0, le ,k, le ,5 left( matrix
k cr
2 cr right) = 2! over 6;5^,underline ,2, left( matrix
6 cr
3 cr right) = 2! over 3! = 1 over 3
$$
and
$$
eqalign
& Pleft( A_,,k right) = k^,underline ,2, Pleft( A_,,k right) over 5^,underline ,2, Pleft( E_,,2 right) = 1 over 2 cdot ,5^,underline ,2, k^,underline ,2, = 1 over 5^,underline ,2, left( matrix
k cr
2 cr right) = cr
& = left[ 0,;0,;1 over 20,;3 over 20,;6 over 20,;10 over 20 right] cr
$$



2) only urns with $2 le k$ equi-probable, with $P(A_k)=[2le k] 1/4$.



$$
Pleft( E_,,2 right) = 2 over 4;5^,underline ,2, sumlimits_2, le ,k, le ,5 left( matrix
k cr
2 cr right) = 1 over 2
$$
and we get the same result as above
$$
Pleft( A_,,k right) = k^,underline ,2, Pleft( A_,,k right) over 5^,underline ,2, Pleft( E_,,2 right) = left[ 2 le k right]k^,underline ,2, over 2;5^,underline ,2, = 1 over 5^,underline ,2, left( matrix
k cr
2 cr right)
$$



3) urns randomly filled with white/black balls, with $P(A_k)=5 choose k/2^5$.



$$
eqalign
& Pleft( E_,,2 right) = 1 over 2^,5 ;5^,underline ,2, sumlimits_0, le ,k, le ,5 k^,underline ,2, left( matrix
5 cr
k cr right) = 1 over 2^,4 ;5^,underline ,2, sumlimits_0, le ,k, le ,5 left( matrix
5 cr
k cr right)left( matrix
k cr
2 cr right) = cr
& = 1 over 2^,4 ;5^,underline ,2, left( matrix
5 cr
2 cr right)sumlimits_0, le ,k, le ,5 left( matrix
3 cr
k - 2 cr right) = 2^,3 over 2^,4 ;5^,underline ,2, left( matrix
5 cr
2 cr right) = 1 over 4 cr
$$
and
$$
eqalign
& Pleft( A_,,k right) = k^,underline ,2, over 2^,3 ;5^,underline ,2, left( matrix
5 cr
k cr right) = 1 over 2^,2 ;5^,underline ,2, left( matrix
k cr
2 cr right)left( matrix
5 cr
k cr right) = cr
& = 1 over 2^,2 ;5^,underline ,2, left( matrix
5 cr
2 cr right)left( matrix
3 cr
k - 2 cr right) = 1 over 2^,3 ;left( matrix
3 cr
k - 2 cr right) = cr
& = left[ 0,;0,;1 over 8,;3 over 8,;3 over 8,;1 over 8 right] cr
$$






share|cite|improve this answer





























    up vote
    0
    down vote













    Given that there are $n$ white balls in the urn we can find the probability of drawing two white balls.



    $P(2 white balls chosen |n white balls in the urn) = frac nchoose 25choose 2$



    However you have been asked to find $P(n white balls in the urn|2 white balls chosen )$



    We can apply Bayes law.



    $P(n|2) = P(2|n) frac P(n)P(2)$



    But there is still not enough information to answer the problem.



    We have to think about how the urn was filled and get into the head of the urn filler.



    Scenario 1: When the urn was filled the urn filler rolled a die, and the die told him how many white balls to put into the urn. In this case before you started drawing $0$ white balls in the urn was as likely as $5$ white balls in the urn. After drawing 2, you know that there were not fewer than 2 white balls in the urn.



    $P(5 white balls in the urn|2 chosen) = frac11+0.6+0.3+0.1=frac 12$



    Scenario 2: The urn filler was blindfolded and filled the urn from a pool ofa balls that was 50/50 white and colored. 2 colored balls in the urn is more likely than 0 colored balls in the urn.



    $P(5 white balls in the urn|2 chosen) = frac11+3+3+1=frac 18$



    Scenario 3: The urn filler is a joker who always fills his urns with white balls.



    $P(5 white balls in the urn|2 chosen) = 1$



    And there are countless others.



    Now you can take a weighted average based on the confidence you have in each of the assumptions, and arrive at your conclusion.



    At this point there is no definitive right or wrong answer, as you are applying your own judgement.






    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%2f718549%2furn-contains-5-balls-2-balls-are-drawn-and-are-found-to-be-white-then-prob-th%23new-answer', 'question_page');

      );

      Post as a guest






























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      0
      down vote













      Since the two drawn are white, that means there were no more than 3 black balls in the original distribution. We have 2 choices for each ball color, so there are $2^5=32$ ways to assign the colors. But $binom55=1$ of those choices is all black and $binom54=5$ of those choices include exactly 4 black balls. Thus our sample space is reduced from 32 to
      $$
      32 - binom55 - binom54 = 32 - 1 - 5 = 26.
      $$
      Thus the probability is $dfrac126$ that all 5 are white.






      share|cite|improve this answer






















      • Nice. It should be noted that you are assuming that all initial configurations are supposed to be equally likely, which is not stated in the problem. Still it looks like a fair assumption, in order to get some reply. (also, there are no "black balls", but we may assume that to be synonym to "non-white balls" :)
        – Rolazaro Azeveires
        Apr 8 '17 at 3:24










      • I think there were some comments deleted that had other details, because I did make a lot of assumptions in my answer. But this was more than 3 years ago, so I am not sure anymore!
        – Laars Helenius
        Apr 9 '17 at 18:33










      • Thre.... oh! gee... I gotta look at the year in the dates :-) (Or, better, dates should be ISO, this style of dates are unreadable... "no one" places the year after the day)
        – Rolazaro Azeveires
        Apr 10 '17 at 1:13














      up vote
      0
      down vote













      Since the two drawn are white, that means there were no more than 3 black balls in the original distribution. We have 2 choices for each ball color, so there are $2^5=32$ ways to assign the colors. But $binom55=1$ of those choices is all black and $binom54=5$ of those choices include exactly 4 black balls. Thus our sample space is reduced from 32 to
      $$
      32 - binom55 - binom54 = 32 - 1 - 5 = 26.
      $$
      Thus the probability is $dfrac126$ that all 5 are white.






      share|cite|improve this answer






















      • Nice. It should be noted that you are assuming that all initial configurations are supposed to be equally likely, which is not stated in the problem. Still it looks like a fair assumption, in order to get some reply. (also, there are no "black balls", but we may assume that to be synonym to "non-white balls" :)
        – Rolazaro Azeveires
        Apr 8 '17 at 3:24










      • I think there were some comments deleted that had other details, because I did make a lot of assumptions in my answer. But this was more than 3 years ago, so I am not sure anymore!
        – Laars Helenius
        Apr 9 '17 at 18:33










      • Thre.... oh! gee... I gotta look at the year in the dates :-) (Or, better, dates should be ISO, this style of dates are unreadable... "no one" places the year after the day)
        – Rolazaro Azeveires
        Apr 10 '17 at 1:13












      up vote
      0
      down vote










      up vote
      0
      down vote









      Since the two drawn are white, that means there were no more than 3 black balls in the original distribution. We have 2 choices for each ball color, so there are $2^5=32$ ways to assign the colors. But $binom55=1$ of those choices is all black and $binom54=5$ of those choices include exactly 4 black balls. Thus our sample space is reduced from 32 to
      $$
      32 - binom55 - binom54 = 32 - 1 - 5 = 26.
      $$
      Thus the probability is $dfrac126$ that all 5 are white.






      share|cite|improve this answer














      Since the two drawn are white, that means there were no more than 3 black balls in the original distribution. We have 2 choices for each ball color, so there are $2^5=32$ ways to assign the colors. But $binom55=1$ of those choices is all black and $binom54=5$ of those choices include exactly 4 black balls. Thus our sample space is reduced from 32 to
      $$
      32 - binom55 - binom54 = 32 - 1 - 5 = 26.
      $$
      Thus the probability is $dfrac126$ that all 5 are white.







      share|cite|improve this answer














      share|cite|improve this answer



      share|cite|improve this answer








      edited Mar 19 '14 at 17:48

























      answered Mar 19 '14 at 17:41









      Laars Helenius

      6,1701222




      6,1701222











      • Nice. It should be noted that you are assuming that all initial configurations are supposed to be equally likely, which is not stated in the problem. Still it looks like a fair assumption, in order to get some reply. (also, there are no "black balls", but we may assume that to be synonym to "non-white balls" :)
        – Rolazaro Azeveires
        Apr 8 '17 at 3:24










      • I think there were some comments deleted that had other details, because I did make a lot of assumptions in my answer. But this was more than 3 years ago, so I am not sure anymore!
        – Laars Helenius
        Apr 9 '17 at 18:33










      • Thre.... oh! gee... I gotta look at the year in the dates :-) (Or, better, dates should be ISO, this style of dates are unreadable... "no one" places the year after the day)
        – Rolazaro Azeveires
        Apr 10 '17 at 1:13
















      • Nice. It should be noted that you are assuming that all initial configurations are supposed to be equally likely, which is not stated in the problem. Still it looks like a fair assumption, in order to get some reply. (also, there are no "black balls", but we may assume that to be synonym to "non-white balls" :)
        – Rolazaro Azeveires
        Apr 8 '17 at 3:24










      • I think there were some comments deleted that had other details, because I did make a lot of assumptions in my answer. But this was more than 3 years ago, so I am not sure anymore!
        – Laars Helenius
        Apr 9 '17 at 18:33










      • Thre.... oh! gee... I gotta look at the year in the dates :-) (Or, better, dates should be ISO, this style of dates are unreadable... "no one" places the year after the day)
        – Rolazaro Azeveires
        Apr 10 '17 at 1:13















      Nice. It should be noted that you are assuming that all initial configurations are supposed to be equally likely, which is not stated in the problem. Still it looks like a fair assumption, in order to get some reply. (also, there are no "black balls", but we may assume that to be synonym to "non-white balls" :)
      – Rolazaro Azeveires
      Apr 8 '17 at 3:24




      Nice. It should be noted that you are assuming that all initial configurations are supposed to be equally likely, which is not stated in the problem. Still it looks like a fair assumption, in order to get some reply. (also, there are no "black balls", but we may assume that to be synonym to "non-white balls" :)
      – Rolazaro Azeveires
      Apr 8 '17 at 3:24












      I think there were some comments deleted that had other details, because I did make a lot of assumptions in my answer. But this was more than 3 years ago, so I am not sure anymore!
      – Laars Helenius
      Apr 9 '17 at 18:33




      I think there were some comments deleted that had other details, because I did make a lot of assumptions in my answer. But this was more than 3 years ago, so I am not sure anymore!
      – Laars Helenius
      Apr 9 '17 at 18:33












      Thre.... oh! gee... I gotta look at the year in the dates :-) (Or, better, dates should be ISO, this style of dates are unreadable... "no one" places the year after the day)
      – Rolazaro Azeveires
      Apr 10 '17 at 1:13




      Thre.... oh! gee... I gotta look at the year in the dates :-) (Or, better, dates should be ISO, this style of dates are unreadable... "no one" places the year after the day)
      – Rolazaro Azeveires
      Apr 10 '17 at 1:13










      up vote
      0
      down vote













      The Universe of events in this problem is partitioned into
      the mutually exclusive, and totally exhaustive, events $A_k$
      denoting the fact that the urn contains $k$ white balls
      $$
      U = A_,,0 cup A_,,1 cup cdots cup A_,,5
      $$



      You don't specify the process by which the urns are filled-up
      prior to the extraction, so we leave for the moment undefined.



      Let $E_2$ denote the event "first two balls extracted are white".



      Then given the urn $A_k$, with 5 balls of which $k$ white
      the number of ways to extract the first two balls white, will
      be equal to the number of ways to extract $k-2$ white balls from the remaining $3$:
      $3 choose k-2$ over a total number of ways $5 choose k$, i.e.:
      $$
      Pleft( E_,,2 right) = left( matrix
      3 cr
      k - 2 cr right)/left( matrix
      5 cr
      k cr right) = left[ 2 le k right]3!k! over left( k - 2 right)!5! = k^,underline ,2, /5^,underline ,2, = 2! over 5^,underline ,2, left( matrix
      k cr
      2 cr right)
      $$
      where $x^,underline ,n, $ denotes the Falling Factorial.



      Then
      $$
      eqalign
      & Pleft( E_,,2 right) = sumlimits_k Pleft( E_,,2 right)Pleft( A_,,k right) = sumlimits_k Pleft( E_,,2 cap A_,,k right) = cr
      & = 2! over 5^,underline ,2, sumlimits_0, le ,k, le ,5 left( matrix
      k cr
      2 cr right)Pleft( A_,,k right) = 1 over 5^,underline ,2, sumlimits_0, le ,k, le ,5 k^,underline ,2, Pleft( A_,,k right) cr
      $$
      and
      $$
      Pleft( E_,,2 cap A_,,k right) = k^,underline ,2, over 5^,underline ,2, Pleft( A_,,k right)
      $$



      Therefore we may conclude that
      $$
      Pleft( A_,,k right) = Pleft( A_,,k cap E_,,2 right) over Pleft( E_,,2 right) =
      Pleft( E_,,2 cap A_,,k right) over Pleft( E_,,2 right) =
      k^,underline ,2, Pleft( A_,,k right) over sumlimits_0, le ,k, le ,5 k^,underline ,2, Pleft( A_,,k right)
      $$



      Let now do some assumptions regarding the probability of urn composition.



      1) all urns compositions equi-probable, with $P(A_k)=1/6$.



      $$
      Pleft( E_,,2 right) = 2! over 6;5^,underline ,2, sumlimits_0, le ,k, le ,5 left( matrix
      k cr
      2 cr right) = 2! over 6;5^,underline ,2, left( matrix
      6 cr
      3 cr right) = 2! over 3! = 1 over 3
      $$
      and
      $$
      eqalign
      & Pleft( A_,,k right) = k^,underline ,2, Pleft( A_,,k right) over 5^,underline ,2, Pleft( E_,,2 right) = 1 over 2 cdot ,5^,underline ,2, k^,underline ,2, = 1 over 5^,underline ,2, left( matrix
      k cr
      2 cr right) = cr
      & = left[ 0,;0,;1 over 20,;3 over 20,;6 over 20,;10 over 20 right] cr
      $$



      2) only urns with $2 le k$ equi-probable, with $P(A_k)=[2le k] 1/4$.



      $$
      Pleft( E_,,2 right) = 2 over 4;5^,underline ,2, sumlimits_2, le ,k, le ,5 left( matrix
      k cr
      2 cr right) = 1 over 2
      $$
      and we get the same result as above
      $$
      Pleft( A_,,k right) = k^,underline ,2, Pleft( A_,,k right) over 5^,underline ,2, Pleft( E_,,2 right) = left[ 2 le k right]k^,underline ,2, over 2;5^,underline ,2, = 1 over 5^,underline ,2, left( matrix
      k cr
      2 cr right)
      $$



      3) urns randomly filled with white/black balls, with $P(A_k)=5 choose k/2^5$.



      $$
      eqalign
      & Pleft( E_,,2 right) = 1 over 2^,5 ;5^,underline ,2, sumlimits_0, le ,k, le ,5 k^,underline ,2, left( matrix
      5 cr
      k cr right) = 1 over 2^,4 ;5^,underline ,2, sumlimits_0, le ,k, le ,5 left( matrix
      5 cr
      k cr right)left( matrix
      k cr
      2 cr right) = cr
      & = 1 over 2^,4 ;5^,underline ,2, left( matrix
      5 cr
      2 cr right)sumlimits_0, le ,k, le ,5 left( matrix
      3 cr
      k - 2 cr right) = 2^,3 over 2^,4 ;5^,underline ,2, left( matrix
      5 cr
      2 cr right) = 1 over 4 cr
      $$
      and
      $$
      eqalign
      & Pleft( A_,,k right) = k^,underline ,2, over 2^,3 ;5^,underline ,2, left( matrix
      5 cr
      k cr right) = 1 over 2^,2 ;5^,underline ,2, left( matrix
      k cr
      2 cr right)left( matrix
      5 cr
      k cr right) = cr
      & = 1 over 2^,2 ;5^,underline ,2, left( matrix
      5 cr
      2 cr right)left( matrix
      3 cr
      k - 2 cr right) = 1 over 2^,3 ;left( matrix
      3 cr
      k - 2 cr right) = cr
      & = left[ 0,;0,;1 over 8,;3 over 8,;3 over 8,;1 over 8 right] cr
      $$






      share|cite|improve this answer


























        up vote
        0
        down vote













        The Universe of events in this problem is partitioned into
        the mutually exclusive, and totally exhaustive, events $A_k$
        denoting the fact that the urn contains $k$ white balls
        $$
        U = A_,,0 cup A_,,1 cup cdots cup A_,,5
        $$



        You don't specify the process by which the urns are filled-up
        prior to the extraction, so we leave for the moment undefined.



        Let $E_2$ denote the event "first two balls extracted are white".



        Then given the urn $A_k$, with 5 balls of which $k$ white
        the number of ways to extract the first two balls white, will
        be equal to the number of ways to extract $k-2$ white balls from the remaining $3$:
        $3 choose k-2$ over a total number of ways $5 choose k$, i.e.:
        $$
        Pleft( E_,,2 right) = left( matrix
        3 cr
        k - 2 cr right)/left( matrix
        5 cr
        k cr right) = left[ 2 le k right]3!k! over left( k - 2 right)!5! = k^,underline ,2, /5^,underline ,2, = 2! over 5^,underline ,2, left( matrix
        k cr
        2 cr right)
        $$
        where $x^,underline ,n, $ denotes the Falling Factorial.



        Then
        $$
        eqalign
        & Pleft( E_,,2 right) = sumlimits_k Pleft( E_,,2 right)Pleft( A_,,k right) = sumlimits_k Pleft( E_,,2 cap A_,,k right) = cr
        & = 2! over 5^,underline ,2, sumlimits_0, le ,k, le ,5 left( matrix
        k cr
        2 cr right)Pleft( A_,,k right) = 1 over 5^,underline ,2, sumlimits_0, le ,k, le ,5 k^,underline ,2, Pleft( A_,,k right) cr
        $$
        and
        $$
        Pleft( E_,,2 cap A_,,k right) = k^,underline ,2, over 5^,underline ,2, Pleft( A_,,k right)
        $$



        Therefore we may conclude that
        $$
        Pleft( A_,,k right) = Pleft( A_,,k cap E_,,2 right) over Pleft( E_,,2 right) =
        Pleft( E_,,2 cap A_,,k right) over Pleft( E_,,2 right) =
        k^,underline ,2, Pleft( A_,,k right) over sumlimits_0, le ,k, le ,5 k^,underline ,2, Pleft( A_,,k right)
        $$



        Let now do some assumptions regarding the probability of urn composition.



        1) all urns compositions equi-probable, with $P(A_k)=1/6$.



        $$
        Pleft( E_,,2 right) = 2! over 6;5^,underline ,2, sumlimits_0, le ,k, le ,5 left( matrix
        k cr
        2 cr right) = 2! over 6;5^,underline ,2, left( matrix
        6 cr
        3 cr right) = 2! over 3! = 1 over 3
        $$
        and
        $$
        eqalign
        & Pleft( A_,,k right) = k^,underline ,2, Pleft( A_,,k right) over 5^,underline ,2, Pleft( E_,,2 right) = 1 over 2 cdot ,5^,underline ,2, k^,underline ,2, = 1 over 5^,underline ,2, left( matrix
        k cr
        2 cr right) = cr
        & = left[ 0,;0,;1 over 20,;3 over 20,;6 over 20,;10 over 20 right] cr
        $$



        2) only urns with $2 le k$ equi-probable, with $P(A_k)=[2le k] 1/4$.



        $$
        Pleft( E_,,2 right) = 2 over 4;5^,underline ,2, sumlimits_2, le ,k, le ,5 left( matrix
        k cr
        2 cr right) = 1 over 2
        $$
        and we get the same result as above
        $$
        Pleft( A_,,k right) = k^,underline ,2, Pleft( A_,,k right) over 5^,underline ,2, Pleft( E_,,2 right) = left[ 2 le k right]k^,underline ,2, over 2;5^,underline ,2, = 1 over 5^,underline ,2, left( matrix
        k cr
        2 cr right)
        $$



        3) urns randomly filled with white/black balls, with $P(A_k)=5 choose k/2^5$.



        $$
        eqalign
        & Pleft( E_,,2 right) = 1 over 2^,5 ;5^,underline ,2, sumlimits_0, le ,k, le ,5 k^,underline ,2, left( matrix
        5 cr
        k cr right) = 1 over 2^,4 ;5^,underline ,2, sumlimits_0, le ,k, le ,5 left( matrix
        5 cr
        k cr right)left( matrix
        k cr
        2 cr right) = cr
        & = 1 over 2^,4 ;5^,underline ,2, left( matrix
        5 cr
        2 cr right)sumlimits_0, le ,k, le ,5 left( matrix
        3 cr
        k - 2 cr right) = 2^,3 over 2^,4 ;5^,underline ,2, left( matrix
        5 cr
        2 cr right) = 1 over 4 cr
        $$
        and
        $$
        eqalign
        & Pleft( A_,,k right) = k^,underline ,2, over 2^,3 ;5^,underline ,2, left( matrix
        5 cr
        k cr right) = 1 over 2^,2 ;5^,underline ,2, left( matrix
        k cr
        2 cr right)left( matrix
        5 cr
        k cr right) = cr
        & = 1 over 2^,2 ;5^,underline ,2, left( matrix
        5 cr
        2 cr right)left( matrix
        3 cr
        k - 2 cr right) = 1 over 2^,3 ;left( matrix
        3 cr
        k - 2 cr right) = cr
        & = left[ 0,;0,;1 over 8,;3 over 8,;3 over 8,;1 over 8 right] cr
        $$






        share|cite|improve this answer
























          up vote
          0
          down vote










          up vote
          0
          down vote









          The Universe of events in this problem is partitioned into
          the mutually exclusive, and totally exhaustive, events $A_k$
          denoting the fact that the urn contains $k$ white balls
          $$
          U = A_,,0 cup A_,,1 cup cdots cup A_,,5
          $$



          You don't specify the process by which the urns are filled-up
          prior to the extraction, so we leave for the moment undefined.



          Let $E_2$ denote the event "first two balls extracted are white".



          Then given the urn $A_k$, with 5 balls of which $k$ white
          the number of ways to extract the first two balls white, will
          be equal to the number of ways to extract $k-2$ white balls from the remaining $3$:
          $3 choose k-2$ over a total number of ways $5 choose k$, i.e.:
          $$
          Pleft( E_,,2 right) = left( matrix
          3 cr
          k - 2 cr right)/left( matrix
          5 cr
          k cr right) = left[ 2 le k right]3!k! over left( k - 2 right)!5! = k^,underline ,2, /5^,underline ,2, = 2! over 5^,underline ,2, left( matrix
          k cr
          2 cr right)
          $$
          where $x^,underline ,n, $ denotes the Falling Factorial.



          Then
          $$
          eqalign
          & Pleft( E_,,2 right) = sumlimits_k Pleft( E_,,2 right)Pleft( A_,,k right) = sumlimits_k Pleft( E_,,2 cap A_,,k right) = cr
          & = 2! over 5^,underline ,2, sumlimits_0, le ,k, le ,5 left( matrix
          k cr
          2 cr right)Pleft( A_,,k right) = 1 over 5^,underline ,2, sumlimits_0, le ,k, le ,5 k^,underline ,2, Pleft( A_,,k right) cr
          $$
          and
          $$
          Pleft( E_,,2 cap A_,,k right) = k^,underline ,2, over 5^,underline ,2, Pleft( A_,,k right)
          $$



          Therefore we may conclude that
          $$
          Pleft( A_,,k right) = Pleft( A_,,k cap E_,,2 right) over Pleft( E_,,2 right) =
          Pleft( E_,,2 cap A_,,k right) over Pleft( E_,,2 right) =
          k^,underline ,2, Pleft( A_,,k right) over sumlimits_0, le ,k, le ,5 k^,underline ,2, Pleft( A_,,k right)
          $$



          Let now do some assumptions regarding the probability of urn composition.



          1) all urns compositions equi-probable, with $P(A_k)=1/6$.



          $$
          Pleft( E_,,2 right) = 2! over 6;5^,underline ,2, sumlimits_0, le ,k, le ,5 left( matrix
          k cr
          2 cr right) = 2! over 6;5^,underline ,2, left( matrix
          6 cr
          3 cr right) = 2! over 3! = 1 over 3
          $$
          and
          $$
          eqalign
          & Pleft( A_,,k right) = k^,underline ,2, Pleft( A_,,k right) over 5^,underline ,2, Pleft( E_,,2 right) = 1 over 2 cdot ,5^,underline ,2, k^,underline ,2, = 1 over 5^,underline ,2, left( matrix
          k cr
          2 cr right) = cr
          & = left[ 0,;0,;1 over 20,;3 over 20,;6 over 20,;10 over 20 right] cr
          $$



          2) only urns with $2 le k$ equi-probable, with $P(A_k)=[2le k] 1/4$.



          $$
          Pleft( E_,,2 right) = 2 over 4;5^,underline ,2, sumlimits_2, le ,k, le ,5 left( matrix
          k cr
          2 cr right) = 1 over 2
          $$
          and we get the same result as above
          $$
          Pleft( A_,,k right) = k^,underline ,2, Pleft( A_,,k right) over 5^,underline ,2, Pleft( E_,,2 right) = left[ 2 le k right]k^,underline ,2, over 2;5^,underline ,2, = 1 over 5^,underline ,2, left( matrix
          k cr
          2 cr right)
          $$



          3) urns randomly filled with white/black balls, with $P(A_k)=5 choose k/2^5$.



          $$
          eqalign
          & Pleft( E_,,2 right) = 1 over 2^,5 ;5^,underline ,2, sumlimits_0, le ,k, le ,5 k^,underline ,2, left( matrix
          5 cr
          k cr right) = 1 over 2^,4 ;5^,underline ,2, sumlimits_0, le ,k, le ,5 left( matrix
          5 cr
          k cr right)left( matrix
          k cr
          2 cr right) = cr
          & = 1 over 2^,4 ;5^,underline ,2, left( matrix
          5 cr
          2 cr right)sumlimits_0, le ,k, le ,5 left( matrix
          3 cr
          k - 2 cr right) = 2^,3 over 2^,4 ;5^,underline ,2, left( matrix
          5 cr
          2 cr right) = 1 over 4 cr
          $$
          and
          $$
          eqalign
          & Pleft( A_,,k right) = k^,underline ,2, over 2^,3 ;5^,underline ,2, left( matrix
          5 cr
          k cr right) = 1 over 2^,2 ;5^,underline ,2, left( matrix
          k cr
          2 cr right)left( matrix
          5 cr
          k cr right) = cr
          & = 1 over 2^,2 ;5^,underline ,2, left( matrix
          5 cr
          2 cr right)left( matrix
          3 cr
          k - 2 cr right) = 1 over 2^,3 ;left( matrix
          3 cr
          k - 2 cr right) = cr
          & = left[ 0,;0,;1 over 8,;3 over 8,;3 over 8,;1 over 8 right] cr
          $$






          share|cite|improve this answer














          The Universe of events in this problem is partitioned into
          the mutually exclusive, and totally exhaustive, events $A_k$
          denoting the fact that the urn contains $k$ white balls
          $$
          U = A_,,0 cup A_,,1 cup cdots cup A_,,5
          $$



          You don't specify the process by which the urns are filled-up
          prior to the extraction, so we leave for the moment undefined.



          Let $E_2$ denote the event "first two balls extracted are white".



          Then given the urn $A_k$, with 5 balls of which $k$ white
          the number of ways to extract the first two balls white, will
          be equal to the number of ways to extract $k-2$ white balls from the remaining $3$:
          $3 choose k-2$ over a total number of ways $5 choose k$, i.e.:
          $$
          Pleft( E_,,2 right) = left( matrix
          3 cr
          k - 2 cr right)/left( matrix
          5 cr
          k cr right) = left[ 2 le k right]3!k! over left( k - 2 right)!5! = k^,underline ,2, /5^,underline ,2, = 2! over 5^,underline ,2, left( matrix
          k cr
          2 cr right)
          $$
          where $x^,underline ,n, $ denotes the Falling Factorial.



          Then
          $$
          eqalign
          & Pleft( E_,,2 right) = sumlimits_k Pleft( E_,,2 right)Pleft( A_,,k right) = sumlimits_k Pleft( E_,,2 cap A_,,k right) = cr
          & = 2! over 5^,underline ,2, sumlimits_0, le ,k, le ,5 left( matrix
          k cr
          2 cr right)Pleft( A_,,k right) = 1 over 5^,underline ,2, sumlimits_0, le ,k, le ,5 k^,underline ,2, Pleft( A_,,k right) cr
          $$
          and
          $$
          Pleft( E_,,2 cap A_,,k right) = k^,underline ,2, over 5^,underline ,2, Pleft( A_,,k right)
          $$



          Therefore we may conclude that
          $$
          Pleft( A_,,k right) = Pleft( A_,,k cap E_,,2 right) over Pleft( E_,,2 right) =
          Pleft( E_,,2 cap A_,,k right) over Pleft( E_,,2 right) =
          k^,underline ,2, Pleft( A_,,k right) over sumlimits_0, le ,k, le ,5 k^,underline ,2, Pleft( A_,,k right)
          $$



          Let now do some assumptions regarding the probability of urn composition.



          1) all urns compositions equi-probable, with $P(A_k)=1/6$.



          $$
          Pleft( E_,,2 right) = 2! over 6;5^,underline ,2, sumlimits_0, le ,k, le ,5 left( matrix
          k cr
          2 cr right) = 2! over 6;5^,underline ,2, left( matrix
          6 cr
          3 cr right) = 2! over 3! = 1 over 3
          $$
          and
          $$
          eqalign
          & Pleft( A_,,k right) = k^,underline ,2, Pleft( A_,,k right) over 5^,underline ,2, Pleft( E_,,2 right) = 1 over 2 cdot ,5^,underline ,2, k^,underline ,2, = 1 over 5^,underline ,2, left( matrix
          k cr
          2 cr right) = cr
          & = left[ 0,;0,;1 over 20,;3 over 20,;6 over 20,;10 over 20 right] cr
          $$



          2) only urns with $2 le k$ equi-probable, with $P(A_k)=[2le k] 1/4$.



          $$
          Pleft( E_,,2 right) = 2 over 4;5^,underline ,2, sumlimits_2, le ,k, le ,5 left( matrix
          k cr
          2 cr right) = 1 over 2
          $$
          and we get the same result as above
          $$
          Pleft( A_,,k right) = k^,underline ,2, Pleft( A_,,k right) over 5^,underline ,2, Pleft( E_,,2 right) = left[ 2 le k right]k^,underline ,2, over 2;5^,underline ,2, = 1 over 5^,underline ,2, left( matrix
          k cr
          2 cr right)
          $$



          3) urns randomly filled with white/black balls, with $P(A_k)=5 choose k/2^5$.



          $$
          eqalign
          & Pleft( E_,,2 right) = 1 over 2^,5 ;5^,underline ,2, sumlimits_0, le ,k, le ,5 k^,underline ,2, left( matrix
          5 cr
          k cr right) = 1 over 2^,4 ;5^,underline ,2, sumlimits_0, le ,k, le ,5 left( matrix
          5 cr
          k cr right)left( matrix
          k cr
          2 cr right) = cr
          & = 1 over 2^,4 ;5^,underline ,2, left( matrix
          5 cr
          2 cr right)sumlimits_0, le ,k, le ,5 left( matrix
          3 cr
          k - 2 cr right) = 2^,3 over 2^,4 ;5^,underline ,2, left( matrix
          5 cr
          2 cr right) = 1 over 4 cr
          $$
          and
          $$
          eqalign
          & Pleft( A_,,k right) = k^,underline ,2, over 2^,3 ;5^,underline ,2, left( matrix
          5 cr
          k cr right) = 1 over 2^,2 ;5^,underline ,2, left( matrix
          k cr
          2 cr right)left( matrix
          5 cr
          k cr right) = cr
          & = 1 over 2^,2 ;5^,underline ,2, left( matrix
          5 cr
          2 cr right)left( matrix
          3 cr
          k - 2 cr right) = 1 over 2^,3 ;left( matrix
          3 cr
          k - 2 cr right) = cr
          & = left[ 0,;0,;1 over 8,;3 over 8,;3 over 8,;1 over 8 right] cr
          $$







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Jul 10 '17 at 15:52

























          answered Jul 8 '17 at 14:44









          G Cab

          15.1k31136




          15.1k31136




















              up vote
              0
              down vote













              Given that there are $n$ white balls in the urn we can find the probability of drawing two white balls.



              $P(2 white balls chosen |n white balls in the urn) = frac nchoose 25choose 2$



              However you have been asked to find $P(n white balls in the urn|2 white balls chosen )$



              We can apply Bayes law.



              $P(n|2) = P(2|n) frac P(n)P(2)$



              But there is still not enough information to answer the problem.



              We have to think about how the urn was filled and get into the head of the urn filler.



              Scenario 1: When the urn was filled the urn filler rolled a die, and the die told him how many white balls to put into the urn. In this case before you started drawing $0$ white balls in the urn was as likely as $5$ white balls in the urn. After drawing 2, you know that there were not fewer than 2 white balls in the urn.



              $P(5 white balls in the urn|2 chosen) = frac11+0.6+0.3+0.1=frac 12$



              Scenario 2: The urn filler was blindfolded and filled the urn from a pool ofa balls that was 50/50 white and colored. 2 colored balls in the urn is more likely than 0 colored balls in the urn.



              $P(5 white balls in the urn|2 chosen) = frac11+3+3+1=frac 18$



              Scenario 3: The urn filler is a joker who always fills his urns with white balls.



              $P(5 white balls in the urn|2 chosen) = 1$



              And there are countless others.



              Now you can take a weighted average based on the confidence you have in each of the assumptions, and arrive at your conclusion.



              At this point there is no definitive right or wrong answer, as you are applying your own judgement.






              share|cite|improve this answer
























                up vote
                0
                down vote













                Given that there are $n$ white balls in the urn we can find the probability of drawing two white balls.



                $P(2 white balls chosen |n white balls in the urn) = frac nchoose 25choose 2$



                However you have been asked to find $P(n white balls in the urn|2 white balls chosen )$



                We can apply Bayes law.



                $P(n|2) = P(2|n) frac P(n)P(2)$



                But there is still not enough information to answer the problem.



                We have to think about how the urn was filled and get into the head of the urn filler.



                Scenario 1: When the urn was filled the urn filler rolled a die, and the die told him how many white balls to put into the urn. In this case before you started drawing $0$ white balls in the urn was as likely as $5$ white balls in the urn. After drawing 2, you know that there were not fewer than 2 white balls in the urn.



                $P(5 white balls in the urn|2 chosen) = frac11+0.6+0.3+0.1=frac 12$



                Scenario 2: The urn filler was blindfolded and filled the urn from a pool ofa balls that was 50/50 white and colored. 2 colored balls in the urn is more likely than 0 colored balls in the urn.



                $P(5 white balls in the urn|2 chosen) = frac11+3+3+1=frac 18$



                Scenario 3: The urn filler is a joker who always fills his urns with white balls.



                $P(5 white balls in the urn|2 chosen) = 1$



                And there are countless others.



                Now you can take a weighted average based on the confidence you have in each of the assumptions, and arrive at your conclusion.



                At this point there is no definitive right or wrong answer, as you are applying your own judgement.






                share|cite|improve this answer






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  Given that there are $n$ white balls in the urn we can find the probability of drawing two white balls.



                  $P(2 white balls chosen |n white balls in the urn) = frac nchoose 25choose 2$



                  However you have been asked to find $P(n white balls in the urn|2 white balls chosen )$



                  We can apply Bayes law.



                  $P(n|2) = P(2|n) frac P(n)P(2)$



                  But there is still not enough information to answer the problem.



                  We have to think about how the urn was filled and get into the head of the urn filler.



                  Scenario 1: When the urn was filled the urn filler rolled a die, and the die told him how many white balls to put into the urn. In this case before you started drawing $0$ white balls in the urn was as likely as $5$ white balls in the urn. After drawing 2, you know that there were not fewer than 2 white balls in the urn.



                  $P(5 white balls in the urn|2 chosen) = frac11+0.6+0.3+0.1=frac 12$



                  Scenario 2: The urn filler was blindfolded and filled the urn from a pool ofa balls that was 50/50 white and colored. 2 colored balls in the urn is more likely than 0 colored balls in the urn.



                  $P(5 white balls in the urn|2 chosen) = frac11+3+3+1=frac 18$



                  Scenario 3: The urn filler is a joker who always fills his urns with white balls.



                  $P(5 white balls in the urn|2 chosen) = 1$



                  And there are countless others.



                  Now you can take a weighted average based on the confidence you have in each of the assumptions, and arrive at your conclusion.



                  At this point there is no definitive right or wrong answer, as you are applying your own judgement.






                  share|cite|improve this answer












                  Given that there are $n$ white balls in the urn we can find the probability of drawing two white balls.



                  $P(2 white balls chosen |n white balls in the urn) = frac nchoose 25choose 2$



                  However you have been asked to find $P(n white balls in the urn|2 white balls chosen )$



                  We can apply Bayes law.



                  $P(n|2) = P(2|n) frac P(n)P(2)$



                  But there is still not enough information to answer the problem.



                  We have to think about how the urn was filled and get into the head of the urn filler.



                  Scenario 1: When the urn was filled the urn filler rolled a die, and the die told him how many white balls to put into the urn. In this case before you started drawing $0$ white balls in the urn was as likely as $5$ white balls in the urn. After drawing 2, you know that there were not fewer than 2 white balls in the urn.



                  $P(5 white balls in the urn|2 chosen) = frac11+0.6+0.3+0.1=frac 12$



                  Scenario 2: The urn filler was blindfolded and filled the urn from a pool ofa balls that was 50/50 white and colored. 2 colored balls in the urn is more likely than 0 colored balls in the urn.



                  $P(5 white balls in the urn|2 chosen) = frac11+3+3+1=frac 18$



                  Scenario 3: The urn filler is a joker who always fills his urns with white balls.



                  $P(5 white balls in the urn|2 chosen) = 1$



                  And there are countless others.



                  Now you can take a weighted average based on the confidence you have in each of the assumptions, and arrive at your conclusion.



                  At this point there is no definitive right or wrong answer, as you are applying your own judgement.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Jul 10 '17 at 16:29









                  Doug M

                  39.3k31749




                  39.3k31749






















                       

                      draft saved


                      draft discarded


























                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f718549%2furn-contains-5-balls-2-balls-are-drawn-and-are-found-to-be-white-then-prob-th%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      這個網誌中的熱門文章

                      How to combine Bézier curves to a surface?

                      Carbon dioxide

                      Why am i infinitely getting the same tweet with the Twitter Search API?