Rectangle on a checked paper with length of a unit square side being $1$ Is divided into domino figures( two unit square sharing a common edge). Prove that you colour all corners of squares on the edge of rectangle and inside rectangle with $3$ colours such that for any two corners with distance $1$ the following conditions hold: they are coloured in different colour if the line connecting the two corners is on the border of two domino figures and coloured in same colour if the line connecting the two corners is inside a domino figure.
Problem
Source: IZHO 2017 day 1 p3
Tags: combinatorics, Tiling, geometry, rectangle
16.01.2017 17:59
I believe that there are better solutions that don't involve cases bash.
16.01.2017 21:32
16.01.2017 23:37
20.12.2020 16:53
A big definition challenge. Here's another way to state the case bash method (the official Solution uses a clever parity orientation, and the Solutions above explicitly checks row-by-row; which I couldn't think of an efficient way to phrase.) We will start with some notations to categorize favorable shapes (as I'm baffled as how to deal with complicated concave shapes.) $\color{green} \rule{25cm}{3pt}$ $\color{green} \textbf{\text{Tedious notations.}}$ Define a $\textit{normal polyline}$ to be a non-self intersecting broken line, formed by lattice vertices with coinciding start point and end point. From that, we can define the $\textit{region}$ of a normal polyline in the usual manner. Let a $\textit{normal polyline}$ to be $\textit{rectangular}$ if no two segment $\textit{face}$ each other when they are oriented outwards the $\textit{region}$ (i.e. we can shift the lattice segments to form a big rectangle.) Moreover, define the polyline/region to be $\textit{domino-tileable}$ if they can completely be covered by dominoes. Now we consider the position of each domino in relation to its $\textit{region}$. Say a region $\mathcal{R}$ to be $\textit{composed}$ of dominoes $D_1,D_2,\ldots,D_k$ if $D_1 \cup D_2 \ldots \cup D_k = \mathcal{R}$, and further, let $\mathcal{R}$ to be formed by the regions $\mathcal{R}_1, \mathcal{R}_2, \ldots, \mathcal{R}_k = \mathcal{R}$ when \[ \mathcal{R}_i = D_1 \cup D_2 \ldots \cup D_i \]We now proceed with the problem. $\color{blue} \rule{25cm}{1pt}$ $\color{blue} \textbf{\text{Simplicity of rectangular normal polylines.}}$ A rectangular domino-tibleable normal region can be entirely formed by rectangular normal regions. $\color{blue} \textbf{\text{Proof 1.}}$ It is sufficient to remove one domino $D$ so that $\mathcal{R}-D$ is a rectangular normal region; then we can easily proceed by induction. We will further claim that the domino we remove has a long side which are connected to a short side which are in the $\textit{boundary}$ of the polyline, implying the $\color{blue} \textbf{\text{Claim}}$.
For example, in the first picture, the trail $ab/bc/cac/cb$ is switched to $abab/bcb$. It's easy to see that the rule is consistent with itself (there are two parts of induction here: the boundary of the previous region is needed for the uniqueness of the new vertices' coloring, and the new vertices' coloring is needed to prove the consistency of the new boundary) and it is also consistent with the conditions posed in the problem statement. In fact, we are already done with the problem, since a rectangle is a rectangular normal polyline. $\blacksquare$ $\blacksquare$ $\blacksquare$
28.01.2023 13:54
IZhO 2017/3 wrote: A rectangle on a squared paper with $1\times 1$ squares is divided into domino figures (that is, rectangles made of two unit squares sharing a side). Prove that all the vertices of squares inside the rectangle and on its border can be colored in three colors so that the following condition is satisfied for each two vertices with distance 1: they have different colors if the segment connecting them lies on the border of a domino figure, and the same color otherwise. Look at the rectangle as a graph $G{}$ where the vertices are the nodes of the grid and the edges are the segments induced by the gridlines. Color each edge which lies in the middle of a domino figure red. Shrinking an edge $uv$ of a graph entails the following: delete the vertices $u$ and $v$ and their induced edges, and then construct a new vertex $w$ which is connected to all the neighbors of $u$ and $v$. We shrink all the red edges of $G{}$ thus obtaining a graph $H{}$. [asy][asy] import graph; size(25cm); real labelscalefactor = 0.5; pen dps = linewidth(0.8) + fontsize(10); defaultpen(dps); pen dotstyle = black; real xmin = -8, xmax = 10, ymin = -3, ymax = 6; pen ffqqtt = rgb(1,0,0.2); draw((-6,4)--(-6,3), linewidth(0.8)); draw((-6,3)--(-6,2), linewidth(0.8)); draw((-6,2)--(-6,1), linewidth(0.8)); draw((-6,1)--(-6,0), linewidth(0.8)); draw((-6,0)--(-5,0), linewidth(0.8)); draw((-5,0)--(-4,0), linewidth(0.8)); draw((-4,0)--(-3,0), linewidth(0.8)); draw((-3,0)--(-2,0), linewidth(0.8)); draw((-2,0)--(-1,0), linewidth(0.8)); draw((-1,0)--(-1,1), linewidth(0.8)); draw((-1,1)--(-1,2), linewidth(0.8)); draw((-1,2)--(-1,3), linewidth(0.8)); draw((-1,3)--(-1,4), linewidth(0.8)); draw((-1,4)--(-2,4), linewidth(0.8)); draw((-2,4)--(-3,4), linewidth(0.8)); draw((-3,4)--(-4,4), linewidth(0.8)); draw((-4,4)--(-5,4), linewidth(0.8)); draw((-5,4)--(-6,4), linewidth(0.8)); draw((-5,4)--(-5,3), linewidth(0.8)); draw((-5,3)--(-5,2), linewidth(0.8)); draw((-5,2)--(-5,1), linewidth(0.8) + ffqqtt); draw((-5,1)--(-5,0), linewidth(0.8) + ffqqtt); draw((-6,1)--(-5,1), linewidth(0.8)); draw((-6,2)--(-5,2), linewidth(0.8)); draw((-6,3)--(-5,3), linewidth(0.8) + ffqqtt); draw((-5,3)--(-4,3), linewidth(0.8)); draw((-4,3)--(-4,4), linewidth(0.8) + ffqqtt); draw((-4,3)--(-4,2), linewidth(0.8) + ffqqtt); draw((-4,2)--(-5,2), linewidth(0.8)); draw((-5,1)--(-4,1), linewidth(0.8)); draw((-4,1)--(-4,2), linewidth(0.8)); draw((-4,1)--(-4,0), linewidth(0.8)); draw((-3,0)--(-3,1), linewidth(0.8) + ffqqtt); draw((-3,1)--(-4,1), linewidth(0.8)); draw((-4,2)--(-3,2), linewidth(0.8)); draw((-3,2)--(-3,1), linewidth(0.8) + ffqqtt); draw((-3,2)--(-3,3), linewidth(0.8)); draw((-3,3)--(-4,3), linewidth(0.8)); draw((-3,4)--(-3,3), linewidth(0.8)); draw((-3,3)--(-2,3), linewidth(0.8) + ffqqtt); draw((-2,3)--(-1,3), linewidth(0.8) + ffqqtt); draw((-1,2)--(-2,2), linewidth(0.8)); draw((-2,2)--(-3,2), linewidth(0.8)); draw((-3,1)--(-2,1), linewidth(0.8)); draw((-2,1)--(-1,1), linewidth(0.8) + ffqqtt); draw((-2,0)--(-2,1), linewidth(0.8)); draw((-2,1)--(-2,2), linewidth(0.8)); draw((-2,2)--(-2,3), linewidth(0.8)); draw((-2,3)--(-2,4), linewidth(0.8)); draw((1,2)--(1,1), linewidth(0.8)); draw((1,1)--(1,0), linewidth(0.8)); draw((5,0)--(6,0), linewidth(0.8)); draw((6,4)--(5,4), linewidth(0.8)); draw((5,4)--(4,4), linewidth(0.8)); draw((2,4)--(1,4), linewidth(0.8)); draw((3,0)--(3,1), linewidth(0.8)); draw((5,2)--(5,3), linewidth(0.8)); draw((5,3)--(5,4), linewidth(0.8)); draw((6,2)--(5,2), linewidth(0.8)); draw((1,1)--(2,1), linewidth(0.8)); draw((2,1)--(3,1), linewidth(0.8)); draw((3,1)--(4,1), linewidth(0.8)); draw((1,4)--(1.5,3), linewidth(0.8)); draw((1.5,3)--(2,4), linewidth(0.8)); draw((1.5,3)--(3,3), linewidth(0.8)); draw((1.5,3)--(1,2), linewidth(0.8)); draw((2,4)--(3,3), linewidth(0.8)); draw((3,3)--(4,4), linewidth(0.8)); draw((3,3)--(3,1), linewidth(0.8)); draw((5,3)--(3,3), linewidth(0.8)); draw((4,4)--(5,3), linewidth(0.8)); draw((5,3)--(6,4), linewidth(0.8)); draw((5,3)--(6,2), linewidth(0.8)); draw((5,0)--(5.5,1), linewidth(0.8)); draw((5.5,1)--(6,0), linewidth(0.8)); draw((5.5,1)--(6,2), linewidth(0.8)); draw((5,2)--(5.5,1), linewidth(0.8)); draw((5.5,1)--(4,1), linewidth(0.8)); draw((3,3)--(4,1), linewidth(0.8)); draw((4,1)--(5,3), linewidth(0.8)); draw((5,2)--(4,1), linewidth(0.8)); draw((4,1)--(3,0), linewidth(0.8)); draw((4,1)--(5,0), linewidth(0.8)); draw((1,2)--(2,1), linewidth(0.8)); draw((1.5,3)--(2,1), linewidth(0.8)); draw((3,3)--(2,1), linewidth(0.8)); draw((1,0)--(2,1), linewidth(0.8)); draw((2,1)--(3,0), linewidth(0.8)); dot((-6,4)); dot((-6,3)); dot((-6,2)); dot((-6,1)); dot((-6,0)); dot((-5,4)); dot((-5,3)); dot((-5,2)); dot((-5,1)); dot((-5,0)); dot((-4,4)); dot((-4,3)); dot((-4,2)); dot((-4,1)); dot((-4,0)); dot((-3,4)); dot((-3,3)); dot((-3,2)); dot((-3,1)); dot((-3,0)); dot((-2,4)); dot((-2,3)); dot((-2,2)); dot((-2,1)); dot((-2,0)); dot((-1,4)); dot((-1,3)); dot((-1,2)); dot((-1,1)); dot((-1,0)); dot((6,4)); dot((6,2)); dot((6,0)); dot((5,4)); dot((5,3)); dot((5,2)); dot((5,0)); dot((4,4)); dot((4,1)); dot((3,3)); dot((3,1)); dot((3,0)); dot((2,4)); dot((2,1)); dot((1,4)); dot((1,2)); dot((1,1)); dot((1,0)); dot((1.5,3)); dot((5.5,1)); clip((xmin,ymin)--(xmin,ymax)--(xmax,ymax)--(xmax,ymin)--cycle); [/asy][/asy] Note that the problem's condition is equivalent to the fact that $H$ is 3-colorable. We shall, therefore, analyze the structure of $H{}$. The crucial observation is that every finite face of $G$ is a square and has precisely one red edge - that is, precisely one edge that is shrunk. Consequently, $H$ is a planar graph whose every finite face is a triangle. Further, note that every face adjacency in $H$ is mapped to a face adjacency in $G$. Evidently, $G$ is 2-face-colorable (we only take finite faces in consideration). Thus, so must be $H$. The desired property now follows immediately due to a well-known lemma of Heawood: Heawood wrote: Consider a planar graph whose every finite face is a triangle. Given that this graph is 2-face-colorable, then its vertices are 3-colorable. There are several proofs of this result, ranging from elementary ones using induction, to topological and cohomological ones.