Maths Olympiad Prep

Library / /30 of 31

Algebra Difficulty 7.4 National olympiad, round 2 Prove it Belarus

The polynomial P(x,y)P(x, y) of two variables with integer coefficients satisfies the following two conditions: 1) for every integer aa there exists exactly one integer yy such that P(a,y)=0P(a, y) = 0; and 2) for every integer bb there exists exactly one integer xx such that P(x,b)=0P(x, b) = 0.
a) Prove that if the degree of P(x,y)P(x, y) is two then this polynomial is divisible by xy+Cx - y + C or x+y+Cx + y + C where CC is integer.
b) Does there exist such polynomial P(x,y)P(x, y) which is not divisible by any polynomial of the form xy+Cx - y + C and x+y+Cx + y + C where CC is integer? (Mikhail Karpuk)

Solution

a) Let us prove the following
Lemma. If for each integer xx the value of the polynomial Q(x)=bx2+cx+dQ(x) = bx^2 + cx + d with integer coefficients is a square of an integer, then there exist integers mm and nn such that b=m2b = m^2, c=2mnc = 2mn, d=n2d = n^2 and, in particular, Q(x)=(mx+n)2Q(x) = (mx + n)^2.

Proof of the lemma. If b=0b = 0, then for each integer xx the difference Q(x+1)Q(x)=cQ(x+1) - Q(x) = c is constant. Whereas the differences between neighboring squares of integers infinitely grow, so if c0c \ne 0 then the non-constant polynomial Q(x)Q(x) takes the same values infinitely many times, which is impossible. If b=c=0b = c = 0 then dd is a perfect square and the numbers m=0m = 0 and n=dn = \sqrt{d} fit in.

Let b0b \neq 0, then, obviously, b>0b > 0, since otherwise Q(x)Q(x) will be negative for sufficiently large xx. If the discriminant c24bdc^2 - 4bd is zero, then Q(x)=b(x+c2b)2Q(x) = b(x + \frac{c}{2b})^2. Since 4b2Q(x)=b(2bx+c)24b^2Q(x) = b(2bx + c)^2 is a perfect square for every integer xx, bb is a perfect square. Let b=e2b = e^2, then Q(x)=(ex+c2e)2Q(x) = (ex + \frac{c}{2e})^2 is a perfect square for every integer value of xx, which implies that cc is a multiple of 2e2e and QQ satisfies the lemma statement.

If the discriminant c24bdc^2 - 4bd is not equal to zero, then among the prime divisors of the values Q(x)Q(x) in integer points choose a prime divisor pp, greater than c24bd|c^2 - 4bd|. Let Q(x)Q(x) be a multiple of pp. Consider Q(x+p)Q(x+p):
Q(x+p)=Q(x)+bp2+p(2bx+c).(1) Q(x+p) = Q(x) + bp^2 + p(2bx + c). \quad (1)
Note that (2bx+c)2=4aQ(x)+c24bd(2bx + c)^2 = 4aQ(x) + c^2 - 4bd is not a multiple of pp, so 2bx+c2bx + c is not a multiple of pp and from (1) we obtain
vp(Q(x+p))=vp(Q(x))+1, v_p(Q(x+p)) = v_p(Q(x)) + 1,
which is impossible because Q(x)Q(x) and Q(x+p)Q(x+p) are perfect squares. Therefore, this case is impossible and the lemma is proved.

Let's move on to solving the problem itself. Denote the polynomial given in the condition by P(x,y)P(x, y). We will show that it can be decomposed into a product of two polynomials of the first degree with rational coefficients. Let
P(x,y)=a0x2+a1y2+a2xy+a3x+a4y+a5. P(x, y) = a_0x^2 + a_1y^2 + a_2xy + a_3x + a_4y + a_5.
Suppose a10a_1 \neq 0. Consider P(x,y)P(x, y) as a square trinomial of the variable yy:
P(y)=a1y2+(a2x+a4)y+(a0x2+a3x+a5). P(y) = a_1y^2 + (a_2x + a_4)y + (a_0x^2 + a_3x + a_5).
Since this square trinomial has an integer root for any integer value xx, its discriminant
D(x)=(a2x+a4)24a1(a0x2+a3x+a5) D(x) = (a_2x + a_4)^2 - 4a_1(a_0x^2 + a_3x + a_5)
is a perfect square for all integer values of xx. The degree of this polynomial is at most two, so we can apply the lemma to it. Hence D(x)=(mx+n)2D(x) = (mx + n)^2 for some integers mm and nn. Then the polynomial P(y)P(y) can be expanded into a product of two linear factors with rational coefficients P(y)=a1(yy1)(yy2)P(y) = a_1(y - y_1)(y - y_2), which can be written as
P(x,y)=14a1(2a1y(a2x+a4)(mx+n))(2a1y(a2x+a4)+(mx+n)). P(x, y) = \frac{1}{4a_1}(2a_1y - (a_2x + a_4) - (mx + n))(2a_1y - (a_2x + a_4) + (mx + n)).
A similar expansion can be written in the case a00a_0 \neq 0.

