Maximizing Probability of Drawing a Yellow Ball from Two Urns

In summary, the conversation is discussing how to maximize the probability of drawing a yellow ball from a randomly chosen urn containing 5 black and 5 yellow balls. The proposed solution involves setting up equations and differentiating to find a maximum value, but it is not an integral solution and is actually a saddle point. The conversation also mentions that there are arrangements that can yield a higher probability, such as having two yellow and four black balls in one urn and three yellow and one black ball in the other. The conversation ends by suggesting that there may be a special arrangement that can achieve an even higher probability.
  • #1
akoska
22
0
Urgent probability questions!

Please help!

How can 5 black and 5 yellow balls be put into two urns to maximize the probability that a yellow ball is drawn from a randomly chosen urn?

I got:
P(draw yellow)=P(draw yellow intersect urn1)+P(draw yellow intersect urn2)
=P(draw yellow|urn1)P(urn1) + P(draw yellow|urn2)P(urn2)
=1/2((y/y+k)+(5-y)/(10-y-k))

where y=number of yelow balls in urn 1 and k=number of black balls in urn 2
and y, k<=5

Then, I think I should plug in k=1, 2, 3..., differentiate the above, and set it to zero. Find critical value--but I never get a solution! I get something like -9=0...


Also, if there are b black balls and y yellow balls in an urn, and a person takes one out, replaces it, and adds in another of the same color, prove that at the nth trial, the probability of picking a black ball is b/b+y
 
Physics news on Phys.org
  • #2
Let F = P(draw yellow|urn1)P(urn1) + P(draw yellow|urn2)P(urn2) = (y1/n1 + y2/n2)/2.
You also have
y1 + y2 = 5
n1 + n2 = 10.
Therefore you can write y2 = 5 - y1 and n2 = 10 - n1 and substitute into F.
Now, how do you simultaneously set y1 and n1 to maximize F?
 
  • #3
EnumaElish said:
Let F = P(draw yellow|urn1)P(urn1) + P(draw yellow|urn2)P(urn2) = (y1/n1 + y2/n2)/2.
You also have
y1 + y2 = 5
n1 + n2 = 10.
Therefore you can write y2 = 5 - y1 and n2 = 10 - n1 and substitute into F.
Now, how do you simultaneously set y1 and n1 to maximize F?

This doesn't work for a couple of reasons:
  • The solution (y1=2.5, n1=5) is not an integral solution.
  • More importantly, the solution is a saddle point. Its neither a minimum nor a maximum. If you had six of each color rather than five, the derivative-based solution is acheivable but is not maximal.

The resultant resultant probability for the derivative-based approach is 50%. There are many realizable arrangements that yield a 50% probability, for example
  • One of each color in one jug, the rest in the other jug
  • Two of each color in one jug, the rest in the other jug
  • One yellow and four black balls in one jug, four yellow and one black in the other jug.

There are several arrangements that do better than 50%. For example, two yellow and four black balls in one jug, three yellow balls and one black ball in the other yields a probability of 1/3 for jug A, 3/4 for jug B, or 13/24 for a random jug. There are ways to do even better. If you think about the problem for a bit one arrangement should pop out as special. Of course, you could brute-force it; there are only 21 combinations to worry about.
 
  • #4
I was wrong; y1=3, n1=5 is a saddle point. Thanks for catching it.
 
Last edited:

1. What is the definition of probability?

Probability is a measure of the likelihood that an event will occur. It is expressed as a number between 0 and 1, where 0 indicates impossibility and 1 indicates certainty.

2. How is probability calculated?

The probability of an event is calculated by dividing the number of favorable outcomes by the total number of possible outcomes.

3. What is the difference between independent and dependent events?

Independent events are events that do not affect each other's probability of occurring. Dependent events, on the other hand, are events that are influenced by each other's probability.

4. What is the difference between theoretical and experimental probability?

Theoretical probability is the probability of an event based on mathematical calculations and assumptions. Experimental probability is the probability of an event based on actual results from an experiment or real-life data.

5. How can we use probability in real-life situations?

Probability can be used in many real-life situations, such as predicting the outcome of a sports game, making financial decisions, or assessing risks in insurance or medical fields. It is also used in fields such as psychology and sociology to study human behavior and decision-making.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
Replies
10
Views
772
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
  • Precalculus Mathematics Homework Help
Replies
7
Views
779
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
2K
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
3K
  • Calculus and Beyond Homework Help
Replies
9
Views
4K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
943
Back
Top