Solving the URN Problem: Finding the Probability of Drawing a White Ball

  • Thread starter stuttgart311
  • Start date
In summary, the conversation discusses a problem involving n urns containing white and black balls, with one ball being randomly transferred from each urn until a final ball is drawn from the nth urn. The conversation then delves into the probability of drawing a white ball from the nth urn, with the solution being (a+a/(a+b))/(a+b+1). The conversation also mentions the equal probability of drawing a white or black ball from each urn.
  • #1
stuttgart311
2
0
Plz tell the solution to this problem


Each of n urns contains a white balls and b black balls; the urns are numbered 1,2,
. . . , n. One randomly selected ball is transferred from the firrst urn into the second,
then another from the second into the third, and so on. Finally a ball is drawn at
random from the nth urn. What is the probability that it is white
 
Physics news on Phys.org
  • #2
Try solving the case n=2.
 
  • #3
Let Xn denote the color of the ball selected from the nth urn.

The probability that you are looking for is P[Xn=w]. We have P[Xn=w]=P[Xn=w|Xn-1=w]P[Xn-1=w] + P[Xn=w|Xn-1=b]P[Xn-1=b].

We know P[Xn-1=b]=1-P[Xn-1=w]. So we have P[Xn=w]=P[Xn=w|Xn-1=w]P[Xn-1=w] + P[Xn=w|Xn-1=b](1-P[Xn-1=w]).

Here P[Xn=w|Xn-1=w] denotes the probability of drawing white from the nth urn given that a white ball has been drawn from the previous urn. So it is equal to (a+1)/(a+b+1). And P[Xn=w|Xn-1=b] is the probability of choosing a white ball from the nth urn given that we had a black ball from the previous urn; so it is a/(a+b+1). If put these values into the equality for P[Xn=w], if I am not making a mistake, we obtain,

P[Xn=w]=P[Xn-1=w]/(a+b+1) + a/(a+b+1),

which is a recurrence relation with initial value P[X1=w]=a/(a+b), which can be solved to obtain the solution (which also makes me think there should be a much easier way to find that probability.)
 
  • #4
Is this true?

All urns have the same amount of balls to start with: a+b
Every time a ball is drawn there is probability a/(a+b) for the first urn and a/(a+b+1) or (a+1)/(a+b+1) for every next urn.
Depending on which color the ball has a or b is increased by one.
So it doesn't seem to matter how many urns there are!.
It is always a+1 or b+1 to be divided by (a+b+1),
so the probability for urn n = P(W) = (a+a/(a+b))/(a+b+1).
Does that make sense?

grtz,

Marc
 
Last edited:
  • #5
?

The solution to this problem involves using the concept of conditional probability. We can approach this problem by breaking it down into smaller steps.

First, we need to find the probability of drawing a white ball from the first urn. This is simply the number of white balls in the first urn divided by the total number of balls in the first urn (white and black). Let's say this probability is denoted as P(W1).

Next, we need to find the probability of drawing a white ball from the second urn, given that a white ball was transferred from the first urn. This is denoted as P(W2|W1). This can be calculated by dividing the number of white balls in the second urn (after the transfer) by the total number of balls in the second urn (after the transfer).

Similarly, we can find the probability of drawing a white ball from the third urn, given that a white ball was transferred from the second urn. This is denoted as P(W3|W2).

We continue this process until we reach the nth urn. The final probability we are looking for is the probability of drawing a white ball from the nth urn, given that white balls were transferred from all the previous urns. This can be written as P(Wn|W1,W2,...,Wn-1).

Using the concept of conditional probability, we can calculate this final probability by multiplying all the individual probabilities together. This can be written as:

P(Wn|W1,W2,...,Wn-1) = P(W1) * P(W2|W1) * P(W3|W2) * ... * P(Wn|Wn-1)

Substituting the individual probabilities we calculated in the first step, we get:

P(Wn|W1,W2,...,Wn-1) = (number of white balls in first urn / total number of balls in first urn) * (number of white balls in second urn / total number of balls in second urn) * ... * (number of white balls in nth urn / total number of balls in nth urn)

This final probability gives us the likelihood of drawing a white ball from the nth urn, given that white balls were transferred from all the previous urns. Therefore, it is the probability that we are looking for in this problem.
 

1. What is the URN problem?

The URN problem refers to the issue of identifying and retrieving unique resources on the internet. URN stands for Uniform Resource Name, which is a persistent identifier for a resource that remains the same even if the resource location changes. The problem arises when multiple resources have the same URN, making it difficult to accurately identify and retrieve the desired resource.

2. How does the URN system work?

The URN system works by assigning a unique identifier to each resource, similar to a serial number. This identifier remains the same even if the resource is moved or its location changes. When a user requests a resource using its URN, the system checks a registry to find the current location of the resource and redirects the user to that location.

3. What are the benefits of using URNs?

URNs provide several benefits, including improved persistence of resource identification, better management of resources, and easier retrieval of resources. They also allow for more stable referencing of resources, making it easier for users to find and access the desired information.

4. What are some challenges with the URN system?

One of the main challenges with the URN system is the lack of widespread adoption and support. Many resources still use URLs (Uniform Resource Locators) for identification, making it difficult to fully implement URNs. Additionally, there may be technical challenges in maintaining and updating the registry of URNs.

5. How are scientists working to address the URN problem?

Scientists are actively researching and developing solutions to improve the implementation and use of URNs. This includes developing new technologies and standards, such as the Uniform Resource Name Resolution (URNR) protocol, which aims to facilitate the resolution of URNs to their corresponding resources.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
2K
  • Precalculus Mathematics Homework Help
Replies
10
Views
776
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
2K
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
22
Views
5K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
2K
Back
Top