Solutions to Selected Math Problems: Counting Permutations and Combinations, Assignments of Mathematics

Solutions to selected problems from math 116 homework #3, focusing on counting permutations and combinations. The problems involve calculating the number of permutations of a set with repetition numbers, as well as finding the number of ways to distribute items among groups. The document also covers the concept of combinations, where the order of the items does not matter.

Typology: Assignments

Pre 2010

Uploaded on 08/31/2009

koofers-user-2nl
koofers-user-2nl 🇺🇸

9 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Math 116 - Solutions to selected problems from Homework # 3
The problems below are from Section 3.6 in the text.
21. We have to count the number of 9-permutations of the set {A, D, E , R, S}with repeti-
tion numbers 1,2,2,1,3. By Theorem 3.4.2, this is 9!
2!2!3! . The number of 8-permutations
of these 9 letters is the same number, since whenever we have an 8-permutation, we
can put the leftover letter at the end to get a 9-permutation, and every 9-permutation
is obtained in this way.
32. The multiset Scontains 12 elements (counting multiplicity), so when we form an 11-
permutation, there are 3 choices (a, b or c) of which type of element to leave out. If we
leave out an a, we then have to count the number of 11-permutations of the multiset
{2·a, 4·b, 5·c}, which is 11!
2!4!5! . If we leave out a b, we have to count the number of
11-permutations of the multiset {3·a, 3·b, 5·c}, which is 11!
3!3!5! . If we leave out a c, we
have to count the number of 11-permutations of the multiset {3·a, 4·b, 4·c}, which
is 11!
3!4!4! . Hence the answer is the sum of these three numbers 11!
3!4!5! (3 + 4 + 5) = 12!
3!4!5! .
Notice that this problem could also be solved using the idea for the second half of 21.
The answer is the same as the number of 12-permutations of S, that is 12!
3!4!5! , since any
11-permutation can be made into a 12-permutation by adding the leftover letter to its
end.
39. b) Choosing 6 sticks leaves 14, divided into 7 groups of size 0. If no two of the 6
sticks are consecutive, then the 5 groups in the middle have at least one stick each. If
xidenotes the number of sticks in the ith group, then we need to count the number
of solutions (x1, . . . , x7) to x1+· · · +x7= 14 with x1, x70 and x2, . . . , x61.
Replacing xiwith yi=xi1 for 2 i6, we need to count the number of solutions
in nonnegative integers to x1+y2+· · ·+y6+x7= 9, which equals 9 + 7 1
71=15
6.
c) This is essentially the same as (b), except x2, . . . , x62. Replacing xiwith yi=
xi2, we have to count the number of nonnegative integer solutions to x1+y2+· · · +
y6+x7= 4, which equals 4 + 7 1
71=10
6.
41. There are 3 ways to choose which child will get the orange. Suppose, without loss of
generality, that the first child gets the orange, and give an apple to each of the other
children. Then there are 10 apples to give to 3 children, and there are 10 + 3 1
31=
12
2ways to do this. Hence there are 3 12
2total ways to distribute the fruit.
45. a) Since we only care about how many books are on each shelf, we can let xibe the
number of books on the ith shelf. There are 20 books, so any distribution of them gives
a solution (x1, . . . , x5) in nonnegative integers to the equation x1+x2+· · · +x5= 20.
Conversely, any such solution to this equation determines how many books are on
1
pf2

Partial preview of the text

Download Solutions to Selected Math Problems: Counting Permutations and Combinations and more Assignments Mathematics in PDF only on Docsity!

Math 116 - Solutions to selected problems from Homework # 3

