


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



3
23 ). Do not use notations C(n, k) or P (n, k) in your answers. All of the questions have a simple answer and require virtually no hand computations. Write legibly and circle or box your answer.
(a) What is the number of 10-element subsets of a 100 element set?
10
(b) What is the number of functions from the set { 1 , 2 ,... , 100 } to the set { 0 , 1 }? 2100
(c) What is the number of 7-letter upper-case words that contain the letter A? 267 − 257 (d) What is the number of 7-letter upper-case words, whose letters are distinct and occur in alpha- betically increasing order. (E.g., BDFKSTX is counted, but not BFDKSTX (since F and D are not in alphabetical order), nor BDDKSTX (since D is repeated).) Solution: This was worked out in class. There are
7
ways to choose the 7 letters, and exactly one way to place them in alphabetical order, so the total count is
7
(e) What is the probability that in 10 rolls of an ordinary die exactly 4 sixes come up?
4
(f) Given that P (A) = 0.5, P (B) = 0.8, and A ⊆ B, what is the conditional probability P (A|B)? Solution: P (A|B) = P (A ∩ B)/P (B) = P (A)/P (B) = 0. 5 / 0. 8
Solution: By the Binomial Theorem, the given sum is
∑^100
k=
2 k
k
(b) Find the coefficient of x^10 in
2 x + (^1) x
Solution: (This is similar to Problem 5.4:10 from HW 4.) By the binomial theorem ( x +
x
k=
(2x)k
x
) 100 −k ( 100 k
k=
2 kx^2 k−^100
k
The x^10 term corresponds to k = 55, and its coefficient is 255
(a) If all 4 I’s must be adjacent (as in MSPIIIIPSMSS). Solution: This is a standard word counting problem that came up in HW 5. The trick is to treat the I-block as a single unit IIII. We then have to count permutations of 4 S’s, 2 P’s, 1 M, and 1 III , a total of 8 symbols. The number of these is
8! 4!2!1!1!
(The numerator, 8!, counts the number of permutations of 8 distinct objects, and the factors 4!, and 2! in the denominator compensate for the repetition of the letters S and P .) Remark: An alternative way to arrive at the correct answer is by filling 8 slots with with 4 S’s, 2 P’s, 1 M, and 1 III , one at a time: There are
4
ways to pick slots for the 4 letters S,
2
ways to pick slots for the 2 letters P ,
1
ways to pick slots for the letter M , and
1
ways to pick the remaining slot for the letter III , This gives a total count of
4
2
1
1
. Expressing the binomial coefficients in terms of factorials and canceling shows that this is the same answer as the one obtained above. (b) If the letters I are not allowed be adjacent. (For example, MISSIISSPPI would not be counted, since it has two adjacent I’s). Solution: This is of the same type as the “win streak” problem discussed in class, or the “men/women in a line” problem from HW 4. There are 4 I’s and 7 other letters. Considering the other letters as separators (“bars”), we have 8 spaces created by these separators in which to place the I’s. There are
4
ways to choose 4 spaces out of these 8 for the 4 I’s. Once the I’s have been placed, we have 7 slots left to fill with the remaining 7 letters. We can do this in (^) 4!2!1!7! ways, by the same argument as above. Hence, the total count is (^) ( 8 4
(a) What is the probability that exactly 2 of the 7 cards are diamonds? Solution: There are
2
ways to choose the 2 diamond cards, and
5
ways to choose 5 cards from the 39 non-diamond cards on the deck. Thus, the probability is ( 13 2
5
7
Your solution must use (a suitable version of) the pigeonhole principle, and must include precise definitions of (i) the “pigeonholes” and (ii) the “pigeons”, along with the counts (“N ”) of pigeons and (“k”) of pigeonholes.
Solution: This is a variation on the “consecutive house number” problem, 5.2:14, from hw 3. Define pigeons and pigeonholes as follows:
(1) H 1 = { 1 , 2 , 3 , 4 }, H 2 = { 5 , 6 , 7 , 8 },... , H 25 = { 97 , 98 , 99 , 100 }.
Count: There are 25 such sets, so the number of pigeonholes is k = 25. Since dN/ke = d 76 / 25 e = 4, the generalized pigeonhole principle guarantees that there exists a “pigeonhole” that contains 4 “pigeons”. By the above definition of pigeons and pigeonholes this means one of the sets H 1 ,... , H 25 in (1) contains 4 numbers from the given set, and those 4 numbers must be consecutive, by the definition of the sets Hi. Remarks: (i) In the above application of the pigeonhole principle it is crucial that the pigeonholes be defined precisely as in (1). In particular, the sets must be nonoverlapping in order for the counts to work out. If one were to define the sets as
(1’) { 1 , 2 , 3 , 4 }, { 2 , 3 , 4 , 5 }, { 3 , 4 , 5 , 6 },...
one would end up with a total of 97 sets, and hence 97 pigeonholes. But this is more than the 76 pigeons, so the pigeonhole principle wouldn’t guarantee that some hole contains 4 pigeons. (ii) The number 76 in the problem is best-possible; the statement would be false if 76 were replaced by 75. (An example is the set { 1 , 2 , 3 , 5 , 6 , 7 , 9 , 10 , 11 ,... , 95 , 97 , 98 , 99 } which has 75 elements but no 4 consecutive integers.) In the above argument, the crucial inequality is 76 / 25 > 3. This ensures that some hole has 4 pigeons. With 75 instead of 76, one would have d 75 / 25 e = 3 and the pigeonhole principle would only guarantee that some hole has 3 pigeons, which is not enough. An easy way to convince yourself that an alternate argument cannot possibly be right is to check if it would give the same conclusion when 76 is replaced by 75 (in which case we know the result cannot be true). For example, if the pigeonhole application involves
4
pigeons and 75 pigeonholes, then replacing 76 by 75 would not change the relative numbers of pigeons and pigeonholes.