Maths Olympiad Prep

Track / Stage 8 / 70 of 180 #1770 of 1964

Problem 1770

IMO Shortlist mid-range; USAMO P2/P5
Geometry Difficulty 8.2 Prove it

For a positive integer k2k\ge 2 define Tk={(x,y)x,y=0,1,,k1}\mathcal{T}_k=\{(x,y)\mid x,y=0,1,\ldots, k-1\} to be a collection of k2k^2 lattice points on the cartesian coordinate plane. Let d1(k)>d2(k)>d_1(k)>d_2(k)>\cdots be the decreasing sequence of the distinct distances between any two points in TkT_k. Suppose Si(k)S_i(k) be the number of distances equal to di(k)d_i(k).
Prove that for any three positive integers m>n>im>n>i we have Si(m)=Si(n)S_i(m)=S_i(n).

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Official solution

1. Define the problem and notation:
For a positive integer k2 k \ge 2 , define Tk={(x,y)x,y=0,1,,k1}\mathcal{T}_k = \{(x, y) \mid x, y = 0, 1, \ldots, k-1\} to be a collection of k2 k^2 lattice points on the Cartesian coordinate plane. Let d1(k)>d2(k)> d_1(k) > d_2(k) > \cdots be the decreasing sequence of the distinct distances between any two points in Tk\mathcal{T}_k. Suppose Si(k) S_i(k) is the number of distances equal to di(k) d_i(k) . We need to prove that for any three positive integers m>n>i m > n > i , we have Si(m)=Si(n) S_i(m) = S_i(n) .

2. Introduce the induction hypothesis:
Set Di(n)=di(n+1) D_i(n) = d_i(n + 1) , and associate with Di(n) D_i(n) a pair (xn,i,yn,i){0,1,,n}2(x_{n,i}, y_{n,i}) \in \{0, 1, \dots, n\}^2 with nxn,iyn,i0 n \ge x_{n,i} \ge y_{n,i} \ge 0 and xn,i2+yn,i2=Di(n)2 x_{n,i}^2 + y_{n,i}^2 = D_i(n)^2 . We will prove by induction on n n that for 1in 1 \le i \le n , the pairs (xi,yi)(x_i, y_i) are unique and equal, in order:
(n,n),(n,n1),(n,n2),(n1,n1),(n,n3),(n1,n2), (n, n), (n, n - 1), (n, n - 2), (n - 1, n - 1), (n, n - 3), (n - 1, n - 2), \ldots

3. Base case:
When n=1 n = 1 , the result is obvious because the only possible pairs are (1,1)(1, 1) and (1,0)(1, 0).

4. Induction step:
Suppose the hypothesis holds for n=N1 n = N - 1 . We need to show it holds for n=N n = N . Notice that:
(xN,i,yN,i)=(xN1,i+1,yN1,i+1) (x_{N, i}, y_{N, i}) = (x_{N - 1, i} + 1, y_{N - 1, i} + 1)
for 1iN1 1 \le i \le N - 1 . This is because when a2+b2>c2+d2 a^2 + b^2 > c^2 + d^2 and a+bc+d a + b \ge c + d ,
(a+1)2+(b+1)2=a2+b2+2(a+b)+1>c2+d2+2(c+d)+1=(c+1)2+(d+1)2 (a + 1)^2 + (b + 1)^2 = a^2 + b^2 + 2(a + b) + 1 > c^2 + d^2 + 2(c + d) + 1 = (c + 1)^2 + (d + 1)^2
and we know yi>0 y_i > 0 and the sum xN1,i+yN1,i x_{N - 1, i} + y_{N - 1, i} is non-increasing in i i .

5. Bijection and uniqueness:
There is a bijection from Di(N1) D_i(N - 1) to Di(N) D_i(N) for 1iN 1 \le i \le N , so the pairs (xN,i,yN,i)(x_{N, i}, y_{N, i}) are unique and the hypothesis holds for 1iN1 1 \le i \le N - 1 .

