Probability of choosing the basket-i











up vote
2
down vote

favorite












Here is the question:



There are N+1 baskets 0,1,2,3,...,N. Where each basket i has i white balls and N-i black balls.



We choose randomly a basket and take out a ball after another with returning.



a)If we know that the first two withdraws we got a black and a white ball (not necessarily by order) what is the probability that we have chosen the basket i?for each i?



b)If we know that the first two withdraws were black balls what is the probability that the third withdraw will be black?





Ok,this is an a question in my homework, here is my approach:



a)for i equal 0/N the probability is zero (there is no white/black balls), for any other i the probability is 1/(N-1).

I am not sure about the answer,should we consider that we have picked two different balls, does that effect the probability of which basket we choose?
I know the sum of probabilities for the i-es should equal 1. Which my answer does satisfy.every other answer did not.



b)for b it is the same,will the the first two withdraws effect the third one? I think it does only tell that we have not picked the N-th basket no more.
my answer for b is 1/2.



I would like some hints...
Thank you guys, and sorry english is not my first language.










share|cite|improve this question






















  • Take a look at Bayes'rule
    – saulspatz
    Nov 22 at 18:08










  • I added another approach using Bayes's rule. @saulspatz
    – Adddison
    Nov 22 at 18:38















up vote
2
down vote

favorite












Here is the question:



There are N+1 baskets 0,1,2,3,...,N. Where each basket i has i white balls and N-i black balls.



We choose randomly a basket and take out a ball after another with returning.



a)If we know that the first two withdraws we got a black and a white ball (not necessarily by order) what is the probability that we have chosen the basket i?for each i?



b)If we know that the first two withdraws were black balls what is the probability that the third withdraw will be black?





Ok,this is an a question in my homework, here is my approach:



a)for i equal 0/N the probability is zero (there is no white/black balls), for any other i the probability is 1/(N-1).

I am not sure about the answer,should we consider that we have picked two different balls, does that effect the probability of which basket we choose?
I know the sum of probabilities for the i-es should equal 1. Which my answer does satisfy.every other answer did not.



b)for b it is the same,will the the first two withdraws effect the third one? I think it does only tell that we have not picked the N-th basket no more.
my answer for b is 1/2.



I would like some hints...
Thank you guys, and sorry english is not my first language.










share|cite|improve this question






















  • Take a look at Bayes'rule
    – saulspatz
    Nov 22 at 18:08










  • I added another approach using Bayes's rule. @saulspatz
    – Adddison
    Nov 22 at 18:38













up vote
2
down vote

favorite









up vote
2
down vote

favorite











Here is the question:



There are N+1 baskets 0,1,2,3,...,N. Where each basket i has i white balls and N-i black balls.



We choose randomly a basket and take out a ball after another with returning.



a)If we know that the first two withdraws we got a black and a white ball (not necessarily by order) what is the probability that we have chosen the basket i?for each i?



b)If we know that the first two withdraws were black balls what is the probability that the third withdraw will be black?





Ok,this is an a question in my homework, here is my approach:



a)for i equal 0/N the probability is zero (there is no white/black balls), for any other i the probability is 1/(N-1).

I am not sure about the answer,should we consider that we have picked two different balls, does that effect the probability of which basket we choose?
I know the sum of probabilities for the i-es should equal 1. Which my answer does satisfy.every other answer did not.



b)for b it is the same,will the the first two withdraws effect the third one? I think it does only tell that we have not picked the N-th basket no more.
my answer for b is 1/2.



I would like some hints...
Thank you guys, and sorry english is not my first language.










share|cite|improve this question













Here is the question:



There are N+1 baskets 0,1,2,3,...,N. Where each basket i has i white balls and N-i black balls.



We choose randomly a basket and take out a ball after another with returning.



a)If we know that the first two withdraws we got a black and a white ball (not necessarily by order) what is the probability that we have chosen the basket i?for each i?



b)If we know that the first two withdraws were black balls what is the probability that the third withdraw will be black?





