Finding the probabiliy that event THTH occurs before HTHH

  • Thread starter SeekerofMath
  • Start date
In summary, the probability of THTH occurring before HTHH in a series of coin tosses, as explained on wolfram's mathworld website, is 9/14. This is calculated by considering the possible outcomes of the last three tosses and using a set of equations to determine the probabilities of THTH and HTHH occurring. The overall probability is found to be 9/14.
  • #1
SeekerofMath
2
0
I was refreshing myself of the basics of probability on wolfram for coin toss.
mathworld.wolfram.com/CoinTossing.html

At 1) , how did they get 9/14 for the probability that THTH occurs before HTHH ?
 
Physics news on Phys.org
  • #2
Welcome to PF!

Hi SeekerofMath! Welcome to PF! :smile:
SeekerofMath said:
I was refreshing myself of the basics of probability on wolfram for coin toss.
mathworld.wolfram.com/CoinTossing.html

At 1) , how did they get 9/14 for the probability that THTH occurs before HTHH ?

By working it out! :rolleyes:

Have a go … show us what you get. :smile:
 
  • #3
I'd like some direction...
 
  • #4
SeekerofMath said:
I'd like some direction...

if there were only 4 tossing THTH and HTHH would be equally likely but if you consider infinite tossings then things changes:

Now through this infinite serie you will find situations like:

THTHTH (two appearances of THTH in 6 tosses)

Which is not possible for HTHH in just 6 tosses and the best you can do is

HTHHTHH (two appereances of HTHH in 7 tosses)

This asymmetry makes THTH more likely to appear before HTHH, anyway, the actual calculations should be in the reference given by the article you posted, that is (Gardner 1988, p. 64)

Good Luck :)
 
  • #5
No idea if there's a better way, but here's a method which I believe would give the right answer.
Consider 10 states, X0 to X7, Y, Z.
X0 to X7 represent the outcomes of the last three tosses, TTT, TTH, .. , HHH.
Y, Z represent THTH, HTHH having occurred, first, at some point, respectively.
We take as initial states X0 to X7 equally likely (i.e. result of first 3 tosses).
Thereafter, each toss gives a transition to a new state. If we ever enter Y or Z we stay there. This gives a 10x10 transition matrix.
Extracting the eigenvalues allows us to find the long term odds of being in state Y or Z.
 
  • #6
haruspex said:
No idea if there's a better way,
Indeed there is...:blushing:

Let p0 be the prob of THTH before HTHH if the last 3 were TTT.
Let p1 be the prob of THTH before HTHH if the last 3 were TTH.
etc. to
Let p7 be the prob of THTH before HTHH if the last 3 were HHH.
By considering the next toss in each case, we get:
p0 = p0/2 + p1/2
p1 = p2/2 + p3/2
p2 = 1/2 + p4/2
p3 = p6/2 + p7/2
p4 = p0/2 + p1/2
p5 = p2/2
p6 = p4/2 + p5/2
p7 = p6/2 + p7/2
This simplifies quite easily to give
p0 = p1 = p4 = 5/7
p2 = 6/7
p3 = p6 = p7 = 4/7
p5 = 3/7
The overall probability of THTH before HTHH is the average of these, 9/14.
 

FAQ: Finding the probabiliy that event THTH occurs before HTHH

1. What is the meaning of "event THTH occurs before HTHH"?

The statement "event THTH occurs before HTHH" refers to a sequence of coin tosses where the pattern THTH appears before the pattern HTHH. This means that the first four tosses must result in THTH before HTHH appears in the subsequent four tosses.

2. How do you calculate the probability of event THTH occurring before HTHH?

The probability of event THTH occurring before HTHH can be calculated by using the formula P(THTH before HTHH) = P(THTH) / P(THTH or HTHH). This formula takes into account the fact that both patterns have to occur in the sequence, and the order in which they appear matters.

3. What is the sample space for finding the probability of event THTH occurring before HTHH?

The sample space for this event consists of all possible sequences of eight coin tosses. This includes patterns such as THTHHTHH, HTHHTHTH, THTHTHTH, etc.

4. Can you explain the concept of conditional probability in relation to this event?

Conditional probability is the likelihood of an event occurring given that another event has already occurred. In this case, the conditional probability of THTH occurring before HTHH is dependent on the previous outcome of the coin tosses. For example, if the first four tosses result in THTH, the conditional probability of THTH occurring before HTHH increases because we know that the first part of the sequence (THTH) has already occurred.

5. How can the probability of event THTH occurring before HTHH be used in real-life situations?

The concept of finding the probability of one event occurring before another can be applied in various real-life situations, such as predicting the outcome of a sports game or the likelihood of a certain event happening before another in a sequence of events. It can also be used in decision-making processes where understanding the probability of certain outcomes can help in making informed choices.

Similar threads

Replies
4
Views
2K
Replies
45
Views
4K
Replies
11
Views
2K
Replies
12
Views
1K
Replies
6
Views
4K
Replies
41
Views
5K
Back
Top