6. Final pair:
It remains to show that (xN,N,yN,N)(x_{N, N}, y_{N, N}) obeys the hypothesis as well. Let s=xN,N1+yN,N1 s = x_{N, N - 1} + y_{N, N - 1} . If xN,N1yN,N11 x_{N, N - 1} - y_{N, N - 1} \le 1 , we have exhausted all possible values of xN,i+yN,i x_{N, i} + y_{N, i} greater than or equal to s s , and so xN,N+yN,Ns1 x_{N, N} + y_{N, N} \le s - 1 . It follows that xN,N=n x_{N, N} = n and yN,N=sn1 y_{N, N} = s - n - 1 by the convexity of f(t)=t2 f(t) = t^2 .

7. Explicit computation:
Otherwise, using the hypothesis, we can explicitly compute:
xN,N1=N(k1) x_{N, N - 1} = N - (k - 1)
yN+1,N=N+1+(k1)4N+2 y_{N + 1, N} = N + 1 + (k - 1) - \lfloor \sqrt{4N + 2} \rfloor
where
k=N14N+224 k = N - 1 - \lfloor \frac{\lfloor \sqrt{4N + 2} \rfloor^2}{4} \rfloor

8. Convexity argument:
We claim xN,N=xN,N11 x_{N, N} = x_{N, N - 1} - 1 and yN,N+yN,N1+1 y_{N, N} + y_{N, N - 1} + 1 . Again by the convexity of f(t)=t2 f(t) = t^2 , it is sufficient to show:
(Nk)2+(N+1+k4N+2)2>N2+(N4N+2)2 (N - k)^2 + (N + 1 + k - \lfloor \sqrt{4N + 2} \rfloor)^2 > N^2 + (N - \lfloor \sqrt{4N + 2} \rfloor)^2
2k2(24N+22)k+(2N24N+2+1)>0 2k^2 - (2 \lfloor \sqrt{4N + 2} \rfloor - 2)k + (2N - 2 \lfloor \sqrt{4N + 2} \rfloor + 1) > 0
k=N14N+224<24N+22(24N+22)28(2N24N+2+1)4 k = N - 1 - \lfloor \frac{\lfloor \sqrt{4N + 2} \rfloor^2}{4} \rfloor < \frac{2 \lfloor \sqrt{4N + 2} \rfloor - 2 - \sqrt{(2 \lfloor \sqrt{4N + 2} \rfloor - 2)^2 - 8(2N - 2 \lfloor \sqrt{4N + 2} \rfloor + 1)}}{4}

9. Simplification:
Now set g=4N+2 g = \lfloor \sqrt{4N + 2} \rfloor . This can be rewritten:
N1g24<g1(g+1)2(4N+2)2 N - 1 - \lfloor \frac{g^2}{4} \rfloor < \frac{g - 1 - \sqrt{(g + 1)^2 - (4N + 2)}}{2}
(g+1)2(4N+2)<2g24+g+12N \sqrt{(g + 1)^2 - (4N + 2)} < 2 \lfloor \frac{g^2}{4} \rfloor + g + 1 - 2N
2(g+1)2(4N+2)<4g24+2g+4(4N+2) 2 \sqrt{(g + 1)^2 - (4N + 2)} < 4 \lfloor \frac{g^2}{4} \rfloor + 2g + 4 - (4N + 2)

10. AM-GM inequality:
By AM-GM, it's sufficient to show:
1+[(g+1)2(4N+2)]<4g24+2g+4(4N+2) 1 + [(g + 1)^2 - (4N + 2)] < 4 \lfloor \frac{g^2}{4} \rfloor + 2g + 4 - (4N + 2)
g2<4g24+2 g^2 < 4 \lfloor \frac{g^2}{4} \rfloor + 2
which follows from the fact that squares are either 0 0 or 1 1 modulo 4 4 .

Thus, we have shown that Si(m)=Si(n) S_i(m) = S_i(n) for all m>n>i m > n > i .

\blacksquare

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.