An ant is at the vertex [tex]A[/tex] of a cube and crawls along one edge of the cube in [tex]1[/tex] minute. At each vertex it chooses at random, with equal probabilities, one of the three edges leaving that vertex (it may also go back along the edge it came by), independently of its previous choices. Let [tex]C[/tex] be the vertex of the cube opposite to [tex]A[/tex] (i.e. [tex]AC[/tex] is a space diagonal). What is the least number of minutes after which the probability that the ant has passed through the vertex [tex]C[/tex] is greater than [tex]0.9[/tex]?
Solution:
Put [tex]A=(0, 0, 0)[/tex] and [tex]C=(1, 1, 1)[/tex], and call the number of coordinates of a vertex equal to [tex]1[/tex] its level. The levels are [tex]0[/tex], [tex]1[/tex], [tex]2[/tex], [tex]3[/tex], and [tex]C[/tex] is the only vertex of level [tex]3[/tex]. Each move along an edge changes the level by [tex]1[/tex]: from level [tex]0[/tex] the ant always goes to level [tex]1[/tex]; from level [tex]1[/tex] it goes to level [tex]0[/tex] with probability [tex]\frac{1}{3}[/tex] and to level [tex]2[/tex] with probability [tex]\frac{2}{3}[/tex]; from level [tex]2[/tex] it goes to [tex]C[/tex] with probability [tex]\frac{1}{3}[/tex] and back to level [tex]1[/tex] with probability [tex]\frac{2}{3}[/tex].
After an odd number of minutes the level is odd and after an even number it is even, so [tex]C[/tex] can be reached only at the end of an odd minute. After the first minute the ant is at level [tex]1[/tex]. Split the following time into blocks of two minutes. If the ant starts a block at level [tex]1[/tex], it reaches [tex]C[/tex] at the end of the block with probability
[tex]\frac{2}{3}\times \frac{1}{3}=\frac{2}{9}[/tex]
and otherwise (with probability [tex]\frac{1}{3}+\frac{2}{3}\times \frac{2}{3}=\frac{7}{9}[/tex]) it is again at level [tex]1[/tex]. Since the choices are independent, the blocks are independent repetitions of the same trial. Hence the probability that the ant has not passed through [tex]C[/tex] after [tex]2k+1[/tex] minutes (and also after [tex]2k+2[/tex] minutes) is [tex]\left(\frac{7}{9}\right)^k[/tex]. We need
[tex]1-\left(\frac{7}{9}\right)^k\gt\frac{9}{10}\iff 10\times 7^k\lt 9^k[/tex]
The ratio [tex]\frac{9^k}{7^k}[/tex] increases with [tex]k[/tex], and for [tex]k=9[/tex] and [tex]k=10[/tex] we have
[tex]10\times 7^9=403\,536\,070\gt 9^9=387\,420\,489[/tex]
[tex]10\times 7^{10}=2\,824\,752\,490\lt 9^{10}=3\,486\,784\,401[/tex]
So the least suitable [tex]k[/tex] is [tex]10[/tex], and the required number of minutes is [tex]2\times 10+1=21[/tex] (after [tex]20[/tex] minutes the probability is still [tex]1-\left(\frac{7}{9}\right)^9\lt 0.9[/tex]).