Tossing a coin 3 times: Is it a fair game?

  • Thread starter humanino
  • Start date
In summary: Actually, I calculated the averages from 10,000 trials of flipping a coin ten times. If you are looking for someone to do the heavy lifting for you, I can not help. I can only present the data.In summary, the game is fair, but it takes more time to play.
  • #36
From what I gather, the original problem should have specified that each player tosses his own coin.
 
Physics news on Phys.org
  • #37
Incidentally, it's not difficult to work these things out algebraically with matrix arithmetic.

For example, if your question is "how long before you get HTH?", you can solve it as follows.

There are four relevant states, determined by the last few flips of the coin
. TT
. HT
. TTH
. Victory
. HH

After three flips, the distribution on these states is given by the vector
[tex]
v_3 = \left[ \begin{array}{c} 1/4 \\ 1/4 \\ 1/4 \\ 1/8 \\ 1/8 \end{array} \right]
[/tex]

And after each individual flip, the transition matrix is
[tex]
A = \left[ \begin{array}{ccccc}
1/2 & 1/2 & 0 & 0 & 0 \\
0 & 0 & 1/2 & 0 & 1/2 \\
1/2 & 0 & 0 & 0 & 0 \\
0 & 1/2 & 0 & 1 & 0 \\
0 & 0 & 1/2 & 0 & 1/2
\end{array} \right]
[/tex]
(e.g. the first column says that TT transitions to each of TTH and TT with probability 1/2)

The distribution on these states after n flips is given by
[tex]
v_{n} = A^{n-3} v_{3}
[/tex]

from which you can compute whatever you want. For example, the probability of not winning on or before the n-th flip is

[tex]
\left[ \begin{array}{ccccc} 1 & 1 & 1 & 0 & 1 \end{array} \right] A^{n-3} v_3
[/tex]

and the probability that you win on the n-th flip is (for [itex]n \geq 4[/itex]):

[tex]
(1/2) \left[ \begin{array}{ccccc} 0 & 1 & 0 & 0 & 0 \end{array} \right] A^{n-4} v_3 \right]
[/tex]


If you think about it more, I'm sure you can come up with a more economical selection of states. Maybe use a new symbol "S" for the starting state, so you can start the analysis at 0 flips instead of 3.
 
Last edited:
  • #38
Borek said:
Why do you look for the second? First configuration found, game over.
Looking for the second win (and by the other person) changes the problem significantly. The two players have an equal probability of winning. Moreover, the expected value of the number of tosses before a win is equal for the two players: five throws. Making it so that the coin tosses continue until a winning configuration is found for each player is a different problem.
 
  • #39
D H said:
Looking for the second win (and by the other person) changes the problem significantly. The two players have an equal probability of winning. Moreover, the expected value of the number of tosses before a win is equal for the two players: five throws. Making it so that the coin tosses continue until a winning configuration is found for each player is a different problem.

That's exactly what I was pointing at, humanino was just solving completely different question :smile:
 
  • #40
Borek said:
That's exactly what I was pointing at, humanino was just solving completely different question :smile:
I just thought initially there was something interesting going on. At this point, the problem has been explained by several methods, and I take the opportunity to thank Hurkyl for his contribution. I said several times that it was a pity I misstated the initial problem.
 
  • #41
Yes, definitely Hurkyl's post is very interesting. Sometimes selection of good formalism to describe the problem is half of the succes.
 
  • #42
The problem becomes more interesting if the choices are htt vs. ttt. The odds are not even close to 50/50.
 
  • #43
Redbelly98 said:
The problem becomes more interesting if the choices are htt vs. ttt. The odds are not even close to 50/50.
What do you get ?
87.5/12.5 ?
 
  • #44
Yes, 87.5/12.5 favoring htt.

The reason:

For ttt to win, it must win on the very 1st 3 coin tosses (1/8 chance of that). Otherwise, htt must happen before ttt. I.e., if ttt does not occur until after the 1st 3 tosses then it will be preceded by an "h", in which case htt wins.
 

Similar threads

Replies
15
Views
2K
  • Programming and Computer Science
Replies
10
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
20
Views
3K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
  • Set Theory, Logic, Probability, Statistics
2
Replies
57
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
884
  • Set Theory, Logic, Probability, Statistics
2
Replies
45
Views
3K
Back
Top