Suppose now that a0=a1=0a_0 = a_1 = 0. Since this polynomial has degree 2, a20a_2 \neq 0 and
P(x,y)=a2xy+a3x+a4y+a5. P(x, y) = a_2xy + a_3x + a_4y + a_5.
By the problem statement, for any integer value xx the number y=a3x+a5a2x+a4y = \frac{a_3x+a_5}{a_2x+a_4} is an integer, because P(x,y)=0P(x, y) = 0 can be true only for it. Hence, for any integer value xx the number
a2(a3x+a5)a3(a2x+a4)=a2a5a3a4 a_2(a_3x + a_5) - a_3(a_2x + a_4) = a_2a_5 - a_3a_4
is a multiple of the denominator a2x+a4a_2x + a_4, which is possible only if a2a5=a3a4a_2a_5 = a_3a_4. The number t=a3a2t = \frac{a_3}{a_2} satisfies the equality a5a4=a3a2=t\frac{a_5}{a_4} = \frac{a_3}{a_2} = t (if a4=0a_4 = 0 then a5=0a_5 = 0, and the case a3=0a_3 = 0 is obviously impossible). Then a3x+a5a2x+a4=t\frac{a_3x+a_5}{a_2x+a_4} = t for all integers xx, which contradicts the problem statement for b=tb = t. Therefore this case is impossible.

Thus, the polynomial P(x,y)P(x, y) decomposes into a product of two polynomials of the first degree with rational coefficients, we write this equality in the form
MP(x,y)=(k1x+l1y+C1)(k2x+l2y+C2), M \cdot P(x, y) = (k_1x + l_1y + C_1)(k_2x + l_2y + C_2),
where all coefficients are integers. Note that the equations k1x+l1y+C1=0k_1x + l_1y + C_1 = 0 and k2x+l2y+C2=0k_2x + l_2y + C_2 = 0 are linear Diophantine equations and there are three alternatives for each of them: 1) the equation has no entire solutions; 2) the equation has the constant solution on some variable; 3) the general solution of the equation has the form (x0+lt,y0kt),tZ(x_0 + lt, y_0 - kt), t \in \mathbb{Z}. Moreover, the second alternative is impossible according to the problem condition, and in the third possibility we can always assume that the coefficients in the pairs (k1,l1)(k_1, l_1) and (k2,l2)(k_2, l_2) are coprime.

If li=1|l_i| = 1, then all solutions of P(a,y)=0P(a, y) = 0 belongs to the corresponding bracket, so the first possibility holds for the other bracket and, consequently, ki|k_i| is also equal to one, which gives the required multiplier in the problem condition. The case ki=1|k_i| = 1 is considered similarly.

Consider the remaining case: all coefficients kik_i and lil_i are at least two in absolute value. Note that in the series of positive integers, each l1|l_1|-th number from the first bracket is a solution to the equation P(x,b)=0P(x, b) = 0, as well as each l2|l_2|-th from the second bracket. Hence 1l1+1l2=1\frac{1}{|l_1|} + \frac{1}{|l_2|} = 1 and similarly 1k1+1k2=1\frac{1}{|k_1|} + \frac{1}{|k_2|} = 1. Under our assumptions this is only possible for l1=l2=k1=k2=2|l_1| = |l_2| = |k_1| = |k_2| = 2, which contradicts the fact that the coefficients must be coprime.

b) Consider the polynomial P(x,y)=(3x2y)(3x4y+1)(3x4y1)P(x, y) = (3x - 2y)(3x - 4y + 1)(3x - 4y - 1). Each of its factors is a linear function, and the zeros of these factors are the pairs (2k,3k)(2k, 3k), (4k+1,3k+1)(4k + 1, 3k + 1) and (4k1,3k1)(4k - 1, 3k - 1), kZk \in \mathbb{Z}. It is easy to see that this polynomial satisfies the condition.

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 and solution reproduced as published; topic and difficulty added by this site.