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

Homework Help Overview

The problem involves determining the probability that, after 8 tosses of a fair coin, the number of heads equals the number of tails for the first time. The context is rooted in probability theory and combinatorial reasoning.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the requirement for having exactly 4 heads and 4 tails after 8 flips while ensuring that heads and tails are not equal at any earlier point. There are attempts to enumerate valid sequences and explore graphical interpretations of the problem.

Discussion Status

Some participants express confusion regarding a provided numerical solution and seek clarification on the reasoning behind it. Others suggest graphical methods as a potentially clearer approach to understanding the problem. The discussion is ongoing, with various interpretations being explored.

Contextual Notes

There is mention of constraints related to the sequences of heads and tails, specifically that certain combinations must be avoided to meet the problem's conditions. The problem is also noted to be from an old exam, which may influence the context of the discussion.

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
7K
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
1K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 41 ·
2
Replies
41
Views
8K