Difference between revisions of "2021 Fall AMC 12B Problems/Problem 17"
(→Solution 5 (Casework)) |
m (→Solution 6 (Markov Chain)) |
||
Line 125: | Line 125: | ||
==Solution 6 (Markov Chain)== | ==Solution 6 (Markov Chain)== | ||
We can use a Markov chain to represent the different states of the bug. | We can use a Markov chain to represent the different states of the bug. | ||
− | [[File:MarkovChain-AMC12B-2021F-17.png|200px|thumb|left| | + | [[File:MarkovChain-AMC12B-2021F-17.png|200px|thumb|left|]] |
Let "center" (C) represent the starting point, "1 away" (O) represent a point on the grid 1 move and 1 unit away from the starting point, and "2+ away" (T) represent the case where the bug has ventured more than 1 unit away from its starting point. | Let "center" (C) represent the starting point, "1 away" (O) represent a point on the grid 1 move and 1 unit away from the starting point, and "2+ away" (T) represent the case where the bug has ventured more than 1 unit away from its starting point. | ||
Revision as of 20:41, 2 November 2024
Contents
Problem
A bug starts at a vertex of a grid made of equilateral triangles of side length . At each step the bug moves in one of the possible directions along the grid lines randomly and independently with equal probability. What is the probability that after moves the bug never will have been more than unit away from the starting position?
Solution 1 (Recursion)
Let be the number of paths of moves such that the bug never will have been more than unit away from the starting position. Clearly, by symmetry, there are two possible states here, the bug being on the center and the bug being on one of the vertices of the unit hexagon around the center. Let be the number of paths with the aforementioned restriction that end on the center. Let be the number of paths with the aforementioned restriction that end on a vertex of the surrounding unit hexagon. We have since from the center, there are possible points to land to and from a vertex there are possible points to land to (the two adjacent vertices and the center). We also have , since to get to the center the bug must have come from a vertex, and since from a vertex there are two vertices to move to, and from the center there are vertices to move to. We can construct a recursion table using the base cases and and our recursive rules for and as follows: Then, and the desired probability is thus
~fidgetboss_4000
Solution 2 (Recursion)
Let be such probability after moves. , . Then, . Then, we can prove the recursive formula Now, we evaluate .
Solution 3 (Recursion)
We use to denote the bug's current state. We wish to find .
The first argument denotes the bug's current position. We use to denote the bug's starting point. We use to denote any point whose distance to the bug's starting point is .
The second argument denotes the remaining number of moves the bug has.
For and , we have For and , we have For and , we have We solve this recursive equation by using backward induction: Therefore, the answer is .
~Steven Chen (www.professorchenedu.com)
Solution 4 (Generating Function)
Use a generating function, define be ways for the destination be units away from the origin.
We conclude that:
- If the current point is origin, then we need to multiply by .
- If the current point on vertex of the unit hexagon, then we need to multiply by , where there is way to return to the origin and there are two ways to keep distance .
Now let's start with .
st step:
nd step:
rd step:
th step:
th step:
So, there are ways for the bug never moves more than unit away from origin. The answer is .
~wwei.yu
Solution 5 (Casework)
In the following diagram, let denote the vertex where the bug starts (shown in red) and denote one of the adjacent vertices (shown in green). Note that:
- If the bug is at then the probability that it moves to next is
- If the bug is at then the probability that it moves to next is
- If the bug is at then the probability that it moves to next is
We apply casework to the possible paths of the bug:
-
The probability for this case is
-
The probability for this case is
-
The probability for this case is
-
The probability for this case is
-
The probability for this case is
-
The probability for this case is
-
The probability for this case is
-
The probability for this case is
Together, the answer is ~MRENTHUSIASM
Solution 6 (Markov Chain)
We can use a Markov chain to represent the different states of the bug.
Let "center" (C) represent the starting point, "1 away" (O) represent a point on the grid 1 move and 1 unit away from the starting point, and "2+ away" (T) represent the case where the bug has ventured more than 1 unit away from its starting point.
Notice that the bug must move to the 1 away state from the center. From there, it moves back to the center with a probability, to a point 2 units away from the center with probability, and to another point 1 unit away with probability.
We are trying to find the probability that the bug does not reach the 2+ away state in 5 moves. To accomplish this, we can find the complement by listing out the cases that the bug does reach the 2+ away state in a specified number of moves.
Clearly, the bug cannot reach the 2+ away (T) state in 0 moves.
In 1 move, the bug can only reach the 1 away (O) state, so it cannot reach the T state in 1 move either.
In 2 moves, the bug can move to the O state followed by the T state with probability .
In 3 moves, the bug can follow the pattern OOT with probability .
In 4 moves, the bug can follow the paths of OOOT or OCOT, with probabilities and respectively.
In 5 moves, the bug can follow the paths of OOOOT, OCOOT, or OOCOT, with probabilities , , and .
Adding up these probabilities, we obtain . Finding the complement of this, we subtract from 1 to get the answer of . ~diyarv
See Also
2021 Fall AMC 12B (Problems • Answer Key • Resources) | |
Preceded by Problem 16 |
Followed by Problem 18 |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | |
All AMC 12 Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.