Maths Olympiad Prep

Library / /64 of 91

, 2007

Number theory Difficulty 6.8 National Olympiad Prove it India

Define f,g,hf, g, h on Z×Z×Z\mathbb{Z} \times \mathbb{Z} \times \mathbb{Z} as follows:
f(x,y,z)=(3x+2y+2z,2x+2y+z,2x+y+2z), f(x, y, z) = (3x + 2y + 2z, 2x + 2y + z, 2x + y + 2z),
g(x,y,z)=(3x+2y2z,2x+2yz,2x+y2z), g(x, y, z) = (3x + 2y - 2z, 2x + 2y - z, 2x + y - 2z),
h(x,y,z)=(3x2y+2z,2xy+2z,2x2y+z). h(x, y, z) = (3x - 2y + 2z, 2x - y + 2z, 2x - 2y + z).
Given a primitive Pythagorean triplet (x,y,z)(x, y, z), with x>y>zx > y > z, prove that starting from (5,4,3)(5, 4, 3), the triplet (x,y,z)(x, y, z) can be obtained, in a unique way, by repeated application of f,g,hf, g, h in some order. (Example: (697,528,455)=fhgh(5,4,3)(697, 528, 455) = f \circ h \circ g \circ h(5, 4, 3).)

Solution

Let
u=u(x,y,z)=3x2y2z, u = u(x, y, z) = 3x - 2y - 2z,
v=v(x,y,z)=2x+2y+z,v = v(x, y, z) = -2x + 2y + z,
w=w(x,y,z)=2x+y+2z.w = w(x, y, z) = -2x + y + 2z.
First of all, if (x,y,z)(5,4,3)(x, y, z) \neq (5, 4, 3) is a primitive Pythagorean triplet with x>y>z>0x > y > z > 0, then, it is easy to check that u2=v2+w2u^2 = v^2 + w^2. Further, x2+(2y2z)2>09x2>4y2+4z2+8yz3x>2y+2zu(x,y,z)>0x^2 + (2y - 2z)^2 > 0 \Rightarrow 9x^2 > 4y^2 + 4z^2 + 8yz \Rightarrow 3x > 2y + 2z \Rightarrow u(x, y, z) > 0.
Similarly, we have 4y>3z4yz3z2>04y2+z2+4yz>4x22y+z>2xv(x,y,z)>04y > 3z \Rightarrow 4yz - 3z^2 > 0 \Rightarrow 4y^2 + z^2 + 4yz > 4x^2 \Rightarrow 2y + z > 2x \Rightarrow v(x, y, z) > 0.
Next, (3y4z)2>025x2+(3y4z)2>25x225x2>16y2+9z2+24yz25x2>(4y+3x)25x>4y+3zu(x,y,z)>v(x,y,z)(3y - 4z)^2 > 0 \Rightarrow 25x^2 + (3y - 4z)^2 > 25x^2 \Rightarrow 25x^2 > 16y^2 + 9z^2 + 24yz \Rightarrow 25x^2 > (4y + 3x)^2 \Rightarrow 5x > 4y + 3z \Rightarrow u(x, y, z) > v(x, y, z).

Similarly, we have u(x,y,z)>w(x,y,z)u(x, y, z) > w(x, y, z). Also, since x>yx > y, it follows that u(x,y,z)>w(x,y,z)u(x, y, z) > -w(x, y, z). And, y>zy > z implies v(x,y,z)>w(x,y,z)v(x, y, z) > w(x, y, z). Finally, we notice that if y+z>xy + z > x then it follows that u(x,y,z)<xu(x, y, z) < x. Now, let
f1(x,y,z)=(u,v,w), f_1(x, y, z) = (u, v, w),
g1(x,y,z)=(u,v,w), g_1(x, y, z) = (u, v, -w),
h1(x,y,z)=(u,w,v). h_1(x, y, z) = (u, -w, v).
Then, it is easy to see that f1(f(x,y,z))=g1(g(x,y,z))=h1(h(x,y,z))=(x,y,z)f_1(f(x, y, z)) = g_1(g(x, y, z)) = h_1(h(x, y, z)) = (x, y, z). Further, it is easy to check that gcd(u,v,w)=gcd(x,y,z)\text{gcd}(u, v, w) = \text{gcd}(x, y, z).

Now, we shall prove the result by contradiction. If there are primitive Pythagorean triplets that are not obtained from (5,4,3)(5, 4, 3) by repeated application of f,gf, g and hh in some order, then let (a,b,c)(a, b, c) be the triplet that cannot be obtained from (5,4,3)(5, 4, 3) with a>b>c>0a > b > c > 0 and with least possible value for aa. So, all the primitive Pythagorean triplets (x,y,z)(x, y, z) with a>x>y>z>0a > x > y > z > 0 are obtained from (5,4,3)(5, 4, 3) (uniquely). Clearly, we have a>5a > 5.
Now, let f1(a,b,c)=(k,l,m)f_1(a, b, c) = (k, l, m). Then, g1(a,b,c)=(k,l,m)g_1(a, b, c) = (k, l, -m) and h1(a,b,c)=(k,m,l)h_1(a, b, c) = (k, -m, l). As noted before, kk and ll are positive, and k>l,k>mk > l, k > m and k>mk > -m. Thus, there is a unique Δ{f1,g1,h1}\Delta \in \{f_1, g_1, h_1\} such that Δ(a,b,c)=(r,s,t)\Delta(a, b, c) = (r, s, t) with r>s>t>0r > s > t > 0. Also, from the previous calculations, we have

that a>ra > r. Thus, by the minimality of aa, it follows that (r,s,t)(r, s, t) is obtained from (5,4,3)(5, 4, 3), in a unique way, by repeated applications of f,g,hf, g, h in some order. But, now Δ(a,b,c)=(r,s,t)\Delta(a, b, c) = (r, s, t) implies that by applying one of f,gf, g and hh to (r,s,t)(r, s, t) we would get (a,b,c)(a, b, c). Therefore, we can obtain (a,b,c)(a, b, c) from (5,4,3)(5, 4, 3) by repeated applications of f,g,hf, g, h in some order. This is a contradiction. Uniqueness follows from the uniqueness of Δ\Delta. This completes the solution.

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.