Repeated and conditional probability question

Click For Summary

Homework Help Overview

The discussion revolves around a probability problem involving a bag containing 10 balls, some of which are black. The problem specifies the probabilities of having exactly 3 or 1 black ball and seeks to determine the probability that the procedure of drawing balls ends at the 6th draw.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants explore different methods to calculate the probability of drawing black balls, questioning the original poster's use of factorials and the reasoning behind their calculations.
  • Some suggest considering the problem from the perspective of the last ball drawn, while others propose using combinatorial methods or the hypergeometric distribution to analyze the situation.
  • There are discussions about the implications of the results obtained and whether they align with the expected outcomes based on the problem's conditions.

Discussion Status

The conversation is ongoing, with participants providing various insights and alternative approaches. Some have offered guidance on how to rethink the problem, while others have pointed out potential errors in reasoning without reaching a consensus on the correct method or outcome.

Contextual Notes

Participants note that the original calculations may not make sense given the nature of the problem, and there is an emphasis on understanding the conditions under which the last black ball could be drawn. The discussion includes considerations of the assumptions made about the distribution of black and non-black balls in the bag.

erisedk
Messages
372
Reaction score
7

Homework Statement


Consider a bag containing 10 balls of which a few are black balls. Probability that bag contains exactly 3 black balls is 0.6 and probability of bag containing exactly 1 black ball is 0.4. Now, balls are drawn from the bag, one at a time, without replacement, till all black balls have been drawn. The probability that this procedure would end at the 6th draw is p

Homework Equations

The Attempt at a Solution


If bag contains 3 black balls, P(6) = 0.6 * (3.2.7.6.5.1)/(10.9.8.7.6.5) * 5! = 0.6 (5! because that's the possible ways of arranging 3, 2, 7, 6, 5 in different orders)

If bag contains 1 black ball, P(6) = 0.4 * (9.8.7.6.5.1)/(10.9.8.7.6.5) = 1/25

So, P(6) = 0.6 + 1/25 = 16/25

Which is wrong.
 
Physics news on Phys.org
erisedk said:

Homework Statement


Consider a bag containing 10 balls of which a few are black balls. Probability that bag contains exactly 3 black balls is 0.6 and probability of bag containing exactly 1 black ball is 0.4. Now, balls are drawn from the bag, one at a time, without replacement, till all black balls have been drawn. The probability that this procedure would end at the 6th draw is p

Homework Equations

The Attempt at a Solution


If bag contains 3 black balls, P(6) = 0.6 * (3.2.7.6.5.1)/(10.9.8.7.6.5) * 5! = 0.6 (5! because that's the possible ways of arranging 3, 2, 7, 6, 5 in different orders)

If bag contains 1 black ball, P(6) = 0.4 * (9.8.7.6.5.1)/(10.9.8.7.6.5) = 1/25

So, P(6) = 0.6 + 1/25 = 16/25

Which is wrong.

I'm not sure why you are multiplying by 5!

Why not think about it from the last ball, imagining that all 10 balls are picked?
 
erisedk said:

Homework Statement


Consider a bag containing 10 balls of which a few are black balls. Probability that bag contains exactly 3 black balls is 0.6 and probability of bag containing exactly 1 black ball is 0.4. Now, balls are drawn from the bag, one at a time, without replacement, till all black balls have been drawn. The probability that this procedure would end at the 6th draw is p

Homework Equations

The Attempt at a Solution


If bag contains 3 black balls, P(6) = 0.6 * (3.2.7.6.5.1)/(10.9.8.7.6.5) * 5! = 0.6 (5! because that's the possible ways of arranging 3, 2, 7, 6, 5 in different orders)

If bag contains 1 black ball, P(6) = 0.4 * (9.8.7.6.5.1)/(10.9.8.7.6.5) = 1/25

So, P(6) = 0.6 + 1/25 = 16/25

Which is wrong.

If there are ##B = 1## black balls present, the conditional probability of getting it on draw 6 is
P(6|B=1) = \frac{9}{10} \cdot \frac{8}{9} \cdot \frac{7}{8} \cdot \frac{6}{7} \cdot \frac{5}{6} \cdot \frac{1}{5} = \frac{1}{10},
as you have more-or-less indicated.

If there are ##B = 3## black and ##O = 7## other colors, the conditional probability you want can be obtained from the probability ##P_{2,5}## of drawing exactly ##k =2## black in the first ##n = 5## draws, then following that with a draw of the black from the remaining five balls. You can get ##P_{2,5}## from the hypergeometric distribution; see, eg.,
https://en.wikipedia.org/wiki/Hypergeometric_distribution .
 
I like your logic. But, given that it is wrong, I will suggest another approach.
This may be more brute force than some more elegant method, but it should work:
If the bag has three black balls, the ways you might choose 2 of the 3 within the first five draws is 3c2*5c2, multiplied by the ways you could draw the black balls 7c3 divided by the total ways to pull 5 balls = 10c5, multiplied by the associated probability of the draw pattern which you have above.
This gives:## (.6) * \frac{ 7*6*5*3*2*1}{10*9*8*7*6*5}\frac{ 3!}{2}\frac{ 5!}{3!*2}\frac{ 7!}{4!3!}\frac{ 5!}{3!*2}\frac{ 5!5!}{10!}##

If the bag has one black ball, your number is correct.
 
With one black ball, it could be drawn anywhere between 1 and 10 with equal likelihood, so the probability is 1/10 that it's the 6th.

With 3 black balls, if the 6th is the last black, then that's equivalent to the last 4 being white and the 6th being black. If you imagine the balls being drawn in reverse order.
 
PeroK said:
With one black ball, it could be drawn anywhere between 1 and 10 with equal likelihood, so the probability is 1/10 that it's the 6th.

With 3 black balls, if the 6th is the last black, then that's equivalent to the last 4 being white and the 6th being black. If you imagine the balls being drawn in reverse order.

Along these same lines: number the balls 1--10 and look at permutations. There are 7 choices for position 10, then (given the previous choice), 6 choices for position 9, then 5 for position 8 then 4 for position 7. Then there are three choices for position 6 (one of the unused black balls). After that, the positions 1--5 may be filled in ##5!## different ways. So, the total number of permutations having the last 4 places non-black and position 6 black is ##7 \cdot 6 \cdot 5 \cdot 4 \cdot 3 \cdot 5!##, so the desired (conditional) probability is
P(6|B=3) = \frac{7 \cdot 6 \cdot 5 \cdot 4 \cdot 3 \cdot 5!}{10!} = \frac{1}{12}
This same result is obtained from the hypergeometric approach and the others suggested.
 
One can also start from the 6th ball and look at the probability that the 6th is black and the last 4 are white. Hence, the following have equal probability:

A) the 6th ball is the last black.

B) the first 4 are white and the 5th is black.

C) the first is black and the next 4 are white.
 
