Maths Olympiad Prep

Library / /627 of 740

, 2016

Algebra Difficulty 5.4 AIME, harder Prove it United States

Problem:

Allen and Brian are playing a game in which they roll a 6-sided die until one of them wins. Allen wins if two consecutive rolls are equal and at most 3. Brian wins if two consecutive rolls add up to 7 and the latter is at most 3. What is the probability that Allen wins?

Solution

Solution:

Note that at any point in the game after the first roll, the probability that Allen wins depends only on the most recent roll, and not on any rolls before that one. So we may define pp as the probability that Allen wins at any point in the game, given that the last roll was a 1,21, 2, or 33, and qq as the probability that he wins given that the last roll was a 4,54, 5, or 66.

Suppose at some point, the last roll was r1{1,2,3}r_1 \in \{1,2,3\}, and the next roll is r2{1,2,3,4,5,6}r_2 \in \{1,2,3,4,5,6\}. By the definition of pp, Allen wins with probability pp. Furthermore, if r2=r1r_2 = r_1, which happens with probability 16\frac{1}{6}, Allen wins. If r2{1,2,3}r_2 \in \{1,2,3\} but r2r1r_2 \neq r_1, which happens with probability 26\frac{2}{6}, neither Allen nor Brian wins, so they continue playing the game, now where the last roll was r2r_2. In this case, Allen wins with probability pp. If r2{4,5,6}r_2 \in \{4,5,6\}, which happens with probability 36\frac{3}{6}, neither Allen nor Brian wins, so they continue playing, now where the last roll was r2r_2. In this case, Allen wins with probability qq. Hence, the probability that Allen wins in this case can be expressed as 16+26p+36q\frac{1}{6} + \frac{2}{6} p + \frac{3}{6} q, and thus
p=16+26p+36q p = \frac{1}{6} + \frac{2}{6} p + \frac{3}{6} q
By a similar analysis for qq, we find that
q=160+26p+36q q = \frac{1}{6} \cdot 0 + \frac{2}{6} p + \frac{3}{6} q
Solving, we get p=12p = \frac{1}{2} and q=13q = \frac{1}{3}. Allen wins with probability p=12p = \frac{1}{2} if the first roll is 1,21, 2, or 33, and he wins with probability q=13q = \frac{1}{3} if the first roll is 4,54, 5, or 66. We conclude that the overall probability that he wins the game is 12p+12q=512\frac{1}{2} p + \frac{1}{2} q = \frac{5}{12}.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.