Method stop · When and why do we use it?

Coloring

In the Chinese book: 染色

Trying can't prove “impossible”. Color the squares, count, and one sentence can.

📖 Chapter 3 of 《组合趣题》M12 Parity lineM17 Coloring and Assigning Values line

Before this stop, visit:The Pigeonhole Principle (Method)

One idea, one pictureTwo opposite corners of the board are cut out, leaving 62 squares. Cover it with 31 dominoes (each covers two neighboring squares). Try it by hand first; if you really get stuck, tap “Checkerboard”.

Loading figure…

In one sentence

Color the squares so that every move has a fixed effect on the colors; then count colors and ignore the details.

First, a guess about the board above:

Predict first

Cut two opposite corners out of an board, leaving squares. dominoes also cover exactly squares. Can they cover the board?

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

Why it can't be covered (a small 4×4 board)

Step 1 / 5
Loading figure…
  1. Try it first

    Cut out two opposite corners: squares are left, so you need dominoes. Here is one attempt: dominoes placed, but the two squares left are not neighbors, so the th will not fit. What about another placement? No number of tries settles the question.

The power of coloring is that it squeezes “countless placements” down to “are two numbers equal?”. In the four stops below, the colors are painted in different ways.

Stop 1 · A different tile needs a different coloring

Can a board be covered with bars of size ?

Try covering it first. Then try “Checkerboard”: each bar covers black and white squares, and there are of each color, so there is no contradiction. The black-and-white coloring does not help. What about -color diagonals?

Loading figure…
-color diagonals: the color number of a square is the remainder of “row number + column number” on division by . However a bar is placed, it covers one square of each color .

Use as many colors as the tile is long, and paint them diagonal by diagonal. Then a bar, whether across or down, covers exactly one square of each color.

Stop 2 · Which square is cut out?

A board has squares. Cut one out, leaving , and try to cover them with bars of size .

Predict first

Cut out the top-left square. Can the remaining squares be covered with bars of size ?

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

Each diagonal direction requires you to cut out a square of “the color with one extra”. Only one square, the center, meets both requirements, and with the center cut out the board really can be covered in a pinwheel. The coloring rules out positions; the last one is settled by a construction.

Stop 3 · Walking through the squares

Start at the top-left corner. Each step goes to a square directly above, below, left or right. Visit every square exactly once and finish at the bottom-right corner.

Loading figure…
Try a few times. Then turn on “Checkerboard” and watch how the color under your feet changes with each step. Then use “Move the end” to find an end square that works.

Every step switches color. Visiting squares takes steps, and after an odd number of steps you are always on the opposite color from the start. But two opposite corners have the same color. Here a single step plays the part of a domino, and “one black, one white” becomes “every step switches color”.

Stop 4 · Coloring the lines

The colors do not have to go on squares. Take people. Any two of them either know each other (join them with a red line) or do not (a blue line). There are always people who all know each other, or people none of whom know each other. In the language of graphs: join points in every possible way and color each line red or blue; there is always a triangle whose three sides have the same color.

First try to avoid it yourself. With points you can. What about ?

Loading figure…
First switch to “5 points” and find a coloring with no one-color triangle (hint: one color around the outside, the other for the star inside). Then go back to points.

Why 6 points can't avoid it

Step 1 / 5
Loading figure…
  1. Focus on one point

    Look only at point . There are lines from it, each red or blue.

What if the two squares cut out have different colors?

Break it

Counterexample lab: remove one condition

Conclusion: The rest can be covered with dominoes

Cut two corners on the same side out of a board. With the checkerboard coloring on, one is white and one is black, leaving white and black. Cover it yourself.

Loading figure…

Practice

Exercise 1Basic

A board is colored like a checkerboard, and two opposite corners are cut out. Among the squares left, how much do the numbers of black and white squares differ by?

Exercise 2Basic

A classroom has seats, all taken. The teacher asks everyone to move to a seat directly in front of, behind, left of or right of their own. Can it be done? (Answer yes or no.)

Exercise 3Advanced

Color a board in colors by “the remainder of row number + column number on division by ”. How many squares does the most common color have? (This shows that a board cannot be covered with bars.)

Exercise 4Advanced

On a grid, start at some square and step to a neighboring square each time. Can you visit every square exactly once and finish by returning to the square you started on? (Answer yes or no.)

Exercise 5Challenge

Join points in pairs with all lines, and color each line red or blue so that there is no triangle with three sides of the same color. Exactly how many red lines must there 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

“I tried lots of times and it never worked, so it's impossible”

The wrong step: On the board with two opposite corners missing, I tried more than twenty ways and every time two squares were left over, so it can't be covered.
What went wrong? Think first, then open

Diagnosis There are thousands upon thousands of ways to place the dominoes, and you tried only a tiny fraction. “I didn't find one” is not the same as “there isn't one”. Maybe try number 21 would have worked?

The right step: To prove something is impossible, you need a reason that works for every placement: each domino covers one black and one white square, but what is left is white and black. That one sentence rules out all placements at once.

“Examples can show “possible”, never “impossible””

Exhibit

“The number of squares works out, so it can be covered”

The wrong step: A board has squares and , so it can be covered with bars of size .
What went wrong? Think first, then open

Diagnosis The number of squares dividing evenly is only a necessary condition. Color the board in colors along the diagonals: every bar covers exactly one square of each color. But the four colors have squares, which are not equal.

The right step: Besides counting all the squares, look for a coloring where every tile covers a fixed set of colors, then compare the number of squares of each color.

“The right area only gets you past the first check”

Exhibit

“The colors have equal counts, so it can be covered”

The wrong step: Cut the second square of the first row out of a board. Color the diagonals in three colors: what is left is , all equal, so it can be covered with bars.
What went wrong? Think first, then open

Diagnosis Coloring can only prove that something is impossible. Equal counts only mean “this coloring found no contradiction”. Color again with the diagonals going the other way: the counts are , and there is the contradiction.

The right step: The only way to prove that it can be covered is to actually cover it. With the center square cut out, it can be covered in a pinwheel pattern.

“A coloring can veto, but it can never approve”