Maths Olympiad Prep

Library / /113 of 121

Geometry Difficulty 7.2 National Olympiad, round 2 Prove it India

Euler marks nn different points in the Euclidean plane. For each pair of marked points, Gauss writes down the number log2d\lfloor \log_2 d \rfloor where dd is the distance between the two points. Prove that Gauss writes down less than 2n2n distinct values.

Note: For any d>0d > 0, log2d\lfloor \log_2 d \rfloor is the unique integer kk such that 2kd<2k+12^k \le d < 2^{k+1}.

Solution

Let the nn points be P1,P2,,PnP_1, P_2, \ldots, P_n.

Let DD be the set of all pairwise distances between the nn points. For each dDd \in D, Gauss writes down log2d\lfloor \log_2 d \rfloor.

Let dmind_{\min} and dmaxd_{\max} be the minimal and maximal pairwise distances among the nn points.

All values written by Gauss are integers kk such that 2kd<2k+12^k \le d < 2^{k+1} for some dd in DD.

Thus, the set of distinct values written is contained in the set of all integers kk such that 2kdmax2^k \le d_{\max} and 2k+1>dmin2^{k+1} > d_{\min}, i.e.,
log2dminklog2dmax \lfloor \log_2 d_{\min} \rfloor \le k \le \lfloor \log_2 d_{\max} \rfloor

So the number of distinct values is at most log2dmaxlog2dmin+1\lfloor \log_2 d_{\max} \rfloor - \lfloor \log_2 d_{\min} \rfloor + 1.

Now, we bound this quantity in terms of nn.

Let us fix the configuration of nn points. The minimal distance dmind_{\min} is the smallest distance between any two points, and the maximal distance dmaxd_{\max} is the largest.

Let us consider the ratio dmax/dmind_{\max}/d_{\min}.

For nn points in the plane, the maximal distance between any two points is at most the diameter of the convex hull of the points, and the minimal distance is at least the minimal separation between any two points.

Let us fix dmind_{\min} and consider the maximal possible dmaxd_{\max}.

Suppose all points are placed so that the minimal distance is dmind_{\min}, and the maximal distance is dmaxd_{\max}.

Consider the following: For any point PiP_i, the number of other points within distance 2kdmin2^k d_{\min} is at most the number of points that can be packed in a disk of radius 2kdmin2^k d_{\min} with pairwise separation at least dmind_{\min}.

In the plane, the maximal number of points that can be packed in a disk of radius RR with pairwise separation at least rr is at most (2Rr+1)2\left(\frac{2R}{r}+1\right)^2.

But we can use a simpler argument:

Let dmaxCndmind_{\max} \leq C n d_{\min} for some constant CC (since the diameter of nn points with minimal separation dmind_{\min} is at most proportional to ndminn d_{\min}).

Then,
dmaxdmin<Cn \frac{d_{\max}}{d_{\min}} < C n

Therefore,
log2dmaxlog2dmin+1<log2(Cn)+2 \lfloor \log_2 d_{\max} \rfloor - \lfloor \log_2 d_{\min} \rfloor + 1 < \log_2 (C n) + 2

But we need to show that the number of distinct values is less than 2n2n.

Let us consider the following extremal configuration:

Suppose the nn points are placed on a straight line with equal spacing dmind_{\min} between consecutive points. Then the maximal distance is (n1)dmin(n-1)d_{\min}.

So,
dmaxdmin=n1 \frac{d_{\max}}{d_{\min}} = n-1

Thus,
log2dmaxlog2dmin+1log2(n1)dminlog2dmin+1=log2(n1)+1 \lfloor \log_2 d_{\max} \rfloor - \lfloor \log_2 d_{\min} \rfloor + 1 \leq \lfloor \log_2 (n-1) d_{\min} \rfloor - \lfloor \log_2 d_{\min} \rfloor + 1 = \lfloor \log_2 (n-1) \rfloor + 1

So the number of distinct values is at most 1+log2(n1)1 + \lfloor \log_2 (n-1) \rfloor.

But in general, for any configuration, the number of distinct values is at most 1+log2dmaxdmin1 + \lfloor \log_2 \frac{d_{\max}}{d_{\min}} \rfloor.

But the number of distinct pairwise distances is at most (n2)\binom{n}{2}, so the number of distinct log2d\lfloor \log_2 d \rfloor values is at most the number of distinct pairwise distances, which is (n2)<2n\binom{n}{2} < 2n for n3n \geq 3.

But we can do better:

Let us consider the set {log2dij:1i<jn}\{ \lfloor \log_2 d_{ij} \rfloor : 1 \leq i < j \leq n \}.

For each kk, the set of pairs with 2kdij<2k+12^k \leq d_{ij} < 2^{k+1} is the set of pairs whose distance falls in that interval.

But for nn points, the number of possible intervals [2k,2k+1)[2^k, 2^{k+1}) that contain at least one pairwise distance is at most n1n-1 (since the minimal and maximal distances differ by at most a factor of n1n-1).

Thus, the number of distinct values is at most 1+log2(n1)<2n1 + \lfloor \log_2 (n-1) \rfloor < 2n for all n1n \geq 1.

Therefore, Gauss writes down less than 2n2n distinct values.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.