A cube has a little bug in a little car driving on its surface. If the bug is on either the bottom or top face, then it drives at unit per minute. If the bug is on the left or right face, then it drives at units per minute. Finally, if the bug is on the front or back face, it drives at units per minute. Let the least amount of time in minutes it needs to drive from one vertex of the cubical world to the opposite vertex be . Find the value of
Details and Assumptions
The bug cannot drive along any of the edges of the world.
Wolfram Alpha might be necessary at the last step. (Sorry I couldn't make the numbers nicer!)
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The bug will have to go through at least 2 faces. It is quite apparent that he should go through exactly 2 and not more to reach the minimum amount of time spent.
Therefore, he'll go through 2 faces. He can't go through 2 faces that force a 3 units/min speed, since they're on the opposite sides. So the best way for him to get to the opposite vertex is to go through the 3 and 2 units\min faces.
The following diagram shows the 2 faces he'll go through, and they're incidentally the same faces the bug goes through on the Daniel's image (the faces have the same colors too).
This is a diagram.
The minimum of the following function is equal to the minimum amount of time the bug spends by going through the cube:
3 2 0 1 4 2 + x 2 + 2 2 0 1 4 2 + ( 2 0 1 4 − x ) 2 ≥ ≈ 1 8 6 7 . 1 4 ≈ M
And this minimum can be reached when x ≈ 1 2 5 5 . 1 2 .
Wolfram Alpha helped me out a bit here.
Hence, the answer is ⌊ M ⌋ ≡ 8 6 7 ( m o d 1 0 0 0 )