A fair coin is tossed until a head comes up for the first time. The probability of this happening on an odd number toss is?

A fair coin is tossed until a head comes up for the first time. The probability of this happening on an odd number toss is? How do i approach this problem ?


Solution 1:

Let $A$ be the probability of flipping heads first after an odd number of flips, and $B=1-A$ the probability that heads is first after an even number of flips. Then $$A = \frac12 +\frac12 B$$ because the first term is the probability $\frac12$ that heads comes up on the first flip, and if it doesn't (also with probability $\frac 12$), then you need it to come up after an even number of additional flips, which it will do with probability $B$.

Substituting $B=1-A$ we get $$\begin{align} A & = \frac12 + \frac12(1-A)\\ &= \frac12+\frac12-\frac A2 \\ \frac{3A}2 & = 1 \\ A & = \frac23 \end{align}$$

We get the same answer as the geometric series approach, but without the geometric series. And this approach works even when the sequence of events is too complicated to write the geometric series explicitly. For example, you can easily use this method to analyze the chance of winning a game of craps, but to sum an explicit series whose terms are the chance of winning on the $n$th throw would be very difficult.

Solution 2:

The probability of coming up heads on an odd toss is either:

(A) You come up heads on the first toss, or
(B) You come up tails on the first two tosses, then come up with heads on an odd toss

These two cases are mutually exclusive, so the total probability is the sum of the two cases. Call your final result $P$.

$$P = \underbrace{\frac 12}_{\text{Case (A)}} + \underbrace{\frac 12\cdot\frac 12 \cdot P}_{\text{Case (B)}}$$ $$\frac 34 P = \frac 12$$ $$P = \frac 23$$

Solution 3:

One way to solve this is by computing essentially a recurrence (write the probability in terms of itself). Let $X$ be the event that we flip heads on an odd numbered flip. By the law of total probability, $Pr(X)=.5+.5Pr(Y)$, where $Y$ is the event that we flip heads on an odd numbered flip that is not the first flip, given we have already failed the first. In particular, what we are doing here is conditioning on whether the first flip is heads. In this case, we got it on an odd flip for sure. In the second case, we get it on an odd flip with probability $Pr(Y)$.

It isn't hard to see that $Pr(Y)=1-Pr(X)$, as after we have already flipped once, this is the same situation as before, except now an even number is the first one, so by symmetry we can do this. By substitution and solving, we see that $Pr(X)=.5+.5-.5Pr(X)$, so $1.5Pr(X)=1$, so $Pr(X)=2/3$.