Math 173 Homework Solutions: Probability Calculations, Assignments of Mathematics

Solutions to homework problems in a university-level mathematics course, specifically for the topic of probability. The solutions cover various calculations using concepts such as multinomial coefficients, combinations, and permutations. Students can use this document as a reference to check their own work or to understand the concepts better.

Typology: Assignments

Pre 2010

Uploaded on 08/31/2009

koofers-user-147
koofers-user-147 🇺🇸

9 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Homework #3 Math 173 Spring ’09
Solutions
(1) 5.2; 12)
a) This is equivalent to distributing 14 distinct balls (i.e., the people) into three distinct
bins such that 3 go into the first bin, 5 into the second, and 6 into the third. The
answer is the multinomial coefficient 14
3,5,6=14!
3!5!6! = 168168.
b) At first glance, it looks like by the logic above that the answer should be the multinomial
coefficient 14
7,7. However, this is too large by a factor of two. To see this, consider
the smaller problem of partitioning 4 people into two groups of two. Person A has
to go with someone else: B, C, or D. Whoever A is matched with, the other pair is
determined. So there are three possibilities. But this is half of 4
2.
The reason is that the groups are unordered. In terms of balls-and-boxes, we have
erased the labels on the boxes. So we must divide by two and the answer is 1
214
7,7=
1716.
We didn’t run into this problem in part a) because all of the groups were of different
sizes and therefore automatically distinguished/unordered among themselves.
(2) 5.2; 16) We know from class that the number of possible poker hands is 52
5= 2598960.
a) First we choose the aces in 4
4= 1 possible ways, then we choose the fifth card of
the hand in 524
1= 48 possible ways. By the MR, the answer is (1 ·48)/2598960
0.000085.
b) This is thirteen times as likely as the answer to part a) since we now have the ad-
ditional step of choosing which of the thirteen possible values occurs (rather than
being restricted to the single value of Ace). So the answer is (13 ·48)/2598960 =
624/2598960 0.00024.
e) Ignoring suits, there are 10 possible sequences of values: A2345, 23456,. . . ,10JQKA.
Regardless of which sequence is chosen, we have 4 possibilities for the suit of each card.
So the answer is (10 ·45)/2598960 = 10240/2598960 0.0039
f) Not having a pair amounts to choosing five of the thirteen values: 13
5. We must
choose a suit for each selection, leading to a probability of (13
5·45)/2598960 =
131220/2598960 0.507.
Note that it is much harder to solve this using the DR. The number of ways of getting
at least one pair is not 134
248
3(13 choices for the value of the pair; 4
2choices for
the suits of the pair; 48
3ways of choosing the remaining three cards from the 52 4
cards with value differing from the pair). This answer overcounts. For instance, a pair
might be obtained from the 48
3cards.
(3) 5.2; 22) The number of ways of dealing the cards is the multinomial coefficient 52
4,4,...,4
(thirteen 4’s) since each of the thirteen players gets 4 cards. For each suit, there are 13!
ways to assign the cards of that suit to the 13 distinct players. Since there are four suits in
all, the answer is then (13!)4/52
4,4,...,4= (13!)4(4!)13/52! 1.6·1011 (i.e., unlikely).
(4) 5.2; 26) First choose which 10 men in 20
10possible ways. Assuming the women are lined
up already, we then have 10! ways to line the men up relative to the womens’ ordering. So
the answer is 20
10·10! = 20!/10!.
(5) 5.2; 37) We are told that the “middle” portion of our ordering must look like · · · vccvccv· · ·
(where “c” stands for consonant and “v” for vowel). Our first step is to choose how many
1
pf2

Partial preview of the text

Download Math 173 Homework Solutions: Probability Calculations and more Assignments Mathematics in PDF only on Docsity!

Homework #3 — Math 173 — Spring ’

Solutions

a) This is equivalent to distributing 14 distinct balls (i.e., the people) into three distinct bins such that 3 go into the first bin, 5 into the second, and 6 into the third. The answer is the multinomial coefficient

3 , 5 , 6

b) At first glance, it looks like by the logic above that the answer should be the multinomial coefficient

7 , 7

. However, this is too large by a factor of two. To see this, consider the smaller problem of partitioning 4 people into two groups of two. Person A has to go with someone else: B, C, or D. Whoever A is matched with, the other pair is determined. So there are three possibilities. But this is half of

2

The reason is that the groups are unordered. In terms of balls-and-boxes, we have erased the labels on the boxes. So we must divide by two and the answer is (^12)

