Let be a real number such that , where and are rational numbers. Prove that we can color all points of the plane with rational coordinates with two different colors such that the points with distance have different colors.
Problem 1522
Official solution
1. Lemma: Let be an even number, and let for . Suppose for . Then .
2. Proof of Lemma: Assume (we can multiply by the least common multiple of all denominators of and if necessary). Suppose, for contradiction, that . Then:
This implies:
Rearranging, we get:
Notice that there are three possible residues of : .
3. Case Analysis:
- If , then and . We can divide all and by 2 until 4 does not divide .
- If , this is impossible because the left-hand side (LHS) of the equation would be odd, but the right-hand side (RHS) is even.
- If , this is also impossible because 4 divides the RHS but does not divide the LHS.
Therefore, the assumption that must be false. This completes the proof of the lemma.
4. Application of Lemma: If are points in the plane with rational coordinates such that , then must be even.
5. Graph Construction: Enumerate all points in the plane with rational coordinates as . Construct an infinite graph by connecting to if and only if .
6. Graph Properties: Notice that there is no finite cycle in this graph with an odd length. This implies that the graph is bipartite.
7. Coloring the Graph: We can consecutively add to two sets and such that if or , then and are not connected. This is possible because the graph is bipartite.
8. Final Coloring: Color all points in with one color and all points in with the other color. This ensures that any two points with distance have different colors.