返回题库

AIME 2021 I · 第 12 题

AIME 2021 I — Problem 12

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

Let A1A2A3A12A_1A_2A_3\ldots A_{12} be a dodecagon (1212-gon). Three frogs initially sit at A4,A8,A_4,A_8, and A12A_{12}. At the end of each minute, simultaneously, each of the three frogs jumps to one of the two vertices adjacent to its current position, chosen randomly and independently with both choices being equally likely. All three frogs stop jumping as soon as two frogs arrive at the same vertex at the same time. The expected number of minutes until the frogs stop jumping is mn\frac mn, where mm and nn are relatively prime positive integers. Find m+nm+n.

解析

Solution 1

Define the distance between two frogs as the number of sides between them that do not contain the third frog.

Let E(a,b,c)E(a,b,c) denote the expected number of minutes until the frogs stop jumping, such that the distances between the frogs are a,b,a,b, and cc (in either clockwise or counterclockwise order). Without the loss of generality, assume that abc.a\leq b\leq c.

We wish to find E(4,4,4).E(4,4,4). Note that:

  1. At any moment before the frogs stop jumping, the only possibilities for (a,b,c)(a,b,c) are (4,4,4),(2,4,6),(4,4,4),(2,4,6), and (2,2,8).(2,2,8).

  2. E(a,b,c)E(a,b,c) does not depend on the actual positions of the frogs, but depends on the distances between the frogs.

  3. At the end of each minute, each frog has 22 outcomes. So, there are 23=82^3=8 outcomes in total.

We have the following system of equations:

E(4,4,4)=1+28E(4,4,4)+68E(2,4,6),E(2,4,6)=1+48E(2,4,6)+18E(4,4,4)+18E(2,2,8),E(2,2,8)=1+28E(2,2,8)+28E(2,4,6).\begin{aligned} E(4,4,4)&=1+\frac{2}{8}E(4,4,4)+\frac{6}{8}E(2,4,6), \\ E(2,4,6)&=1+\frac{4}{8}E(2,4,6)+\frac{1}{8}E(4,4,4)+\frac{1}{8}E(2,2,8), \\ E(2,2,8)&=1+\frac{2}{8}E(2,2,8)+\frac{2}{8}E(2,4,6). \end{aligned} Rearranging and simplifying each equation, we get

E(4,4,4)=43+E(2,4,6),(1)E(2,4,6)=2+14E(4,4,4)+14E(2,2,8),(2)E(2,2,8)=43+13E(2,4,6).(3)\begin{aligned} E(4,4,4)&=\frac{4}{3}+E(2,4,6), &(1) \\ E(2,4,6)&=2+\frac{1}{4}E(4,4,4)+\frac{1}{4}E(2,2,8), &\hspace{12.75mm}(2) \\ E(2,2,8)&=\frac{4}{3}+\frac{1}{3}E(2,4,6). &(3) \end{aligned} Substituting (1)(1) and (3)(3) into (2),(2), we obtain

E(2,4,6)=2+14[43+E(2,4,6)]+14[43+13E(2,4,6)],E(2,4,6)=2+\frac{1}{4}\left[\frac{4}{3}+E(2,4,6)\right]+\frac{1}{4}\left[\frac{4}{3}+\frac{1}{3}E(2,4,6)\right], from which E(2,4,6)=4.E(2,4,6)=4. Substituting this into (1)(1) gives E(4,4,4)=163.E(4,4,4)=\frac{16}{3}.

Therefore, the answer is 16+3=019.16+3=\boxed{019}.

~Ross Gao ~MRENTHUSIASM

Solution 2 (Markov Chain)

Main article: Markov Chains

We can solve the problem by removing 11 frog, and calculate the expected time for the remaining 22 frogs. In the original problem, when the movement stops, 22 of the 33 frogs meet. Because the 33 frogs cannot meet at one vertex, the probability that those two specific frogs meet is 13\tfrac13. If the expected time for the two frog problem is EE', then the expected time for the original problem is 13E\tfrac 13 E'.

The distance between the two frogs can only be 00, 22, 44, 66. We use the distances as the states to draw the following Markov Chain. This Markov Chain is much simpler than that of Solution 1 Supplement in the Remark section.

AIME diagram

