Difference between revisions of "1985 AIME Problems/Problem 12"
MRENTHUSIASM (talk | contribs) (→Solution 1.1 (Recursion)) |
MRENTHUSIASM (talk | contribs) (Rearranged the solutions based on education values. I will push the PURE guess-and-check solutions to the end. If anyone disagrees with this, please PM me, and we will figure something out.) |
||
Line 2: | Line 2: | ||
Let <math>A</math>, <math>B</math>, <math>C</math> and <math>D</math> be the vertices of a regular tetrahedron, each of whose edges measures <math>1</math> meter. A bug, starting from vertex <math>A</math>, observes the following rule: at each vertex it chooses one of the three edges meeting at that vertex, each edge being equally likely to be chosen, and crawls along that edge to the vertex at its opposite end. Let <math>p = \frac{n}{729}</math> be the probability that the bug is at vertex <math>A</math> when it has crawled exactly <math>7</math> meters. Find the value of <math>n</math>. | Let <math>A</math>, <math>B</math>, <math>C</math> and <math>D</math> be the vertices of a regular tetrahedron, each of whose edges measures <math>1</math> meter. A bug, starting from vertex <math>A</math>, observes the following rule: at each vertex it chooses one of the three edges meeting at that vertex, each edge being equally likely to be chosen, and crawls along that edge to the vertex at its opposite end. Let <math>p = \frac{n}{729}</math> be the probability that the bug is at vertex <math>A</math> when it has crawled exactly <math>7</math> meters. Find the value of <math>n</math>. | ||
− | == Solution 1 ( | + | == Solution 1 (Single Variable Recursion) == |
For all positive integers <math>k,</math> let <math>P(k)</math> be the probability that the bug is at vertex <math>A</math> when it has crawled exactly <math>k</math> meters. We wish to find <math>p=P(7).</math> | For all positive integers <math>k,</math> let <math>P(k)</math> be the probability that the bug is at vertex <math>A</math> when it has crawled exactly <math>k</math> meters. We wish to find <math>p=P(7).</math> | ||
Note that after <math>k-1</math> moves: | Note that after <math>k-1</math> moves: | ||
<ol style="margin-left: 1.5em;"> | <ol style="margin-left: 1.5em;"> | ||
− | <li> | + | <li>The probability that the bug is at vertex <math>A</math> is <math>P(k-1),</math> and the probability that it crawls to vertex <math>A</math> on the next move is <math>0.</math></li><p> |
− | <li> | + | <li>The probability that the bug is not at vertex <math>A</math> is <math>1-P(k-1),</math> and the probability that it crawls to vertex <math>A</math> on the next move is <math>\frac13.</math></li><p> |
</ol> | </ol> | ||
− | + | Together, the recursive formula for <math>P(k)</math> is | |
<cmath>P(k) = \begin{cases} | <cmath>P(k) = \begin{cases} | ||
0 & \mathrm{if} \ k=1 \\ | 0 & \mathrm{if} \ k=1 \\ | ||
Line 26: | Line 26: | ||
P(5)&=\frac13(1-P(4))&&=\frac{20}{81}, \\ | P(5)&=\frac13(1-P(4))&&=\frac{20}{81}, \\ | ||
P(6)&=\frac13(1-P(5))&&=\frac{61}{243},\\ | P(6)&=\frac13(1-P(5))&&=\frac{61}{243},\\ | ||
− | P(7)&=\frac13(1-P(6))&&=\frac{182}{729} | + | P(7)&=\frac13(1-P(6))&&=\frac{182}{729}. |
\end{alignat*}</cmath> | \end{alignat*}</cmath> | ||
− | + | Therefore, the answer is <math>n=\boxed{182}.</math> | |
~Azjps (Fundamental Logic) | ~Azjps (Fundamental Logic) | ||
Line 34: | Line 34: | ||
~MRENTHUSIASM (Reconstruction) | ~MRENTHUSIASM (Reconstruction) | ||
− | === Solution 1.2 (Closed Form of P( | + | === Solution 1.2 (Closed Form of P(k)) === |
+ | |||
~MRENTHUSIASM | ~MRENTHUSIASM | ||
− | == Solution 2 | + | == Solution 2 (Multivariable Recursion) == |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<u><b>Denominator</b></u> | <u><b>Denominator</b></u> | ||
Line 120: | Line 87: | ||
~MRENTHUSIASM | ~MRENTHUSIASM | ||
+ | |||
+ | == Solution 3 == | ||
+ | We can find the number of different times the bug reaches vertex <math>A</math> before the 7th move, and use these smaller cycles to calculate the number of different ways the bug can end up back at <math>A</math>. | ||
+ | |||
+ | Define <math>f(x)</math> to be the number of paths of length <math>x</math> which start and end at <math>A</math> but do not pass through <math>A</math> otherwise. Obviously <math>f(1) = 0</math>. In general for <math>f(x)</math>, the bug has three initial edges to pick from. From there, since the bug cannot return to <math>A</math> by definition, the bug has exactly two choices. This continues from the 2nd move up to the <math>(x-1)</math>th move. The last move must be a return to <math>A</math>, so this move is determined. So <math>f(x) = 2^{x-2}3</math>. | ||
+ | |||
+ | Now we need to find the number of cycles by which the bug can reach <math>A</math> at the end. Since <math>f(1) = 0</math>, <math>f(6)</math> cannot be used since on the 7th move the bug cannot move from <math>A</math> to <math>A</math>. So we need to find the number of [[partition]]s of 7 using only 2,3,4,5, and 7. These are <math>f(2)f(2)f(3)</math>, <math>f(2)f(5)</math>, <math>f(3)f(4)</math>, and <math>f(7)</math>. We can calculate these and sum them up using our formula. Also, order matters, so we need to find the number of ways to arrange each partition. | ||
+ | |||
+ | <div style="text-align:center;"><math>{3\choose1}f(2)f(2)f(3) + {2\choose1}f(2)f(5) + {2\choose1}f(3)f(4) + f(7)</math><br /><math>= 3(3)(3)(2\cdot3) + 2(3)(2^33) + 2(2\cdot3)(2^23) + (2^53)</math><br /><math>= 546</math></div> | ||
+ | |||
+ | Finally, this is a [[probability]] question, so we divide by <math>3^7</math>: <math>\frac{546}{3^7} = \frac{182}{3^6}</math>. | ||
+ | |||
+ | == Solution 4 == | ||
+ | There exists a simple heuristic method to arrive at the answer to this question, due to [[User: ComplexZeta | Simon Rubinstein-Salzedo]], as follows: after a couple of moves, the randomness of movement of the bug and smallness of the system ensures that we should expect its [[probability distribution]] to be very close to [[uniform distribution | uniform]]. In particular, we would expect <math>P(n)</math> to be very close to <math>\frac 14</math> for decently-sized <math>n</math>, for example <math>n = 7</math>. (In fact, from looking at the previous solution we can see that it is already close when <math>n = 3</math>, and in fact, the earlier values are also the best possible approximations given the restraints on where the bug can be.) Since we know the answer is of the form <math>\frac n{729}</math>, we realize that <math>n</math> must be very close to <math>\frac{729}{4} = 182.25</math>, as indeed it is. | ||
+ | |||
+ | == Solution 5 == | ||
+ | |||
+ | Let <math>a_n</math> denotes the number of ways that the bug arrives at <math>A</math> after crawling <math>n</math> meters, then we have <math>a_1=0</math>. | ||
+ | |||
+ | Notice that there is respectively <math>1</math> way to arrive at <math>A</math> for each of the different routes after the previous <math>n-1</math> crawls, excluding the possibility that the bug ends up at <math>A</math> after the <math>(n-1)</math>th crawl (as it will be forced to move somewhere else.). Thus we get the recurrence relation | ||
+ | <cmath>a_n=3^{n-1}-a_{n-1}</cmath> | ||
+ | Quick calculations yield | ||
+ | <cmath>\begin{align*} | ||
+ | a_7&=3^6-a_6\\ | ||
+ | &=3^6-3^5+3^4-...+a_1\\ | ||
+ | &=546 | ||
+ | \end{align*}</cmath> | ||
+ | Thus <math>p=\frac{546}{3^7}=\frac{182}{729}\Longrightarrow n=\boxed{182}</math>. | ||
+ | |||
+ | ~Nafer | ||
+ | |||
+ | == Solution 6 (Cheap Solution) == | ||
+ | Only do this if you don't know how to solve the problem and want to make a good guess. Since there are 4 vertices of a tetrahedron, there is approximately a 1/4 probability of coming back to A after 7 moves. Dividing 729 by 4 gives a number between 182 and 183. If the ant continuously alternates his location from A to some other vertice, in the end, it will not be at A. Therefore we chose the smaller number, 182. | ||
+ | |||
+ | ~Rocket123 | ||
== See also == | == See also == |
Revision as of 22:32, 22 July 2021
Contents
Problem
Let , , and be the vertices of a regular tetrahedron, each of whose edges measures meter. A bug, starting from vertex , observes the following rule: at each vertex it chooses one of the three edges meeting at that vertex, each edge being equally likely to be chosen, and crawls along that edge to the vertex at its opposite end. Let be the probability that the bug is at vertex when it has crawled exactly meters. Find the value of .
Solution 1 (Single Variable Recursion)
For all positive integers let be the probability that the bug is at vertex when it has crawled exactly meters. We wish to find
Note that after moves:
- The probability that the bug is at vertex is and the probability that it crawls to vertex on the next move is
- The probability that the bug is not at vertex is and the probability that it crawls to vertex on the next move is
Together, the recursive formula for is Two solutions follow from here:
Solution 1.1 (Recursion)
We evaluate recursively: Therefore, the answer is
~Azjps (Fundamental Logic)
~MRENTHUSIASM (Reconstruction)
Solution 1.2 (Closed Form of P(k))
~MRENTHUSIASM
Solution 2 (Multivariable Recursion)
Denominator
There are ways for the bug to make independent crawls without restrictions.
Numerator (Recursion)
Let denote the number of ways for the bug to crawl exactly meters starting from vertex and ending at vertex where and is a positive integer. We wish to find
Since the bug must crawl to vertex or on the first move, we have where
More generally, we get For note that
- Base Case:
- Recursive Case:
Clearly, is a geometric sequence with the first term and the common ratio Therefore, its explicit formula is Recall that By and we rewrite recursively: Answer
The requested probability is from which
~MRENTHUSIASM
Solution 3
We can find the number of different times the bug reaches vertex before the 7th move, and use these smaller cycles to calculate the number of different ways the bug can end up back at .
Define to be the number of paths of length which start and end at but do not pass through otherwise. Obviously . In general for , the bug has three initial edges to pick from. From there, since the bug cannot return to by definition, the bug has exactly two choices. This continues from the 2nd move up to the th move. The last move must be a return to , so this move is determined. So .
Now we need to find the number of cycles by which the bug can reach at the end. Since , cannot be used since on the 7th move the bug cannot move from to . So we need to find the number of partitions of 7 using only 2,3,4,5, and 7. These are , , , and . We can calculate these and sum them up using our formula. Also, order matters, so we need to find the number of ways to arrange each partition.
Finally, this is a probability question, so we divide by : .
Solution 4
There exists a simple heuristic method to arrive at the answer to this question, due to Simon Rubinstein-Salzedo, as follows: after a couple of moves, the randomness of movement of the bug and smallness of the system ensures that we should expect its probability distribution to be very close to uniform. In particular, we would expect to be very close to for decently-sized , for example . (In fact, from looking at the previous solution we can see that it is already close when , and in fact, the earlier values are also the best possible approximations given the restraints on where the bug can be.) Since we know the answer is of the form , we realize that must be very close to , as indeed it is.
Solution 5
Let denotes the number of ways that the bug arrives at after crawling meters, then we have .
Notice that there is respectively way to arrive at for each of the different routes after the previous crawls, excluding the possibility that the bug ends up at after the th crawl (as it will be forced to move somewhere else.). Thus we get the recurrence relation Quick calculations yield Thus .
~Nafer
Solution 6 (Cheap Solution)
Only do this if you don't know how to solve the problem and want to make a good guess. Since there are 4 vertices of a tetrahedron, there is approximately a 1/4 probability of coming back to A after 7 moves. Dividing 729 by 4 gives a number between 182 and 183. If the ant continuously alternates his location from A to some other vertice, in the end, it will not be at A. Therefore we chose the smaller number, 182.
~Rocket123
See also
- 2003 AIME II Problems/Problem 13 - very similar problem with an equilateral triangle
1985 AIME (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 |