DR.WANG Mathematics中文

2021 AIME I · Question 12

Probability · expected value · random walk · recursive probability

Problem outline

The vertices of a 1212-gon are A1,…,A12A_1,\ldots,A_{12} in cyclic order. Three frogs start at A4,A8,A12A_4,A_8,A_{12}. At the end of every minute, all three jump simultaneously. Each independently chooses either neighboring vertex with probability 1/21/2. They stop the first time at least two land on the same vertex. Write the expected waiting time in minutes as a reduced fraction m/nm/n. Find m+nm+n.

Show answer and methods 2 methods

Answer

019

Method 1 Count changes in the three gaps

Count the sides in each of the three successive clockwise gaps between frogs. Each gap changes by 00 or ±2\pm2, so it stays even, and a frog cannot pass another without first meeting it. Before a meeting the gaps are positive and sum to 1212. Up to rotation and reversal the only states are A=(4,4,4)A=(4,4,4), B=(2,4,6)B=(2,4,6), and C=(2,2,8)C=(2,2,8).

Number the frogs clockwise and encode their jumps by ϵi=+1\epsilon_i=+1 clockwise or −1-1 counterclockwise. The new gap after frog ii is gi+ϵi+1−ϵig_i+\epsilon_{i+1}-\epsilon_i (cyclic indices). A zero means a meeting. Substituting the eight equally likely sign triples gives these counts in the order (A,B,C,meeting)(A,B,C,\text{meeting}): from AA they are (2,6,0,0)(2,6,0,0), from BB they are (1,4,1,2)(1,4,1,2), and from CC they are (0,2,2,4)(0,2,2,4). From every state a meeting within two jumps has probability at least (6/8)(2/8)(6/8)(2/8), so the expected time is finite.

Let a,b,ca,b,c be the respective expected times. Counting the next minute gives 8a=8+2a+6b8a=8+2a+6b, 8b=8+a+4b+c8b=8+a+4b+c, and 8c=8+2b+2c8c=8+2b+2c. Thus a=b+4/3a=b+4/3, c=(4+b)/3c=(4+b)/3, and substitution in the middle equation gives b=4b=4. The frogs start in AA, so the expectation is 16/316/3 and m+n=19m+n=19.

Method 2 A product that measures remaining time

Until a collision let g1,g2,g3g_1,g_2,g_3 be the clockwise gaps in edges and P=g1g2g3P=g_1g_2g_3; set P=0P=0 after stopping. Each gap is even, so the frogs cannot change cyclic order before meeting. Give each jump an independent sign ϵi=±1\epsilon_i=\pm1 for its direction. Then the increment in gap ii is di=ϵi+1−ϵid_i=\epsilon_{i+1}-\epsilon_i, with cyclic indices.

Each did_i has mean zero. For distinct i,ji,j, the two increments contain one shared sign with opposite coefficients. The other cross products have zero mean by independence, so E[didj]=−1\mathbb E[d_i d_j]=-1. Reversing all signs negates d1d2d3d_1d_2d_3, so its mean is zero. Expanding (g1+d1)(g2+d2)(g3+d3)(g_1+d_1)(g_2+d_2)(g_3+d_3) at each active step now gives expected change −(g1+g2+g3)=−12-(g_1+g_2+g_3)=-12, including jumps that produce a zero gap.

The initial product is 43=644^3=64. If TT is the stopping time, summing the expected changes over the first NN minutes gives E[PN]=64−12 E[min⁡(T,N)]\mathbb E[P_N]=64-12\,\mathbb E[\min(T,N)], since only minutes before stopping contribute. This bounds E[min⁡(T,N)]\mathbb E[\min(T,N)] by 64/1264/12, hence TT is finite almost surely. The bounded product tends to zero after stopping, giving E[T]=64/12=16/3\mathbb E[T]=64/12=16/3 as NN tends to infinity. Thus m+n=19m+n=19.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)