Calvin and Dan are playing a game of chance. Calvin tosses 8 fair coins, and wins if he obtains at least 4 heads. The probability that Calvin wins can be expressed as b a , where a , b are coprime positive integers. What is the value of a + b ?
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.
We wish to compute (8C4+8C5+...+8C8)/(8C0+8C1+...+8C8). The denominator is equivalent to 2^8=256. Now, to compute the numerator, we look at the denominator divided by two (think in half), which is the equivalent of 8C8+8C7+...(8C4)/2 (This is true by the symetric sums). This also must be 256/2=128. Therefore, to "complete" our numerator, we must add and extra 8C4/2 to 128, giving us 163. Therefore our answer is 163+256=419.
The classical theory of probability states that in a sample space S with n ( S ) possible outcomes, if the number of possible outcomes of an event E occurring is n ( E ) , the probability of event E occurring P ( E ) can be calculated by P ( E ) = n ( S ) n ( E ) .
In this scenario, the sample space S is the set of all possible outcomes of the result of tossing 8 fair coins. Using the rule of product , the total number of possible outcomes n ( S ) = 2 8 = 2 5 6 , since firstly, there are 2 possible results for the tossing of each coin, and secondly, the result of tossing each of the 8 coins is independent of each other.
Now, letting E be the event that Calvin wins, n ( E ) would the number of possible outcomes of tossing 8 fair coins with a result of at least 4 heads. n ( E ) can also be expressed as the number of possible outcomes of tossing 8 fair coins with a result of exactly 4, 5, 6, 7 or 8 heads. In order to calculate n ( E ) , we find the number of possible outcomes for each possible number of heads, before using the rule of sum to find the total number of possible outcomes.
Firstly, the number of possible outcomes of tossing 8 fair coins with a result of exactly 4 heads is given by ( 4 8 ) = 7 0 . In other words, just like how there are 70 ways for us to pick 4 coins out of 8, there are 70 ways for 4 of the 8 coins to return heads. We repeat this by finding the number of possible outcomes of tossing the coins with a result of exactly 5, 6, 7 or 8 heads. ( 5 8 ) = 5 6 ; ( 6 8 ) = 2 8 ; ( 7 8 ) = 8 ; ( 8 8 ) = 1 .
Next, we add up the total number of possible outcomes n ( E ) to get n ( E ) = 7 0 + 5 6 + 2 8 + 8 + 1 = 1 6 3 . Using the classical theory of probability, P ( E ) = n ( S ) n ( E ) = 2 5 6 1 6 3 . To answer the question, we add up the values of the numerator and denominator to obtain 1 6 3 + 2 5 6 = 4 1 9 .
the probability a coin showing a head is 0,5. so in every tosses, the probabilty a coin showing head is 0,5. Calvin has to obtains at least 4 heads which mean that (1) the probabilty the coins show 4 heads is 〖0,5〗^4x〖0,5〗^4 and there are (█(8@4)) ways. so the probability of 4 heads is 70/256 (2) the probabilty the coins show 5 heads is 〖0,5〗^5x〖0,5〗^3 and there are (█(8@5)) ways. so the probability of 5 heads is 56/256 (3) the probabilty the coins show 6 heads is 〖0,5〗^6x〖0,5〗^2 and there are (█(8@6)) ways. so the probability of 6 heads is 28/256 (4) the probabilty the coins show 7 heads is 〖0,5〗^7x〖0,5〗^1 and there are (█(8@7)) ways. so the probability of 7 heads is 8/256 (5) the probabilty the coins show 8 heads is 〖0,5〗^8x〖0,5〗^0 and there are (█(8@8)) ways. so the probability of 8 heads is 1/256. then count the probabilities so the probabilty of Calvin wins is 163/256 and a+b is 419
so the probabilities for 0 heads and 8 tails, 1 head, 7 tails... 8 heads, 0 tails are the 8th row of pascal's triangle.
that is of the form:
1,8 ,x,x,x,x,x, 8,1
0,1,2,3,4,5,6,7,8
now, the sum of the nth row of pascal's triangle is 2 n , so an exact half probability would be 2 8 2 7 the middle term of the eighth row of the triangle is ( 4 8 ) = 7 0 , so if we add one half of that to the numerator (because it was already divided half between winning and losing) we achieve the fraction.
2 8 2 7 + 3 5 = 2 5 6 1 6 3
1 6 3 + 2 5 6 = 4 1 9
it is asked that at least 4 heads therefore it can be seen other way around as 1 - probability of getting at most 3 heads let x denote the no of heads getting here possible value of x(possible no of heads getting) is 0,1,2,3 therefore solution goes as 1-(8c0+8c1+8c2+8c3)/256 i e 1-93/ 256 163/256 ans 163+256=419
Calvin wins if he obtains at least 4 heads; that is, if he does not obtain 0, 1, 2, or 3 heads.
The probability he obtains 0, 1, 2, or 3 heads is 2 8 ( 0 8 ) + ( 1 8 ) + ( 2 8 ) + ( 3 8 ) . Evaluating, this is equal to 2 5 6 9 3 . Since we want the probability this event does NOT occur, we subtract from 1 to get 1 − 2 5 6 9 3 = 2 5 6 1 6 3 as our answer.
We have 9 general events, starting by ALL NOT HEAD and ending by ALL 8 HEADS , each one has its probability.
So, for us to calculate the probability of at least 4 , its the sum of the probabilities of the events starting from 4 HEADS to 8 HEADS.
The total number of possible results = 2^8 = 256
The total number of 8 HEADS resulting = 8C8 = 1
The total number of at least 4 HEADS = 163
The probability of getting at least 4 HEADS = \frac {a}{b} = \frac {163}{256}
So, a + b = 419
So, let's do complementary counting. Let's find out the probability of obtaining 3 heads, then 2, then 1, then none. So, the probability of obtaining 3 head is just ( 3 8 ) which is 56. Next, the probability of obtaining 2 heads is just ( 2 8 ) which is 28. Next, the probability of obtaining 1 head is ( 1 8 ) or obviously 8. Finally, ( 0 8 ) is 1, so add them all up and subtract from the total and we get 93, which you subtract from the total to get 2 8 2 8 − 9 3 = 2 5 6 2 5 6 − 9 3 = 2 5 6 1 6 3 . Since they want the sum of the numerator and denominator, you take 163+256=419.
the probability of getting at least four heads is: p(4H) = 1 - [ p(0H) + p(1H) + p(2H) + p(3H) ] 1-[1/256+8/256+28/256+56/256]=1-93/256=163/256 It's easy to notice that 1, 8, 28 and 56, are the first four values in the 8th row of Pascal's triangle.
Out of 8 fair coin tosses, atleast 4 heads can be selected in {8 \choose 4} + {8 \choose 5} + {8 \choose 6} + {8 \choose 7} + {8 \choose 8} ways as 'atleast heads' cover all cases from 4 heads to 8 heads. The total number of outcomes are 2^8 as every toss has 2 outcomes - heads or tails. Dividing them will give the answer \frac {163}{256} .
probaality of 8 heads 8C8/256=1/256 SIMLARLY 7 HEAD 8C7/256=8/256 6=28/256 5=56/256 4=70/256 TOTAL=163/256
We have 9 possible outcomes, (0,1,2,3,4,5,6,7,8 heads)
We want to work out the probability that we get 4,5,6,7,8 heads. Notice that the probability of getting 0 heads is the same as that of getting 8 heads as heads and tails are symmetric. Similarly the probability of getting 1 head is the same as getting 7 and so on.
So P(0,1,2,3 heads)=P(5,6,7,8 heads)=x
P(4 heads)= ( 4 8 ) × ( 2 1 ) 8 = 2 5 6 7 0
We also have 2 5 6 7 0 + 2 x = 1
So x = 9 3 / 2 5 6
In total, probability of win = 2 5 6 7 0 + 2 5 6 9 3 = 2 5 6 1 6 3
The probability that Calvin wins is equal to 1 minus the probability he loses, i.e., getting at most 3 heads. Denote P(k) to be the probability that he gets k heads on 8 tosses. Then, the probability that he wins is 1 − ∑ k = 0 3 P ( k ) = 1 − ( 0 8 ) − ( 1 8 ) − ( 2 8 ) − ( 3 8 ) = 2 5 6 1 6 3 . So 1 6 3 + 2 5 6 = 4 1 9 .
There are 2 choices for every flip. so 2 8 choices for 8 flip. now Calvin will win if he obtains 4,5,6,7 or 8 heads or 4,3,2,1,0 tails respectively. so we have ( 4 8 ) + ( 3 8 ) + ( 2 8 ) + ( 1 8 ) + ( 0 8 ) = 1 6 3 choices for Calvin to win. So the the probability that Calvin wins is 1 6 3 / 2 5 6 . so a + b = 4 1 9 .
the sum of the values of the 8th row of pascal's triangle [1,8,28,56,70,56,28,8,1] from the 5th value is 163 163 + 128 = 291
Solution 1: Let X be the event that we get at least 4 heads, Y be the event that we get at least 4 tails. By symmetry, we get that P ( X ) = P ( Y ) . Also, we clearly have P ( X ∪ Y ) = 1 , since either of the events must occur.
Thus, 1 = P ( X ) + P ( Y ) − P ( X ∩ Y ) . We know that P ( X ∩ Y ) = 2 8 ( 4 8 ) , so P ( X ) = 2 1 ( 1 + 2 8 ( 4 8 ) ) = 2 5 6 1 6 3 . Hence a + b = 4 1 9 .
Solution 2: To obtain at least 4 heads, there are ( 4 8 ) + ( 5 8 ) + ( 6 8 ) + ( 7 8 ) + ( 8 8 ) = 7 0 + 5 6 + 2 8 + 8 + 1 ways. Hence, the probability is 2 5 6 1 6 3 , so a + b = 1 6 3 + 2 5 6 = 4 1 9 .
Firstly, find the probability that Dan will win.
By using the binomial probability function:
The probability of getting exactly x success in n trials, with the probability of success on a single trial being p is:
P(X=x) = nCx * H^x * T^(n-x)
then,
H=0.5; T=0.5; n=8; x={4,5,6,7,8}
Probabity that Dan will win = (8C4 0.5^4 0.5^4) + (8C5 0.5^5 0.5^3) + (8C6+0.5^6 0.5^2) + (8C7 0.5^7 0.5^1) + (8C8 0.5^8*0.5^0)
=163/256
Lastly, add the numerator and the denominator:
163+256=419
Thus, the answer is 419.
Problem Loading...
Note Loading...
Set Loading...
Since you are also asking about a generalization, I'll do the general derivation, and then look at the case n = 4 (which means 2 n = 8 We first note that the coin is fair, so P ( h e a d s ) = P ( t a i l s ) = 2 1 . Since we are tossing it 2 n times, the probability of getting any given sequence will be 2 2 n 1 (by the multiplication principle). So what we need to figure out is how many ways you can get at least n heads. Since x heads can occur in ( x 2 n ) ways, we want to find the sum (A): ∑ k = n 2 n ( k 2 n ) . Now consider the sum (B): ∑ j = 0 2 n ( j 2 n ) = 2 2 n (which can be justified using the binomial expansion for ( 1 + 1 ) 2 n ). Also note that ( b a ) = ( a − b a ) . Using this symmetry, the sum (B) can be written: j = 0 ∑ 2 n ( j 2 n ) = ( n 2 n ) + 2 i = n + 1 ∑ 2 n ( i 2 n ) = − ( n 2 n ) + 2 k = n ∑ 2 n ( k 2 n ) which gives: − ( n 2 n ) + 2 ∑ k = n 2 n ( k 2 n ) = 2 2 n , ∑ k = n 2 n ( k 2 n ) = 2 1 ( 2 2 n + ( n 2 n ) ) which is the number of ways you can get at least n heads). Now all we have to do is multiply by the probability of each case (which is 2 2 n 1 for all cases). If N is the number of heads: P ( N ≥ n ) = 2 2 n 1 × 2 1 ( 2 2 n + ( n 2 n ) ) = 2 2 n + 1 1 ( 2 2 n + ( n 2 n ) ) = 2 1 + 2 2 n + 1 ( n 2 n ) So, in the case n = 4 , we get P ( N ≥ 4 ) = 2 9 1 ( 2 8 + ( 4 8 ) ) = 5 1 2 2 5 6 + 7 0 = 2 5 6 1 6 3 . And since g c d ( 1 6 3 , 2 5 6 ) = 1 , b a = 2 5 6 1 6 3 , and a + b = 1 6 3 + 2 5 6 = 4 1 9 .