#8. Suppose S = {1, 2, . . . , 20}. You select a subset T ⊆ S of size three. Find the probability that T consists of three prime numbers.
There are C(20, 3) subsets of size three, and choosing any of them is equally likely. There are eight primes in the first 20 integers — 2, 3, 5, 7, 11, 13, 17, 19. Therefore
p(T consists of three primes) = C(8, 3) / C(20, 3) ≈ 0.049.
p.394, icon at Example 1
#9. Suppose S = {1, 2, . . . , 20}. You select a subset T ⊆ S of size three. Find the probability that the three numbers in T have a sum that is less than nine.
Solution:
There are C(20, 3) subsets of size three, and choosing any of them is equally likely. There are four ways in which the three numbers can have a sum less than nine: 1, 2, 3; 1, 2, 4; 1, 2, 5; and 1, 3, 4. Therefore
p(sum of the integers is less than nine) = 4 / C(20, 3) ≈ 0.004.
p.394, icon at Example 1
#10. A class has 20 women and 13 men. A committee of five is chosen at random. Find
(a) p(the committee consists of all women).
(b) p(the committee consists of all men)
(c) p(the committee consists of all of the same sex)
Solution:
(a) There are C(33, 5) possible committees of size five. Of these, there are C(20, 5) committees consisting
only of women. Therefore, the probability that the committee consists of all women is
C(20, 5) / C(33, 5) ≈ 0.065.
(b) There are C(33, 5) possible committees of size five. Of these, there are C(13, 5) committees consisting only of men. Therefore, the probability that the committee consists of all women is C(13, 5) / C(33, 5) ≈ 0.005.
(c) There are C(33, 5) possible committees of size five. Of these, there are C(20, 5) committees consisting only of women and C(13, 5) committees consisting only of men. Therefore, the probability that the committee consists of all women is
( C(20, 5) + C(13, 5) ) / C(33, 5) ≈ 0.07
p.394, icon at Example 1
#11. What is the probability of getting more heads than tails, if you toss a fair coin
(a) nine times?
(b) ten times?
Solution:
(a) If you toss a fair coin nine times, half the time you will have more H than T and half the time you will have more T than H. Therefore, the probability that you obtain more heads than tails is 1/2.
(b) If you toss a coin ten times, one of the following three possibilities must happen:
1. you toss equal numbers of H and T,
2. you toss more H than T,
3. you toss more T than H.
The sample space consists of all strings of ten letters, each of which is H or T. The number of ways of obtaining 5 H’s and 5 T’s is C(10, 5). (To see this, note that we must choose a set of 5 of the 10 spots in a string for H’s.)
Therefore, the number of ways of obtaining unequal numbers of heads and tails is 210 − C(10, 5). Half of these will have more heads than tails, and half will have more tails than heads. Thus, the number of ways of obtaining more heads than tails is (1/2) . ((2^10) − C(10, 5))) = ((2^9) − C(10, 5)/2). Therefore, the probability of obtaining more heads than tails is ((2^9) − C(10, 5)/2) / (2^10) =( (1/2) − C(10, 5)/(2^11)) .
p.394, icon at Example 1
#12. A family has two children. They are not twins. You ring the doorbell of the house they live in and a girl answers the door. What is the probability that the other child in the family is a girl? Assume that in the births of two children the probability of the birth of a girl or a boy are independent events and that the probability of the birth of a child of either sex is 1/2.
Solution:
The obvious answer is 1/2, because according to the assumptions in this example the probability that any child is a girl is 1/2. However this is not correct. The error here is in determining the sample space S. We know that the family cannot have two boys, because a girl answered the door. If we take as the sample space {1 girl and 1 boy, 2 girls}, then the two outcomes are not equally likely. Having “1 girl and 1 boy” is twice as likely as having “2 girls”. This is true because “1 girl and 1 boy” can occur in two ways: the older child is a girl and the younger child is a boy, or the older child is a boy and the younger child is a girl.
If we wish to use the basic definition of probability, p(E) = |E|/|S|, then the outcomes must all be equally likely. We can use the sample space where each element has the form “older child, younger child”. In this case we begin with a sample space of size four: {GG,GB,BG,BB}. Note that the probability of having one child of each sex is 1/2, not 1/4. Given that the family has at least one girl, we eliminate the possibility BB to obtain sample space S = {GG,GB,BG}. Each outcome has probability 1/3 and thus p(other child is a girl) = 2/3.
Note: Suppose, in addition, we knew that it was the older child who answered the door. In this case the sample space becomes S = {GG,GB} because the older child is not a boy. Thus, the probability that the other child is a girl is 1/2.