Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A box contains 12 balls: 6 white, 4 black, and 2 red. Draws are made without replacement. Find the expected number of white balls drawn before any red ball is drawn.

Similarly, how do I find the probability that all white balls are drawn before any red ball?

I have a hunch that this might be easily solved with indicator variables, but I am stuck on how to set up this problem.

share|cite|improve this question

closed as off-topic by Did, Najib Idrissi, Przemysław Scherwentke, Venus, Yiorgos S. Smyrlis Mar 5 '15 at 12:29

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – Did, Najib Idrissi, Przemysław Scherwentke, Venus, Yiorgos S. Smyrlis
If this question can be reworded to fit the rules in the help center, please edit the question.

The black balls can be ignored. Label the white balls $W_1$ to $W_6$.

Let $X_i=1$ if white ball $W_i$ is drawn before any red, and $0$ otherwise. Then the number of white balls drawn before any red is $X_1+\cdots+X_6$.

We have $\Pr(X_i=1)=\frac{1}{3}$, and therefore $E(X_i)=\frac{1}{3}$. This is because if we look at $W_i$ and the two reds, it is equally likely that $W_i$ is in front of the two reds, somewhere in between, or after.

Thus the expected number of whites drawn before any red is $\frac{6}{3}$.

The probability that all whites are drawn before any red is the probability that the reds occupy the last $2$ positions. There are $\binom{8}{2}$ equally likely ways to choose positions for the reds, so the required probability is $\frac{1}{\binom{8}{2}}$.

share|cite|improve this answer
I just tried to solve it by noting that there are 7 different ways that 6 whites and 1 red can be arranged. Only one of these combinations has the 6 whites before the 1 red. So shouldn't $Pr(X_i=1)$ = 1/7? – Luchia Dec 5 '13 at 1:03
Definitely $1/3$. We are just concerned with whether the particular ball $W_i$ is before any of the two reds. There are only $3$ balls relevant to the calculation. – André Nicolas Dec 5 '13 at 1:39

Hint: you can ignore the black balls. Your sample space is $R, WR, WWR, WWWR, \dots WWWWWWR$ what is the probability of each? Now $0P(R)+1P(WR)+2P(WWR)+\dots6P(WWWWWWR)$

share|cite|improve this answer
Thanks. Do you possibly know of a way I can use indicator variables to solve this? – Luchia Dec 5 '13 at 0:44
I haven't seen one, but that is not something I often work with. – Ross Millikan Dec 5 '13 at 0:45
This loses all the symmetry of the setting. – Did Dec 17 '13 at 22:04

Not the answer you're looking for? Browse other questions tagged or ask your own question.