Ok,this is an a question in my homework, here is my approach:



a)for i equal 0/N the probability is zero (there is no white/black balls), for any other i the probability is 1/(N-1).

I am not sure about the answer,should we consider that we have picked two different balls, does that effect the probability of which basket we choose?
I know the sum of probabilities for the i-es should equal 1. Which my answer does satisfy.every other answer did not.



b)for b it is the same,will the the first two withdraws effect the third one? I think it does only tell that we have not picked the N-th basket no more.
my answer for b is 1/2.



I would like some hints...
Thank you guys, and sorry english is not my first language.







probability






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 22 at 18:03









Adddison

826




826












  • Take a look at Bayes'rule
    – saulspatz
    Nov 22 at 18:08










  • I added another approach using Bayes's rule. @saulspatz
    – Adddison
    Nov 22 at 18:38


















  • Take a look at Bayes'rule
    – saulspatz
    Nov 22 at 18:08










  • I added another approach using Bayes's rule. @saulspatz
    – Adddison
    Nov 22 at 18:38
















Take a look at Bayes'rule
– saulspatz
Nov 22 at 18:08




Take a look at Bayes'rule
– saulspatz
Nov 22 at 18:08












I added another approach using Bayes's rule. @saulspatz
– Adddison
Nov 22 at 18:38




I added another approach using Bayes's rule. @saulspatz
– Adddison
Nov 22 at 18:38










2 Answers
2






active

oldest

votes

















up vote
1
down vote













