Flipping a coin (similar to the ballot problem)

  • Thread starter Random Variable
  • Start date
In summary: The probability that the number of heads flipped is always greater than the number of tails flipped is the probability that the sum of the heads and tails is greater than 1.
  • #1
Random Variable
116
0

Homework Statement



You flip a coin n times. The probabilty of getting a head on any flip is p. What is the probability that the number of heads flipped is always greater than the number of tails flipped?

The Attempt at a Solution



For example,

if n=1, the only possibility is H
if n=2, the only possibility is HH
if n=3, the two possibilities are HHH or HHT
if n=4, the three possibilites are HHHH, HHHT, or HHTH
if n=5, the six possibilites are HHHHH, HHHHT, HHHTT, HHHTH, HHTHH, and HHTHT

Of course you could keep doing this until you notice a pattern, take a guess at the formula, and then try to prove that forumula by induction. (I tried that approach but didn't get anywhere). Conditioning on the first flip clearly won't simplify the problem, and conditioning on the (n-1) flip or the nth flip doesn't seem to simplify matters either. I'm stumped.
 
Physics news on Phys.org
  • #2
There's more possibility to n=3 and n=4 isn't it?


HHH, HHT, HTH, THH?
 
  • #3
SiYuan said:
There's more possibility to n=3 and n=4 isn't it?


HHH, HHT, HTH, THH?

No. After every flip the total number of heads flipped up to that point must be greater than the number of tails flipped up to that point.
 
  • #4
I'll tell you where I am so far. Let H(n,k) be the number of good sequences of length n (where heads lead all the time) and k is number of heads-number of tails. You can just define H(n,k)=0 if k>n or k<=0. Ok, so far? Write a recursion relation for H(n+1,k) in terms of H(n,...). That's easy. Now take the whole list [H(n,n),H(n,n-1)...H(n,1)] and figure out how to use it to construct the list [H(n+1,n+1),H(n+1,n),...,H(n+1,1)]. It's pretty easy. You just take the original list, chop off a bit, add some zeros in two different ways and add them. That let's you write a really simple computer program to compute the H(n+1) list from the H(n) list. That's great. Now that you have a simple way to construct the recursion you sit back an wait for your intuition to kick and tell you how to sum the whole thing up. Unfortunately, I'm still waiting. Any good ideas?
 
  • #5
Random Variable said:
You flip a coin n times. The probabilty of getting a head on any flip is p. What is the probability that the number of heads flipped is always greater than the number of tails flipped?

I would suggest writing the question in mathematical terms to see what you are missing.

HINT: What type of probability distribution is this?

CS
 

1. How does flipping a coin relate to the ballot problem?

Flipping a coin is often used as a way to simulate the random selection process in the ballot problem. In the ballot problem, we are interested in determining the probability of a particular outcome in an election with a large number of voters. Similarly, when flipping a coin, we are interested in determining the probability of getting a specific outcome (heads or tails) when the coin is tossed multiple times.

2. What is the probability of getting a specific outcome when flipping a coin?

The probability of getting a specific outcome (such as heads or tails) when flipping a coin is always 0.5 or 50%. This is because a fair coin has two equally likely outcomes and each outcome has an equal chance of occurring.

3. How does the number of coin flips affect the probability of a specific outcome?

The number of coin flips does not affect the probability of a specific outcome. Each coin flip is an independent event and the probability of getting a specific outcome remains the same regardless of the number of flips. For example, the probability of getting heads is still 50% whether you flip the coin once or ten times.

4. Can we use the results of flipping a coin to predict the outcome of an election?

No, the results of flipping a coin cannot accurately predict the outcome of an election. While flipping a coin can simulate the random selection process, it does not take into account other factors such as voter demographics, campaign strategies, and polling data that can influence the outcome of an election.

5. How can we use flipping a coin to make decisions?

Flipping a coin can be used as a decision-making tool in situations where there are only two options and the outcome is not influenced by any other factors. For example, if two friends cannot decide where to eat, they can flip a coin to randomly determine the restaurant they will go to.

Similar threads

  • Programming and Computer Science
Replies
10
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
2K
  • Precalculus Mathematics Homework Help
Replies
9
Views
3K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
3K
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
Back
Top