E(2)=1+12E(2)+14E(4)E(4)=1+14E(2)+12E(4)+14E(6)E(6)=1+12E(4)+12E(6)\begin{aligned} E(2) &= 1 + \frac12 \cdot E(2) + \frac14 \cdot E(4)\\ E(4) &= 1 + \frac14 \cdot E(2) + \frac12 \cdot E(4) + \frac14 \cdot E(6)\\ E(6) &= 1 + \frac12 \cdot E(4) + \frac12 \cdot E(6) \end{aligned} By solving the above system of equations, E(4)=16E(4) = 16. The answer for the original problem is 163\frac{16}{3}, 16+3=01916 + 3 = \boxed{\textbf{019}}

~isabelchen

Solution 3 (Pure algebraic manipulation, rigorous)

Let (x,y,z)(x,y,z) be the number of positions between every pair of adjacent frogs. Notice that each of these three numbers are always odd as the number of positions can only change by +2+2, +0+0 or 2-2 in every move. We also have that x+y+z=9x+y+z=9 as the frog themselves occupy 33 positions.

Let ana_n to be the probability that the frogs are at (3,3,3)(3,3,3) Situation at the nnth move.

Let bnb_n to be the probability that the frogs are at (1,3,5)(1,3,5) Situation at the nnth move.

Let cnc_n to be the probability that the frogs are at (1,1,7)(1,1,7) Situation at the nnth move.

These are all the cases with x,y,zx,y,z all odd and sum to 99.

After listing all the 88 movements, we get the recurrence

an+1=14an+18bna_{n+1}=\frac{1}{4}a_n+\frac{1}{8}b_n bn+1=34an+12bn+14cnb_{n+1}=\frac{3}{4}a_n+\frac{1}{2}b_n+\frac{1}{4}c_n cn+1=18bn+14cnc_{n+1}=\frac{1}{8}b_n+\frac{1}{4}c_n

A 3,3,33,3,3 Situation never leads to the end.

A 1,3,51,3,5 Situation has 14\frac{1}{4} chance of leading to the end.

A 1,1,71,1,7 Situation has 12\frac{1}{2} chance of leading to the end.

Then we calculate the probability of the process ending at the nnth move.

P(P(ending at move 1)1)=0=0

P(P(ending at move 2)2)=14b1+12c1=316=\frac{1}{4}b_1+\frac{1}{2}c_1=\frac{3}{16}

P(P(ending at move 3)3)=14b2+12c2=316=\frac{1}{4}b_2+\frac{1}{2}c_2=\frac{3}{16}

P(P(ending at move 4)4)=14b3+12c3=\frac{1}{4}b_3+\frac{1}{2}c_3

=14(34a2+12b2+14c2)+12(18b2+14c2)=\frac{1}{4}(\frac{3}{4}a_2+\frac{1}{2}b_2+\frac{1}{4}c_2)+\frac{1}{2}(\frac{1}{8}b_2+\frac{1}{4}c_2) (by plugging in the equations above)

=316a2+18b2+116c2+116b2+18c2=\frac{3}{16}a_2+\frac{1}{8}b_2+\frac{1}{16}c_2+\frac{1}{16}b_2+\frac{1}{8}c_2 =316a2+316b2+316c2=\frac{3}{16}a_2+\frac{3}{16}b_2+\frac{3}{16}c_2 =316(a2+b2+c2)=\frac{3}{16}(a_2+b_2+c_2)

a2+b2+c2a_2+b_2+c_2 is the probability of the frogs being at a non-ending situation at the 22nd move. This is equivalent to the process not ending on or before the 22nd move.

The probability here can be calculated reversely, it is equal to 11- (the probability of the process ending on or before the 22nd move).

It is equal to 11- (the probability of the process ending at the 11st move) - (the probability of the process ending at the 22nd move).

P(P(ending at move 4)4)=316(1316)=39256=\frac{3}{16}(1-\frac{3}{16})=\frac{39}{256}

Then continue calculations like this.

P(P(ending at move 5)5)=14b4+12c4=\frac{1}{4}b_4+\frac{1}{2}c_4

=316(a3+b3+c3)=\frac{3}{16}(a_3+b_3+c_3)

=316=\frac{3}{16}P(P(the process not ending on or before the 33rd move))

=316=\frac{3}{16}(1P((1-P(the process ending on or before the 33rd move))))

=316=\frac{3}{16}(1P((1-P(the process ending on the 11st move))P(-P(the process ending on the 22nd move))P(-P(the process ending on the 33rd move))))

=316(1316316)=\frac{3}{16}(1-\frac{3}{16}-\frac{3}{16}) =15128=\frac{15}{128}

P(P(ending at move 6)6)=14b5+12c5=\frac{1}{4}b_5+\frac{1}{2}c_5

