AMC 10 Step by Step

2020 AMC 10B Problem 23

P21-25~6 minPrint

Square ABCDABCD in the coordinate plane has vertices at the points A(1,1),B(−1,1),C(−1,−1),A(1,1), B(-1,1), C(-1,-1), and D(1,−1).D(1,-1). Consider the following four transformations:

∙\quad\bullet\qquad L,L, a rotation of 90∘90^{\circ} counterclockwise around the origin;

∙\quad\bullet\qquad R,R, a rotation of 90∘90^{\circ} clockwise around the origin;

∙\quad\bullet\qquad H,H, a reflection across the xx -axis; and

∙\quad\bullet\qquad V,V, a reflection across the yy -axis.

Each of these transformations maps the squares onto itself, but the positions of the labeled vertices will change. For example, applying RR and then VV would send the vertex AA at (1,1)(1,1) to (−1,−1)(-1,-1) and would send the vertex BB at (−1,1)(-1,1) to itself. How many sequences of 2020 transformations chosen from {L,R,H,V}\{L, R, H, V\} will send all of the labeled vertices back to their original positions? (For example, R,R,V,HR, R, V, H is one sequence of 44 transformations that will send the vertices back to their original positions.)

Log in to save your progress.
Show solution without answering

Key insight

Each move sends corner A to a neighboring corner, so after 19 moves the square is exactly one move from home, and exactly one 20th move finishes.

Solution

1. Each move shifts AA to a neighboring corner. Check with AA at (1,1)(1,1): LL sends it to (−1,1)(-1,1), RR to (1,−1)(1,-1), HH to (1,−1)(1,-1), VV to (−1,1)(-1,1). It never stays put and never jumps to the opposite corner, and the same holds from any corner.
2. Color the corners like a checkerboard. Call (1,1)(1,1) and (−1,−1)(-1,-1) "white" and the other two "black". Every move switches the color of AA's corner. After an odd number of moves, AA is on black, so the square is certainly not back home.
3. Count the possible positions. A position of the labeled square is fixed by where AA is (44 choices) and whether the labels read counterclockwise or clockwise (22 choices), so there are 88 positions. The 44 with AA on a black corner are exactly the positions you get from the start by one single move: LL, RR, HH or VV.
4. After 1919 moves the square is in one of those 44 positions. Each can be undone by exactly one move: LL is undone by RR, RR by LL, HH by HH, and VV by VV.
5. Count. Choose the first 1919 moves freely: 4194^{19} ways. For each, exactly one 2020th move brings everything home. So the number of sequences is
419=(22)19=238.4^{19} = (2^2)^{19} = 2^{38}.

The answer is (C) 238\boxed{\textbf{(C)}\ 2^{38}}.

Why this works

To count move sequences that return to the start, fix all the moves except the last and ask how many last moves work. Here the checkerboard coloring shows that after an odd number of moves the square is always exactly one move from home, and the four moves come in undo-pairs, so exactly one last move works. The example R,R,V,HR, R, V, H fits: after R,R,VR, R, V the square is one move from home, and HH finishes it.

Concise solution

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

Track where the label AA sits. Each of LL, RR, HH, VV moves whichever label is at a corner to an adjacent corner (a 90∘90^\circ rotation or a reflection across a coordinate axis never sends a corner to itself or to the opposite corner). Color the corners like a checkerboard: (1,1)(1,1) and (−1,−1)(-1,-1) are "even," (−1,1)(-1,1) and (1,−1)(1,-1) are "odd." Every move flips the parity of AA's corner.

A configuration of the labeled square is determined by where AA is and whether the square is flipped over (reflected) or not: 4×2=84 \times 2 = 8 configurations. After 1919 moves, AA is at an odd corner, so the square is in one of the 44 configurations with AA adjacent to home. Those four are exactly the results of applying a single LL, RR, HH or VV to the original square, and each is undone by exactly one of the four moves (LL by RR, RR by LL, HH by HH, VV by VV).

Therefore any sequence of 1919 moves can be completed in exactly one way, and no sequence of 1919 moves ends at the identity (wrong parity). The count is
419=238.4^{19} = 2^{38}.

The answer is (C) 238\boxed{\textbf{(C)}\ 2^{38}}.

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.