AMC 10 Step by Step

2006 AMC 10A Problem 25

P21-25~8 minPrint

A bug starts at one vertex of a cube and moves along the edges of the cube according to the following rule. At each vertex the bug will choose to travel along one of the three edges emanating from that vertex. Each edge has equal probability of being chosen, and all choices are independent. What is the probability that after seven moves the bug will have visited every vertex exactly once?

Log in to save your progress.
Show solution without answering

Key insight

By symmetry fix the first two moves (3 × 2 ways). Only 3 ways to finish visit every corner: 18 good paths out of 3^7 = 2187.

Solution

Seven moves visit 88 corners (counting the start), and a cube has exactly 88 corners. So the bug must never return to a corner it has already visited.

1. All sequences. At each move the bug has 33 equal choices, so there are 37=21873^7 = 2187 equally likely sequences. We count the good ones.
2. Label the cube. Top face A,B,C,DA, B, C, D going around; bottom face E,F,G,HE, F, G, H with EE under AA, FF under BB, GG under CC, HH under DD. The bug starts at AA.
3. First two moves. The first move has 33 choices and the second has 22 (it cannot go back). All 3×2=63 \times 2 = 6 starts look the same after turning the cube, so count the good paths for one start, A→B→CA \to B \to C, and multiply by 66.
4. From CC, the unvisited neighbors are DD and GG.
- Go to DD. From DD the only new neighbor is HH. From HH, walk around the bottom face either way: H→G→F→EH \to G \to F \to E or H→E→F→GH \to E \to F \to G. That is 22 good paths.
- Go to GG, then FF. From FF the only new neighbor is EE (BB is used). Then E→H→DE \to H \to D. That is 11 good path.
- Go to GG, then HH. Left unvisited: DD, EE, FF. Going to DD is a dead end (its neighbors AA, CC, HH are used). Going to EE then FF leaves DD unreachable. That is 00 good paths.
5. Total. 33 good paths for this start, so 6×3=186 \times 3 = 18 in all. The probability is
182187=2243.\frac{18}{2187} = \frac{2}{243}.

The answer is (C) 2243\boxed{\textbf{(C)}\ \frac{2}{243}}.

Why this works

When every step is an equal random choice, probability is (good sequences) divided by (all sequences), so the job is counting. Symmetry lets you fix the first few moves and multiply at the end, and after that the cube is small enough to list the cases, stopping each branch as soon as some corner can no longer be reached.

Alternative approach

Check the choices. The first two moves can always be anything (3×2=63 \times 2 = 6 ways), and each start has the same number of good endings, so the number of good paths is a multiple of 66. The choices, written over 21872187, are 12187\frac{1}{2187}, 32187\frac{3}{2187}, 182187\frac{18}{2187}, 272187\frac{27}{2187} and 452187\frac{45}{2187}. Only 1818 is a multiple of 66, so the answer is (C).

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Seven moves reach eight vertices, so the walk must never repeat a vertex. All 37=21873^7 = 2187 move sequences are equally likely, so we count the non-repeating ones.

Label the top face ABCDABCD in order and the bottom face EFGHEFGH with EE below AA, FF below BB, GG below CC, HH below DD. Start at AA. The first move has 33 options and the second has 22 (no going back); by symmetry every such start is equivalent, so assume the path begins A→B→CA \to B \to C and multiply by 66 later.

From CC the unvisited neighbors are DD and GG.

Case 1: C→DC \to D. From DD the only unvisited neighbor is HH. From HH the rest of the bottom face is traversed either way: H→G→F→EH \to G \to F \to E or H→E→F→GH \to E \to F \to G. That is 22 paths.

Case 2: C→GC \to G. From GG, go to FF or HH.
- G→FG \to F: then F→EF \to E (since BB is used), E→HE \to H, H→DH \to D. 11 path.
- G→HG \to H: the unvisited vertices are D,E,FD, E, F. Going to DD strands EE and FF; going to EE then FF strands DD. 00 paths.

So 33 completions follow A→B→CA \to B \to C, and there are 6⋅3=186 \cdot 3 = 18 good sequences in all. The probability is
182187=2243.\frac{18}{2187} = \frac{2}{243}.

The answer is (C) 2243\boxed{\textbf{(C)}\ \frac{2}{243}}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site. Also appeared as 2006 12A #20.