|
|
Line 1: |
Line 1: |
− | ==Problem==
| |
| | | |
− | A bug starts at a vertex of a grid made of equilateral triangles of side length <math>1</math>. At each step the bug moves in one of the <math>6</math> possible directions along the grid lines randomly and independently with equal probability. What is the probability that after <math>5</math> moves the bug never will have been more than <math>1</math> unit away from the starting position?
| |
− |
| |
− | <math>\textbf{(A)}\ \frac{13}{108} \qquad\textbf{(B)}\ \frac{7}{54} \qquad\textbf{(C)}\ \frac{29}{216} \qquad\textbf{(D)}\
| |
− | \frac{4}{27} \qquad\textbf{(E)}\ \frac{1}{16}</math>
| |
− |
| |
− | ==Solution==
| |
− | Let <math>S(n)</math> be the number of paths of <math>n</math> moves such that the bug never will have been more than <math>1</math> 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 <math>C(n)</math> be the number of paths with the aforementioned restriction that end on the center. Let <math>V(n)</math> be the number of paths with the aforementioned restriction that end on a vertex of the surrounding unit hexagon. We have <math>S(n) = 6C(n-1) + 3V(n-1),</math> since from the center, there are <math>6</math> possible points to land to and from a vertex there are <math>3</math> possible points to land to (the two adjacent vertices and the center). We also have <math>C(n) = V(n-1)</math>, since to get to the center the bug must have come from a vertex, and <math>V(n) = 2V(n-1) + 6C(n-1),</math> since from a vertex there are two vertices to move to, and from the center there are <math>6</math> vertices to move to. We can construct a recursion table using the base cases <math>V(1) = 6</math> and <math>C(1) = 0</math> and our recursive rules for <math>C(n)</math> and <math>V(n)</math> as follows:
| |
− | <cmath>\begin{tabular}{c|c|c} n & V(n) & C(n) \\ \hline
| |
− | 1 & 6 & 0 \\
| |
− | 2 & 12 & 6 \\
| |
− | 3 & 60 & 12 \\
| |
− | 4 & 192 & 60 \\
| |
− | \end{tabular}</cmath>
| |
− | Then, <math>S(5) = 6C(4) + 3V(4) = 6 \cdot 60 + 3 \cdot 192 = 936,</math> and the desired probability is thus <math>\frac{936}{6^5} = \boxed{\frac{13}{108}}.</math>
| |
− |
| |
− | -fidgetboss_4000
| |