Skip to content

Tosses until one face appears three times

Question

You toss a fair coin until either heads or tails has appeared three times in total (not necessarily in a row). What is the expected number of tosses?

Short answer

33/833/8. The game lasts 33, 44 or 55 tosses. It ends at 33 with probability 14\tfrac14 (all the same), and it reaches toss 55 only if the first four are two heads and two tails, probability 616=38\tfrac{6}{16}=\tfrac38; so 44 tosses has probability 38\tfrac38. Mean =3⋅14+4⋅38+5⋅38=338=3\cdot\tfrac14+4\cdot\tfrac38+5\cdot\tfrac38=\tfrac{33}{8}.

Adapted from QuantQuestions.io; question and answer rewritten by SelfMadeQuant.com.

See the hint and the full worked solution in the question bank (free account).

Open the worked solution

Lessons behind this question

Start with a free lesson: Expectation, Variance and Covariance is part of a free topic. Create a free account, no card needed, to read it in full with worked solutions.

Read it free