# Probability question on fair coin

## Homework Statement

A fair coin is continually flipped. What is the probability that the pattern T,H occurs before the pattern H,H, where T and H respectively denote Tail and Head of a coin?

## Homework Equations

Prob. = (n r) (pr)(1-p)n-r

## The Attempt at a Solution

i. prob. of TH vs HT vs TT vs HH
ii. THHHHHHH...or TTHHHHHH... or HTHHHHHH... or HTTHHHHH... or HTTTTTHHH... or ....

If it is the 2nd one, how can we calculate the prob.? It looks like an infinitely long series... or should I let there be n trials? Then I use binomial distribution to find?

Last edited:

haruspex
Homework Helper
Gold Member
2020 Award
Is there any reason why one of the two results is more likely than the other?

I don't quite understand your question...
The prob. of getting a head or a tail is 1/2? Is this what you are asking?

haruspex
Homework Helper
Gold Member
2020 Award
I don't quite understand your question...
The prob. of getting a head or a tail is 1/2? Is this what you are asking?
I'm asking whether you can think of any reason why getting HT is more or less likely than getting TH.

Same?

haruspex
Homework Helper
Gold Member
2020 Award
Same?
Yes.

So simply calculate the first case?

haruspex
Homework Helper
Gold Member
2020 Award
So simply calculate the first case?
What will the two probabilities add up to?

Which two? TH and HT?

0.5*0.5 + 0.5*0.5 = 0.5?

haruspex
Homework Helper
Gold Member
2020 Award
Which two? TH and HT?

0.5*0.5 + 0.5*0.5 = 0.5?
No.
The two events are,
• that TH occurs before HT in an arbitrarily long sequence,
• that HT occurs before TH in an arbitrarily long sequence
What must those two probabilities add up to?

1?

but it seems 0.5*0.5*0.5*... , gets you 0...

haruspex
Homework Helper
Gold Member
2020 Award
1?
Yes.
but it seems 0.5*0.5*0.5*... , gets you 0...
What exactly is the event for which that calculation applies?

Oh Sorry...

I have a typo in the question...
The correct question is "T,H before HH"

Should I indeed use conditional probability?
In case I have a T at the 1st trial, then it already achieves the event that TH appears before HH?

haruspex
Homework Helper
Gold Member
2020 Award
The correct question is "T,H before HH"
Ok, that makes it a lot more interesting.
Assign unknowns to those two probabilities. Consider the first two tosses. There are four situations at that point, equally likely. Consider the probabilities of the two outcomes of interest when continuing from each of those four positions.
See what equations you can extract.

Actually TT, HT,TH all means TH must occur before HH, right?

so if there is no HH, then it is alright?
Let the probability of getting a H be p.

Then the required prob. is 1 - p2?

haruspex
Homework Helper
Gold Member
2020 Award
so if there is no HH, then it is alright?
What do you mean "it's alright"?
There are four equally likely states after two tosses:
HH
HT
TH
TT
In two of those, the outcome is already determined, yes?
Look at the remaining two. Can you predict what the eventual outcome will be for those?

If it is HT, then no matter the next one is T or H, TH already occurs before HH, right?
If it is TT, then also no matter the next one is T or H, TH already occurs before HH, right?
If it is TH, then obviously no matter the next one is T or H, TH already occurs before HH, right?
Just the case if you obtain all H and no T at the first 2 tosses will give you HH before TH..

I am thinking in this way

haruspex
Homework Helper
Gold Member
2020 Award
If it is HT, then no matter the next one is T or H, TH already occurs before HH, right?
If it is TT, then also no matter the next one is T or H, TH already occurs before HH, right?
If it is TH, then obviously no matter the next one is T or H, TH already occurs before HH, right?
Just the case if you obtain all H and no T at the first 2 tosses will give you HH before TH..

I am thinking in this way
Yes.

so the probability of getting HH is p2?
Then the required probability is 1- p2?

haruspex
Homework Helper
Gold Member
2020 Award
so the probability of getting HH is p2?
Then the required probability is 1- p2?
Yes, but can't you assume it's a fair coin?

then 1 - 0.52 = 3/4