Six fair coins are flipped and land on a table. The expected value of the minimum number of coins that must be turned over to ensure that all the coins are the facing the same way can be expressed as b a where a and b are coprime positive integers. What is the value of a + b ?
Details and assumptions
The coins are facing the same way if they all display heads, or if they all display tails.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The set of possible minimum number of times that we will have to turn coins over is { 0 , 1 , 2 , 3 } . It doesn't include { 4 , 5 , 6 } because, for example, if turned the coin 4 times, we wouldn't be doing it the minimum number of times. Instead we could just turn the remaining 2 coins. For example, if the coins flips are
HTTHHH
we have to turn the 2 T's and not the 4 H's.
We would have to turn the coin 0 number of times if the sequences are
HHHHHH
TTTTTT
This has a probability of 6 4 2 or we can write this as 6 4 ( 0 6 ) × 2
For turning the coin 1 number of times, we have a probability of 6 4 ( 1 6 ) × 2 . The binomial is multiplied by 2 because we have to consider both cases, for example,
HTTTTT and THHHHH
For turning the coin 2 number of times, we have a probability of 6 4 ( 2 6 ) × 2 . The binomial is multiplied by 2 because we have to consider both cases, for example,
HTTTTH and THHHHT
Finally, for turning the coins 3 times, we have a probability of 6 4 ( 3 6 ) . We don't multiply by 2 because
HHHTTT is the same as TTTHHH
The answer, therefore is
( 0 × 6 4 2 ) + ( 1 × 6 4 1 2 ) + ( 2 × 6 4 3 0 ) + ( 3 × 6 4 2 0 )
Solving this gives us 1 6 3 3 and thus 3 3 + 1 6 = 4 9
When there are either 6 heads or tails, then there will be no flips required. The probability of getting 6 heads or tails is: 6 4 ( 0 6 ) = 6 4 1
When there are either 5 heads and 1 tail or 1 head and 5 tails, then there will be 1 flip required. The probability of this scenario is: 6 4 ( 1 6 ) = 6 4 6
When there are either 4 heads and 2 tails or 2 heads and 4 tails, then there will be 2 flips required. The probability of this scenario is: 6 4 ( 2 6 ) = 6 4 1 5
Finally, if 3 heads and tails are chosen, then 3 flips will be required. The probability of this scenario is: 6 4 ( 3 6 ) = 6 4 2 0
Therefore, the expected value of the number of flips required can be calculated by: 2 ⋅ 6 4 1 ⋅ 0 + 2 ⋅ 6 4 6 ⋅ 1 + 2 ⋅ 6 4 1 5 ⋅ 2 + 6 4 2 0 ⋅ 3 = 1 6 3 3
Hence, the final answer is: 3 3 + 1 6 = 4 9
The expected value is given by,
E ( x ) = p 1 x 1 + p 2 x 2 + p 3 x 3 ,
where p n is the probability of x n random variable.
The values that random variable can take are 3 , 2 , 1 .
The probabilities of these are 3 ! 3 ! × 2 6 6 ! , 2 × 4 ! 2 ! × 2 6 6 ! , 2 × 5 ! 1 ! × 2 6 6 ! , respectively.
Putting these value in the first equation, we get the right answer.
A single toss can be represented by the polynomial 1 + x so that the results of six successive tosses can be represented by ( 1 + x ) 6 = x 6 + 6 x 5 + 1 5 x 4 + 2 0 x 3 + 1 5 x 2 + 6 x + 1 . Individual terms in this polynomial give rise to the following cases:
x 6 : 1 instance of all heads (say), no turnovers
6 x 5 : 6 instances of one tails, thus 1 turnover
1 5 x 4 : 15 instances of two tails, thus 2 turnovers
2 0 x 3 : 20 instances of three tails, thus 3 turnovers
1 5 x 2 : 15 instances of two heads, thus 2 turnovers
6 x : 6 instances of one heads, thus 1 turnover
1 : 1 instance of no heads, no turnovers
Result follows.
It's not hard to see that the minimum number of moves required is one of: 0,1,2,3. How can we require 0 flips? For this to happen, all coins must be facing the same way, i.e, they are either all heads or all tails. This happens in exactly $$ 2\binom{6}{0}$$ ways. For only 1 flip, we must either have 5 heads and 1 tails, or 5 tails and 1 heads. This happens in exactly $$ 2\binom{6}{1} $$ ways.
Repeating this logic, we find there are $$2\binom{6}{2}$$ ways for two flips and $$\binom{6}{3}$$ ways for 3 flips. Note there is only one way for this to happen: we have exactly 3 heads and exactly 3 tails.
To find the expected value, we sum up the number of flips times the likelyhood it happens. Since there are 2^6= 64 ways to flip 6 coins, our expected value is $$ 0 \frac{\binom{6}{0} }{64} + 1 \frac{2\binom{6}{1} }{64} + 2 \frac{2\binom{6}{0} }{64} + 3 \frac{\binom{6}{3} }{64}$$.
This simplifies down to $$\frac{33}{16}$$ giving an answer of $$\boxed{49}$$
There are 2 6 = 6 4 results of flipping and landing six coins. H=Head, T=Tail. We' ll have 1 case with 6 of H, so 0 turned over ; 6 cases with 1 H and 5 T, 1 turned over ; 15 cases with 2 H and 4 T, 2 turned over ; 20 cases with 3 H and 3 T, 3 turned over ; 15 cases with 4 H and 2 T, 2 turned over ; 6 cases with 5 H and 1 T, 1 turned over ; 1 case with 6 T, 0 turned over The expected value will be ( 1 × 0 + 6 × 1 + 1 5 × 2 + 2 0 × 3 + 1 5 × 2 + 6 × 1 + 1 × 0 ) / 6 4 = 132/ 64 = 33/16. So, * a+b = 49 *
I want to use 7 lines for the 7 cases I considered ! Thanks and see you next time :)
Problem Loading...
Note Loading...
Set Loading...
We can either have
Case 1
Case 2
Case 3
Case 4
Summing all this up and dividing by 2 6 for the probability of each coin toss we get 2 6 6 0 + 6 0 + 1 2 + 0 = 1 6 3 3 which gives an answer of 3 3 + 1 6 = 4 9