erisedk said:
If bag contains 3 black balls, P(6) = 0.6 * (3.2.7.6.5.1)/(10.9.8.7.6.5) * 5! = 0.6 (5! because that's the possible ways of arranging 3, 2, 7, 6, 5 in different orders)
When you are solving a probability problem (or any technical problem, for that matter), it helps to step back and ask yourself whether the result you just obtained makes any sense.

The result you arrived at doesn't make any sense.

What your result says is that if the bag does indeed contain 3 black balls, the procedure must end at the 6th draw. That of course is wrong; you could be lucky and draw three black balls in a row from the start, or be unlucky and not draw the third black ball until the 10th draw. All values between 3 and 10 are possible.
 
D H said:
When you are solving a probability problem (or any technical problem, for that matter), it helps to step back and ask yourself whether the result you just obtained makes any sense.

The result you arrived at doesn't make any sense.

What your result says is that if the bag does indeed contain 3 black balls, the procedure must end at the 6th draw. That of course is wrong; you could be lucky and draw three black balls in a row from the start, or be unlucky and not draw the third black ball until the 10th draw. All values between 3 and 10 are possible.

The question was to find the probability that the last black ball is drawn at draw 6. Of course, the last black can occur in any draw from 3 to 10, but the question was specifically about it happening at draw 6.

That being said, I cannot make any sense of the expression the OP wrote, but I don't know what the basis of his error may be.
 
  • #10
Ray Vickson said:
The question was to find the probability that the last black ball is drawn at draw 6. Of course, the last black can occur in any draw from 3 to 10, but the question was specifically about it happening at draw 6.

That being said, I cannot make any sense of the expression the OP wrote, but I don't know what the basis of his error may be.
I realize what the question is asking. I wrote about the calculation
$$P(\text{ends on draw 6}) =
P(\text{3 balls}) P(\text{ends on draw 6} | \text{3 balls})
+ P(\text{1 ball}) P(\text{ends on draw 6} | \text{1 ball})
$$

which is correct, but the OP then calculated ##P(\text{ends on draw 6} | \text{3 balls})## as identically one.
 
  • #11
D H said:
I realize what the question is asking. I wrote about the calculation
$$P(\text{ends on draw 6}) =
P(\text{3 balls}) P(\text{ends on draw 6} | \text{3 balls})
+ P(\text{1 ball}) P(\text{ends on draw 6} | \text{1 ball})
$$

which is correct, but the OP then calculated ##P(\text{ends on draw 6} | \text{3 balls})## as identically one.

Yes, I guess he did that, but in a long-winded way.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K