\documentclass[11pt]{amsart} \usepackage[letterpaper,textwidth=5.95in,textheight=8.65in,centering]{geometry} \usepackage{amssymb,mathtools,microtype} \usepackage[hidelinks]{hyperref} \hypersetup{pdftitle={Average pinned distances in the rational plane}, pdfauthor={Peiwei Wu and Qian Peng}} \raggedbottom \setlength{\emergencystretch}{1em} \newtheorem{theorem}{Theorem} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} \newcommand{\QQ}{\mathbb Q} \newcommand{\ZZ}{\mathbb Z} \title{Average pinned distances in the rational plane} \author{Peiwei Wu} \author{Qian Peng} \subjclass[2020]{52C10} \keywords{Pinned distances, rational plane, isosceles triangles, convex polygons} \date{December 3, 2026} \begin{document} \begin{abstract} For \(n\ge2\) points in the rational plane with no three collinear, the sum of the numbers of distinct positive distances seen from the individual points is at least \(n^2/2\). Some point therefore sees at least \(\lceil n/2\rceil\) distances. This gives the rational-coordinate case of the pinned question in Erd\H{o}s problem~1082 and implies Fishburn's sum bound for convex polygons with rational vertices. Equality holds precisely for two points, the vertices of a rhombus, or the eight vertices of two concentric squares whose diagonals make an angle of \(\pi/4\). The proof counts repeated distances across a partition into two Gaussian integer parity classes. At equality, every distance from a pin to the opposite class occurs exactly twice. \end{abstract} \maketitle \section{Introduction} For a finite planar point set \(P\) and a pin \(p\in P\), write \(D_P(p)\) for the number of distinct positive Euclidean distances from \(p\) to \(P\). In 1946 Erd\H{o}s~\cite{erdos46} conjectured that every convex \(n\)-gon has a vertex \(p\) with \(D_P(p)\ge\lfloor n/2\rfloor\) (Erd\H{o}s problem~982), and Fishburn~\cite{fishburn} later proposed the stronger average bound \(\sum_{p\in P}D_P(p)\ge\binom n2\). For arbitrary convex \(n\)-gons in \(\mathbb{R}^2\), bounds rely on controlling the isosceles triangles produced by repeated distances; Nivasch, Pach, Pinchasi and Zerbib~\cite{nppz} established \(\max_{p\in P}D_P(p)\ge(13/36+\varepsilon)n-O(1)\) for an absolute \(\varepsilon>0\). For point sets with no three collinear, Szemer\'edi asked the analogous pinned question, recorded by Erd\H{o}s~\cite[p.~101, (6)]{erdos75} as part of what is now \href{https://www.erdosproblems.com/1082}{Problem~1082}. Harborth's eight-point example gives a negative answer over the reals, since every point sees just three distances~\cite{ef,fishburn8}. For rational sites the average itself reaches the proposed half bound. \begin{theorem}\label{thm:main} Let \(P\subset\QQ^2\) be a set of \(n\ge2\) points with no three collinear. Then \[ \sum_{p\in P}D_P(p)\ \ge\ \frac{n^2}{2}. \] Consequently, some \(p\in P\) determines at least \(\lceil n/2\rceil\) distinct positive distances. \end{theorem} Theorem~\ref{thm:main} gives the pinned bound for all rational point sets with no three collinear. Applied to the vertices of a strictly convex polygon with rational coordinates, it proves both the bound in Problem~982 and Fishburn's sum bound. For odd \(n\), the best pin sees at least one more distance than a vertex of the real regular \(n\)-gon. The arithmetic hypothesis enters in a single step: after a similarity, any finite rational configuration splits into two nonempty Gaussian integer parity classes so that within-class squared distances are even while cross-class squared distances are odd. Every pin therefore sees disjoint distance sets in the two classes. The inductive step rests on a bisector quota balance: whenever a pair of points in the larger class already has an equidistant witness inside its own class, fewer witnesses can appear in the other class, since all equidistant witnesses lie on the same perpendicular bisector. At equality this incidence count forces both parity classes to be extremal and their cross-class distance groups to have size two (Proposition~\ref{prop:eq}). These conditions determine all equality cases (Theorem~\ref{thm:extreme}). \section{Proof of Theorem~\ref{thm:main}} For \(X,Y\subseteq P\), let \(T(X,Y)\) denote the sum, over pins \(p\in X\), of the number of distinct positive distances from \(p\) to \(Y\). Write \(I(X,Y)\) for the number of isosceles witnesses \((p,\{x,y\})\) with \(p\in X\), distinct \(x,y\in Y\setminus\{p\}\), and \(|p-x|=|p-y|\). Grouping the targets in \(Y\setminus\{p\}\) at each pin \(p\in X\) by distance, a nonempty distance class of size \(j\) contributes \(1\) to \(T(X,Y)\) and \(\binom j2\) to \(I(X,Y)\). Since \(\binom j2\ge j-1\) for every integer \(j\ge1\) (with equality if and only if \(j\in\{1,2\}\)), summing over all pins gives \begin{equation}\label{eq:loss} I(X,Y)\ \ge\ |X||Y|-|X\cap Y|-T(X,Y). \end{equation} On the other hand, because no three points of \(P\) are collinear, the perpendicular bisector of any unordered pair \(\{x,y\}\subset Y\) contains at most two points of \(P\), whence \begin{equation}\label{eq:bisector} I(P,Y)\ \le\ 2\binom{|Y|}{2}\ =\ |Y|(|Y|-1). \end{equation} The integer-lattice partition in \emph{Divide Points}~\cite{dividepoints} separates all within-part distances from all cross-part distances. After clearing denominators this gives the following lemma. We include the parity argument in Gaussian integer notation. \begin{lemma}\label{lem:split} Every finite set \(P\subset\QQ^2\) with at least two points admits a partition into nonempty subsets \(A,B\) such that \[ T(P,P)\ =\ T(P,A)+T(P,B). \] \end{lemma} \begin{proof} Clear denominators and identify the resulting points with Gaussian integers in \(\ZZ[i]\). Translate one point to the origin and divide all points by the largest common power of \(1+i\); these operations are similarities of the plane, so they preserve collinearity and all distance equalities. Since \(0\) now lies in the image and not every point is divisible by \(1+i\), both residue classes modulo \(1+i\) are nonempty. For a Gaussian integer \(z=x+iy\), the norm \(|z|^2=x^2+y^2\) is even precisely when \(1+i\) divides \(z\). Hence, from any pin, every positive squared distance to its own residue class is even and every squared distance to the other class is odd. The two distance sets are therefore disjoint at every pin, yielding \(T(P,P)=T(P,A)+T(P,B)\). \end{proof} \begin{proof}[Proof of Theorem~\ref{thm:main}] We induct on \(n\). For \(n=2\) both points see one positive distance, giving a sum of \(2=2^2/2\). Suppose now that \(n\ge3\) and apply Lemma~\ref{lem:split} to obtain a partition \(P=A\sqcup B\) into nonempty parts of sizes \(a=|A|\) and \(b=|B|\); relabelling if necessary, assume \(a\ge b\), so that \(a\ge2\). First consider all distances to the smaller part \(B\). Combining \eqref{eq:loss} and \eqref{eq:bisector} with \(X=P\) and \(Y=B\) gives \begin{equation}\label{eq:minority} T(P,B)\ \ge\ b(n-1)-b(b-1)\ =\ ab. \end{equation} Next set \(U=T(A,A)\) and \(V=T(B,A)\). By the induction hypothesis on \(A\), we have \(U\ge a^2/2\). Applying \eqref{eq:loss} to \((A,A)\) shows that \(I(A,A)\ge a(a-1)-U\). Since \(I(A,A)+I(B,A)=I(P,A)\le a(a-1)\) by \eqref{eq:bisector}, subtracting yields the cross-class bound \begin{equation}\label{eq:quota} I(B,A)\ \le\ U. \end{equation} Let \(j_1,\ldots,j_V\) be the sizes of the \(V\) occupied distance groups from pins in \(B\) to targets in \(A\). Because \(A\cap B=\emptyset\), \[ \sum_{i=1}^{V}j_i\ =\ ab,\qquad \sum_{i=1}^{V}j_i^2\ =\ ab+2I(B,A)\ \le\ ab+2U. \] By Cauchy--Schwarz, \(V\ge(ab)^2/(ab+2U)\). Set \(u_0=a^2/2\) and define \(f(u)=u+(ab)^2/(ab+2u)\) for \(u\ge u_0\). Since \(a\ge b\), we have \(ab+2u\ge ab+2u_0=a(a+b)\ge2ab\), and hence \begin{equation}\label{eq:mono} f(u)-f(u_0)\ =\ (u-u_0) \left(1-\frac{2(ab)^2}{(ab+2u)(ab+2u_0)}\right) \ \ge\ \frac{u-u_0}{2}\ \ge\ 0. \end{equation} Therefore \begin{equation}\label{eq:majority} T(P,A)\ =\ U+V\ \ge\ f(u_0) \ =\ \frac{a^2}{2}+\frac{ab^2}{a+b} \ \ge\ \frac{a^2+b^2}{2}, \end{equation} where the final inequality uses \(a\ge b\). Adding \eqref{eq:minority} and \eqref{eq:majority} via Lemma~\ref{lem:split} gives \(T(P,P)\ge(a+b)^2/2=n^2/2\). Since the average of \(D_P(p)\) over \(p\in P\) is at least \(n/2\) and each \(D_P(p)\) is an integer, some \(p\in P\) satisfies \(D_P(p)\ge\lceil n/2\rceil\). \end{proof} \section{Equality structure, sharpness, and arithmetic limits} Reading the equality conditions directly out of the inequalities \eqref{eq:loss}--\eqref{eq:majority} reveals strong rigidity in extremal configurations. \begin{proposition}\label{prop:eq} Let \(P\subset\QQ^2\) be a set of \(n\ge2\) points with no three collinear such that \(\sum_{p\in P}D_P(p)=n^2/2\). Then \(n\) is a power of two. Moreover, if \(n\ge4\) and \(P=A\sqcup B\) is any parity partition from Lemma~\ref{lem:split}, then: \begin{enumerate} \item \(|A|=|B|=n/2\), and both \(A\) and \(B\) attain equality, i.e., \(T(A,A)=T(B,B)=(n/2)^2/2\); \item every occupied distance from a pin in \(A\) to \(B\), and from a pin in \(B\) to \(A\), occurs with multiplicity exactly \(2\); \item every unordered pair of points in \(A\) (and likewise in \(B\)) has exactly two points of \(P\) on its perpendicular bisector. \end{enumerate} \end{proposition} \begin{proof} Suppose \(n\ge3\) and \(T(P,P)=n^2/2\). In the proof of Theorem~\ref{thm:main}, every inequality leading from \(T(P,P)\) to \(n^2/2\) must be an equality. Since \(b\ge1\), equality in \eqref{eq:majority} forces \(ab^2/(a+b)=b^2/2\), hence \(a=b=n/2\); in particular \(n\) is even, so \(n\ge4\) and \(a=b\ge2\). Equality in \eqref{eq:mono} then forces \(U=T(A,A)=a^2/2\), and swapping the symmetric roles of \(A\) and \(B\) gives \(T(B,B)=b^2/2\). Inducting on \(n/2\) shows that \(n\) must be a power of two (base case \(n=2\)). With \(a=b\) and \(U=a^2/2\), we also have \(V=T(B,A)=a^2/2\), so equality must hold in both \eqref{eq:quota} and Cauchy--Schwarz. Equality in Cauchy--Schwarz implies that all group sizes \(j_1,\ldots,j_V\) are equal to \(ab/V=a^2/(a^2/2)=2\), proving~(2) after swapping \(A\) and \(B\). Finally, equality in \eqref{eq:quota} means \(I(A,A)+I(B,A)=I(P,A)=a(a-1)\), so equality holds in \eqref{eq:bisector} for \(Y=A\) (and symmetrically for \(Y=B\)), proving~(3). \end{proof} \begin{theorem}\label{thm:extreme} Under the hypotheses of Theorem~\ref{thm:main}, equality holds precisely for two points, the vertices of a rhombus, or the eight vertices of two concentric squares with their diagonals at \(\pi/4\) to one another. \end{theorem} \begin{proof} Call a point set \emph{extremal} if it attains equality in Theorem~\ref{thm:main}. Repeatedly splitting an extremal set by Proposition~\ref{prop:eq} ends in pairs, so \(n\) is a power of two. For four sites, the two endpoints of each pair lie on the perpendicular bisector of the other pair. The two segments are perpendicular and bisect each other, so they are the diagonals of a rhombus. Now split an extremal eight-point set into two rhombi \(C,D\). Write \(C=O+\{\pm u,\pm v\}\), with \(u\perp v\), using its diagonal pairs. For a pin \(p\in D\), its four targets in \(C\) are matched in equal-distance pairs. The bisector of \(O\pm u\) already contains \(O\pm v\), so no third site \(p\) lies there. The same holds with \(u,v\) exchanged. Thus the matching pairs \(O\pm u\) with \(O\pm v\). Summing the two squared distances on either side gives \(|u|^2=|v|^2\), making \(C\) a square. The matching also gives \((p-O)\cdot u=\pm(p-O)\cdot v\). Hence \(D\) lies on the two perpendicular angle bisectors of the diagonals of \(C\). Interchanging \(C,D\) shows that \(D\) too is a square. Neither line contains more than two vertices of \(D\), so each contains two and the pairs are disjoint. Two disjoint sides of a square are parallel, so these perpendicular lines must be its diagonals. The squares are concentric with the stated relative orientation. Suppose sixteen sites attain equality, and let \(S=C\sqcup D\) be one eight-point half, written as above. Every pair in \(C\) or in \(D\) already has two bisector witnesses in \(S\), by Proposition~\ref{prop:eq} applied to \(S\). A pin \(p\) in the other half therefore sees four distinct distances to each square. Its distance groups into \(S\) have size two, so the lists to \(C,D\) agree. For a square of centre \(O\) and circumradius \(r\), the sum of the four squared distances from \(p\) is \(4(|p-O|^2+r^2)\). Thus the squares have equal radii and form a regular octagon. The centre \(O\) is the midpoint of opposite rational vertices. Two adjacent radius vectors therefore have rational dot product, yet that product is \(r^2/\sqrt2\) with \(r^2\) positive and rational. This rules out sixteen sites and hence every larger power of two. Conversely, each vertex of a rhombus sees at most two distances. In the indicated pair of squares, a vertex sees two distances in its own square and at most two in the other by reflection in the line joining it to the common centre. Theorem~\ref{thm:main} forces equality in both cases. Two points attain the bound directly. For a strictly convex rational octagon attaining equality, take \((\pm3,\pm3)\), \((\pm5,0)\) and \((0,\pm5)\). From \((3,3)\) the squared distances within its square are \(36,72\) and those to the other square are \(13,73\), each occurring twice in the latter list. \end{proof} \begin{remark}[Why the \(n^2/2\) bound depends on \(\QQ^2\)] Over \(\mathbb{R}^2\), regular odd \(n\)-gons satisfy \(\sum_{p\in P}D_P(p)=\binom n2