Problem Set 3: Solutions - Personal Pages - Denison University
Problem Set 3: Solutions - Personal Pages - Denison University
Problem Set 3: Solutions - Personal Pages - Denison University
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
fys102: Mathematical Game Theory<br />
<strong>Problem</strong> <strong>Set</strong> 3: <strong>Solutions</strong><br />
1. How many ways can you arrange the word gate to form new words. (Here<br />
will will always count ”nonsense” words too if they form a different arrangement).<br />
4! = 24<br />
2. How many anagrams are there for serial<br />
6! = 720<br />
3. How many anagrams are there for tote<br />
4!<br />
2! = 12<br />
4. How many anagrams are there for giggle<br />
6!<br />
3! = 120<br />
5. How many anagrams are there for banana<br />
6!<br />
3!·2! = 60<br />
6. How many anagrams are there for mississippi<br />
= 34, 650<br />
11!<br />
4!·4!·2!<br />
7. You have five gumballs (two grape, two orange, and one cherry) to give to<br />
five different children. In how many different ways can you distribute the<br />
gumballs so that each child receives one<br />
5!<br />
2!·2! = 30<br />
8. Girl Scout Troop #4 is rebuilding a local hiking trail. They have ten young<br />
ladies to share the labor. They need four shovelers, four pick axers, and two<br />
stone movers. In how many ways can they assign tasks to the ten girl scouts<br />
10!<br />
4!·4!·2!<br />
= 3, 150<br />
9. How many anagrams of attic begin with a vowel<br />
First consider anagrams that begin with ”a”, there are 4!<br />
2!<br />
= 12 of them.<br />
There are also 12 anagrams that begin with ”i”. So there are 24 anagrams<br />
that begin with a vowel.<br />
10. In computer science, a bit is a binary digit. Each bit can either be ”1” or<br />
”0”. A collection of eight bits make a byte. How many different bytes are<br />
possible<br />
Easy way: each bit location has two choices: 2 8 = 256. Harder way: break<br />
this down by cases depending upon how many ”1”s are present and then treat<br />
1
each as an anagram.<br />
# 1’s # anagrams<br />
Zero 1’s 1 way<br />
8!<br />
One 1<br />
7! = 8 ways<br />
8!<br />
Two 1’s<br />
6!·2!<br />
= 28 ways<br />
8!<br />
Three 1’s<br />
5!·3!<br />
= 56 ways<br />
8!<br />
Four 1’s<br />
4!·4!<br />
= 70 ways<br />
8!<br />
Five 1’s<br />
3!·5!<br />
= 56 ways<br />
8!<br />
Six 1’s<br />
2!·6!<br />
= 28 ways<br />
8!<br />
Seven 1’s<br />
7! = 8 ways<br />
Eight 1’s 1 way<br />
total (sum) 256<br />
11. A byte has even parity if the number of ”1”s is an even number. Otherwise a<br />
byte has odd parity. How many bytes have even parity<br />
Easy way: there must be exactly half of the bytes with even parity because<br />
you can match each byte up with one that has odd parity by switching all<br />
the 1’s and 0’s. So there are 258<br />
2<br />
= 128 bytes with even partiy. Harder way:<br />
refer to the above table looking only at those cases where the number of 1’s<br />
is even. Add them up to get 128.<br />
12. Twenty-three people are attending Jane and Mark’s rehearsal dinner. If there<br />
are eight steak entrees and fifteen chicken entrees, how many ways are there<br />
to feed the dinner guests<br />
23!<br />
8!·15!<br />
= 490, 314<br />
13. In the above question, if there are two non-beef eaters at Jane and Mark’s<br />
rehearsal dinner, then how many ways are there to distribute the meals<br />
= 203, 490<br />
21!<br />
8!·13!<br />
14. See the map of Big City below. You are to take a taxi from the corner of<br />
Second Avenue and Third Street to the corner of Eighth Avenue and Seventh<br />
Street. Taxis in Big City charge by total distance (not time), so the taxi must<br />
take one of the shortest routes (hint: it is not allowed to ever drive West or<br />
North for this particular trip). How many different routes are possible<br />
Note that the cab must drive exactly 6 blocks east and 4 blocks south. The<br />
various routes are formed by exchanging the order of the blocks. This is<br />
exactly like an anagram problem in which there are ten letters (four are ”S”<br />
and six or ”E”). We know there are 10!<br />
4!·6!<br />
= 210 ways for the cab to make this<br />
trip.<br />
2
First Avenue<br />
Second Avenue<br />
Third Avenue<br />
Fourth Avenue<br />
Fifth Avenue<br />
Sixth Avenue<br />
Seventh Avenue<br />
S<br />
Eighth Avenue<br />
First Street<br />
Second Street<br />
Third Street<br />
Fourth Street<br />
Fifth Street<br />
Sixth Street<br />
E Seventh Street<br />
Eighth Street<br />
Figure 1: Map of Big City<br />
15. Referring to the previous question, assume there is an accident that has<br />
closed the intersection of Fifth Avenue and Fourth Street (you cannot pass<br />
through here). How many trips are possible with the cab now<br />
First we count all the ways the cab could make the trip if it went through the<br />
accident intersection (these are the illegal trips). We must take into account<br />
both the ways to get from the start to the accident and then also from the<br />
accident to the end. There are 4!<br />
3! · 6!<br />
3!·3!<br />
= 80 illegal trips leaving us 210-80 =<br />
130 legal trips that do not go through this intersection.<br />
3