Maths Olympiad Prep

Library / /471 of 520

Number theory Difficulty 7.1 National olympiad, round 2 Prove it

Example 13 Let (x,y,z)(x, y, z) be a positive integer solution to the indeterminate equation
xy=z2+1x y=z^{2}+1

Prove: there exist integers a,b,c,da, b, c, d, such that
x=a2+b2,y=c2+d2,z=ac+bd,x=a^{2}+b^{2}, y=c^{2}+d^{2}, z=a c+b d,

where a,b,c,da, b, c, d satisfy: adbc=1|a d-b c|=1.

Solution

Proof:
We prove the statement by induction on zz.
When z=1z=1, xy=2xy=2, so (x,y)=(1,2)(x, y)=(1,2) or (2,1)(2,1). Thus, (x,y,z)=(x, y, z)= (1,2,1)(1,2,1) or (2,1,1)(2,1,1). By setting
(a,b,c,d)=(1,0,1,1),(1,1,0,1)(a, b, c, d)=(1,0,1,1),(1,1,0,1)

we see that the proposition holds for z=1z=1.
Now suppose (x0,y0,z0)(x_0, y_0, z_0) is a positive integer solution to (17), and that (17) holds for z1z_1.

We need to show that there exist a,b,c,dZa, b, c, d \in \mathbf{Z} such that
x0=a2+b2,y0=c2+d2,z0=ac+bdx_0=a^2+b^2, y_0=c^2+d^2, z_0=ac+bd

with adbc=1|ad-bc|=1.
Indeed, for this positive integer solution (x0,y0,z0)(x_0, y_0, z_0), where z0>1z_0 > 1, without loss of generality, assume x0y0x_0 \leqslant y_0. Consider the tuple
(x1,y1,z1)=(x0,x0+y02z0,z0x0).(x_1, y_1, z_1) = (x_0, x_0 + y_0 - 2z_0, z_0 - x_0).

Here, x1=x0>0x_1 = x_0 > 0, and y1=x0+y02z02x0y02z0=2z02+12z0>0y_1 = x_0 + y_0 - 2z_0 \geqslant 2\sqrt{x_0 y_0} - 2z_0 = 2\sqrt{z_0^2 + 1} - 2z_0 > 0. For z1z_1, we have x02x0y0=z02+1x_0^2 \leqslant x_0 y_0 = z_0^2 + 1, so x0z02+1x_0 \leqslant \sqrt{z_0^2 + 1}. Therefore, x0z0x_0 \leqslant z_0. If x0=z0x_0 = z_0, then z0(z02+1)z_0 \mid (z_0^2 + 1) implies z01z_0 \mid 1, leading to z0=1z_0 = 1, a contradiction. Hence, z1=z0x0>0z_1 = z_0 - x_0 > 0, meaning x1,y1,z1x_1, y_1, z_1 are all positive integers.

Furthermore,
x1y1=x0(x0+y02z0)=x02+x0y02z0x0=x02+z02+12x0z0=(z0x0)2+1=z12+1\begin{aligned} x_1 y_1 & = x_0 (x_0 + y_0 - 2z_0) = x_0^2 + x_0 y_0 - 2z_0 x_0 \\ & = x_0^2 + z_0^2 + 1 - 2x_0 z_0 \\ & = (z_0 - x_0)^2 + 1 = z_1^2 + 1 \end{aligned}

By the induction hypothesis, there exist p,q,m,nZp, q, m, n \in \mathbf{Z} such that
(x1,y1,z1)=(p2+q2,m2+n2,pm+qn)(x_1, y_1, z_1) = (p^2 + q^2, m^2 + n^2, pm + qn)

with pnqm=1|pn - qm| = 1.
Now let (a,b,c,d)=(p,q,p+m,q+n)(a, b, c, d) = (p, q, p + m, q + n), then
x0=x1=p2+q2=a2+b2y0=y1+x1+2z1=p2+q2+m2+n2+2(pm+qn)=(p+m)2+(q+n)2=c2+d2z0=x1+z1=p2+q2+pm+qn=p(p+m)+q(q+n)=ac+bd\begin{aligned} x_0 & = x_1 = p^2 + q^2 = a^2 + b^2 \\ y_0 & = y_1 + x_1 + 2z_1 = p^2 + q^2 + m^2 + n^2 + 2(pm + qn) \\ & = (p + m)^2 + (q + n)^2 = c^2 + d^2 \\ z_0 & = x_1 + z_1 = p^2 + q^2 + pm + qn = p(p + m) + q(q + n) \\ & = ac + bd \end{aligned}

Finally,
adbc=p(q+n)q(p+m)=pnqm=1|ad - bc| = |p(q + n) - q(p + m)| = |pn - qm| = 1

Thus, the proposition is proved.

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: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.