Hans
User
 Newbie
| Posts: 6 |   | Karma: 0
|
re:Mathematicians only - 2007/04/18 10:32
Here's the problem. You have to be careful combining the probabilities, because the events overlap. In your first calculation, you find the odds that player 1 has a complete suit, but that also includes some cases where another player also has a complete suit.
I don't see a real simple way to do this. A tedious way is to divide down the events so that you can add them without overlap.
Let's try that method, tedious as it is. Define the following events: deck with "a" suits in it, that "b" people have a complete suit.
- Da is the total number of ways people may get cards from an a-suited deck, with or without complete suits.
Then the overall answer is:
(W4,1 + W4,2 + W4,3 + W4,4) / D4
Now calculate the all the W's. Starting with W4,x (I said it would be tedious!):
W4,1 = 4 * 4 * W3,0 (that's 4 players, and 4 suits, and of the other 3 players, *zero* must have complete suits) (pick 2 players, and pick 2 suits, and pick an assignment from players to suits. Then pick cards for the other two people but don't give them complete suits)
W4,3 = 0 (can't happen -- the fourth person will also have a complete suit)
W4,4 = 4! (there are 4! assignments of suits to players, and only one deal for each assignment)
Phew. And the W3,x's :
W3,0 = D3 - W3,1 - W3,2 - W3,3
W3,1 = 3 * 3 * W2,0
W3,2 = 0
W3,3 = 3!
And finally the W2,x's :
W2,0 = D2 - W2,1 - W2,2
W2,1 = 0
W2,2 = 2!
Plugging this all in, gives an overall answer of:
(4*4*(D3 - (3*3*(D2 - 2!) - 3!)) + (4C2)*(4C2)*2*(D2 - 2!) + 4!) / D4
= (16*(D3 - (3*3*(D2 - 2)) - 6) + 6*6*2*(D2-2) + 24) / D4
= (16*D3 - 72*D2 + 72) / D4
This is the same coeeficients your book has; I'm sure substituting the D's will get you the rest of the way.
Now I'm sure someone will point out a much simpler solution. That's the "fun" part of combinatorics problems. 
-Lex
PS -- this is an excellent time to have an algebra tool like Mathematica... I made a LOT of errors working this out.
PPS -- heck, while you're at it, define Wa,b as a recursive function and let mathematica solve the whole thing outright.
Popular posts by Hans recruiting through free internet br... Long Beach Results "Best" Team (Philosoph...
|