
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Typology: Exercises
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Homework (1) 8.2; 32) Let Ai be the set of sequences in which player i doesn’t get to play :(. Suppose we are in a k-intersection of the Ai’s, i.e., we know about k particular players who don’t get to play. The first match can be chosen in
( 6 −k 2
ways. The second match in
( 6 −k 2
−1 ways, etc. In summary, all four matches can be chosen in P (
( 6 −k 2
, 4) ways. Backing up, there are
k
ways to choose the players we know aren’t playing. And k can be 0, 1 or 2. (If k ≥ 3, then there are at most three pairs that can be made from the 6 − k players. This means we can’t even have a different match each week.) Plugging into the inclusion-exclusion formula, we get P (
(2) 6.2; 25) Let our exponents encode how many books the first teacher gets. For the first book, we can give the teacher either 2, 3 or 4 copies (no more since the other teacher needs to get at least two copies. Similarly, we can give 2 to 5 copies of the second book and 2 to 9 copies of the third book. Rewriting as GF’s, we have [x^12 ](x^2 + x^3 + x^4 )(x^2 + x^3 + x^4 + x^5 )(x^2 + x^3 + · · · + x^9 ) = [x^6 ](1 + x + x^2 )(1 + x + x^2 + x^3 )(1 + x + · · · + x^7 ). At this point, I would just multiply it out; I’m not sure what the book did for its solution. You get 12.
(3) 6.2; 29) Focus on one person. We can give the person anywhere from 0 to 5 of each delectable type of food. Since we want to keep track of steak and lobsters separately, we’ll encode this as (1 + x + x^2 + x^3 + x^4 + x^5 )(1 + y + y^2 + y^3 + y^4 + y^5 ). There are four people, so our final equation will be [x^10 y^15 ]
(1 + x + x^2 + x^3 + x^4 + x^5 )(1 + y + y^2 + y^3 + y^4 + y^5 )
= [x^10 ] (1^ −^ x
(1 − x)^4
[y^15 ] (1^ −^ y
(1 − y)^4
[(^ This can be solved as: 10 + 4 − 1 10
(4) 6.1; 26bd) (a) [ x^3 y^3 + x^4 (y^3 + y^4 ) + x^5 (y^3 + y^4 + y^5 ) + x^6 (y^3 + y^4 + y^5 + y^6 )
]n (z^3 + z^4 + z^5 + z^6 )n. (b) (y^3 + y^4 + y^5 + y^6 )n(x^3 y^4 + x^3 y^5 + x^3 y^6 + x^4 y^3 + x^4 y^5 + x^4 y^6 + x^5 y^3 + x^5 y^4 + x^5 y^6 + x^6 y^3 + x^6 y^4 + x^6 y^5 )n.
1