

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 various math problems from a university-level course, including combinatorics and balls-and-boxes problems. The solutions involve using concepts such as multinomial coefficients, stars-and-bars method, and set composition principle.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


(1) 5.4; 6) Let the number of balls in the three boxes be x, y and z. We are told that x+y +z =
An alternative solution is to realize that after the we choose the 14 balls for the one box in
14
ways, each remaining ball can go into one of two boxes with no restrictions. By the MR, therefore, these last 7 balls can be placed in 2^7 ways. Finally, we need to multiply by 3 to choose whether the box with 14 balls is first, second or third. So, this way, the answer is 3
14
(2) 5.4; 14) First we convert this to a problem for which we’re looking for nonnegative solutions by subtracting 4 from each side: (x 1 −1)+(x 2 −1)+(x 3 −1)+(x 4 −1) < 96. As we saw in class, we can deal with the less-than sign by adding an extra variable, x 5. This variable absorbs the difference between our minimum possible sum (zero) and our maximum possible (ninety five). So we have as our modified equation (x 1 − 1) + (x 2 − 1) + (x 3 − 1) + (x 4 − 1) + x 5 = 95. This is now a balls-and-boxes problem with r = 95 and n = 5. So the number of solutions is
95
4
It would also be natural to try to deal with the inequality before dealing with the “posi- tive” requirement. Then, after adding the dummy variable you’d have x 1 +x 2 +x 3 +x 4 +x 5 =
(3) 5.4; 16) In the first step, person one is given one of 10 books, say Don Quixote. Then persons two and three get books. Then the remaining 7 books are distributed. Suppose the last of these 7 is an advance copy of Pride & Prejudice & Zombies that goes to the first person. Alternatively, we could have made the same choices except have Pride & Prejudice & Zombies be given to the first person in step one and Don Quixote be given as the last book. These two cases are counted differently, however they lead to the same ultimate distribution of books and therefore should only be counted once. In the language of the book, this strategy violates the Set Composition Principle. Another error is in how many ways there are to distribute those final 7 books. r distinct objects distributed to n distinct boxes can be distributed in nr^ possible ways. So the number of possibilities here is 3^7 , not 7^3 as the book lists.
(4) 5.4; 20) The number of possible games for the first bag is
20
. The number of possible toys for the second bag is
15
. The number of possible presents for the third bag is
15
These choices are all independent, so by the MR, the answer is
20
15
15
1
(5) 5.4; 24) The total number of possible arrangements is
4 , 2 , 2 , 1 , 1 , 1 , 1 , 1
. To count the ones they specify, first treat the two F’s and two C’s as single characters. So now we have 11 characters to arrange. First we place the 7 non-E’s in 7! possible ways. Then we place four E’s in the spaces between these slots in
4
possible ways. By the MR, the answer is therefore 7!
4
4 , 2 , 2 , 1 , 1 , 1 , 1 , 1
This also could have been solved by placing the E’s first (in one way). Then placing three generic consonants between successive pairs of E’s. Then distributing the remaining four generic letters in the spaces between the E’s in
4
ways (r = 4, n = 5; balls-and-boxes). Then finally determining the actual order of the 7 non-E characters in 7! ways.
(6) 5.4; 34b) As a selection problem: “Choose 18 objects from among six types with at least two of each type.” As an integer-solution problem: “The number of solutions to x 1 + x 2 + x 3 + x 4 + x 5 + x 6 = 18 with each xi ≥ 2.”
(7) 5.4; 44) First arrange the vowels in one of 4! possible orders. The first two vowels now become our first pair; the last two become our second pair. Place two generic consonants between these two vowel-pairs. Place the remaining five generic consonants in
5
ways (balls-and-boxes; r = 5, n = 3). Now arrange the actual consonants in 7!/2! ways (divide by 2! because of the repeated L’s). By the MR, we then have 4!
2
arrangements.
(8) 5.4; 54) If you only had to worry about the sixteen honors, this would relatively simple. However, the number of ways to distribute the remaining 36 cards varies according to the actual distribution of honors, so we need to break into cases. First, the denominator is
13 , 13 , 13 , 13
. For the numerator, it is easy to list that the distributions of honors we are interested in are { 7 , 3 , 3 , 3 }, { 6 , 4 , 3 , 3 }, { 5 , 5 , 3 , 3 }, { 5 , 4 , 4 , 3 } and { 4 , 4 , 4 , 4 }. These can each happen in 4, 12, 6, 12 and 1 possible orderings, respectively. (In other words, if the distribution of honors is { 7 , 3 , 3 , 3 } we have four possible choices for who gets the 7.) For a distribution {x, y, z, w}, we can then distribute the honors in
x,y,z,w
ways and the remaining 36 cards in
13 −x, 13 −y, 13 −z, 13 −w
ways. Using the MR and AR, we get as our answer
divided by
13 , 13 , 13 , 13
. This comes out to 45.3%
2