## On distinct distances in homogeneous sets in the Euclidean space

### Csaba D. TóthDepartment of Mathematics, MIT, Cambridge, MA 02139, USA, Email: toth@math.mit.edu

Abstract
A homogeneous set of $n$  points in the $d$  -dimensional Euclidean space determines at least $\Omega \left({n}^{2d/\left({d}^{2}+1\right)}/{log}^{c\left(d\right)}n\right)$  distinct distances for a constant $c\left(d\right)>0$  . In three-space, we slightly improve our general bound and show that a homogeneous set of $n$  points determines at least $\Omega \left({n}^{.6071}\right)$  distinct distances.

1 Introduction

The history of the distinct distance problem goes back to Erdős [10who asked the question: What is the minimal number ${g}_{d}\left(n\right)$  of distinct distances determined by $n$  points in the $d$  -dimensional Euclidean space ${\mathbb{R}}^{d}$  ? The example of $n$  points in the $d$  -dimensional integer grid $\left[1,2,\dots ,{n}^{\frac{1}{d}}{\right]}^{d}$  shows that ${g}_{d}\left(n\right)\le O\left({n}^{2/d}\right)$  for any $d\ge 2$  and, in particular, ${g}_{2}\left(n\right)\le O\left(n/\sqrt{logn}\right)$  .
Erdős conjectured that these bounds are essentially optimal.
Research efforts on the distinct distance problem have lead to powerful methods (such as the crossing theory [24, the $\varepsilon$  -cutting theory [6) that found innumerable applications in discrete and computational geometry. An excellent survey by Pach and Sharir [18elaborate on the history of the distinct distance problem and its connections to other fields of discrete mathematics. The currently known best lower bound for the distinct distance problem in the plane, ${g}_{2}\left(n\right)=\Omega \left({n}^{.8641}\right)$  , is due to Katz and Tardos [16. Their proof combines results of Solymosi and Tóth [20with additive number theory.
In higher dimensions, fewer results are known. Aronov et al. [2showed that the number of distinct distances determined by a set of $n$  points in three-dimensional space is $\Omega \left({n}^{77/141-\varepsilon }\right)=\Omega \left({n}^{.5460}\right)$  for any $\varepsilon >0$  . Solymosi and Vu [22proved a general lower bound of $\Omega \left({n}^{2/d-2/d\left(d+2\right)}\right)$  for any $d\ge 4$  .
In this paper, we consider the number ${h}_{d}\left(n\right)$  of distinct distances in homogeneous sets of $n$  points in ${\mathbb{R}}^{d}$  . A finite point set $P\subset {\mathbb{R}}^{d}$  is homogeneous if the following two conditions hold: $P$  lies in the interior of an axis-aligned $d$  -dimensional cube $C$  of volume $|P|$  , and any unit cube in ${\mathbb{R}}^{d}$  contains at most $O\left(1\right)$  points of $P$  . Homogeneous sets represent an important special case for the distinct distance problem because the best known upper bound constructions (the $d$  -dimensional integer grids) are homogeneous, and because of numerous connections to analysis [13, 11. Iosevich [12studied the distinct distance problem for homogeneous sets (with additional restrictions). He showed that ${h}_{d}\left(n\right)\ge \Omega \left({n}^{3/2d}\right)$  for $d\ge 2$  . Solymosi and Vu [21proved a general bound ${h}_{d}\left(n\right)\ge \Omega \left({n}^{2/d-1/{d}^{2}}\right)$  for $d\ge 2$  . In the case $d=3$  , they have also obtained a slightly better bound ${h}_{3}\left(n\right)\ge \Omega \left({n}^{.5794}\right)$  . In this paper, we improve all previous lower bounds on the number of distinct distances in homogeneous sets of $n$  points in ${\mathbb{R}}^{d}$  .
Theorem 1 For any $d\in \mathbb{N}$  , every homogeneous set $P$  of $n$  points in ${\mathbb{R}}^{d}$  determines at least ${h}_{d}\left(n\right)\ge \Omega \left({n}^{\frac{2d}{{d}^{2}+1}}/{log}^{\frac{\left(d-1{\right)}^{2}}{{d}^{2}+1}}n\right)$  distinct distances. Moreover, there is a point $p\in P$  from which there are this many distinct distances to other points of $P$  .
For $d=3,4$  , and $5$  , our general lower bound is ${h}_{3}\left(n\right)\ge \Omega \left({n}^{.6}\right)$  , ${h}_{4}\left(n\right)\ge \Omega \left({n}^{.4705}\right)$  , and ${h}_{5}\left(n\right)\ge \Omega \left({n}^{.3846}\right)$  . In three-dimensions, we slightly improve on our general bound for ${h}_{3}\left(n\right)$  and prove the following.
Theorem 2 Every homogeneous set $P$  of $n$  points in ${\mathbb{R}}^{3}$  determines at least ${h}_{3}\left(n\right)\ge \Omega \left({n}^{\frac{17}{28}}/{log}^{\frac{4}{7}}n\right)\ge \Omega \left({n}^{.6071}\right)$  distinct distances. Moreover, there is a point $p\in P$  from which there are this many distinct distances to other points of $P$  .
We prove Theorem  1 in Section  3 . The proof of Theorem  2 can be found in Section  4 . In the next section, we present a key lemma on the number of $k$  -flats incident to many points in a homogeneous point set in ${\mathbb{R}}^{d}$  , for $1\le k  .

2 Rich hyperplanes in homogeneous sets

Consider a set $P$  of $n$  points in ${\mathbb{R}}^{d}$  . We say that a $k$  -flat (a $k$  -dimensional affine subspace) is $m$  -rich if it is incident to at least $m$  points of $P$  . The celebrated Szemerédi-Trotter Theorem [23states that for $n$  points in the plane, the number of $m$  -rich lines ( $1$  -flats) cannot exceed $O\left({n}^{2}/{m}^{3}+n/m\right)$  , and this bound is tight in the worst case.
The number of $m$  -rich $k$  -flats in ${\mathbb{R}}^{d}$  has been intensely studied. The Szemerédi-Trotter type results have widespread applications in discrete and combinatorial geometry. The Szemerédi-Trotter Theorem's multi-dimensional generalizations [7, 1, 9always impose some kind of restriction on the point set or on the set of $k$  -flats, otherwise $m$  points on a line give rise to an infinity of $m$  -rich $k$  -flats for any $2\le k\le d$  .
We say that a $k$  -flat $F$  is $\alpha$  -degenerate for a constant $\alpha >0$  if any $\left(k-1\right)$  -flat contains no more than $\alpha \cdot |F\cap P|$  points of $F\cap P$  . A set of $k+1$  points is affine independent if it is contained in a unique $k$  -flat, which is said to be spanned by the point set. We recall a result of Beck [4on $\alpha$  -degenerate hyperplanes.
Theorem 3 (Beck) For any $k\in \mathbb{N}$  , there are constants ${\alpha }_{k},{\beta }_{k}>0$  with the following property: Given a point set $P\subset {\mathbb{R}}^{d}$  , if an $m$  -rich $k$  -flat $F$  is ${\alpha }_{k}$  -degenerate, then $F$  contains at least ${\beta }_{k}\cdot {m}^{k}$  distinct $\left(k-1\right)$  -flats spanned by $P\cap F$  . $\square$
Elekes and Tóth [9found that there is a constant ${\gamma }_{d}>0$  for every dimension $d\in \mathbb{N}$  such that the number of $m$  -rich ${\gamma }_{d}$  -degenerate hyperplanes in ${\mathbb{R}}^{d}$  is at most $O\left({n}^{d}/{m}^{d+1}+{n}^{d-1}/{m}^{d-1}\right)$  . Here, the second term, $O\left({n}^{d-1}/{m}^{d-1}\right)$  , is dominant if $m\ge \sqrt{n}$  . We show below a much stronger upper bound for homogeneous sets: The number of $m$  -rich hyperplanes is at most $O\left({n}^{d}/{m}^{d+1}\right)$  .
Let ${f}_{d,k}\left(P,m\right)$  denote the maximal number of $m$  -rich $k$  -flats in a homogeneous set $P$  of $n$  points in ${\mathbb{R}}^{d}$  , and let ${f}_{d,k}\left(n,m\right)={max}_{P\subset {\mathbb{R}}^{d},|P|=n}{f}_{d,k}\left(P,m\right).$  For the number of $m$  -rich lines in homogeneous sets in ${\mathbb{R}}^{d}$  (that is, for $k=1$  ), Solymosi and Vu [21established the following lemma.
Lemma 4 (Solymosi & Vu) For every $d\in \mathbb{N}$  , the number of $m$  -rich lines in a homogeneous set of $n$  points in ${\mathbb{R}}^{d}$  is bounded by ${f}_{d,1}\left(n,m\right)\le O\left(\frac{{n}^{2}}{{m}^{d+1}}\right).$  $\square$
We extend their result for arbitrary $k\in \mathbb{N}$  , $1\le k\le d-1$  .
Lemma 5 For every $d,k\in \mathbb{N}$  , $1\le k  , the number of $m$  -rich $k$  -flats in a homogeneous set of $n$  points in ${\mathbb{R}}^{d}$  is bounded by ${f}_{d,k}\left(n,m\right)\le O\left(\frac{{n}^{k+1}}{{m}^{d+1}}\right).$
The example of the $d$  -dimensional integer grid $\left[1,2,\dots ,{n}^{\frac{1}{d}}{\right]}^{d}$  shows that this bound is best possible for every $1\le m\le {n}^{k/d}$  .
Proof. Let $P$  be a homogeneous set of $n$  points in ${\mathbb{R}}^{d}$  for some $d\in \mathbb{N}$  . We proceed by induction on $k$  . The base case, $k=1$  , is equivalent to Lemma  4 .
Let us assume that $k>1$  and that ${f}_{d,{k}^{\prime }}\left(P,m\right)\le O\left({n}^{{k}^{\prime }+1}/{m}^{{k}^{\prime }+1}\right)$  for every ${k}^{\prime }$  , $1\le {k}^{\prime }  . We count separately the $m$  -rich $k$  -flats that are ${\alpha }_{k}$  -degenerate and those that are not.
If an $m$  -rich $k$  -flat is not ${\alpha }_{k}$  -degenerate, then it contains an $\left({\alpha }_{k}m\right)$  -rich $\left(k-1\right)$  -flat. By induction, the number of $\left({\alpha }_{k}m\right)$  -rich $\left(k-1\right)$  -flats is $O\left({n}^{k}/{m}^{d+1}\right)$  .
Every $\left({\alpha }_{k}m\right)$  -rich $\left(k-1\right)$  -flat ${F}_{k-1}$  can be extended to a (degenerate) $m$  -rich $k$  -flat in $O\left(n\right)$  different ways: ${F}_{k-1}$  together with a point of $P\{F}_{k-1}$  spans a $k$  -flat. This gives an upper bound of $O\left({n}^{k+1}/{m}^{d+1}\right)$  on the not ${\alpha }_{k}$  -degenerate $m$  -rich $k$  -flats.
Next, we consider the ${\alpha }_{k}$  -degenerate $m$  -rich $k$  -flats. Let $U$  be a family of all affine independent $\left(k-1\right)$  -element subsets of $P$  . In a homogeneous set of $n$  points, there are $|U|=\Theta \left({n}^{k-1}\right)$  such subsets.
For every $u\in U$  , independently, we subdivide ${\mathbb{R}}^{d}$  into $\ell =\gamma {m}^{d-k+1}$  regions, for some constant $\gamma >0$  to be specified later: Let $H=H\left(u\right)$  denote the $\left(k-2\right)$  -flat spanned by $u$  , and let ${H}^{\perp }$  denote the $\left(d-k+2\right)$  -flat orthogonal to $H$  . The set of points in ${\mathbb{R}}^{d}$  at unit distance from $H$  is the Minkowski sum $S\oplus H$  , where $S$  is a unit sphere ${\mathbb{S}}^{d-k+1}$  in ${H}^{\perp }$  . A projection ${\tau }_{u}:{\mathbb{R}}^{d}\H\to S$  can be defined as $x\to {\tau }_{u}\left(x\right)=S\cap 〈H,x〉$  , where $〈H,x〉$  is the $k$  -flat spanned by $H$  and $x$  . Let us partition $S\subset {H}^{\perp }$  into $\ell =\gamma {m}^{d-k+1}$  regions ${S}_{1},{S}_{2},\dots ,{S}_{\ell }$  such that the regions have the same volume and every $2$  -flat through the center of $S$  (that is, every great circle on the sphere ${\mathbb{S}}^{d-k+1}$  ) intersects at most $O\left({\ell }^{1/\left(d-k+1\right)}\right)=O\left(m\right)$  regions. We then subdivide ${\mathbb{R}}^{d}$  into $\ell$  regions ${R}_{i}$  , $1\le i\le \ell$  , such that ${R}_{i}=\left\{p\in {\mathbb{R}}^{d}:{\tau }_{u}\left(p\right)\in {S}_{i}\right\}.$  Since the $\left(k-2\right)$  -flat $H$  intersects the cube $C$  , the intersection ${R}_{i}\cap C$  has volume $O\left(n/\ell \right)=O\left(n/{m}^{d-k+1}\right)$  for every $i$  . By homogeneity, we have $|{R}_{i}\cap P|=O\left(n/\ell \right)=O\left(n/{m}^{d-k+1}\right)$  points of $P$  in every region ${R}_{i}$  . Observe that every $k$  -flat that contains $H$  intersects at most $O\left(m\right)$  regions.
For an $u\in U$  , we estimate the cardinality of the set $\pi \left(u\right)$  of point pairs $\left(p,q\right)\in {P}^{2}$  such that
• $u\cup \left\{p,q\right\}$  is an affine independent set and spans an $m$  -rich $k$  -flat of $P$  ;
• $p$  and $q$  lie in a region ${R}_{i}$  , for some $1\le i\le \ell$  .
By counting all pairs $\left\{p,q\right\}$  satisfying the second condition, we obtain an upper bound for $|\pi \left(u\right)|$  :
$|\pi \left(u\right)|\le {\sum }_{i=1}^{\ell }\left(\genfrac{}{}{0}{}{|{R}_{i}\cap P|}{2}\right)\le O\left({m}^{d-k+1}\right)\cdot {\left(O\left(\frac{n}{{m}^{d-k+1}}\right)\right)}^{2}\le O\left(\frac{{n}^{2}}{{m}^{d-k+1}}\right).$  Let $T$  be the set of triples $\left(u,p,q\right)\in U×{P}^{2}$  such that $u\in U$  and $\left(p,q\right)\in \pi \left(u\right)$  . By combining the upper bounds for $|U|$  and for $\pi \left(u\right)$  , we have $|T|\le \Theta \left({n}^{k-1}\right)\cdot O\left(\frac{{n}^{2}}{{m}^{d-k+1}}\right)\le O\left(\frac{{n}^{k}+1}{{m}^{d-k+1}}\right).$  Next, we compute a lower bound for the quantity $|T|$  . Consider an ${\alpha }_{k}$  -degenerate $m$  -rich $k$  -flat $F$  . For a set $u$  of $k-1$  affine independent points in $P\cap F$  , let ${P}_{F}\left(u\right)$  denote a maximal size subset of $P\cap \left(F\H\right)$  whose elements have distinct projections under ${\tau }_{u}$  . By Beck's Theorem  3 , there is a family ${U}_{F}\subset U$  of $\Omega \left({m}^{k-1}\right)$  subsets $u\subset P\cap F$  such that the number $|{P}_{F}\left(u\right)|$  of distinct projections under ${\tau }_{u}$  is at least $\Omega \left(m\right)$  .
For an $u\in {U}_{F}$  , we denote by ${\pi }_{F}\left(u\right)$  the set of point pairs $\left(p,q\right)\in \pi \left(p,q\right)$  such that $u\cup \left\{p,q\right\}$  spans $F$  . By construction, $F$  intersects at most $O\left(m\right)$  subsets ${R}_{i}$  of the partition associated with $u$  . If the constant $\gamma$  is sufficiently large, then the average number of points of ${P}_{F}\left(u\right)\cap {R}_{i}$  over the regions ${R}_{i}$  intersecting $F$  is at least $4$  . Any two points in ${P}_{F}\left(u\right)\cap {R}_{i}$  determine a pair of ${\pi }_{F}\left(u\right)$  , and so $|{\pi }_{F}\left(u\right)|\ge {\sum }_{{R}_{i}\cap F\ne \varnothing }\left(\genfrac{}{}{0}{}{|{P}_{F}\left(u\right)\cap {R}_{i}|}{2}\right)\ge \left(\genfrac{}{}{0}{}{|{P}_{F}\left(u\right)|/O\left(m\right)}{2}\right){\sum }_{{R}_{i}\cap F\ne \varnothing }1\ge \Omega \left(m\right).$  We can now give a lower bound for $|T|$  . There are ${f}_{d,k}\left(n,m\right)$  distinct $m$  -rich $k$  -flats. Each such $k$  -flat $F$  contains $|{U}_{F}|\ge \Omega \left({m}^{k-1}\right)$  affine independent subsets of size $k-1$  for which $|{P}_{F}\left(u\right)|\ge \Omega \left(m\right)$  . For each such $u\in {U}_{F}$  , we have $|{\pi }_{F}\left(u\right)|\ge \Omega \left(m\right)$  . Therefore, $|T|\ge {f}_{d,k}\left(n,m\right)\cdot \Omega \left({m}^{k-1}\right)\cdot \Omega \left(m\right)\ge {f}_{d,k}\left(n,m\right)\cdot \Omega \left({m}^{k}\right).$  By contrasting the lower and upper bounds for $|T|$  , we obtain ${f}_{d,k}\left(n,m\right)\cdot \Omega \left({m}^{k}\right)\le O\left(\frac{{n}^{k+1}}{{m}^{d-k+1}}\right),$  ${f}_{d,k}\left(n,m\right)\le O\left(\frac{{n}^{k+1}}{{m}^{d+1}}\right),$  as required. $\square$
Corollary 6 For every $d,k\in \mathbb{N}$  , $1\le k  , the number of incidences of points and $m$  -rich $k$  -flats in a homogeneous set of $n$  points in ${\mathbb{R}}^{d}$  is at most $O\left(\frac{{n}^{k+1}}{{m}^{d}}\right).$
Proof. In any homogeneous point set of size $n$  in ${\mathbb{R}}^{d}$  , the number of incidences is bounded by ${\sum }_{j=m}^{n}{f}_{d,k}\left(P,j\right)\le {\sum }_{j=m}^{n}O\left(\frac{{n}^{k+1}}{{j}^{d+1}}\right)\le O\left(\frac{{n}^{k+1}}{{m}^{d}}\right).$  $\square$

3 Proof of Theorem  1

We are given a homogeneous set $P$  of $n$  points in ${\mathbb{R}}^{d}$  . We may assume without loss of generality that every coordinate of every point in $P$  is irrational, while the enclosing cube $C$  has rational coordinates. Let $t$  denote the maximum number of distinct distances measured from a point of $P$  (including distance $0$  ). For every $p\in P$  , the points of $P$  lie on $t$  concentric spheres centered at $p$  .
We subdivide $C$  into ${s}^{d}$  congruent subcubes ${C}_{1},{C}_{2},\dots ,{C}_{{s}^{3}}$  , where $s=⌊{\left(\frac{n}{8t}\right)}^{\frac{1}{d-1}}⌋.$  Every hyperplane and every sphere intersects the interior of at most $2{s}^{d-1}=O\left(\frac{n}{t}\right)$  subcubes.
Let $T$  be a set of triples $\left(p,q,c\right)\in {P}^{3}$  such that
• (i) $p\ne q$  ,
• (ii) $p$  and $q$  lie in a subcube ${C}_{i}$  for some $1\le i\le {s}^{3}$  ,
• (iii) $p$  and $q$  are equidistant from $c$  .
All points are located on $nt$  spheres centered at the $n$  points of $P$  . There are ${n}^{2}$  sphere-point incidences. The cubes ${C}_{i}$  , $1\le i\le {s}^{3}$  , subdivide each sphere into patches. Since every sphere intersects at most $2{s}^{d-1}$  subcubes ${C}_{i}$  , there are at most $2nt{s}^{d-1}={n}^{2}/4$  patches, where each patch lies entirely in a subcube ${C}_{i}$  . The average number of points on a patch is at least $4$  . If $x$  points lie on a sphere patch centered at $c$  , then this patch contributes $\left(\genfrac{}{}{0}{}{x}{2}\right)2!$  triples $\left(p,q,c\right)$  to $T$  . We conclude that the number of triples is $|T|\ge \Omega \left({n}^{2}\right)$  .
For every $m\in \mathbb{N}$  , let ${T}_{m}$  denote the set of triples $\left(p,q,c\right)\in T$  such that the bisector hyperplane of the segment $pq$  is incident to at least $m$  but less then $2m$  points of $P$  . Since every bisector plane is incident to less than $n$  points, we can partition $T$  into $logn$  subsets $T{=}^{logn}{\bigcup }_{j=0}{T}_{{2}^{j}}.$  There is a value $m={2}^{j}$  for some $0\le j\le logn$  , such that $|{T}_{m}|\ge |T|/logn\ge \Omega \left({n}^{2}/logn\right)$  .
For a pair $\left(p,q\right)\in {P}^{2}$  , $p\ne q$  , all points of the set $M\left(p,q\right)=\left\{c\in P:dist\left(p,c\right)=dist\left(q,c\right)\right\}$  lie on the bisector hyperplane of the line segment $pq$  . One bisector hyperplane intersects at most ${s}^{d-1}$  subcubes, and in each subcube ${C}_{i}$  it can bisect at most $|{C}_{i}\cap P|/2$  point pairs. So the number of pairs $\left(p,q\right)\in {P}^{2}$  bisected by the same hyperplane is at most ${s}^{d-1}\cdot O\left(\frac{n}{{s}^{d}}\right)=O\left(\frac{n}{s}\right).$  Let ${B}_{m}$  denote the set of all bisector hyperplanes that bisect the pair $\left(p,q\right)$  for some $\left(p,q,c\right)\in {T}_{m}$  . By definition, any hyperplane in ${B}_{m}$  is incident to at least $m$  but less than $2m$  points of $P$  . By Lemma  5 , we have $|{B}_{m}|\le O\left(\frac{{n}^{d}}{{m}^{d+1}}\right).$  We can now give an upper bound for $|{T}_{m}|$  . In a triple $\left(p,q,c\right)\in {T}_{m}$  , point $c$  lies on a bisector hyperplane of ${B}_{m}$  . Each bisector hyperplane is incident to less than $2m$  points of $P$  and bisects at most $O\left(n/s\right)$  pairs $\left(p,q\right)$  . Therefore $\Omega \left(\frac{{n}^{2}}{logn}\right)\le |{T}_{m}|\le O\left(\frac{{n}^{d}}{{m}^{d+1}}\right)\cdot 2m\cdot O\left(\frac{n}{s}\right),$  ${m}^{d}\le O\left(\frac{{n}^{d-1}}{slogn}\right),$
 $\begin{array}{c}m\le O\left(\frac{{n}^{\frac{d-1}{d}}}{{s}^{1/d}{log}^{1/d}n}\right).\end{array}$ (1)
We obtain another upper bound for $|{T}_{m}|$  by the following argument: In a triple $\left(p,q,c\right)\in {T}_{m}$  , both $p$  and $q$  lie in the same subcube ${C}_{i}\subset C$  . There are ${s}^{d}$  subcubes, and each subcube contains less than $\left(O\left(n/{s}^{d}\right){\right)}^{2}\le O\left({n}^{2}/{s}^{2d}\right)$  point pairs. Hence, there are less than ${s}^{d}\cdot O\left({n}^{2}/{s}^{2d}\right)=O\left({n}^{2}/{s}^{d}\right)$  such pairs $\left(p,q\right)$  . For each pair $\left(p,q\right)$  , where $\left(p,q,c\right)\in {T}_{m}$  , there are at most $2m$  points $c\in P$  on the bisector hyperplane of $pq$  . We conclude that $\Omega \left(\frac{{n}^{2}}{logn}\right)\le |{T}_{m}|\le O\left(\frac{{n}^{2}}{{s}^{d}}\right)\cdot 2m.$  Using the upper bound for $m$  from Inequality ( 1 ), we have ${s}^{\frac{{d}^{2}+1}{d}}\le O\left({n}^{\frac{d-1}{d}}\cdot {log}^{\frac{d-1}{d}}n\right),$  ${\left(\frac{n}{t}\right)}^{\frac{{d}^{2}+1}{d\left(d-1\right)}}\le O\left({n}^{\frac{d-1}{d}}\cdot {log}^{\frac{d-1}{d}}n\right),$  $\Omega \left({n}^{\frac{2}{d-1}}{log}^{\frac{1-d}{d}}n\right)\le {t}^{\frac{{d}^{2}+1}{d\left(d-1\right)}},$  $\Omega \left({n}^{\frac{2d}{{d}^{2}+1}}{log}^{-\frac{\left(d-1{\right)}^{2}}{{d}^{2}+1}}n\right)\le t,$  as required. This completes the proof of Theorem  1  $\square$

4 Proof of Theorem  2

Consider a homogeneous set $P$  of $n$  points in ${\mathbb{R}}^{3}$  . Similarly to the previous section, we assume that all coordinates of every point in $P$  are irrational, and the vertices of the bounding cube $C$  have integer coordinates. We subdivide $C$  into ${s}^{3}$  congruent cubes ${C}_{1},{C}_{2},\dots ,{C}_{{s}^{3}}$  , for $s=⌊\sqrt{\frac{n}{\gamma t}}⌋,$  where $\gamma >0$  is a constant to be specified later.
By Theorem  3 , $P\subset {\mathbb{R}}^{3}$  contains $\Omega \left({n}^{2}\right)$  affine independent point pairs.
This implies that there is a subset ${P}_{0}\subset P$  such that $|{P}_{0}|\ge \Omega \left(n\right)$  and every $c\in {P}_{0}$  is incident to $\Omega \left(n\right)$  distinct lines spanned by $P$  . For every $c\in {P}_{0}$  , let $P\left(c\right)\subset P\\left\{c\right\}$  be a set of $\Omega \left(n\right)$  points such that the lines $cp$  , $p\in P\left(c\right)$  , are distinct. For every point $c\in {P}_{0}$  , let ${H}_{c}$  be a unit sphere centered at $c$  .
We project the points of $P\left(c\right)$  into $\Omega \left(n\right)$  distinct point in ${H}_{p}$  , we denote by $\stackrel{^}{p}=cp\cap {H}_{c}$  the projection of $p\in P\left(c\right)$  . The set of projections to is let $\stackrel{^}{P}\left(c\right):=\left\{\stackrel{^}{p}:c\in P\left(p\right)\right\}.$  We consider a simplicial partition for $\stackrel{^}{P}\left(c\right)$  defined as follows.
Definition 7 Given a set $\stackrel{^}{P}$  points on a sphere ${\mathbb{S}}^{2}$  and an integer $s$  , the simplicial partition of $\stackrel{^}{P}$  is a partition of $\stackrel{^}{P}$  into $O\left({s}^{2}\right)$  sets ${\stackrel{^}{P}}_{1},{\stackrel{^}{P}}_{2},\dots ,{\stackrel{^}{P}}_{\Theta \left({s}^{2}\right)}$  with the following properties
• for every $i$  , ${\stackrel{^}{P}}_{i}$  lies in set ${R}_{i}\subset {\mathbb{S}}^{2}$  whose boundary consists of a finite number of circular arcs;
• for every $i$  , $n/{s}^{2}\le |{\stackrel{^}{P}}_{i}|\le n/2{s}^{2}$  ;
• every circle in ${\mathbb{S}}^{2}$  crosses at most $O\left(s\right)$  sets ${R}_{i}$  .
A circle crosses a set ${R}_{i}$  , if it intersects it but does not contain it.
By a result of Matoušek [17, 5, there exists a simplicial partition for any $\stackrel{^}{P}\subset {\mathbb{S}}^{2}$  and $1\le {s}^{\prime }\le |\stackrel{^}{P}|$  . (A general result of Matoušek applies: The range space of disks in ${\mathbb{S}}^{2}$  have the properties that its primal shatter function is quadratic and every disk can be approximated with a finite set of ranges with respect to a finite point set.) We consider a simplicial partition for $\stackrel{^}{P}\left(c\right)\subset {H}_{c}$  with integer ${s}^{\prime }=s$  .
Let $Q$  be a set of quadruples $\left(p,q,r,c\right)\in {P}^{4}$  such that,
• (i) the points $p$  , $q$  , and $r$  are distinct;
• (ii) $p,q$  , and $r$  lie in a subcube ${C}_{i}$  for some $1\le i\le {s}^{3}$  ,
• (iii) $\stackrel{^}{p},\stackrel{^}{q}$  , and $\stackrel{^}{r}$  lie in a subset ${\stackrel{^}{P}}_{j}\left(c\right)$  , for some $1\le j\le \Theta \left({s}^{2}\right)$  , when projected from center $c$  ;
• (iv) $p,q$  , and $r$  are equidistant from $c$  .
We give a lower bound on the number of quadruples in $Q$  . Consider a sphere $S$  centered at $c\in {P}_{0}$  . We partition the point set $P\left(c\right)\cap S$  into groups in the following way. Two points of $P\left(c\right)\cap S$  are in the same group if and only if they are in the same cube ${C}_{i}$  , $1\le i\le {s}^{3}$  , and their projections with respect to $c$  are in the same subset ${\stackrel{^}{P}}_{j}\left(c\right)$  . We can partition $C$  into the subcubes ${C}_{i}$  , $1\le i\le {s}^{3}$  , by $3\left(s-1\right)$  planes. These planes partition the sphere $S$  along $3\left(s-1\right)$  circles. Every circle intersects at most $O\left(s\right)$  regions ${R}_{j}\subset S$  , $1\le j\le \Theta \left({s}^{2}\right)$  . If ${x}_{j}$  circles intersect a region ${R}_{j}$  , they can partition ${R}_{j}$  into $O\left({x}_{j}^{2}\right)$  pieces. Hence, the number of groups $P\left(c\right)\cap S$  is partitioned into is at most ${\sum }_{j=1}^{\Theta \left({s}^{2}\right)}O\left({x}_{j}^{2}\right)\le \frac{1}{\Theta \left({s}^{2}\right)}\cdot {\left({\sum }_{j=1}^{\Theta \left({s}^{2}\right)}{x}_{j}\right)}^{2}\le \frac{1}{\Theta \left({s}^{2}\right)}\cdot {\left(3\left(s-1\right)O\left(s\right)\right)}^{2}\le O\left({s}^{2}\right).$  On the $\Theta \left(nt\right)$  spheres centered at points of ${P}_{0}$  , we have a total of at most $O\left(nt{s}^{2}\right)$  groups. We choose constant $\gamma >0$  (in the definition of $s$  ) such that a group contains $6$  points on average. If $x$  points lie on a group, then this group contributes $\left(\genfrac{}{}{0}{}{x}{3}\right)3!$  quadruples $\left(p,q,r,c\right)$  to $Q$  . We conclude that the total number of quadruples is $|Q|\ge \Omega \left({n}^{2}\right)$  .
The multiplicity of a pair $\left(p,q\right)\in {P}^{2}$  is defined as $m\left(p,q\right)=|\left\{\left(p,q,r,c\right)\in Q:r\in P,c\in {P}_{0}\right\}|.$  We choose a parameter $m$  to be specified later, and distinguish two types of quadruples in $Q$  : A quadruple $\left(p,q,r,c\right)$  is low if at least one edge of the triangle $pqr$  have multiplicity at most $m$  . A quadruple $\left(p,q,r,c\right)$  is high if the multiplicity of all three edges of $pqr$  are above $m$  . Let ${Q}^{-}$  and ${Q}^{+}$  denote the sets of low and high quadruples, respectively. We distinguish two cases:
First we consider the case that $|{Q}^{+}|\le |{Q}^{-}|$  , then we proceed with the case $|{Q}^{+}|\ge |{Q}^{-}|$  .
Case $|{Q}^{+}|\le |{Q}^{-}|$  . There are at least $\Omega \left({n}^{2}\right)$  low quadruples in $Q$  . We define a set of triples ${T}_{g}:=\left\{\left(p,q,c\right):\left(p,q,r,c\right)\in {Q}^{-},m\left(p,q\right)\le m\right\}.$  We have extracted $|{T}_{g}|\ge \Omega \left({n}^{2}\right)$  triples from ${Q}^{-}$  . Similarly, to the previous section, we compute an upper bound on $|{T}_{g}|$  . Every pair $\left(p,q\right)$  from a triple of ${T}_{g}$  lies in one of the ${s}^{3}$  subcubes of $C$  , and for every pair $\left(p,q\right)$  there are at most $m$  centers $c$  . Therefore, we have an upper bound $\Omega \left({n}^{2}\right)\le |{T}_{g}|\le {s}^{3}{\left(O\left(\frac{n}{{s}^{3}}\right)\right)}^{2}m,$  $\Omega \left({s}^{3}\right)\le m,$
 $\begin{array}{c}\Omega \left(\frac{{n}^{3/2}}{{t}^{3/2}}\right)\le m.\end{array}$ (2)
$\Omega \left(\frac{n}{{m}^{2/3}}\right)\le t.$  Case $|{Q}^{+}|\ge |{Q}^{-}|$  . At least half of the quadruples in $Q$  are high, and so $|{Q}^{+}|\ge \Omega \left({n}^{2}\right)$  . For every $c\in {P}_{0}$  , project the points $P\left(p\right)$  to the sphere ${H}_{c}$  . We denote by $\stackrel{^}{p}$  the projection $\stackrel{^}{p}=cp\cap {H}_{c}$  of a point $p\in P\left(p\right)$  . If $\left(p,q,r,c\right)\in Q$  , then the intersection of the bisector plane of $pq$  and ${H}_{c}$  is the bisector (great circle) of the segment $\stackrel{^}{p}\stackrel{^}{q}$  in the sphere ${H}_{p}$  . A (possibly degenerate) triangle $\stackrel{^}{p}\stackrel{^}{q}\stackrel{^}{r}$  defines three distinct bisectors. The bisectors of a triangle $\stackrel{^}{p}\stackrel{^}{q}\stackrel{^}{r}$  meet in two antipodal points on the sphere. The triangles that determine the same triple of bisectors are similar (the center of similarity is the intersection of the bisectors). Specifically, if the triangles ${\stackrel{^}{p}}_{1}{\stackrel{^}{q}}_{1}{\stackrel{^}{r}}_{1},{\stackrel{^}{p}}_{2}{\stackrel{^}{q}}_{2}{\stackrel{^}{r}}_{2},\dots ,{\stackrel{^}{p}}_{\ell }{\stackrel{^}{q}}_{\ell }{\stackrel{^}{r}}_{\ell }$  determine the same triple of bisectors, then the points ${\stackrel{^}{p}}_{1},{\stackrel{^}{p}}_{1},\dots ,{\stackrel{^}{p}}_{\ell }$  are collinear (the points ${\stackrel{^}{q}}_{1},{\stackrel{^}{q}}_{1},\dots ,{\stackrel{^}{q}}_{\ell }$  and ${\stackrel{^}{r}}_{1},{\stackrel{^}{r}}_{1},\dots ,{\stackrel{^}{r}}_{\ell }$  are also collinear). Every triple of bisectors determines a family of triangles. A family of quadruples is a collection of quadruples $\left(p,q,r,c\right)\in {Q}^{+}$  with a common center $c$  if the triangles $\stackrel{^}{p}\stackrel{^}{q}\stackrel{^}{r}$  form a family.
For every $\mu \in \mathbb{N}$  , let ${Q}_{\mu }^{+}$  denote the set of high quadruples $\left(p,q,r,c\right)\in {Q}^{+}$  such that the triangle $\stackrel{^}{p}\stackrel{^}{q}\stackrel{^}{r}$  on the sphere ${H}_{c}$  is part of a family of size at least $\mu$  but less than $2\mu$  . Since the size of any family is less than $n/3$  , we can partition ${Q}^{+}$  into $logn$  subsets ${Q}^{+}{=}^{logn}{\bigcup }_{j=0}{Q}_{{2}^{j}}^{+}.$  There is a value $\mu ={2}^{j}$  , $0\le j\le logn$  , such that $|{Q}_{\mu }^{+}|\ge |{Q}^{+}|/logn\ge \Omega \left({n}^{2}/logn\right)$  .
Next, we derive an upper bound for the parameter $\mu$  . Each quadruple $\left(p,q,r,c\right)\in {Q}_{\mu }^{+}$  uniquely determine a family $f\left(p,q,r,c\right)$  of quadruples of size at least $\mu$  and at most $2\mu$  . There are $\Omega \left({n}^{2}/\mu logn\right)$  disjoint quadruple families in ${Q}_{\mu }^{+}$  . A family $f\left(p,q,r,c\right)$  corresponds to at least $\mu$  spherical triangles on spheres centered at $c$  such that their $3\mu$  vertices lie on three planes incident to $c$  . For $\mu \ge 4$  , we call one of these planes a plane spanned by the family.
We denote by $L$  the set of pairs $\left(c,F\right)$  such that $c\in {P}_{0}$  and $F$  is a plane spanned by a family of triangles on spheres centered at $c$  . Note, though, that several families of triangles with a common center $c$  can span the same plane $F$  . Let ${L}_{\lambda }\subset L$  denote the set of pairs $\left(c,F\right)$  such that $F$  is spanned by at least $\lambda$  but less than $2\lambda$  families in ${Q}_{\mu }^{+}$  centered at $c\in {P}_{0}$  . There is a value $\lambda ={2}^{k}$  , $0\le k\le logn$  , such that the pairs in ${L}_{\lambda }$  correspond to at least $\Omega \left({n}^{2}/\mu {log}^{2}n\right)$  quadruple families of ${Q}_{\mu }^{+}$  . Since each pair $\left(c,F\right)\in {L}_{\lambda }$  belongs to at least $\lambda$  families, the number of point-plane pairs in ${L}_{\lambda }$  is at least $|{L}_{\lambda }|\ge \Omega \left({n}^{2}/\lambda \mu {log}^{2}n\right)$  .
The pair $\left(c,F\right)\in {L}_{\lambda }$  is an incidence between the point $c\in P$  and a $\left(\lambda \mu \right)$  -rich plane $F$  . All incidences are distinct. By Corollary  6 , we have an upper bound on incidences of $\left(\lambda \mu \right)$  -rich planes in a homogeneous set $P$  :
$\Omega \left(\frac{{n}^{2}}{\lambda \mu {log}^{2}n}\right)\le |{L}_{\lambda }|\le O\left(\frac{{n}^{3}}{\left(\lambda \mu {\right)}^{3}}\right),$  $\left(\lambda \mu {\right)}^{2}\le O\left(n{log}^{2}n\right),$
 $\begin{array}{c}\mu \le O\left(\sqrt{n}\cdot logn\right).\end{array}$ (3)
${Q}_{\mu }^{+}$  contains $\Omega \left({n}^{2}/logn\right)$  quadruples $\left(p,q,r,c\right)$  where $c$  is a point from the set ${P}_{0}$  of size $\Omega \left(n\right)$  . There is a set ${P}_{1}\subset {P}_{0}$  of size $\Omega \left(n/logn\right)$  such that each $c\in {P}_{1}$  is a center of at least $\Omega \left(n/logn\right)$  quadruples of ${Q}_{\mu }^{+}$  . For every $c\in {P}_{1}$  , we define a set of $\Omega \left(n/logn\right)$  triangles in the sphere ${H}_{c}$  by ${T}_{c}=\left\{\stackrel{^}{p}\stackrel{^}{q}\stackrel{^}{r}:\left(p,q,r,c\right)\in {Q}_{\mu }^{+}\right\}$  For every $c\in {P}_{1}$  , let ${B}_{c}$  denote the set of $m$  -rich planes incident to $c$  . Let ${\stackrel{^}{B}}_{c}$  denote the set of intersections (i.e., great circles) of ${H}_{c}$  and $m$  -rich planes in ${B}_{c}$  . Note that for every edge $\stackrel{^}{p}\stackrel{^}{q}$  of a triangle in $\stackrel{^}{P}\left(c\right)$  , the bisector of $\stackrel{^}{p}\stackrel{^}{q}$  is in ${\stackrel{^}{B}}_{c}$  .
Consider the simplicial partition of the set $\stackrel{^}{P}\left(c\right)$  for a point $c\in {P}_{1}$  . Every set $\stackrel{^}{P}\left(c\right)$  , $i=1,2,\dots ,\Theta \left({s}^{2}\right)$  , contains at most $O\left(t\right)$  triangles of ${T}_{c}$  . Since there are $\Theta \left({s}^{2}\right)=\Theta \left(n/t\right)$  subsets ${\stackrel{^}{P}}_{i}\left(s\right)$  and $|{T}_{c}|\le \Omega \left(n/logn\right)$  triangles, at least $\Omega \left({s}^{2}/logn\right)$  subset must contain $\Omega \left(t/logn\right)$  triangles of ${T}_{c}$  . For these sets ${\stackrel{^}{P}}_{i}\left(c\right)$  , the $\Omega \left(t/logn\right)$  triangles determine at least $\Omega \left({\left(\frac{t/logn}{\mu }\right)}^{1/3}\right)$  distinct bisectors in ${\stackrel{^}{B}}_{c}$  . A bisector crosses at most $O\left(s\right)$  regions, and so we obtain the same bisector of ${\stackrel{^}{B}}_{c}$  in at most $O\left(s\right)$  regions. We conclude that the number of bisectors determined by the $\Omega \left(n/logn\right)$  triangles of ${T}_{c}$  is
 $\begin{array}{ccc}|{B}_{c}|& \ge & \frac{\Theta \left({s}^{2}/logn\right)}{O\left(s\right)}\cdot \Omega \left({\left(\frac{t/logn}{\mu }\right)}^{1/3}\right)\ge \Omega \left(\sqrt{\frac{n}{t}}\cdot \frac{{t}^{1/3}}{{\mu }^{1/3}{log}^{4/3}n}\right)\ge \end{array}$
 $\begin{array}{ccc}& \ge & \Omega \left(\frac{{n}^{1/2}}{{t}^{1/6}{\mu }^{1/3}{log}^{4/3}n}\right).\end{array}$
Using the estimate $\mu \le O\left(\sqrt{n}\cdot logn\right)$  from Inequality ( 3 ), we obtain that $|{B}_{c}|\ge \Omega \left(\frac{{n}^{1/3}}{{t}^{1/6}{log}^{5/3}n}\right).$  Each of the $\Omega \left(n/logn\right)$  points of ${P}_{1}$  is incident to $\Omega \left({n}^{1/3}/{t}^{1/6}{log}^{5/3}n\right)$  distinct $m$  -rich planes. This gives $\Omega \left({n}^{4/3}/{t}^{1/6}{log}^{8/3}n\right)$  incidences on $m$  -rich planes of $P$  . By Corollary  6 , we have $\Omega \left(\frac{{n}^{4/3}}{{t}^{1/6}{log}^{8/3}n}\right)\le O\left(\frac{{n}^{3}}{{m}^{3}}\right),$  ${m}^{3}\le O\left({n}^{5/3}{t}^{1/6}{log}^{8/3}n\right),$
 $\begin{array}{c}m\le O\left({n}^{5/9}{t}^{1/18}{log}^{8/9}n\right).\end{array}$ (4)
$\Omega \left(\frac{{m}^{18}}{{n}^{10}{log}^{16}n}\right)\le t.$  In both cases, we have derived lower bounds for $t$  in terms of $n$  and $m$  .
We choose $m\in \mathbb{N}$  such that we obtain the same result in both cases. By comparing Inequalities ( 2 ) and ( 4 ), we have $\Omega \left(\frac{{n}^{3/2}}{{t}^{3/2}}\right)\le m\le O\left({n}^{5/9}{t}^{1/18}{log}^{8/9}n\right),$  $\Omega \left(\frac{{n}^{17/18}}{{log}^{8/9}n}\right)\le {t}^{28/18},$
 $\begin{array}{c}\Omega \left(\frac{{n}^{17/28}}{{log}^{4/7}n}\right)\le t.\end{array}$ (5)
The choice $m=⌊{n}^{33/56}{log}^{12/14}n⌋$  establishes Inequality ( 5 ) in both cases.
This completes the proof of Theorem  2  $\square$  References

1. P. K. Agarwal and B. Aronov, Counting facets and incidences, Discrete Comput. Geom. 7 (1992) 359–369.
2. B. Aronov, J. Pach, M. Sharir, and G. Tardos, Distinct distances in three and higher dimensions, Combin. Probab. Comput. 13 (2004), 283–293.
3. B. Aronov and M. Sharir, Cell complexities in hyperplane arrangements, Discrete Comput. Geom. 32 (2004), 107–115.
4. J. Beck, On the lattice property of the plane and some problems of Dirac, Motzkin and Erdős, Combinatorica 3 (3-4) (1983), 281–297.
5. B. Chazelle. The Discrepancy Method. Cambridge University Press, 2000.
6. K. L. Clarkson, H. Edelsbrunner, L. J. Guibas, M. Sharir, and E. Welzl, Combinatorial complexity bounds for arrangements of curves and spheres, Discrete Comput. Geom. 5 (1990), 99–160.
7. H. Edelsbrunner and M. Sharir, A hyperplane incidence problem with applications to counting distances, in Proc. SIGAL International Symposium on Algorithms (T. Asano et al., eds.), vol. 450 of LNCS, Springer-Verlag, Berlin, 1990, pp. 419–428.
8. Gy. Elekes, A note on the number of distinct distances, Period. Math. Hungar. 38 (1999), 173–177.
9. Gy. Elekes and Cs. D. Tóth, Incidences of not-too-degenerate hyperplanes, in Proc. 21st ACM Sympos. Comput. Geom. (Pisa, 2005), ACM Press, to appear.
10. P. Erdős, On sets of distances of $n$  points, Amer. Math. Monthly 53 (1946), 248–250.
11. S. Hofmann and A. Iosevich, Circular averages and Falconer-Erdős distance conjecture in the plane for random metrics, Proc. Amer. Math. Soc. 133 (1) (2005), 133–143
12. A. Iosevich, Curvature, combinatorics, and the Fourier transform, Notices Amer. Math. Soc. 48 (2001), 577–583.
13. A. Iosevich, N. Katz, and S. Pedersen, Fourier basis and the Erdős distance problem, Math. Research Letters 6 (2) (1999), 251–255.
14. A. Iosevich and I. Łaba, Distance sets of well-distributed planar point sets, Discrete Comput. Geom. 31 (2004), 243–250.
15. S. Konyagin and I. Łaba, Distance sets of well-distributed planar sets for polygonal norms, Israel J. Math. to appear.
16. N. H. Katz and G. Tardos, A new entropy inequality for the Erdős distance problem, in: Towards a theory of geometric graphs, vol. 342 of Contemp. Math., Amer. Math. Soc., Providence, RI, 2004, pp. 119–126.
17. J. Matoušek, Efficient partition trees, Discrete Comput. Geom. 8 (1992), 315–334.
18. J. Pach and M. Sharir, Geometric incidences, in Towards a Theory of Geometric Graphs, vol. 342 of Contemporary Mathematics, Amer. Math. Soc., Providence, RI, 2004, pp. 185–223.
19. J. Solymosi, G. Tardos, and Cs. D. Tóth, The $k$  most frequent distances in the plane, Discrete Comput. Geom. 28 (2002), 639–648.
20. J. Solymosi and Cs. D. Tóth, Distinct distances in the plane, Discrete Comput. Geom. 25 (2001), 629–634.
21. J. Solymosi and V. Vu, Distinct distances in high dimensional homogeneous sets, in: Towards a theory of geometric graphs, vol. 342 of Contemp. Math., Amer. Math. Soc., Providence, RI, 2004, pp. 259–268.
22. J. Solymosi and V. Vu, Near optimal bounds for the Erdős distinct distance problem in high dimensions, Combinatorica to appear.
23. E. Szemerédi and W. T. Trotter Jr., Extremal problems in Discrete Geometry, Combinatorica 3 (3–4) (1983), 381–392.
24. L. A. Székely, Crossing numbers and hard Erdős problems in discrete geometry, Combinatorics, Probability & Computing 6 (3) (1997), 353–358.