another approach:(using bayes`s equation)

let:

A=choosing basket i
B=two two ball withdrawn are blak and white



P(A|B)=$ frac{P(B|A)*P(A)}{P(B)} $= $ frac{2*( frac{i}{N} * frac{N-i}{N})*( frac{1}{N+1}) }{frac{1}{2}} $ =4 * $frac{i*(N-i)}{N^3+N^2}$



But the sum of i-es does not equal 1.I think I am wrong somewhere.
@saulspatz






share|cite|improve this answer





















  • P(B) is wrong. Basically, if you are in a basket that has a very uneven distribution of black/white balls, you are much more likely to draw 2 balls of the same color than one black/one white. You have to add your enumerators to find the real $P(B)$.
    – Ingix
    Nov 22 at 18:45












  • could P(B) be ((i/N) *((N-i)/N))? @Ingix
    – Adddison
    Nov 22 at 18:58












  • It it is the sum over all those values (or rather 2 times that, as you correctly wrote in the solution), when $i$ ranges from 0 to N. Note that event B does not mention any basket number, so $P(B)$ cannot contain any $i$.
    – Ingix
    Nov 22 at 21:37










  • ok,so it's the sum from i=0 to N of the following: 2*(i/N)*((N-i)/N)*(1/N). I think it does equal N/6. but what is the mathematic proof for that?or how do I know the sum?
    – Adddison
    Nov 25 at 12:49




















up vote
1
down vote













ok,here is my second approach:



a)$frac{P(B|A)*P(A)}{P(B)} $= $ frac{2*( frac{i}{N} * frac{N-i}{N})*( frac{1}{N+1}) }{2*sum_{i=1}^n a_n(frac{k}{N}*frac{N-k}{N})*frac{1}{N+1}} $ =$ frac{ frac{i}{N} * frac{N-i}{N}}{sum_{i=1}^n a_n(frac{k}{N}*frac{N-k}{N})} $



I don't know how to get rid of the sigma



b)P(third withdraw is black|first two withdraws are black)=$ frac{P(the three withdraws are black)}{P(the first two withdraws are black)} $=
$frac{sum_{i=0}^N frac{i^3}{N^3}}{sum_{i=0}^N frac{i^2}{N^2}}$=$sum_{i=0}^N frac{frac{i^3}{N}}{sum_{i=0}^N i^2}$



here too I could'nt get rid of i from the whole equation.any help please?






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: 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%2f3009436%2fprobability-of-choosing-the-basket-i%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    another approach:(using bayes`s equation)

    let:

    A=choosing basket i
    B=two two ball withdrawn are blak and white



    P(A|B)=$ frac{P(B|A)*P(A)}{P(B)} $= $ frac{2*( frac{i}{N} * frac{N-i}{N})*( frac{1}{N+1}) }{frac{1}{2}} $ =4 * $frac{i*(N-i)}{N^3+N^2}$



    But the sum of i-es does not equal 1.I think I am wrong somewhere.
    @saulspatz






    share|cite|improve this answer





















    • P(B) is wrong. Basically, if you are in a basket that has a very uneven distribution of black/white balls, you are much more likely to draw 2 balls of the same color than one black/one white. You have to add your enumerators to find the real $P(B)$.
      – Ingix
      Nov 22 at 18:45












    • could P(B) be ((i/N) *((N-i)/N))? @Ingix
      – Adddison
      Nov 22 at 18:58












    • It it is the sum over all those values (or rather 2 times that, as you correctly wrote in the solution), when $i$ ranges from 0 to N. Note that event B does not mention any basket number, so $P(B)$ cannot contain any $i$.
      – Ingix
      Nov 22 at 21:37










    • ok,so it's the sum from i=0 to N of the following: 2*(i/N)*((N-i)/N)*(1/N). I think it does equal N/6. but what is the mathematic proof for that?or how do I know the sum?
      – Adddison
      Nov 25 at 12:49

















    up vote
    1
    down vote













    another approach:(using bayes`s equation)

    let:

    A=choosing basket i
    B=two two ball withdrawn are blak and white



    P(A|B)=$ frac{P(B|A)*P(A)}{P(B)} $= $ frac{2*( frac{i}{N} * frac{N-i}{N})*( frac{1}{N+1}) }{frac{1}{2}} $ =4 * $frac{i*(N-i)}{N^3+N^2}$



    But the sum of i-es does not equal 1.I think I am wrong somewhere.
    @saulspatz






    share|cite|improve this answer





















    • P(B) is wrong. Basically, if you are in a basket that has a very uneven distribution of black/white balls, you are much more likely to draw 2 balls of the same color than one black/one white. You have to add your enumerators to find the real $P(B)$.
      – Ingix
      Nov 22 at 18:45












    • could P(B) be ((i/N) *((N-i)/N))? @Ingix
      – Adddison
      Nov 22 at 18:58












    • It it is the sum over all those values (or rather 2 times that, as you correctly wrote in the solution), when $i$ ranges from 0 to N. Note that event B does not mention any basket number, so $P(B)$ cannot contain any $i$.
      – Ingix
      Nov 22 at 21:37










    • ok,so it's the sum from i=0 to N of the following: 2*(i/N)*((N-i)/N)*(1/N). I think it does equal N/6. but what is the mathematic proof for that?or how do I know the sum?
      – Adddison
      Nov 25 at 12:49















    up vote
    1
    down vote










    up vote
    1
    down vote









    another approach:(using bayes`s equation)

    let:

    A=choosing basket i
    B=two two ball withdrawn are blak and white



    P(A|B)=$ frac{P(B|A)*P(A)}{P(B)} $= $ frac{2*( frac{i}{N} * frac{N-i}{N})*( frac{1}{N+1}) }{frac{1}{2}} $ =4 * $frac{i*(N-i)}{N^3+N^2}$



    But the sum of i-es does not equal 1.I think I am wrong somewhere.
    @saulspatz






    share|cite|improve this answer












    another approach:(using bayes`s equation)

    let:

    A=choosing basket i
    B=two two ball withdrawn are blak and white



    P(A|B)=$ frac{P(B|A)*P(A)}{P(B)} $= $ frac{2*( frac{i}{N} * frac{N-i}{N})*( frac{1}{N+1}) }{frac{1}{2}} $ =4 * $frac{i*(N-i)}{N^3+N^2}$



    But the sum of i-es does not equal 1.I think I am wrong somewhere.
    @saulspatz







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Nov 22 at 18:36









    Adddison

    826




    826












    • P(B) is wrong. Basically, if you are in a basket that has a very uneven distribution of black/white balls, you are much more likely to draw 2 balls of the same color than one black/one white. You have to add your enumerators to find the real $P(B)$.
      – Ingix
      Nov 22 at 18:45












    • could P(B) be ((i/N) *((N-i)/N))? @Ingix
      – Adddison
      Nov 22 at 18:58












    • It it is the sum over all those values (or rather 2 times that, as you correctly wrote in the solution), when $i$ ranges from 0 to N. Note that event B does not mention any basket number, so $P(B)$ cannot contain any $i$.
      – Ingix
      Nov 22 at 21:37










    • ok,so it's the sum from i=0 to N of the following: 2*(i/N)*((N-i)/N)*(1/N). I think it does equal N/6. but what is the mathematic proof for that?or how do I know the sum?
      – Adddison
      Nov 25 at 12:49




















    • P(B) is wrong. Basically, if you are in a basket that has a very uneven distribution of black/white balls, you are much more likely to draw 2 balls of the same color than one black/one white. You have to add your enumerators to find the real $P(B)$.
      – Ingix
      Nov 22 at 18:45












    • could P(B) be ((i/N) *((N-i)/N))? @Ingix
      – Adddison
      Nov 22 at 18:58












    • It it is the sum over all those values (or rather 2 times that, as you correctly wrote in the solution), when $i$ ranges from 0 to N. Note that event B does not mention any basket number, so $P(B)$ cannot contain any $i$.
      – Ingix
      Nov 22 at 21:37










    • ok,so it's the sum from i=0 to N of the following: 2*(i/N)*((N-i)/N)*(1/N). I think it does equal N/6. but what is the mathematic proof for that?or how do I know the sum?
      – Adddison
      Nov 25 at 12:49


















    P(B) is wrong. Basically, if you are in a basket that has a very uneven distribution of black/white balls, you are much more likely to draw 2 balls of the same color than one black/one white. You have to add your enumerators to find the real $P(B)$.
    – Ingix
    Nov 22 at 18:45






    P(B) is wrong. Basically, if you are in a basket that has a very uneven distribution of black/white balls, you are much more likely to draw 2 balls of the same color than one black/one white. You have to add your enumerators to find the real $P(B)$.
    – Ingix
    Nov 22 at 18:45














    could P(B) be ((i/N) *((N-i)/N))? @Ingix
    – Adddison
    Nov 22 at 18:58






    could P(B) be ((i/N) *((N-i)/N))? @Ingix
    – Adddison
    Nov 22 at 18:58














    It it is the sum over all those values (or rather 2 times that, as you correctly wrote in the solution), when $i$ ranges from 0 to N. Note that event B does not mention any basket number, so $P(B)$ cannot contain any $i$.
    – Ingix
    Nov 22 at 21:37




    It it is the sum over all those values (or rather 2 times that, as you correctly wrote in the solution), when $i$ ranges from 0 to N. Note that event B does not mention any basket number, so $P(B)$ cannot contain any $i$.
    – Ingix
    Nov 22 at 21:37












    ok,so it's the sum from i=0 to N of the following: 2*(i/N)*((N-i)/N)*(1/N). I think it does equal N/6. but what is the mathematic proof for that?or how do I know the sum?
    – Adddison
    Nov 25 at 12:49






    ok,so it's the sum from i=0 to N of the following: 2*(i/N)*((N-i)/N)*(1/N). I think it does equal N/6. but what is the mathematic proof for that?or how do I know the sum?
    – Adddison
    Nov 25 at 12:49












    up vote
    1
    down vote













    ok,here is my second approach:



    a)$frac{P(B|A)*P(A)}{P(B)} $= $ frac{2*( frac{i}{N} * frac{N-i}{N})*( frac{1}{N+1}) }{2*sum_{i=1}^n a_n(frac{k}{N}*frac{N-k}{N})*frac{1}{N+1}} $ =$ frac{ frac{i}{N} * frac{N-i}{N}}{sum_{i=1}^n a_n(frac{k}{N}*frac{N-k}{N})} $



    I don't know how to get rid of the sigma



    b)P(third withdraw is black|first two withdraws are black)=$ frac{P(the three withdraws are black)}{P(the first two withdraws are black)} $=
    $frac{sum_{i=0}^N frac{i^3}{N^3}}{sum_{i=0}^N frac{i^2}{N^2}}$=$sum_{i=0}^N frac{frac{i^3}{N}}{sum_{i=0}^N i^2}$



    here too I could'nt get rid of i from the whole equation.any help please?






    share|cite|improve this answer

























      up vote
      1
      down vote













      ok,here is my second approach:



      a)$frac{P(B|A)*P(A)}{P(B)} $= $ frac{2*( frac{i}{N} * frac{N-i}{N})*( frac{1}{N+1}) }{2*sum_{i=1}^n a_n(frac{k}{N}*frac{N-k}{N})*frac{1}{N+1}} $ =$ frac{ frac{i}{N} * frac{N-i}{N}}{sum_{i=1}^n a_n(frac{k}{N}*frac{N-k}{N})} $



      I don't know how to get rid of the sigma



      b)P(third withdraw is black|first two withdraws are black)=$ frac{P(the three withdraws are black)}{P(the first two withdraws are black)} $=
      $frac{sum_{i=0}^N frac{i^3}{N^3}}{sum_{i=0}^N frac{i^2}{N^2}}$=$sum_{i=0}^N frac{frac{i^3}{N}}{sum_{i=0}^N i^2}$



      here too I could'nt get rid of i from the whole equation.any help please?






      share|cite|improve this answer























        up vote
        1
        down vote










        up vote
        1
        down vote









        ok,here is my second approach:



        a)$frac{P(B|A)*P(A)}{P(B)} $= $ frac{2*( frac{i}{N} * frac{N-i}{N})*( frac{1}{N+1}) }{2*sum_{i=1}^n a_n(frac{k}{N}*frac{N-k}{N})*frac{1}{N+1}} $ =$ frac{ frac{i}{N} * frac{N-i}{N}}{sum_{i=1}^n a_n(frac{k}{N}*frac{N-k}{N})} $



        I don't know how to get rid of the sigma



        b)P(third withdraw is black|first two withdraws are black)=$ frac{P(the three withdraws are black)}{P(the first two withdraws are black)} $=
        $frac{sum_{i=0}^N frac{i^3}{N^3}}{sum_{i=0}^N frac{i^2}{N^2}}$=$sum_{i=0}^N frac{frac{i^3}{N}}{sum_{i=0}^N i^2}$



        here too I could'nt get rid of i from the whole equation.any help please?






        share|cite|improve this answer












        ok,here is my second approach:



        a)$frac{P(B|A)*P(A)}{P(B)} $= $ frac{2*( frac{i}{N} * frac{N-i}{N})*( frac{1}{N+1}) }{2*sum_{i=1}^n a_n(frac{k}{N}*frac{N-k}{N})*frac{1}{N+1}} $ =$ frac{ frac{i}{N} * frac{N-i}{N}}{sum_{i=1}^n a_n(frac{k}{N}*frac{N-k}{N})} $



        I don't know how to get rid of the sigma



        b)P(third withdraw is black|first two withdraws are black)=$ frac{P(the three withdraws are black)}{P(the first two withdraws are black)} $=
        $frac{sum_{i=0}^N frac{i^3}{N^3}}{sum_{i=0}^N frac{i^2}{N^2}}$=$sum_{i=0}^N frac{frac{i^3}{N}}{sum_{i=0}^N i^2}$



        here too I could'nt get rid of i from the whole equation.any help please?







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Nov 25 at 13:28









        Adddison

        826




        826






























            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%2f3009436%2fprobability-of-choosing-the-basket-i%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

            Quarter-circle Tiles

            build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

            Mont Emei