The problems below are from Section 3.6 in the text.

  1. We have to count the number of 9-permutations of the set {A, D, E, R, S} with repeti- tion numbers 1, 2 , 2 , 1 , 3. By Theorem 3.4.2, this is (^) 2!2!3!9!. The number of 8-permutations of these 9 letters is the same number, since whenever we have an 8-permutation, we can put the leftover letter at the end to get a 9-permutation, and every 9-permutation is obtained in this way.
  2. The multiset S contains 12 elements (counting multiplicity), so when we form an 11- permutation, there are 3 choices (a, b or c) of which type of element to leave out. If we leave out an a, we then have to count the number of 11-permutations of the multiset { 2 · a, 4 · b, 5 · c}, which is (^) 2!4!5!11!. If we leave out a b, we have to count the number of 11-permutations of the multiset { 3 · a, 3 · b, 5 · c}, which is (^) 3!3!5!11!. If we leave out a c, we have to count the number of 11-permutations of the multiset { 3 · a, 4 · b, 4 · c}, which is (^) 3!4!4!11!. Hence the answer is the sum of these three numbers (^) 3!4!5!11! (3 + 4 + 5) = (^) 3!4!5!12!. Notice that this problem could also be solved using the idea for the second half of 21. The answer is the same as the number of 12-permutations of S, that is (^) 3!4!5!12! , since any 11-permutation can be made into a 12-permutation by adding the leftover letter to its end.
  3. b) Choosing 6 sticks leaves 14, divided into 7 groups of size ≥ 0. If no two of the 6 sticks are consecutive, then the 5 groups in the middle have at least one stick each. If xi denotes the number of sticks in the ith^ group, then we need to count the number of solutions (x 1 ,... , x 7 ) to x 1 + · · · + x 7 = 14 with x 1 , x 7 ≥ 0 and x 2 ,... , x 6 ≥ 1. Replacing xi with yi = xi − 1 for 2 ≤ i ≤ 6, we need to count the number of solutions in nonnegative integers to x 1 +y 2 +· · ·+y 6 +x 7 = 9, which equals

9 + 7 − 1 7 − 1

15 6

c) This is essentially the same as (b), except x 2 ,... , x 6 ≥ 2. Replacing xi with yi = xi − 2, we have to count the number of nonnegative integer solutions to x 1 + y 2 + · · · + y 6 + x 7 = 4, which equals

4 + 7 − 1 7 − 1

10 6

  1. There are 3 ways to choose which child will get the orange. Suppose, without loss of generality, that the first child gets the orange, and give an apple to each of the other children. Then there are 10 apples to give to 3 children, and there are

10 + 3 − 1 3 − 1

12 2

ways to do this. Hence there are 3

12 2

total ways to distribute the fruit.

  1. a) Since we only care about how many books are on each shelf, we can let xi be the number of books on the ith^ shelf. There are 20 books, so any distribution of them gives a solution (x 1 ,... , x 5 ) in nonnegative integers to the equation x 1 + x 2 + · · · + x 5 = 20. Conversely, any such solution to this equation determines how many books are on

each shelf. The number of such solutions equals the number of 20-combinations of a 5-element set with repetition, which is

20 + 5 − 1 5 − 1

24 4

b) Here, we only care about which shelf each book is placed on. For each book, we have 5 choices as to which shelf to put it on, and the choice for each book is independent of the choices for all the other books. By the multiplication principle, there will be 520 different arrangements. (If we imagine the books lined up in some order, then assigning a shelf number, 1 through 5, to each gives a 20-permutation of { 1 , 2 , 3 , 4 , 5 } with arbitrary repetition. The number of these is 5^20 by Theorem 3.4.1.) c) Here we care about how many books are on each shelf and about the order of the books on each shelf. Thus we can count the number of arrangements in two steps: First, we count how many ways we can choose 20 spots to put the books in, i.e., we decide how many books will go on each shelf. By (a), there are

24 4

ways to do this. Next, we count how many ways there are to place the 20 books into these 20 spaces: there are 20! ways to do this. By the multiplication principle, our answer is thus

24 4

  1. a) This is exactly the situation covered by the second formula in Theorem 3.4.3. Thus

the answer is (^) (2!)(2nn)!n!. (The number of ways to choose n labeled pairs would be (2(2!)n)!n , but since each pair contains the same number of people and they are not labeled, we must divide by n!.) b) If we first choose one of the 2n + 1 people to be left out, we are in exactly the same situation as in part (a). Since there are 2n + 1 ways to make this choice, our answer will be (2n + 1) (^) (2!)(2nn)!n!.