=316(a4+b4+c4)=\frac{3}{16}(a_4+b_4+c_4)

=316=\frac{3}{16}P(P(the process not ending on or before the 44th move))

=316=\frac{3}{16}(1P((1-P(the process ending on or before the 44th move))))

=316(131631639256)=\frac{3}{16}(1-\frac{3}{16}-\frac{3}{16}-\frac{39}{256}) =3634096=\frac{363}{4096}

.........

In general, P(P(ending at move n+1){n+1})=14bn+12cn=\frac{1}{4}b_n+\frac{1}{2}c_n

=316(an1+bn1+cn1)=\frac{3}{16}(a_{n-1}+b_{n-1}+c_{n-1})

=316=\frac{3}{16}P(P(the process not ending on or before the n1n-1th move))

=316=\frac{3}{16}(1P((1-P(the process ending on or before the n1n-1th move))))

=316=\frac{3}{16}(1i=1n1P((1-\sum_{i=1}^{n-1}P(the process ending at the iith move))))

Notice that P(P(ending at move n+2){n+2}) has just one more term to minus than P(P(ending at move n+1){n+1}). Subtracting the equation for n+2n+2 and the equation for n+1n+1, we derive

P(P(ending at move n+1){n+1})-P(P(ending at move n+2){n+2})=316P(=\frac{3}{16}P(ending at move n)n)

Write P(P(ending at move n)n) as QnQ_n.

We have Qn+1Qn+2=316QnQ_{n+1}-Q_{n+2}=\frac{3}{16}Q_n.

We have Qn+2=Qn+1316QnQ_{n+2}=Q_{n+1}-\frac{3}{16}Q_n

We can actually prove the convergence of the expected value now in order to be rigorous. QnQ_n is a probability, a non-negative real number. For all postive integers nn we have Qn+2Qn+1Q_{n+2}\leq Q_{n+1}, the sequence is non-increasing since Q3Q_3.

Qn+2=Qn+1316QnQn316Qn=1316QnQ_{n+2}=Q_{n+1}-\frac{3}{16}Q_n\leq Q_n-\frac{3}{16}Q_n=\frac{13}{16}Q_n for n3n\geq3.

Thus each term of the sequence QQ is no more than the corresponding term of two alternating geometric sequences, one for its odd terms and one for its even terms. The infinite sum of QQ converges, and the expected value Q1+2Q2+3Q3+4Q4+......Q_1+2Q_2+3Q_3+4Q_4+...... converges as well.

Now we calculate Q1+Q2+Q3+Q4+Q5......Q_1+Q_2+Q_3+Q_4+Q_5....... We set this finite number equal to SS.

S=Q2+Q3+Q4+Q5+......S=Q_2+Q_3+Q_4+Q_5+...... (because Q1Q_1 is 00)

S=316+Q2316Q1+Q3316Q2+Q4316Q3+Q5316Q4+......S=\frac{3}{16}+Q_2-\frac{3}{16}Q_1+Q_3-\frac{3}{16}Q_2+Q_4-\frac{3}{16}Q_3+Q_5-\frac{3}{16}Q_4+...... S=316+S316SS=\frac{3}{16}+S-\frac{3}{16}S 316316S=0\frac{3}{16}-\frac{3}{16}S=0 S=1S=1

Knowing S=1S=1, we can find the expected value Q1+2Q2+3Q3+4Q4+5Q5+......Q_1+2Q_2+3Q_3+4Q_4+5Q_5+.......

Set this finite value equal to EE.

E=Q1+2Q2+3Q3+4Q4+5Q5+......E=Q_1+2Q_2+3Q_3+4Q_4+5Q_5+...... E=38+3(Q2316Q1)+4(Q3316Q2)+5(Q4316Q3)+6(Q5316Q4)+......E=\frac{3}{8}+3(Q_2-\frac{3}{16}Q_1)+4(Q_3-\frac{3}{16}Q_2)+5(Q_4-\frac{3}{16}Q_3)+6(Q_5-\frac{3}{16}Q_4)+...... E=38+3Q2+4Q3+5Q4+6Q5+......316(3Q1+4Q2+5Q3+6Q4+......)E=\frac{3}{8}+3Q_2+4Q_3+5Q_4+6Q_5+......-\frac{3}{16}(3Q_1+4Q_2+5Q_3+6Q_4+......) E=38+E+S316(4Q2+5Q3+6Q4+7Q5......)E=\frac{3}{8}+E+S-\frac{3}{16}(4Q_2+5Q_3+6Q_4+7Q_5......) E=38+E+S316(E+2S)E=\frac{3}{8}+E+S-\frac{3}{16}(E+2S) E=38+E+1316(E+2)E=\frac{3}{8}+E+1-\frac{3}{16}(E+2) 3(E+2)=223(E+2)=22 E=163E=\frac{16}{3}

