Q1: 10 points Q2: 10 points Q3: 10 points Q4: 10 points Q5: 30 points Q6: 30 points Total: 100 points
FALSE. There are 63 = 216 total throws. It's easiest to count the throws with no sixes, of which there are 53 = 125, more than half of 216. You could also count the throws with sixes -- there are 36 of the form 6xx, 36 of the form x6x, and 36 of the form xx6, for a total of 108 minus some double-counting. This is enough to answer the question -- since there are fewer than 108 throws with sixes, the statement is false. To continue to get the exact count, though, you would remove 6 each for the throws of the form 66x, 6x6, and x66, and add one back for 666, for a total of 108 - 3(6) + 1 = 91. It's easier to get the 91 as 216 - 125, of course.
TRUE. The number with both is 63 minus the number that either
have no five or have no six. This latter number is the size of the union of
"no five" and "no six", which by inclusion/exclusion has size
53 + 53 - 43 since the intersection of these
two sets ("no five and no six") has size 43.
You could also evaluate this expression as 30 and count the throws with both
a five and a six by other means. There are six permutations each of 561, 562,
563, and 564, and three permutations each of 565 and 566, for a total of 30.
FALSE. The number of sets of five of the 13 vegetables is (13 choose 5), which is equal to (13 choose 8), by the solution of the Third Counting Problem.
TRUE. By the solution to the Second Counting Problem, the number of outcomes is 83 = 8*7*6 = 336 > 300. It might be quicker to note that 56*6 > 50*6 = 300.
First Counting Problem with n=4 (things to choose from) and k=5 (number of choices made), answer 45 = 1024.
Fourth Counting Problem with n=4 and k=5, answer (n-1+k choose k) = (8 choose 5) = (8 choose 3) = 8*7*6/1*2*3 = 56.
You could use common sense and say that five customers cannot possibly each order a different kind when there are only four kinds, so the answer is zero. (This particular bit of common sense has the formal name of the Pigeonhole Principle.) Or you could blindly follow the formula for the Second Counting Problem with n=4 and k=5, getting 45 = 4*3*2*1*0 = 0. Either method works.
Any subset of {A,C,S,T} is possible except for the empty set -- since five rolls are ordered, at least one type of roll must be ordered. So the answer is 24 - 1 = 15. You could also count the one-element, two-element, three-element, and four-element sets separately by the solution to the Third Counting Problem, getting (4 choose 1) + (4 choose 2) + (4 choose 3) + (4 choose 4) = 4 + 6 + 4 + 1 = 15.
We must pick which two customers order A, which can be done in (5 choose 2) = 10 ways. Then we must assign the three other customers to the three other kinds of roll, which can be done in 33 = 6 ways. So there are 60 possible waiter-orders. Alternatively, you could look at the 5! = 120 permutations of the five customers, and note that there are two of these for every waiter-order, meaning that there must be 120/2 = 60 waiter-orders.
There are four possible chef-orders with all four kinds of roll ordered at least once: "AACST", "ACCST", "ACSST", and "ACSTT". We've just counted 60 waiter-orders for the first of these, and the others also have 60 waiter-orders each by an almost identical argument. Thus there are 4*60 = 240 waiter-orders that include all four kinds of roll.
For any n, if there are any three-element sets at all, they each have a
middle element which must be in {1,...,n}. If that middle element is i, then
the low element must be in the set {1,...,i-1} and the high element must be
in the set {i+1,...,n}. There are i-1 element in the first set and (n-i)
in the second, so by the Product Rule there are (i-1)(n-i) sets with middle
element i. Since no two sets with different middle elements could be the same
set, we can use the Sum Rule to get the total by adding the number with each
middle element, getting the sum for i from 1 to n of (i-1)(n-i) as desired.
It's possible though more difficult to prove this identity by induction.
After checking the base cases, you assume the identity for arbitrary k and look
at the version for n = k+1. This says that (k+1 choose 3) should be the sum
for i from 1 to k+1 of (i-1)(k+1-i). Breaking up the last factor of each
product but the last into k-i and 1, we get that this sum is the sum of:
The first sum is (k choose 3) by the inductive hypothesis.
The second sum, 0 + 1 + ... + k-1, is
"well-known" to be (k choose 2). And by Pascal's Identity, (k+1 choose 3)
is equal to (k choose 3) + (k choose 2).
Last modified 20 February 2009