Saturday, 22 June 2019

probability - Finding the mean number of times a die is thrown if it is thrown until a number at least as high as the result of the first throw is obtained



A die is thrown and the number is noted. Then the die is thrown again repeatedly until a number at least as high as the number obtained on the first throw is thrown. Find the mean number of times the die is thrown, including the first throw.



mean_number_of_throws_calculation




The answer is 3.45, but I am getting 2.53.


Answer



If your first roll was a 4 then for each roll thereafter there is a 36 chance to roll a number at least a large as a 4 again. Looking at this specific case, the expected number of rolls until doing so would be 63=2.



In general, if you have chance p for success, it will take on average 1p many independent attempts to get your first success.



Noting that having rolled a four as your first roll only accounts for 16 of the time and calculating the rest of the related probabilities and finally accounting for the initial roll we get the final answer.




1+16(61+62+63+64+65+66)=3.45 The 1 comes from the initial roll, the 16 comes from the chance to be in each respective case, and each 6k comes from the expected number of rolls until rolling a 7k or greater.




No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find limh0sin(ha)h without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...