Method line M14 · When and why do we use it?

Coloring

In the Chinese book: 染色法

Color cells, points or numbers so each move's effect is fixed, then count.

📖 Chapter 14 of 《解题方法与策略》

One idea, one pictureTry to cover the 10×10 board with 1×4 strips. If you cannot, switch to “k-color diagonals” and count how many cells each color has.

Loading figure…

In one sentence

A coloring is a classification: sort the objects into a few classes, chosen cleverly so that every tile, every move or every structure touches a fixed number of objects of each class.

A question about the endlessly many ways of “placing things” then becomes a single count: count how many cells each color has, and you know which things can never be done. Coloring is also often used to prove that something “must exist”: however you split into two classes, one class hides some structure.

Predict first

Can a 10×10 board be covered exactly by strips of size 1×4?

Choose an answer first; then you can see the result.

Example: a 10×10 board and 1×4 strips

Step 1 / 4
Loading figure…
  1. Just try to tile it

    Lay two strips across each row, filling the first columns; in the two right-hand columns, lay two strips down each. That is strips, and a 2×2 square is left in the bottom-right corner, where no 1×4 strip fits.

The last step puts the strips back: the four uncovered cells are exactly A , B , C , D , which is minus each.

Stop 1 · Partitions of a set (Vol. 1)

Splitting into two classes is the same as coloring each number with one of two colors. The question “does one class always contain ?” is a search for a monochromatic structure.

Loading figure…
Tap the numbers to change their colors. For , can you avoid a monochromatic ? What about ?

Example: however {1, 2, 3, 4, 5} is split into two classes, one class contains x, y, x + y (x = y allowed)

Step 1 / 4
Loading figure…
  1. Say 1 is red

    Suppose it can be avoided. , so must be blue.

Stop 2 · The principle of classification: coloring lattice points by parity (Vol. 1)

Color each lattice point with one of four colors according to . The midpoint of two points of the same color is again a lattice point.

Example: among any 5 lattice points in the plane, two have a midpoint that is also a lattice point

Step 1 / 3
  1. Four colors

    Classify by the parity of the coordinates: (even, even), (even, odd), (odd, even), (odd, odd).

Stop 3 · Existence in sequences (Vol. 5)

If are colored with two colors, must there be a monochromatic three-term arithmetic progression?

Predict first

Can be colored red and blue so that there is no monochromatic three-term arithmetic progression?

Choose an answer first; then you can see the result.

Example: every two-coloring of 1, 2, …, 9 has a monochromatic three-term arithmetic progression

Step 1 / 4
Loading figure…
  1. Look at 4 and 6

    Suppose it can be avoided. First, are and the same color? If both are red, then , and force all to be blue, but is itself an arithmetic progression. Contradiction.

Practice

Exercise 1Basic

The cell in row , column of a 6×6 board ( counted from ) gets color number . How many cells have remainder ? (This shows that a 6×6 board cannot be covered by 1×4 strips.)

Exercise 2Basic

Split into two classes so that neither class contains with ( counts too). What is the largest possible ?

Exercise 3Advanced

Color with two colors so that there is no monochromatic three-term arithmetic progression. What is the largest possible ?

Exercise 4Challenge

An 8×8 board is covered by strips of size 1×3 and single 1×1 square. On how many different cells can the single square be?

Mistake Museum · Exhibits from this stop

Before you leave, look at the traps other people fell into here.See every exhibit in the museum →

Exhibit

The color counts are equal, so it must be possible

The wrong step: Color a 6×6 board black and white by : cells of each. Each 1×4 strip covers two black and two white cells, and strips cover exactly black and white, so it can certainly be tiled.
What went wrong? Think first, then open

Diagnosis A coloring can only prove “impossible”. If the color counts do not match, it certainly cannot be done; if they match, it only means that this one coloring raises no objection. Switch to the four-color diagonals : on a 6×6 board the four colors have cells, so it cannot be tiled.

The right step: To say “possible”, show the tiling. To say “impossible”, find a coloring that really gets stuck.

“Coloring only ever says no; “possible” needs a construction”

Exhibit

A coloring that does not suit the tile

The wrong step: Analyze 1×3 strips with a checkerboard coloring: there is one more black cell than white left, which shows no contradiction, so it can probably be tiled.
What went wrong? Think first, then open

Diagnosis A 1×3 strip may cover two black and one white, or one black and two white. The numbers of black and white cells it covers are not fixed, so this coloring puts no constraint on it.

The right step: The first rule of coloring: every tile (every move) must cover the same number of cells of each color. For 1× strips, use the -color diagonals .

“Look at the shape of the tile first, then decide how to color”

Stops on this line

The same idea, used once in each of several places.

  1. Partitions of a SetVol. 1 Sets, ch. 4
  2. The Principle of ClassificationVol. 1 Sets, ch. 7
  3. Existence Problems for SequencesVol. 5 Sequences and Mathematical Induction, ch. 15