Runs of heads and tails
A fair coin is tossed six times. Given that exactly three tosses show heads, what is the probability of exactly three runs? A run is a maximal consecutive group of identical outcomes.
Hint
A three-run sequence must begin and end with the same outcome.
Show answer and methods 2 methods
Answer
1/5
Method 1 Fix the middle run
The 20 sequences with three heads are equally likely. If the sequence starts with H and has three runs, all three tails form the middle run. The three heads split into two nonempty runs in two ways, of lengths (1,2) or (2,1). Interchanging H and T gives two more sequences. The conditional probability is 4/20 = 1/5.
Method 2 Condition on the two ends
Exactly three runs requires the first and last tosses to agree. Of the 20 equiprobable sequences, 4 have both ends H (choose the remaining H among four interior positions) and 4 have both ends T. With identical ends, there is just one interior toss of the same kind as the ends. If it is next to an end, there are three runs; if it occupies either of the two central positions there are five. Thus the desired probability is (8/20)(2/4)=1/5.