7 , 7

We didn’t run into this problem in part a) because all of the groups were of different sizes and therefore automatically distinguished/unordered among themselves.

(2) 5.2; 16) We know from class that the number of possible poker hands is

5

a) First we choose the aces in

4

= 1 possible ways, then we choose the fifth card of the hand in

1

= 48 possible ways. By the MR, the answer is (1 · 48)/ 2598960 ≈ 0 .000085. b) This is thirteen times as likely as the answer to part a) since we now have the ad- ditional step of choosing which of the thirteen possible values occurs (rather than being restricted to the single value of Ace). So the answer is (13 · 48)/2598960 = 624 / 2598960 ≈ 0 .00024. e) Ignoring suits, there are 10 possible sequences of values: A2345, 23456,... ,10JQKA. Regardless of which sequence is chosen, we have 4 possibilities for the suit of each card. So the answer is (10 · 45 )/2598960 = 10240/ 2598960 ≈ 0. 0039 f) Not having a pair amounts to choosing five of the thirteen values:

5

. We must choose a suit for each selection, leading to a probability of (

5

Note that it is much harder to solve this using the DR. The number of ways of getting at least one pair is not 13

2

3

(13 choices for the value of the pair;

2

choices for the suits of the pair;

3

ways of choosing the remaining three cards from the 52 − 4 cards with value differing from the pair). This answer overcounts. For instance, a pair might be obtained from the

3

cards.

(3) 5.2; 22) The number of ways of dealing the cards is the multinomial coefficient

4 , 4 ,..., 4

(thirteen 4’s) since each of the thirteen players gets 4 cards. For each suit, there are 13! ways to assign the cards of that suit to the 13 distinct players. Since there are four suits in all, the answer is then (13!)^4 /

4 , 4 ,..., 4

= (13!)^4 (4!)^13 /52! ≈ 1. 6 · 10 −^11 (i.e., unlikely).

(4) 5.2; 26) First choose which 10 men in

10

possible ways. Assuming the women are lined up already, we then have 10! ways to line the men up relative to the womens’ ordering. So the answer is

10

(5) 5.2; 37) We are told that the “middle” portion of our ordering must look like “· · · vccvccv· · · ” (where “c” stands for consonant and “v” for vowel). Our first step is to choose how many 1

consonants occur before the first vowel. There are four choices (0,1,2 or 3 consonants at the beginning). The remaining consonants automatically go at the end. The second step is to order the vowels in 3! possible ways.( The third step is to order the consonants in 7 2 , 2 , 1 , 1 , 1

= 7!/(2!2!) possible ways (note that the T and R are repeated). Combining using the MR, we get (4 · 3! · 7!)/(2!2!) = 6 · 7! = 30240 ways.

(6) 5.3; 8a) A sequence of sandwiches suggests we are interested in the order. So we can view this as a distribution problem were we place the 9 distinct balls (corresponding to the people) in the three bins (corresponding to the three sandwich types). We know that the multinomial coefficient gives the answer when the number of balls for each bin is determined. We are given some freedom here, so we break into cases according to how the undecideds break: TT:

5 , 2 , 2

CC:

3 , 4 , 2

RR:

3 , 2 , 4

TC:

4 , 3 , 2

TR:

4 , 2 , 3

CR:

3 , 3 , 3

Adding up by the AR, we get 7476 possibilities.

(7) 5.3; 10) a) Distributing the apples is a balls-and-boxes problem with r = 5 ad n = 3. Similarly, distributing the pears is a balls-and-boxes problem with r = 3 (since each person must get at least one) and( n = 3. Applying the formula and multiplying by the MR, we get 5+3− 1 5

3

2

2

b) Distributing the apples is easy: 3^5 possibilities. Then we just multiply by the number of ways of distributing the pears. We figured out in part a) that identical pears can be allocated in

2

ways if we adhere to the restriction that each person gets one pear. But to do this part, we need to actually keep track of how many pears each person gets. It turns into something analogous to the sandwich problem. The distributions can be: 411: Three possible orderings. Then

4 , 1 , 1

ways of distributing the pears. 321: Six possible orderings. Then

3 , 2 , 1

ways of distributing the pears. 222: One possible orderings Then

2 , 2 , 2

ways of distributing the pears. (Note that the “three” + “six” + “one” add up to the “10” of part a). So the pears can be distributed in

3 ·

possible ways. This leads to a final answer of 3^5 · 540 = 131220.

2