

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
Solutions to homework problems in math 173, focusing on partitions and generating functions. Topics include choosing balls from indistinguishable boxes, partitions of numbers with at most three parts, and constructing partitions from ferrers diagrams. The document also covers selection problems with repetition and calculating coefficients of generating functions.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


(1) 6.3; 4) a) Since there is only one parameter we are keeping track of (namely, r), we can do this all with one variable (we’ll use z to avoid confusion with the equation variables). Think of choosing balls from three boxes. In the first box are balls weighing two pounds each. In the second and third boxes the balls weigh three and seven, respectively. We want to know how many ways we can get r pounds total. We can pick 0, 1 , 2 ,... balls from the first box. In terms of choosing weights, these choices correspond to 0, 2 , 4 ,... pounds from the first box. So we want the GF 1 + x^2 + x^4 + · · · = 1 /(1 − x^2 ). Arguing similarly for the other boxes, we end up with (^) (1−x (^2) )(1−^1 x (^3) )(1−x (^7) ). b) Take the choice from the first box. We need to choose at least eight balls; this corresponds to choosing at least 16 pounds. We want (x^2 )^8 + (x^2 )^9 + · · · for this box. Arguing similarly for the other boxes, we get ((x^2 )^8 + (x^2 )^9 + · · · )((x^3 )^2 + · · · + (x^3 )^8 )(1 + (x^7 )^1 + (x^7 )^2 ) for our final answer.
(2) 6.3; 6a) If the boxes were distinct, then this would just be a balls and boxes problem. But since they’re indistinguishable, we’re going to overcount. For instance, as a balls-and-boxes problem 7,4 and 1 balls going in each box is going to be counted differently from putting 4,7,1. Note that we can’t just divide by 3! as some configurations (such as 4,4,4) are not going to be overcounted. The solution is to recognize this question as asking for the number of partitions of r with at most three parts. By the transposition of Ferrers diagrams, this is equal to the number of partitions of r with parts of size at most 3. But from the derivation of the GF for all partitions, we can easily construct this as (^) (1−x)(1−^1 x (^2) )(1−x (^3) ).
(3) 6.3; 11) a) Consider an arbitrary partition λ = (λ 1 ,... , λk) (with λ 1 ≥ λ 2 ≥ · · · ≥ λk > 0). If λk = 1, then (λ 1 ,... , λk− 1 ) is a partition of r −1 into k −1 parts. There are R(r − 1 , k −1) such partitions. If λk > 1, then (λ 1 − 1 , λ 2 − 1 ,... , λk − 1) is a partition of r − k into k parts (because λk − 1 ≥ 1). There are R(r − k, k) such partitions. Since each of these processes is reversible, we get the equation claimed.
Here is an example for n = 7 and k = 3. We have R(7, 3) = 4 as the possible partitions are , , ,. In removing the last box from each of the first three partitions,
we get the three possible partitions of 6 into two parts: , , and. For ,
we remove one from each part to get , the single partition of 4 into three parts. b) Let λ = (λ 1 ,... , λr) be a partition of n into r parts with λk > 1 and λk+1, λk+2,... , λr =
(4) 6.3; 18) As per the hint, consider a row of n 1’s. Between each pair of successive 1’s, we can either place a + sign or a ,. By the MR, this leads to 2n−^1 possible ordered partitions.
(5) 6.3; 21a) The book answers this pretty well, but here’s another description. Strip off the northwest boundary of the Ferrers diagram and make this the first row of a new partition. Since the original diagram was self-conjugate, this boundary has odd length (it consists of 1
the corner box plus an equal number of boxes to the right and below). Now strip off the new northwest boundary and make it the second row of the new partition. Continue in this manner. We have certainly constructed a partition of n into odd parts. But you can check that if a part were repeated in our new partition, it would imply that the Ferrers diagram we started with wasn’t legal (try starting with and reversing the above process). Here is an example of the map where I’ve filled the boxes according to the step during which they got stripped off.
1 1 1 1 1 1 1 2 2 2 1 2 3 3 1 2 3 1 1
(6) 6.4; 2) Rephrase this as a selection problem with repetition. We have people lined up from left to right and we’re going to choose one of six room labels for each person. Each room label must appear between two and four times. With one label, there is one way to make a word of any length; this leads to an exponential generating function of x^2 /2!+x^3 /3!+x^4 /4!. Since there are six labels, we need to raise this to the sixth power: (x^2 /2! + x^3 /3! + x^4 /4!)^6. The coefficient of r is the desired answer.
(7) 6.4; 6) Again, assign a child-label to each toy. The first label must appear at least twice, leading to x^2 /2!+x^3 /3!+x^4 /4!+· · · = ex^ −x/1!−1. For each of the other three children, we can just use ex. So we need the coefficient of [xr/r!] in (ex^ − x − 1)(ex)^3 = e^4 x^ − xe^3 x^ − e^3 x. The first of these is 4r. For the second:
xe^3 x^ = · · · +
3 r−^1 xr (r − 1)!
3 rrxr r!
where we have multiplied by r/r to get a term that looks like xr/r!. So the coefficient from this term is − 3 rr. The last term is 3r. Combining and setting r = 8, we get our answer of 48 − 8 · 37 − 38.
(8) 6.5; 1) a As we talked about in class, x (^) dxd 1 −^1 x = x/(1 − x)^2 works. b By Rule 1, since 1/(1−x) is the GF for 1, 1 , 1 ,.. ., 13/(1−x) is the GF for 13, 13 , 13 ,.. .. c This is entirely analogous to Example 1, pg. 274. d The GF for 3r is 3x/(1 − x)^2 by part a) of this exercise along with Rule 1. The GF for 7, 7 , 7 ,... is 7/(1 − x) just as in part b). Finally, use Rule 2 to add them: 3 x/(1 − x)^2 + 7/(1 − x).
2