The answer to the problem is 16+3=1916+3=19.

~AOPS Community - G2JFForever

Remark (Markov Chain)

Solution 1 Supplement

Solution 1 can be represented by the following Markov Chain:

AIME diagram

  • From state (4,4,4)(4, 4, 4) to state (4,4,4)(4, 4, 4): the 33 frogs must jump in the same direction, 218=142 \cdot \frac18 = \frac14.

  • From state (4,4,4)(4, 4, 4) to state (2,4,6)(2, 4, 6): 22 frogs must jump in the same direction, and the other must jump in the opposite direction, (32)218=34\binom32 \cdot 2 \cdot \frac18 = \frac34.

  • From state (2,4,6)(2, 4, 6) to state (4,4,4)(4, 4, 4): the 22 frogs with a distance of 44 in between must jump in the same direction so that they will be further away from the other frog, and the other frog must jump in the opposite direction as those 22 frogs, 18\frac18.

  • From state (2,4,6)(2, 4, 6) to state (2,4,6)(2, 4, 6): the 33 frogs can all jump in the same direction; or the 22 frogs with a distance of 22 in between jumps away from each other and the other frog jumps closer to the closest frog; or the 22 frogs with a distance of 66 in between jump closer to each other and away from the third frog, the third frog jumps closer to the closest frog; (2+1+1)18=12(2 + 1 + 1) \cdot \frac18 = \frac12.

  • From state (2,4,6)(2, 4, 6) to state (2,2,8)(2, 2, 8): the 22 frogs with a distance of 22 in between must jump closer to the other frog and the other frog must jump close to those 22 frogs, 18\frac18.

  • From state (2,2,8)(2, 2, 8) to state (2,4,6)(2, 4, 6): 22 frogs that have no frogs in between must both jump in the same direction away from the other frog, the other frog must also jump away from those 22 frogs, 218=142 \cdot \frac18 = \frac14.

  • From state (2,2,8)(2, 2, 8) to state (2,2,8)(2, 2, 8): the 33 frogs must all jump in the same direction, 218=142 \cdot \frac18 = \frac14.

  • From state (2,2,8)(2, 2, 8) to state (0,x,y)(0, x, y): frogs with a distance of 22 must jump closer to each other, the other frog can jump in any direction, 12122=12\frac12 \cdot \frac12 \cdot 2 = \frac12.

  • From state (2,4,6)(2, 4, 6) to state (0,x,y)(0, x, y): the frogs with a distance of 22 must jump closer to each other, the other frog can jump in any direction, 1212=14\frac12 \cdot \frac12 = \frac14.

Because a+b+c=12a + b + c = 12, we can use (a,b)(a, b) to represent the states which is simpler than using (a,b,c)(a, b, c) in Solution 1.

Summary

The two above Markov Chains are Absorbing Markov Chain. The state of 22 frogs meeting is the absorbing state. This problem asks for the Expected Number of Steps before being absorbed in the absorbing state.

Let pij=P(Xn+1=jXn=i)p_{ij} = P(X_{n+1} = j | X_n = i), the probability that state ii transits to state jj on the next step.

Let eie_i be the expected number of steps before being absorbed in the absorbing state when starting from transient state ii.

ei=j[pij(1+ej)]=j(pij+pijej)=jpij+j(pijej)=1+j(pijej)e_i = \sum_{j} [p_{ij} \cdot ( 1 + e_{j})] = \sum_{j} (p_{ij} + p_{ij} \cdot e_{j}) = \sum_{j} p_{ij} + \sum_{j} (p_{ij} \cdot e_{j}) = 1 + \sum_{j} (p_{ij} \cdot e_{j})

eie_i is 11 plus the sum of the products of pijp_{ij} and sjs_j of all the next state jj, jpij=1\sum_{j} p_{ij} = 1.

2014 AMC 12B Problem 22 and 2017 AMC 12A Problem 22 are similar problem with simpler states, both problems can be solved by Absorbing Markov Chain.

~isabelchen

Video Solution

https://www.youtube.com/watch?v=nt4xwt5Ldtc

~Math Problem Solving Skills