Maths Olympiad Prep

Library / China Team Selection Test /67 of 92

China Team Selection Test

Algebra Difficulty 8.4 Shortlist Find the answer

FIx positive integer nn. Prove: For any positive integers a,b,ca,b,c not exceeding 3n2+4n3n^2+4n, there exist integers x,y,zx,y,z with absolute value not exceeding 2n2n and not all 00, such that ax+by+cz=0ax+by+cz=0

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

Fix a positive integer n n . We aim to prove that for any positive integers a,b,c a, b, c not exceeding 3n2+4n 3n^2 + 4n , there exist integers x,y,z x, y, z with absolute value not exceeding 2n 2n and not all zero, such that ax+by+cz=0 ax + by + cz = 0 .

Without loss of generality, assume c=max⁡(a,b,c) c = \max(a, b, c) .

Consider the set of integers x x and y y such that 0≤x,−y≤2n 0 \leq x, -y \leq 2n and x2+y2>0 x^2 + y^2 > 0 . If any value of ax+by ax + by in this set is 0mod  c 0 \mod c , the norm is at most 2cn 2cn , and we are done. Otherwise, these 4n2+4n 4n^2 + 4n values are all nonzero modulo c c . Since c≤3n2+4n c \leq 3n^2 + 4n , there must be duplicates modulo c c .

If ax1+by1≡ax2+by2mod  c ax_1 + by_1 \equiv ax_2 + by_2 \mod c , then a(x2−x1)+b(y2−y1)≡0mod  c a(x_2 - x_1) + b(y_2 - y_1) \equiv 0 \mod c . If x2−x1 x_2 - x_1 and y2−y1 y_2 - y_1 are not both positive or both negative, we are done. Otherwise, assume x2>x1 x_2 > x_1 and y2>y1 y_2 > y_1 . We must have (x2+y2)−(x1+y1)>2n (x_2 + y_2) - (x_1 + y_1) > 2n because otherwise a(x2−x1)+b(y2−y1) a(x_2 - x_1) + b(y_2 - y_1) is positive but at most c(x2−x1)+c(y2−y1) c(x_2 - x_1) + c(y_2 - y_1) , which is at most 2nc 2nc .

The size x+y x + y of ax+by ax + by is between −2n-2n and 2n 2n inclusive, so there are at most two choices of (x,y) (x, y) for any fixed residue modulo c c . If there are three, the largest and smallest have a size difference over 4n 4n , which is a contradiction.

Since c≤3n2+4n c \leq 3n^2 + 4n and we have 4n2+4n 4n^2 + 4n values, there must be at least n2+1 n^2 + 1 pairs ((x1,y1),(x2,y2)) ((x_1, y_1), (x_2, y_2)) such that ax1+by1≡ax2+by2mod  c ax_1 + by_1 \equiv ax_2 + by_2 \mod c with x2>x1 x_2 > x_1 and y2>y1 y_2 > y_1 . This gives a(x2−x1)+b(y2−y1)≡0mod  c a(x_2 - x_1) + b(y_2 - y_1) \equiv 0 \mod c with (y2−y1)+(x2−x1)>2n (y_2 - y_1) + (x_2 - x_1) > 2n .

If we also have a(x3−x4)+b(y3−y4)≡0mod  c a(x_3 - x_4) + b(y_3 - y_4) \equiv 0 \mod c with x3>x4 x_3 > x_4 and y3>y4 y_3 > y_4 , then:
a(x2−x1−x3+x4)+b(y2−y1−y3+y4)≡0mod  c. a(x_2 - x_1 - x_3 + x_4) + b(y_2 - y_1 - y_3 + y_4) \equiv 0 \mod c.
This implies that the difference has a size of norm at most 2n 2n and is divisible by c c , allowing us to add the appropriate cz cz and finish.

If all pairs ax1+by1≡ax2+by2 ax_1 + by_1 \equiv ax_2 + by_2 have (x2−x1,y2−y1) (x_2 - x_1, y_2 - y_1) fixed, then x2−x1=A x_2 - x_1 = A and y2−y1=B y_2 - y_1 = B with A+B>2n A + B > 2n . The range constraints give at most (2n+1−A)(2n+1−B)≤n2 (2n + 1 - A)(2n + 1 - B) \leq n^2 choices of (x1,y1) (x_1, y_1) , which is a contradiction unless A+B=2n+1 A + B = 2n + 1 .

Thus, Aa+Bb≡0mod  c Aa + Bb \equiv 0 \mod c with A+B=2n+1 A + B = 2n + 1 . Since 0≤Aa+Bb≤(2n+1)c 0 \leq Aa + Bb \leq (2n + 1)c , it must be a multiple of c c , and we are done by adding cz cz unless it is exactly (2n+1)c (2n + 1)c . This implies A(c−a)+B(c−b)=0 A(c - a) + B(c - b) = 0 , and since A A and B B are nonzero, either c=a c = a or c=b c = b , which are trivial cases.

Therefore, the proof is complete.

The answer is: 0.\boxed{0}.

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

Source: Omni-MATH, licensed Apache-2.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.