Difference between revisions of "2021 AIME I Problems/Problem 12"
MRENTHUSIASM (talk | contribs) (→Solution) |
Cassiopeia1 (talk | contribs) |
||
Line 32: | Line 32: | ||
~MRENTHUSIASM (Reconstruction) | ~MRENTHUSIASM (Reconstruction) | ||
+ | |||
+ | ===Alternate solution=== | ||
+ | |||
+ | Without loss of generality, let's have each frog jump one space to their right after their usual jump. Then observe that half of the vertices will be blank due to parity reasons. Then, we can instead consider the frogs on a hexagon instead. Let them start at vertices <math>A_{0}</math>, <math>A_{2}</math>, and <math>A_{4}</math>. Each time, they either stay at the same lilypad, or jump right by one spot. Observe that configurations are still equivalent to their reflections. If some frogs jump in one reflection, we have all frogs jump in the other reflection except for the ones which jumped in the original reflection. | ||
+ | |||
+ | There are only four states on this hexagon. The first state, <math>x</math>, is where the frogs are arranged in an equilateral triangle. The second state, <math>y</math>, is where two frogs are adjacent. The third state, <math>z</math>, is where all three frogs are adjacent. And the fourth state, <math>H</math>, is the halting state. We can then consider how these states change. | ||
+ | |||
+ | <math>x</math> moves to <math>x</math> with <math>\frac{1}{4}</math> probability, and to <math>y</math> with <math>\frac{3}{4}</math> probability. | ||
+ | |||
+ | <math>y</math> moves to <math>y</math> with <math>\frac{1}{2}</math> probability, to <math>x</math> and <math>z</math> with <math>\frac{1}{8}</math> probability each, and to <math>H</math> with <math>\frac{1}{4}</math> probability. | ||
+ | |||
+ | <math>z</math> moves to <math>z</math> and <math>y</math> with <math>\frac{1}{4}</math> probability each, and to <math>H</math> with <math>\frac{1}{2}</math> probability. | ||
+ | |||
+ | <math>H</math> always moves to itself. | ||
+ | |||
+ | Now, let <math>x</math>, <math>y</math>, <math>z</math>, and <math>H</math> be functions of time. We can create a state vector <math>\overrightarrow{S}=\begin{bmatrix}x\\y\\z\\H\end{bmatrix}</math>. Observe that we can then multiply <math>\overrightarrow{S}\left(t+1\right)=A\overrightarrow{S}\left(t\right)</math> for some matrix <math>A</math>. This matrix can be found from our previous examination of how the states move: | ||
+ | |||
+ | <math>A=\begin{bmatrix}\frac{1}{4} & \frac{1}{8} & 0 & 0\\\frac{3}{4} & \frac{1}{2} & \frac{1}{4} & 0\\0 & \frac{1}{8} & \frac{1}{4} & 0\\0 & \frac{1}{4} & \frac{1}{2} & 1\end{bmatrix}</math> | ||
+ | |||
+ | From the problem, we have <math>\overrightarrow{S}\left(0\right)=\begin{bmatrix}1\\0\\0\\0\end{bmatrix}</math>, and by induction, we have <math>\overrightarrow{S}\left(t\right)=A^{t}\overrightarrow{S}\left(0\right)</math>. The expected stopping time is <math>\sum_{t=1}^{\infty}t\left(H\left(t\right)-H\left(t-1\right)\right)</math>. To find <math>H\left(t\right)</math>, we need to be able to easily raise <math>A</math> to high powers. <math>PDP^{-1}</math> factorization is the tool we need for this job. We need the eigenvalues and eigenvectors for <math>A</math>. By definition, if <math>\overrightarrow{v}</math> is an eigenvector of <math>A</math>, then there exists an eigenvalue <math>\lambda</math> where <math>A\overrightarrow{v}=\lambda\overrightarrow{v}</math>. To subtract matrices from matrices, we insert a copy of the identity matrix: | ||
+ | |||
+ | <math>A\overrightarrow{v}=\left(\lambda I\right)\overrightarrow{v}</math> | ||
+ | |||
+ | Then we want values of <math>\lambda</math> where <math>A-\lambda I</math> has a null space with nonzero dimension. This happens when <math>\det\left(A-\lambda I\right)=0</math>. We know: | ||
+ | |||
+ | <math>A-\lambda I=\begin{bmatrix}\frac{1}{4}-\lambda & \frac{1}{8} & 0 & 0\\\frac{3}{4} & \frac{1}{2}-\lambda & \frac{1}{4} & 0\\0 & \frac{1}{8} & \frac{1}{4}-\lambda & 0\\0 & \frac{1}{4} & \frac{1}{2} & 1-\lambda\end{bmatrix}</math> | ||
+ | |||
+ | We need the determinant of that. One obvious way to proceed would be to do a cofactor expansion across the last column. However, it's easier to expand across the first column, because one cofactor is lower triangular, meaning that we can take the determinant of that cofactor by multiplying its diagonal entries, and the other cofactor has two zeroes in one of its columns, meaning we only have to evaluate one more determinant. Two of the entries in the first column are still 0, so we can ignore this. | ||
+ | |||
+ | <math>\det\begin{bmatrix}\frac{1}{4}-\lambda & \frac{1}{8} & 0 & 0\\\frac{3}{4} & \frac{1}{2}-\lambda & \frac{1}{4} & 0\\0 & \frac{1}{8} & \frac{1}{4}-\lambda & 0\\0 & \frac{1}{4} & \frac{1}{2} & 1-\lambda\end{bmatrix}=\left(\frac{1}{4}-\lambda\right)\det\begin{bmatrix}\frac{1}{2}-\lambda & \frac{1}{4} & 0\\\frac{1}{8} & \frac{1}{4}-\lambda & 0\\\frac{1}{4} & \frac{1}{2} & 1-\lambda\end{bmatrix}-\left(\frac{3}{4}-\lambda\right)\det\begin{bmatrix}\frac{1}{8} & 0 & 0\\\frac{1}{8} & \frac{1}{4}-\lambda & 0\\\frac{1}{4} & \frac{1}{2} & 1-\lambda\end{bmatrix}</math> | ||
==See Also== | ==See Also== |
Revision as of 10:14, 18 February 2022
Problem
Let be a dodecagon (-gon). Three frogs initially sit at and . 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 , where and are relatively prime positive integers. Find .
Solution
Define the distance between two frogs as the number of sides between them that do not contain the third frog.
Let denote the expected number of minutes until the frogs stop jumping, such that the distances between the frogs are and (in either clockwise or counterclockwise order). Without the loss of generality, assume that
We wish to find Note that:
- At any moment before the frogs stop jumping, the only possibilities for are and
- does not depend on the actual positions of the frogs, but depends on the distances between the frogs.
- At the end of each minute, each frog has outcomes. So, there are outcomes in total.
We have the following system of equations: Rearranging and simplifying each equation, we get Substituting and into we obtain from which Substituting this into gives
Therefore, the answer is
~Ross Gao (Fundamental Logic)
~MRENTHUSIASM (Reconstruction)
Alternate solution
Without loss of generality, let's have each frog jump one space to their right after their usual jump. Then observe that half of the vertices will be blank due to parity reasons. Then, we can instead consider the frogs on a hexagon instead. Let them start at vertices , , and . Each time, they either stay at the same lilypad, or jump right by one spot. Observe that configurations are still equivalent to their reflections. If some frogs jump in one reflection, we have all frogs jump in the other reflection except for the ones which jumped in the original reflection.
There are only four states on this hexagon. The first state, , is where the frogs are arranged in an equilateral triangle. The second state, , is where two frogs are adjacent. The third state, , is where all three frogs are adjacent. And the fourth state, , is the halting state. We can then consider how these states change.
moves to with probability, and to with probability.
moves to with probability, to and with probability each, and to with probability.
moves to and with probability each, and to with probability.
always moves to itself.
Now, let , , , and be functions of time. We can create a state vector . Observe that we can then multiply for some matrix . This matrix can be found from our previous examination of how the states move:
From the problem, we have , and by induction, we have . The expected stopping time is . To find , we need to be able to easily raise to high powers. factorization is the tool we need for this job. We need the eigenvalues and eigenvectors for . By definition, if is an eigenvector of , then there exists an eigenvalue where . To subtract matrices from matrices, we insert a copy of the identity matrix:
Then we want values of where has a null space with nonzero dimension. This happens when . We know:
We need the determinant of that. One obvious way to proceed would be to do a cofactor expansion across the last column. However, it's easier to expand across the first column, because one cofactor is lower triangular, meaning that we can take the determinant of that cofactor by multiplying its diagonal entries, and the other cofactor has two zeroes in one of its columns, meaning we only have to evaluate one more determinant. Two of the entries in the first column are still 0, so we can ignore this.
See Also
2021 AIME I (Problems • Answer Key • Resources) | ||
Preceded by Problem 11 |
Followed by Problem 13 | |
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.