DR.WANG Mathematics中文

2022 AMC 8 · Question 23

Problem-solving strategies · casework · symmetry

Problem outline

In each cell of a three-by-three grid place a triangle or a circle. How many boards have both a complete line of three triangles and a complete line of three circles? Lines may be rows, columns or either main diagonal. (A) 3939 (B) 4242 (C) 7878 (D) 8484 (E) 9696

Show answer and methods 2 methods

Answer

D. 8484.

Method 1 Count parallel monochromatic lines

The two monochromatic lines cannot meet. Every diagonal meets every other line, and rows meet columns, so the two lines are either parallel rows or parallel columns. These cases cannot both occur because a uniform row prevents a uniform column of the opposite type.

For the row case, each of the three rows has 23=82^3=8 binary patterns. To have at least one all-triangle row and at least one all-circle row, exclude boards missing either pattern by inclusion–exclusion: 83−2⋅73+63=428^3-2\cdot7^3+6^3=42.

There are another 42 with columns instead of rows, giving 84.

Method 2 Sort by the number of triangles

If there are three triangles, they must form a whole row or column, giving 6 boards. A diagonal cannot work because it meets every possible circle line. By interchanging the symbols, six triangles also give 6 boards.

With four triangles, the three on a line must again make a row or column. The remaining triangle can go in any of the other six cells: one of the two parallel lines is still all circles. A set of four triangles cannot contain two distinct lines of three, so this gives 6⋅6=366\cdot6=36 boards. Five triangles give another 36 by symmetry.

The possible counts are 3 through 6. Adding 6+36+36+66+36+36+6 gives 84.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)