Difference between revisions of "2003 AIME II Problems/Problem 13"
(→Solution 7 (trees)) |
(→Solution 7 (trees)) |
||
Line 63: | Line 63: | ||
===Solution 7 (trees)=== | ===Solution 7 (trees)=== | ||
− | Start of with any vertex. Denote <math>a_n</math> the number of paths ending where it started. Then notice that for a path to end in the vertex you started on, you must have for the <math>(n-1)</math> case that of the <math>2^{n-1}</math> total paths, we must take away the paths that end in the <math>(n-1)</math>-st term where it started off. (Because imagine on the <math>(n-1)</math> move that it landed on vertex <math>A</math>. Then if we wanted to find the number of length <math>n</math> paths that end at <math>A</math>, we would be able to find that path, because on the <math>(n-1)</math>-st move it landed at <math>A</math>. You can't go from <math>A</math> to <math>A</math>). Hence we have the recursion <math>a_n=2^{n-1}-a_{n-1}</math>, with <math>a_3 = | + | Start of with any vertex. Denote <math>a_n</math> the number of paths ending where it started. Then notice that for a path to end in the vertex you started on, you must have for the <math>(n-1)</math> case that of the <math>2^{n-1}</math> total paths, we must take away the paths that end in the <math>(n-1)</math>-st term where it started off. (Because imagine on the <math>(n-1)</math> move that it landed on vertex <math>A</math>. Then if we wanted to find the number of length <math>n</math> paths that end at <math>A</math>, we would be able to find that path, because on the <math>(n-1)</math>-st move it landed at <math>A</math>. You can't go from <math>A</math> to <math>A</math>). Hence we have the recursion <math>a_n=2^{n-1}-a_{n-1}</math>, with <math>a_3 = 6</math>. Now reiterating gives us <math>a_{10} = 342</math>, so that the probability is <math>\frac{342}{2^{10}} = \frac{171}{512}</math>. So we have <math>171 + 512 = \boxed{683}</math>. |
~th1nq3r | ~th1nq3r | ||
Revision as of 10:23, 8 December 2021
Contents
[hide]Problem
A bug starts at a vertex of an equilateral triangle. On each move, it randomly selects one of the two vertices where it is not currently located, and crawls along a side of the triangle to that vertex. Given that the probability that the bug moves to its starting vertex on its tenth move is where and are relatively prime positive integers, find
Solution
Solution 1 (Easiest)
Let represent the probability that the bug is at its starting vertex after moves. If the bug is on its starting vertex after moves, then it must be not on its starting vertex after moves. At this point it has chance of reaching the starting vertex in the next move. Thus . , so now we can build it up:
, , , , , , , , , ,
Thus the answer is
Solution 2
Consider there to be a clockwise and a counterclockwise direction around the triangle. Then, in order for the ant to return to the original vertex, the net number of clockwise steps must be a multiple of 3, i.e., . Since , it is only possible that .
In the first case, we pick out of the ant's steps to be clockwise, for a total of paths. In the second case, we choose of the steps to be clockwise, and in the third case we choose to be clockwise. Hence the total number of ways to return to the original vertex is . Since the ant has two possible steps at each point, there are routes the ant can take, and the probability we seek is , and the answer is .
Solution 3
Label the vertices of the triangle with the ant starting at . We will make a table of the number of ways to get to in moves . The values of the table are calculated from the fact that the number of ways from a vertex say in steps equals the number of ways to get to in steps plus the number of ways to get to in steps.
Therefore, our answer is
Notice the pattern that there are way to get to for even moves. Thus, there are ways.
Solution 4
Notice that this problem can be converted into a Markov Chain transition matrix.
The transition matrix is { {0,1,1}, {1,0,1} , {1,1,0} } * (1/2) . Then use the exponentiation method of squaring ( A*A---(A^2)*(A^2)---(A^4*A^4)--(A^8*A^2) to get the transition value of 342. Divide by 2^10 for the probability, reduce fractions, for the result of 171+512 = 683.
Solution 5 (guess & check)
This method does not rigorously get the answer, but it works. As the bug makes more and more moves, the probability of it going back to the origin approaches closer and closer to 1/3. Therefore, after 10 moves, the probability gets close to . We can either round up or down. If we round down, we see cannot be reduced any further and because the only answers on the AIME are below 1000, this cannot be the right answer. However, if we round up, can be reduced to where the sum 171+512= is an accepted answer.
Solution 6 (generating functions)
The generating function for this is since an ant on any vertex of the equilateral triangle can go degrees or degrees to a side and simplifying gets you . Since degrees brings you back to the original vertex then we must find the sum of the coefficients that share a variable with a power divisible by .
Since we take this rotation times, our function becomes which is the same as . This completely simplified is and since your maximum power is , we only have to find the coefficients for , , and ( would apply here but the is the lowest power there is).
For , the coefficient is , and the same goes for . For , the coefficient is and the final sum for the numerator is . The total sum is and for the denominator, it was simply and this simplified was . Therefore the sum is .
Solution 7 (trees)
Start of with any vertex. Denote the number of paths ending where it started. Then notice that for a path to end in the vertex you started on, you must have for the case that of the total paths, we must take away the paths that end in the -st term where it started off. (Because imagine on the move that it landed on vertex . Then if we wanted to find the number of length paths that end at , we would be able to find that path, because on the -st move it landed at . You can't go from to ). Hence we have the recursion , with . Now reiterating gives us , so that the probability is . So we have . ~th1nq3r
See also
- 1985 AIME Problems/Problem 12 - very similar problem with a tetrahedron
2003 AIME II (Problems • Answer Key • Resources) | ||
Preceded by Problem 12 |
Followed by Problem 14 | |
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.