Conditional Probability Coin Flipping Question

Yagoda
Messages
45
Reaction score
0

Homework Statement


The following experiment involves a single coin with probability p of heads on anyone flip, where
0 < p < 1.

Step 1: Flip the coin. Let X = 1 if heads, 0 otherwise.
Step 2: Flip the coin (X + 1) times. Let Y = the number of heads obtained in this step.
Step 3: Flip the coin (X + Y + 1) times. Let Z = the number of heads obtained in this step.
Let T denote the total number of heads across all three steps.

What is P(X = 1|Z = 0)?


Homework Equations


P(A|B) = \frac{P(A \cap B)}{P(B)}



The Attempt at a Solution


I think I have been thinking about this too long and am just confusing myself. My first gut reaction was to say that no matter what the outcome of Z, since the coin isn't changing, the probability of it coming up heads on any given flip (ie P(X = 1)) will be p.
But since you are flipping a variable number of times to get Z, it seems your chance of getting Z = 0 would be greater with a smaller number of flips, which would be more likely if you begin with X=0 than X=1. Does this even matter?
I tried using the above conditional probability formula as well, but it got ugly quickly in trying to calculate the numerator. Is there a less thorny method that I'm missing?
 
Physics news on Phys.org
Have you throught about doing a tree of the possibilities?
 
I did try one, but I was having trouble keeping track of all the relevant numbers: possible flips, number of heads, corresponding probabilities that I was hoping there might be a clearer way. I might have to give it another crack...
 
Yagoda said:
I did try one, but I was having trouble keeping track of all the relevant numbers: possible flips, number of heads, corresponding probabilities that I was hoping there might be a clearer way. I might have to give it another crack...

You MUST keep track of the possible numbers of heads, etc., whether it is troublesome or not. And yes, it might be lengthy and require quite a bit of work, but that is the most straightforward way to solve the problem.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top