AMC 10 Step by Step

2012 AMC 10A Problem 20

P16-20~7 minPrint

A 3×33 \times 3 square is partitioned into 99 unit squares. Each unit square is painted either white or black with each color being equally likely, chosen independently and at random. The square is then rotated 90 ∘90\,^{\circ} clockwise about its center, and every white square in a position formerly occupied by a black square is painted black. The colors of all other squares are left unchanged. What is the probability the grid is now entirely black?

Log in to save your progress.
Show solution without answering

Key insight

A spot stays white only if it and the square rotating into it were both white. Corners and edges each cycle in fours; no two neighbours may be white.

Solution

  1. When does a spot end up white? After the turn, each spot holds the square that moved into it. If that square is black, the spot is black. If it is white, it is repainted black whenever the spot used to hold a black square. So a spot stays white only when the square that moved in is white and the square that was there before was white too.
  2. Which squares move where? A quarter turn sends each corner to the next corner, around a loop of four. It also sends each edge square to the next edge square, around another loop of four. The center stays put. These three groups do not affect each other, so find the chance for each and multiply.
  3. Center. It moves onto itself, so it stays white if it was white. It must start black: probability 12\frac12.
  4. Corners. Number the corners 1,2,3,41, 2, 3, 4 in the order the turn moves them, so corner 11 moves to spot 22, corner 22 to spot 33, and so on, with 44 moving back to 11. Spot 22 stays white only if corners 11 and 22 were both white. So all four corner spots end black exactly when no two neighbouring corners in this loop (11 and 22, 22 and 33, 33 and 44, 44 and 11) are both white. Count the good colorings by the number of white corners:
White cornersGood coloringsReason
0011nothing to check
1144any single corner
2222only the opposite pairs {1,3}\{1,3\} and {2,4}\{2,4\}; the other 44 pairs are neighbours
33 or 4400some two whites are always neighbours

That is 1+4+2=71 + 4 + 2 = 7 good colorings out of 24=162^4 = 16, probability 716\frac{7}{16}.
5. Edge squares. They move around a loop of four in exactly the same way, so the probability is also 716\frac{7}{16}.
6. Multiply:
12×716×716=49512.\frac12 \times \frac{7}{16} \times \frac{7}{16} = \frac{49}{512}.

The answer is (A) 49512\boxed{\textbf{(A)}\ \frac{49}{512}}.

Why this works

A rotation moves the squares around in small loops, and the repainting rule only compares each square with the one that moves into its place. That breaks the nine-square problem into two identical four-square loops plus the center. Once you see the rule is "no two neighbours both white", counting is a short table.

Concise solution

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

After the rotation, a position ends up black if the square that moved there is black, or if the square originally there was black (a white arrival is repainted). So a position stays white only when both it and the square rotating into it were white.

The rotation moves the four corners around in a cycle, moves the four edge squares around in a cycle, and fixes the center. These three groups are independent.

  • Center: must be black, probability 12\frac12.
  • Corners: label them in rotation order 1→2→3→4→11 \to 2 \to 3 \to 4 \to 1. Position kk ends white exactly when squares kk and k−1k - 1 are both white. So all four end black if and only if no two cyclically adjacent corners are both white. Count such colorings: zero whites (11 way), one white (44 ways), two whites that are opposite (22 ways); three or more whites always include an adjacent pair. That is 77 of the 1616 colorings, probability 716\frac{7}{16}.
  • Edges: the same cycle structure, probability 716\frac{7}{16}.

Multiply:
12⋅716⋅716=49512.\frac12 \cdot \frac{7}{16} \cdot \frac{7}{16} = \frac{49}{512}.

The answer is (A) 49512\boxed{\textbf{(A)}\ \frac{49}{512}}.

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.