



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 combinatorial problems, including calculating the number of ways to choose distinct elements from a set, the number of ways to place rooks on a chessboard without them being in the same row or column, and the number of ways to form committees with specific gender requirements. It also includes problems on choosing ball-bearings and distributing candy bars.
Typology: Assignments
1 / 5
This page cannot be seen from the preview
Don't miss anything!




2.3.4. (a) How many teams of 5 players can be chosen from a group of 10 players?
Assuming team members have indistinugishable roles, this is a matter of selecting 5 distinct elements in no order from a set of 10; we can count the ways ot do this with the combination statistic
5
(b) How many teams will include the best player and exclude the worst player? To select a team with these properties, we start by selecting the best player, which is required. At this point we must still choose 4 players, and we have 8 possible players remaining to fill the team (we exclude the best player, who has already been chosen, and the worst player, whom we are forbidden to choose). Thus, we can fill the rest of the team in
4
= 8 ·^724 ·^6 ·^5 = 70 different ways.
2.3.10. Suppose that a club has eight male and nine female members. In how many ways can a four-person committee be chosen if
(a) Exactly two women committee members are to be chosen? We may consider the construction of a committee as a two-step process: select the women serving on it, and then the men. There are nine women, so there are
2
ways to select two of them to serve on the committee;. likewise, there are
2
ways to select two men to serve. Since the formation of a committee results from the independent performance of these two steps, we may form any of( 9 2
2
= 92 ·^882 ·^7 = 1008 different committees. (b) At least two women committee members are to be chosen? We divide this up into several cases; either there are two women, three women, or four women on the committee. We see, from the argument in the previous section, that the first case contributes
2
2
possible committees; the second and third cases can be shown, via very simple modifications of the above argument, to contribute
3
1
and
4
0
possible committees. Thus, the total number of possible committees is ( 9 2
This result could also be obtained by looking at the number of committees to- tal, which is
4
= 2380, and subtratcting off the number of male-dominated committees, which based on a casewise analysis similar to that above is
1
3
9 0
4
2.3.14. In a group of 30 ball bearings, 5 are defective. If 10 ball-bearings are chosen, what is the probability that none of them is defective? The number of ways to choose 10 ball-bearings from a pool of 30 is
10
, assuming the selection process does not distinguish among its ten selectees. The number of ways to choose 10 non-defective ball-bearings is simply the number of ways to choose 10 ball- bearings from the diminished pool of non-defective ball-bearings – that is, a pool of 25
possible choices. Thus, there are
10
ways to choose 10 non-defective ball-bearings. The probability of such a selection is then: ( 25 10
10
25! 10!15! 30! 10!20!
2.3.22. In how many ways can eight identical rooks be placed on an ordinary 8 × 8 chessboard so that no two are in the same row or column? In how many ways, if each rook has a different color? We must place exactly one rook on each row, since we cannot place two on the same row and must place 8 among 8 rows. Thus, for each row, we must choose which column to put the rook on. The rook on the first row can be in any of 8 columns; the rook on the second row can go on any of the remaining seven, and so forth, for 8! = 5040 placements total. If each rook also has a color, then we have any of eight colors for the rook in the first row, any of seven for the rook in the second row, etc., for 8!8! = 25401600 possible placements total.
2.3.26. In one version of the game of poker, seven cards are dealt to a player (the order of distribution is unimportant). How many different poker hands have three different pairs (two cards of the same rank) and one card of a fourth rank. We first want to select 3 distinct ranks which have no order among them (i.e. pairs of kings, sixes, and twos is the same as pairs of sixes, twos, and kings). There are
3
ways to do this. Then, for each of the ranks we assign suits. This task does have an order, since having kings of hearts and clubs is a different hand than sixes of hearts and clubs, for instance. Thus, for each of the ranks (if we like, we can think of this as starting with the highest rank and working down) we select 2 suits; we can do this in ( 4 2
ways for each rank, and there are thus
2
suit assignments performed on these three ranks. Finally, we want one card not from any of these three ranks; this card can have any of 10 ranks and any of 4 suits, so it can be any of 40 different cards. Thus, the number of such hands is ( 13 3
2.4.4. (a) Find the number of nonnegative integer solutions of x 1 + x 2 + x 3 + x 4 + x 5 = 24.
This can be thought of as a distribution problem in which 24 indistinguishable objects are distributed among 5 recipients. One way to do this would be to place 4 “walls” among 24 “items”, so that the walls separate the items into the portion for each recipient. Since there would be 24 + 4 = 28 “slots” total, each of which is occupied by a wall or an item, and 4 wall-positions must be selected, there are( 28 4
= 20475 soloutions. (b) What if each xi must be at least 2? It would be useful to convert this to a problem already solved, and we may indeed do so by letting xi = yi + 2; then xi ≥ 2 if and only if yi is a nonnegative integer.
Adding up the cases, we see that there are 12 · 311 +
2
310 distributions in which the smallest child receives one or two candies. Thus, to compute a probability, we divide by the set of all distributions to get:
12 · 311 +
2
2.4.14. How many different functions are there from a set A, with n different elements, to a set B, with n + 2 elements? How many injections are there from A to B? How many surjections are there from B to A? If we freely choos functions, then each element of A can be mapped to any element in B, so for each of the n elements of A, there are n + 2 choices of image; thus overall there are (n + 2)n^ choices of function. If we restrict to injections, then we may may the first element of A to any element in B, but the second element in A must be mapped to one of the remaining n+1 elements of B, and so forth. This is identical to choosing n distinct elements in order from B, so it is exactly the permutation statistic P (n + 2, n) = (n+2)! 2 Surjections from B to A are more complicated, because there are two possibilities to contend with: there must be n distinct images in A so as to be a surjection, but, the two extra elements of B can be distributed either to a single element of A, or among two different elements. We must analyze these cases separately: Suppose there is an element of A which is the image of 3 seperate members of B. To enumerate functions with this property, we start by choosing the element of A which has 3 preimages: there are n ways to select this. Then we select the three elements of B which map to it, which we can do
(n+ 3
ways. Finally, the remaining elements n − 1 elements of A and of B must be associated with each other in a one-to-one correspondence: this we can do P (n − 1 , n − 1) = (n − 1)! ways. This case thus contributes n
(n+ 3
(n − 1)! = n(n+2)! 6 surjections. If, instead, we have two elements of A which are the image of 2 seperate members of B each, our selection process is more complicated: We choose two elements of A with this property, which we can do in
(n 2
ways; then we associate each in turn with 2 members of B. We take one of the elements of A (arbitrarily, we might say, the larger, according to some ordering on the elements of A) and choose 2 preimages for it: this can be done in any of
(n+ 2
ways. Now we repeat for the smaller, but only n preimages remain, so we have
(n 2
possible selections for this one. Lastly, we associate the remaining n − 2 elements of A and B with each other, in any of (n − 2)! ways. This case thus contributes
(n 2
)(n+ 2
)(n 2
(n − 2)! = n(n−1)( 8 n+2)!cases.
We thus have a total of n(n 6 +2)! + n(n−1)( 8 n+2)!= (3n+1)( 24 n +2)! surjections.
2.4.20. Given n identical objects and n objects which are different from them and from each other, find the number of ways to select n objects out of these 2 n objects. Let us consider a number of different cases concurrently. If we were to pick some number k of the identical objects, we could do so only one way (since any chosen k
of the identical objects looks the same as any other selection of k identical objects).; however, of the remaining n − k objects, we are selecting them from apool of n objects, so there are
( (^) n n−k
ways to do this. Thus, for the case where exactly k of our objects are identical, there are
( (^) n n−k
ways to select. So to get the sum of these cases, we range over all possible values of k to get
(n n
( (^) n n− 1
( (^) n n− 2
(n 0
which we know to be 2n. We may in fact get the 2n^ directly by observing that selections of the type mentioned in the problem can be bijectively mapped to subsets of the distinct objects by simply removing all the objects from a selection drawn from the identical group or, inverting the mapping, to take a subset of size k and “top it off” by adding n − k of the identical elements.
2.4.29. The integer 3 can be expressed as an ordered sum of positive integers in four ways, namely, 3 , 2 + 1, 1 + 2, and 1 + 1 + 1. Show that any positive integer n can be expressed as an ordered sum in 2 n−^1 ways. We could look at the ways to express n as an ordered sum of k positive integers; using a reduction like that used above in 2.4.4(b), this is the same as the number of ways to express n − k as an ordered sum of k nonnegative integers. We thus place k − 1 “walls” among( n − 1 “slots” to produce such an ordered partition, and can do so in n− 1 k− 1
ways. Collecting together the distinct cases k = 1,k = 2,.. ., k = n, we have the sum
(n− 1 0
(n− 1 1
(n− 1 2
(n− 1 n− 1
which we know has sum 2n−^1. One may also approach 2n−^1 directly, by considering a line of n objects among which we shall place walls. Unlike in previous approaches using this technique, we do not allow two walls to be adjacent (since 0 is not a positive integer), and we allow as many walls as desired among the objects. Thus, we may spread out our n objects and consider the n − 1 gaps between them. In each of these gaps we may choose to place or not place a wall, and these decisions describe a partition. Since we have n − 1 decisions involved in this process,e ach with two choices, there are 2n−^1 ways to partition n. Here is a visual example of all eight distinct partitions using these “walls” to decompose the number 4: