1

Q- What is the expected no of rolls of a Dice to get a 6 CONDITIONED that all previous rolls ( if any) were even numbers ?

How I attempted this question - We would have a series of 2,4 which would terminate to 6. Sample space - (2,4,4,6) ,(6), (2,6),(4,4,4,4,2,6) etc. Probability that length of chain is 1 = 1/3( we get a six in first roll). If expected length of chain is x then Probability that length of chain is (x+1)= 2/3 ( as we missed out the first roll expected length is x+1.)

x= 1/3×1 + 2/3×(x+1) x=3. But the ans is 1.5 as given in YouTube video - "Most mathematicians miss this probability question" by the famous Presh talwalkar. Explain the solution as in that video. Thank you!

  • as explained in the video [titled above] sample space also includes (2,2,5),(4,1), (4,4,4,2,3) which goes against the question – Valay Shah Mar 17 '18 at 06:54

2 Answers2

0

This is a subtle question, and the solution given in the video is pretty clever.

I think a good way to imagine it is this: Take an auditorium of a bunch people. You have them all roll a die until they get a 6, at which point they stop. Then, you select just the ones who only rolled an even number prior to the 6, and ask them how many times they had to roll a die to get the 6, and take the average.

So you're excluding all the people who rolled an odd number. They know this, so once they roll an odd number, instead of rolling until they get a six, they might as well just stop.

Then you've divided the auditorium into four groups: Those who only rolled 2's and 4's until they rolled a 6, then stopped (these are the ones you care about). Those who rolled 2's and 4's until they stopped on a 5. Those who stopped on a 3. Those who stopped on a 1.

But if you think about it- there's no reason why the people in the "6" group (the ones you care about) would have a different average length than the "1", or "3", or "5" group- so you might as well combine all four groups together!

So the question is equivalent to "Roll a die until you roll a number which is not a 2 or 4, what's the expected number of die you roll".

And the answer to this is $3/2$, using a similar logic to in your original post.

Alex Zorn
  • 4,304
  • Well ! I understood your explanation. But I want to ask that will the sample space include - (4,4,1) – Valay Shah Mar 17 '18 at 07:34
  • The sample space to the reformulated question WILL include $(4,4,1)$, but not the sample space of the original question. The video argues that the reformulated question and the original question have the same answer. You can also the calculation directly on the original sample space, which is a little tricky but not too bad. – Alex Zorn Mar 17 '18 at 07:39
  • Oh! I understood that the sample space will change but ans will remain same. Thanks – Valay Shah Mar 17 '18 at 07:46
0

The specified condition constrains only the prior rolls.

Thus, the sample points of length $n$ are $n$-tuples with each of the first $(n-1)$ components equal to $2$ or $4$, but with no constraint on the $n$-th component.

Hence, the conditional probability of getting a $6$ for the first time on the $n$-th roll, given that the $(n-1)$ prior rolls are even, is $$\left({\small{\frac{1}{3}}}\right)^{n-1}\left({\small{\frac{1}{6}}}\right)$$ so the required conditional expectation is $$ \sum_{n=1}^\infty n\left(\left({\small{\frac{1}{3}}}\right)^{n-1}\left({\small{\frac{1}{6}}}\right)\right) $$ which is equal to ${\large{\frac{3}{2}}}$.

quasi
  • 58,772
  • The n-th component is 6 or may be something else. – Valay Shah Mar 17 '18 at 08:14
  • Exactly. It can be any of $1,2,3,4,5,6$, which is why, of the sample points of length $n$, only ${\large{\frac{1}{6}}}$-th of them qualify for the conditional probability calculation. For example, for $n=1$, the conditional probability of getting a $6$, given that the pror rolls were either $2$ or $4$ is just ${\large{\frac{1}{6}}}$, which matches the formula $$\left({\small{\frac{1}{3}}}\right)^{n-1}\left({\small{\frac{1}{6}}}\right)$$ for the case $n=1$. – quasi Mar 17 '18 at 08:20