What Is the Probability of Equal Heads and Tails After 8 Coin Tosses?

  • Thread starter Thread starter Yagoda
  • Start date Start date
Click For Summary
SUMMARY

The probability of achieving an equal number of heads and tails after 8 coin tosses, denoted as X=8, is calculated to be 5/128. This outcome requires exactly 4 heads and 4 tails, with the stipulation that heads and tails must not be equal at any point before the 8th toss. The solution involves a systematic approach to counting valid sequences, which includes graphical representation and probability calculations based on specific routes taken during the tosses.

PREREQUISITES
  • Understanding of basic probability theory
  • Familiarity with combinatorial counting methods
  • Knowledge of graphical methods for probability problems
  • Ability to analyze sequences and paths in probability contexts
NEXT STEPS
  • Study combinatorial probability techniques for coin toss problems
  • Learn about graphical methods in probability, particularly lattice paths
  • Explore advanced topics in probability theory, such as martingales
  • Practice similar problems involving equal distributions in random trials
USEFUL FOR

Students studying probability theory, educators teaching combinatorial methods, and anyone interested in solving complex probability problems involving random events.

Yagoda
Messages
45
Reaction score
0

Homework Statement



Toss a fair coin independently 100 times. Let X > 0 be the number of times the coin must be tossed until the number of observed heads equals the number of observed tails. (And let X=100 if this never happens). Find the probability that X=8.

Homework Equations





The Attempt at a Solution


In order for X to be 8 we need there to be exactly 4 heads and 4 tails after the 8th flip. But we also need there to not be equal heads and tails at any point before this, which could occur after the 2nd, 4th and 6th flips. Thus we cannot have sequences beginning with TH, HT, HHTT, TTHH, etc. I tried enumerating all of these types of sequences but I couldn't come up with a systematic way of figuring them out.

This problem is from an old exam and in the solution that came with it the answer given is simply \frac{1}{2}\times\frac12\times\frac12\times\frac14 + \frac12 \times \frac14 \times \frac{1}{16} = \frac{5}{128}, with no other explanation provided. I can't really make sense of these numbers or figure out how they got it. Am I just really overthinking it?
 
Physics news on Phys.org
Can you show some working out for this problem? You've shown some intuition about what is required but it's at a very nascent stage.
 
Yagoda said:
This problem is from an old exam and in the solution that came with it the answer given is simply \frac{1}{2}\times\frac12\times\frac12\times\frac14 + \frac12 \times \frac14 \times \frac{1}{16} = \frac{5}{128}, with no other explanation provided. I can't really make sense of these numbers or figure out how they got it. Am I just really overthinking it?
I'm not sure how they arrived at that either, but I find this problem quite easy done graphically.
You have to get from (0,0) to (4,4) without going through (1,1) etc. Without loss of generality, the first move is to (0,1). What is the last move, etc?
 
  • Like
Likes   Reactions: 1 person
Thanks for providing a nice, intuitive approach. I don't think I would be clever enough to come up with that under the time pressure of an exam. :eek:
That numerical calculation is still a mystery to me.
 
Yagoda said:
That numerical calculation is still a mystery to me.
Here's a possibility, matching it to the graphical view:
Without loss of generality, first move is to (0, 1), so last needs to be from (3,4), with prob ##\frac12##.
Clearly the second step must be to (0,2), and the step before (3,4) must be from (2,4), each with prob ##\frac12##.
There are two allowed sets of routes from (0,2) to (2,4) - via (0,4) or via (1,3).
Via (1,3) we have ##\frac12## for (0,2) to (1,3), and ##\frac12## for (1,3) to (2,4), giving ##\frac14## altogether.
Via (0,4), we have ##\frac1{16}##.
Putting all that together gives ##\frac12\frac12\frac12(\frac14+\frac1{16})##
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
6K
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 6 ·
Replies
6
Views
929
  • · Replies 4 ·
Replies
4
Views
2K
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 41 ·
2
Replies
41
Views
8K