A Congruence Condition For The Four-Distance Problem
William McCloskey

TL;DR
This paper establishes a 3-adic valuation condition for rational points equidistant from rectangle vertices, providing partial constraints on the long-standing four-distance problem related to the unit square.
Contribution
It introduces a congruence condition involving 3-adic valuation that restricts potential solutions to the four-distance problem, advancing understanding of this open question.
Findings
If $v_3(a)=0$, then rational distance points must have either $v_3(x)<0$ or $v_3(y)<0$.
The result excludes one-fourth of potential solutions with bounded height for the four-distance problem.
Provides a new algebraic constraint relevant to the existence of rational solutions in the four-distance problem.
Abstract
Place the vertices of a rectangle at , where is rational. We show that if , then any point that is rational distance from all four vertices of the rectangle has either or , where is the 3-adic valuation. The case of particular interest is the long-open four-distance problem, which asks whether such a rational distance point exists in the case of the unit square. For the four-distance problem, our result rules out one-fourth of all potential solutions with bounded height.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnalytic Number Theory Research · Algebraic Geometry and Number Theory · Limits and Structures in Graph Theory
A Congruence Condition For The Four-Distance Problem
William McCloskey
Abstract.
Place the vertices of a rectangle at , where is rational. Any point that is rational distance from all four vertices of the rectangle must have rational coordinates. We prove that if then either or , where is the 3-adic valuation. The case of particular interest is the long-open four-distance problem, which asks whether such a rational distance point exists in the case of the unit square. For the four-distance problem, our result rules out one-fourth of all potential solutions with bounded height.
The four-distance problem is a long-open problem which asks whether there is a point in the plane at rational distance from the four corners of the unit square. It is believed that no such point exists. The problem and much of the relevant work is covered in detail in Section D19 of Richard Guy’s Unsolved Problems in Number Theory. Previous approaches to the four-distance problem include tiling the square with rational triangles ([3], [4], [7]) and splitting the problem into two equations – one involving distances to three corners of the square and the other involving the fourth distance ([1], [2]).
In this article, we split problem by considering separately two distances from one side of the square and two distances from the other side of the square. Specifically, we say that the two-distance problem is to find a point rational distance from both points . For the four-distance problem, we let denote the vertices of the rectangle . We say is rational distance from the rectangle if is rational distance from all points , and the four-distance problem for is to find a point rational distance from This formulation is useful because the four-distance problem for the rectangle is equivalent to finding solutions to the two-distance problem.
In the first section, we prove some preliminaries for the two-distance problem. We present a polynomial and prove that it has the following property: given rational numbers and , the polynomial has a nonzero rational root if and only if is a solution to the two-distance problem. Thus the four-distance problem for is solvable if and only if has a rational solution with nonzero.
In the second section, we consider the four-distance problem for the rectangle . We prove that if then any point rational distance from satisfies or . (Any solution to the four-distance problem must have rational coordinates.) In particular, our result holds in the case of interest , the unit square. Our result rules out one-fourth of the points that would be considered in a computer search of rational points with bounded height.
In the third section, we discuss possibilities of generalizing the argument for the cases where or . Continuing to work with the system looks difficult, but there is some hope after translating the results to the equations for the three-distance problem and fourth distance studied by other papers.
1. The Four-Distance Problem: Approach And Preliminaries
T$$U$$Z$$X$$Y
One of the main approaches to the four-distance problem is given by the following set of equations
[TABLE]
(See [1] or [6].) Equation (1) is equivalent to the three-distance problem: finding rational distances to the corners of a square with rational side length . Given a rational solution to (1), equation (2) determines whether the fourth distance is also rational. For some time, it was believed there does not exist a solution to the three-distance problem that is not on a side of the square. Thus, these equations are quite logical: if the three-distance problem is already difficult, it makes sense to separate the four-distance problem into a three-distance problem and a one-distance problem.
Moreover, substantial progress has been made in understanding the three-distance problem. In 1967, a one-parameter family of nontrivial solutions to the three-distance problem was discovered by J.H. Hunter. This family of solutions was rediscovered later by John Leech, John Conway, and Mike Guy, and Leech showed how to construct infinitely many one-parameter families from this one. In [1], T.G. Berry used the geometry of the surface (1) to generate even more one-parameter families from given ones, and these included the Hunter-Leech-Conway-Guy solutions as well as the families constructed by Leech.
In this paper, rather than narrowing down the problem with the three-distance problem and then checking the fourth distance, we look at a two-distance problem for the left side of the square and a two-distance problem for the right side of the square. We also work in the coordinate plane.
Problem** (Four-Distance Problem For A Rectangle).**
The four-distance problem for the rectangle of side lengths is to find a point in the plane rational distance from each corner of the rectangle. Place the vertices of the rectangle at Then the problem is equivalent to finding a point that is rational distance from such that is also rational distance from The four-distance problem is the case a=1.
As in the introduction, we will denote the set by .111This is the same notation as in Bremner and Ulas’s paper [5], except our rectangle is translated downwards by . And we will say that is rational distance from if is rational distance from all of the elements of .
For our formulation of the four-distance problem for a rectangle, we want to study the points that are rational distance from We will refer to this as the two-distance problem.
Problem** (Two-Distance Problem).**
The two-distance problem is to find a point rational distance from
Solutions to the two-distance problem have the following restriction.
Lemma 1.3**.**
If is a solution to the two-distance problem, then is rational.
Proof.
By assumption, for some rational numbers and , we have
[TABLE]
[TABLE]
Subtracting the top equation from the bottom one, we see that
[TABLE]
so is rational.
∎
Corollary 1.4**.**
Suppose that is rational. If is rational distance from , then and are rational.
Because of the preceding corollary, we are mainly interested in studying points with rational coordinates. To do so, we will make great use of the polynomial
[TABLE]
Theorem 1.5**.**
Let P = be a fixed point in the plane. Let be the distance of to and let be the distance of to . Then the four roots of the quartic are and .
Proof.
First, let us check that and are indeed roots. Since we are squaring , we only need to plug in , where .
Writing , the coefficient
[TABLE]
In the proof of Lemma 1.3, we showed . So we find
[TABLE]
Thus we get ) is
[TABLE]
which is 0.
All four roots are distinct except in the special case , where . Here the polynomial is just , so is indeed a double root. ∎
Corollary 1.6**.**
A point with rational coordinates is a solution to the two-distance problem if and only if has a nonzero rational root.
Proof.
If is a solution to the two-distance problem, then is a nonzero rational root. For the converse, note that and are square roots of rational numbers because are rational. This means that if any of are nonzero and rational, then and are rational. ∎
Combining Corollary 1.4 and Corollary 1.6, we get a reformulation of the four-distance problem.
Proposition 1.7**.**
Suppose that is rational. A point is at rational distance from if and only if are rational and and have rational roots that are nonzero. This means finding a solution in rationals ( to the following system of equations
[TABLE]
The four-distance problem is the case .
A congruence condition for this system of equations is the main result of the next section.
2. A Congruence Condition For The Four-Distance Problem
In this section, we show that the system of equations in Proposition 1.7 has no rational solutions with and if . Note that this holds in the case , the four-distance problem.
For a given prime , the -adic valuation is defined as usual: any nonzero rational number can be written uniquely as where and are coprime integers not divisible by , and we define . And is defined to be . The -adic valuation satisfies the property that , with equality unless
Proposition 2.1**.**
Suppose that is rational distance from , where is rational with . Then or .
Proof.
By Proposition 1.7, any point rational distance from gives a solution in rationals () to the system
[TABLE]
Proceeding by contradiction, suppose that and . Then also and so these equations can be taken (mod ). The first step is to show for all , which will imply that = 0.
We start by showing . Suppose on the contrary that . Since and , we get the system
[TABLE]
We see neither nor can be 0 (mod 3), so they must both be 1 (mod 3). We are left with the equations and . By assumption is nonzero (mod 3), so these equations have no solution. Therefore we must have had .
For the induction step, suppose that . Then we get
[TABLE]
Notice that either or . In the first case, is nonzero (mod 3), so we get Similarly, in the second case we get
Consider the equations (mod ). We either have or . For the sake of contradiction, suppose the latter. Then
[TABLE]
In the case , then we saw before . The only possibility is . The first equation becomes
[TABLE]
so
[TABLE]
Thus , contrary to the assumption . We get an analogous contradiction if we assume .
This means . By induction,
We have shown that all the points rational distance from are of the form To eliminate the points , note that then is rational distance from . (See Figure 1.) Now , , and , so our proof so far shows and thus .
We are left with just one possible point rational distance from , which is . This would imply that are legs of a Pythagorean triangle. We can write where and are coprime and form the legs of a primitive Pythagorean triple. But exactly one of the legs of a primitive Pythagorean triple is divisible by three, which is not possible since Thus we must have had or from the beginning. ∎
At this point, one can try to generalize the method in Proposition 2.1. One way is to clear powers of 3 out of the denominators of and . This approach yields partial results.
Proposition 2.2**.**
If is rational distance from , then .
Proof.
In Proposition 2.1, we saw or . If also , then consider the distances and , which satisfy
[TABLE]
[TABLE]
Since is negative, this implies . We can then choose from such that is nonzero and . By Theorem 1.5 and Corollary 1.6, we get a solution with nonzero to
[TABLE]
Write so that for . Then multiplying both sides by , we get
[TABLE]
so
[TABLE]
None of the variables are by assumption, so the lefthand side is just . This proves ∎
We will continue the discussion of generalizing Proposition 2.1 after recording our results so far. In sum, we have proved the following theorem.
Theorem 2.3**.**
Suppose that is rational distance from , where is rational with . Then or , and also
If is a solution to the two-distance problem, then is rational distance from since is rational. So we get the following result for the two-distance problem.
Corollary 2.4**.**
Suppose that is a solution to the two-distance problem. If , then .
Remark 2.5*.*
The properties of Theorem 2.3 are specific to the four-distance problem. Using one of the parametrizations for the three-distance problem from Berry’s paper [1], we generated the point that is rational distance from , and this point has .
Theorem 2.3 says that it is somehow more difficult to solve the four-distance problem for the rectangle of side lengths if . Some results of Bremner and Ulas in [5] support this observation. Bremner and Ulas considered the set of rational with infinitely many points rational distance from . They proved that this set is dense in and, using results from Shute and Yocom, they showed that this set remains dense even if the rational distance points are constrained to lie in the interior of the rectangle. In proving this, they remarked on the interesting property that all the they found were of the form or . They were then interested in finding not of this form. To do so, they ran a small computer search. After discarding all of the points on the lines , , , , , , the that remained all satisfied .
Notice that also is nonzero for any since is the ratio of two legs of a Pythagorean triple. The result of Shute and Yocom used by Bremner and Ulas does not help to find a counterexample either. Shute and Yocom’s result gives a point in the interior of the rectangle with , where , and are Pythagorean triples for and and are defined by . All of these also satisfy Because of this evidence, we previously posed the following question.
Question 2.6**.**
Suppose that . Is it possible to find a point with and that is rational distance from ? If so, is there an with infinitely many such points ?
A small computer search found the solution for which answers the first question affirmatively.
3. Further Discussion
We now return to generalizing the proof of Proposition 2.1, again assuming The difficulty is the case By a transformation in the manner of Figure 1, we can narrow the problem down to the case . Let , so that is negative. Recall that our system of equations is
[TABLE]
where we are looking for solutions in rationals with . Just as in Proposition 2.2, we can show that if a point is rational distance from , then there exists a solution to this system of equations with Writing so that for , we can multiply both sides by to get
[TABLE]
In Proposition 2.1, we succeeded because the solutions (mod ) were easy to understand in that always (mod ). That is, the solutions in -adic integers satisfy an extra equation , and that allows us to show that there are no rational -adic integer solutions. Ideally, we would like to understand the 3-adic integer solutions to (9) and (10) and similarly determine whether they can be rational. Unfortunately, we have been unsuccessful so far. One possible explanation is that the derivative matrices (mod 3) for the system (7),(8) are not full rank whereas the derivative matrices for the system (9),(10) are full rank. Indeed, the solutions (mod ) are obtained from the solutions (mod ) in the following manner. (The proof is analogous to that of Hensel’s lemma.)
Lemma 3.5**.**
Suppose that The solutions to are obtained by setting , where and satisfies
[TABLE]
Thus, if the derivative matrix of the polynomial system , where , is not full rank, there can be difficulty solving for For the system (7),(8), we have a matrix given by
[TABLE]
We already know from the proof of Proposition 2.1 that . One can check this implies either or , which means all of the solutions (mod 3) have not full rank (mod 3). However, for the system (9),(10), the matrix is
[TABLE]
which we arrive at using . This matrix is full rank for all of the solutions because we are restricting .
We get somewhat lucky in this respect when we translate our results to the three-and-one system of equations discussed at the beginning of Section 1.
x$$y$$(x,y)$$1
Indeed, Theorem 2.3 says that if solves the four-distance problem, then or , as well as . This implies that min so , where is the distance of to any vertex of the square. Thus, by scaling, we see that in the three-and-one system discussed in Section 1
T$$U$$Z$$X$$Y
[TABLE]
we have .
Proposition 3.6**.**
If solve the four-distance problem, then . In particular, if is chosen to be a primitive solution, then are nonzero and is zero.
The derivative matrix of system (1),(2) is given by
[TABLE]
where
[TABLE]
[TABLE]
[TABLE]
[TABLE]
There are multiple solutions (mod 3) to (1),(2) where this matrix is full rank. However, by Proposition 3.6, we know that any solution to the four-distance problem has and . For each of these solutions, the entries in the first row of the matrix are all 0 (mod 3). Perhaps the solutions (mod ) coming from the four-distance problem can be understood because their derivative matrices are not full rank, just as in the system (7),(8).
We observed some erratic behavior of the number of solutions (mod ) to the system (1),(2). Consider a solution corresponding to the four-distance problem in the sense of Proposition 3.6. If this solution lifts to a single solution (mod ), then by Lemma 3.5 it lifts to a total of 81 solutions (mod ), since this is the number of points in the nullspace of the rank 1 matrix (mod 3). However, when we count number of solutions (mod ) ( corresponding to four-distance problem solutions, we get the somewhat surprising sequence 16, 1296, 34992, 1154736, 31177872 with successive quotients and . We have verified the existence of solutions modulo powers of up to , but unfortunately we have been unsuccessful in gaining understanding of these solutions.
Finally, we rule out some parametrizations to the three-distance problem. Berry’s paper [1] listed some such parametrizations, including a quadratic and a quartic parametrization. Berry proved that up to symmetry there are no more degree 2 and degree 4 parametrizations to the three-distance problem, and he proved that these parametrizations do not solve the four-distance problem. Using our results, we can prove that the octic parametrization listed in his paper does not solve the four-distance problem.
Theorem 3.7**.**
The octic parametrization for the three-distance problem
[TABLE]
contains no solutions to the four-distance problem.
Proof.
If , then , but we have shown If , then . However, the parametrization implies , so , which is again contrary to ∎
It should be noted that we are unable to use this method to rule out the quadratic, quartic, and sextic parametrizations listed in Berry’s paper. And while there is only one quadratic parametrization and only one quartic parametrization, there are many octic and sextic parametrizations that Berry showed how to construct but did not list in his paper. We did not generate these parametrizations, though there are likely more we could rule out with the same method.
Acknowledgements
This research was conducted as part of an undergraduate honors thesis at Stanford University. I would like to thank my thesis advisor Professor Vakil for all the time and attention he invested into this project in addition to his indispensable guidance throughout. I would also like to thank Professor Soundararajan and Professor Tsai for multiple helpful comments and conversations. Finally, I would like to thank Stanford University for supporting this research with the UAR Major Grant.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] T. G. Berry. Points at rational distance from the corners of a unit square. Ann. Scuola Norm. Sup. Pisa Cl. Sci. (4) , 17(4):505–529, 1990.
- 2[2] T.G. Berry. Points at rational distance from the vertices of a triangle. Acta Arith. , 62(4):391–398, 1992.
- 3[3] Andrew Bremner and Richard K. Guy. The delta-lambda configurations in tiling the square. J. Number Theory , 32(3):263–280, 1989.
- 4[4] Andrew Bremner and Richard K. Guy. Nu-configurations in tiling the square. Math. Comp. , 59(199):195–202, S 1–S 20, 1992.
- 5[5] Andrew Bremner and Maciej Ulas. Points at rational distances from the vertices of certain geometric objects. J. Number Theory , 158:104–133, 2016.
- 6[6] Richard K. Guy. Unsolved Problems in Number Theory (Problem Books in Mathematics) . Springer, 2004.
- 7[7] Richard K. Guy. Tiling the square with rational triangles. In Number theory and applications (Banff, AB, 1988) , volume 265 of NATO Adv. Sci. Inst. Ser. C Math. Phys. Sci. , pages 45–101. Kluwer Acad. Publ., Dordrecht, 1989.
