1995 AIME Problems/Problem 15
Problem
Let be the probability that, in the process of repeatedly flipping a fair coin, one will encounter a run of heads before one encounters a run of tails. Given that can be written in the form where and are relatively prime positive integers, find .
Contents
Solution
Solution 1
Think of the problem as a sequence of H's and T's. No two T's can occur in a row, so the successful sequences are composed of blocks of to H's separated by T's and end with H's. Since the probability that the sequence starts with TH is , the total probability is that of the probability given that the sequence starts with an H.
The answer to the problem is then the sum of all numbers of the form , where are all numbers , since the blocks of H's can range from in length. The sum of all numbers of the form is , so if there are n blocks of H's before the final five H's, the answer can be rewritten as the sum of all numbers of the form , where ranges from to , since that's how many blocks of H's there can be before the final five. This is an infinite geometric series whose sum is , so the answer is .
Solution 2
Let respectively denote the probabilities that a string beginning with H's and T's are successful. Thus,
A successful string can either start with 1 to 4 H's, start with a T and then continue with a string starting with H (as there cannot be T's in a row, or be the string HHHHH.
There is a probability we roll HHHH and then T. On the other hand, there is a probability we roll a H, HH, HHH, or HHHH, and then a T. Thus,
The answer is , and .
Solution 3
For simplicity, let's compute the complement, namely the probability of getting to tails before heads.
Let denote the probability that we get tails before heads, given that we have consecutive heads. Similarly, let denote the probability that we get tails before heads, given that we have consecutive tails. Specifically, and . If we can solve for and , we are done; the answer is simply , since on our first roll, we have equal chances of getting a string with "1 consecutive head" or "1 consecutive tail."
Consider solving for . If we have 1 consecutive tail, then (a) rolling a head gets us to 1 consecutive head and (b) rolling a tail gets us to 2 consecutive tails. So, we must have:
Applying similar logic, we get the equations:
Since , we get .
So, the probability of reaching tails before heads is ; we want the complement, , yielding an answer of .
Note: The same approach still works if we tried solving the original problem rather than the complement; we would have simply used and instead. The repeated back-substitution is cleaner because we used the complement.
Solution 4(fast)
Consider what happens in the "endgame" or what ultimately leads to the end. Let A denote that a head has been flipped, and let B denote that a tail has been flipped. The endgame outcomes are AAAAA, BAAAAA, BB, ABB, AABB, AAABB, AAAABB. The probabilities of each of these are respectively. The ones where there is five heads are AAAAA and BAAAAA. The sum of these probabilities are . The sum of all these endgame outcomes are , hence the desired probability is , and in this case so we have -vsamc
Solution 5
There can be 1-4 heads and 1 tails in any grouping, so we write etc., where and subscript means there are of that state in a row. We see that this gives us 2 geometric sequences: one with first term and common ratio and one with first tem and the same common ratio. Therefore we get or ~joeythetoey
Video solution
https://www.youtube.com/watch?v=Vo-4w5Cor9w&t
See also
1995 AIME (Problems • Answer Key • Resources) | ||
Preceded by Problem 14 |
Followed by Last question | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.