Maths Olympiad Prep

Track / Stage 6 / 345 of 400 #1825 of 2444

Problem 1825

National Olympiad, first round
Algebra Difficulty 6.7 Prove it Mathematical competitions in Croatia · Croatia

Let xx and yy be distinct real numbers such that
x+4=(y2)2andy+4=(x2)2. x + 4 = (y - 2)^2 \quad \text{and} \quad y + 4 = (x - 2)^2.
Determine x2+y2x^2 + y^2.

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.

Next problem →

Official solution

Let us write the given equations:
x+4=(y2)2(1) x + 4 = (y - 2)^2 \tag{1}
y+4=(x2)2(2) y + 4 = (x - 2)^2 \tag{2}
Expand the right sides:
From (1):
x+4=y24y+4 x + 4 = y^2 - 4y + 4
So
x=y24y x = y^2 - 4y
From (2):
y+4=x24x+4 y + 4 = x^2 - 4x + 4
So
y=x24x y = x^2 - 4x
Now substitute xx from above into the expression for yy:
y=(y24y)24(y24y) y = (y^2 - 4y)^2 - 4(y^2 - 4y)
Let s=ys = y for simplicity:
s=(s24s)24(s24s) s = (s^2 - 4s)^2 - 4(s^2 - 4s)
Expand (s24s)2(s^2 - 4s)^2:
(s24s)2=s48s3+16s2 (s^2 - 4s)^2 = s^4 - 8s^3 + 16s^2
So
s=s48s3+16s24s2+16s s = s^4 - 8s^3 + 16s^2 - 4s^2 + 16s
s=s48s3+12s2+16s s = s^4 - 8s^3 + 12s^2 + 16s
Bring all terms to one side:
0=s48s3+12s2+15s 0 = s^4 - 8s^3 + 12s^2 + 15s
Factor ss:
s(s38s2+12s+15)=0 s(s^3 - 8s^2 + 12s + 15) = 0
Since xx and yy are distinct, s=0s = 0 is a possible value, but let's factor the cubic:
Let us try rational roots for s38s2+12s+15=0s^3 - 8s^2 + 12s + 15 = 0.
Try s=1s = -1:
(1)38(1)2+12(1)+15=18+(12)+15=1812+15=21+15=6 (-1)^3 - 8(-1)^2 + 12(-1) + 15 = -1 - 8 + (-12) + 15 = -1 - 8 - 12 + 15 = -21 + 15 = -6
Try s=1s = 1:
18+12+15=18+12+15=7+12+15=5+15=20 1 - 8 + 12 + 15 = 1 - 8 + 12 + 15 = -7 + 12 + 15 = 5 + 15 = 20
Try s=3s = 3:
2772+36+15=2772+36+15=45+36+15=9+15=6 27 - 72 + 36 + 15 = 27 - 72 + 36 + 15 = -45 + 36 + 15 = -9 + 15 = 6
Try s=3s = -3:
(3)38(3)2+12(3)+15=277236+15=277236+15=9936+15=135+15=120 (-3)^3 - 8(-3)^2 + 12(-3) + 15 = -27 - 72 - 36 + 15 = -27 - 72 - 36 + 15 = -99 - 36 + 15 = -135 + 15 = -120
Try s=5s = 5:
125200+60+15=125200+60+15=75+60+15=15+15=0 125 - 200 + 60 + 15 = 125 - 200 + 60 + 15 = -75 + 60 + 15 = -15 + 15 = 0
So s=5s = 5 is a root.
Divide s38s2+12s+15s^3 - 8s^2 + 12s + 15 by (s5)(s - 5):
Use synthetic division:
Coefficients: 1, -8, 12, 15
5 | 1 -8 12 15
5 -15 -15
1 -3 -3 0
So s38s2+12s+15=(s5)(s23s3)s^3 - 8s^2 + 12s + 15 = (s - 5)(s^2 - 3s - 3)
So the equation is:
s(s5)(s23s3)=0 s(s - 5)(s^2 - 3s - 3) = 0
So possible yy values are 00, 55, and the roots of s23s3=0s^2 - 3s - 3 = 0.
Solve s23s3=0s^2 - 3s - 3 = 0:
s=3±9+122=3±212 s = \frac{3 \pm \sqrt{9 + 12}}{2} = \frac{3 \pm \sqrt{21}}{2}
Now recall x=y24yx = y^2 - 4y.
If y=0y = 0:
x=0240=0 x = 0^2 - 4 \cdot 0 = 0
But xx and yy are distinct, so xyx \neq y.
If y=5y = 5:
x=2520=5 x = 25 - 20 = 5
Again, x=yx = y, not allowed.
Try y=3+212y = \frac{3 + \sqrt{21}}{2}:
x=(3+212)24(3+212) x = \left(\frac{3 + \sqrt{21}}{2}\right)^2 - 4 \left(\frac{3 + \sqrt{21}}{2}\right)
Compute (3+212)2\left(\frac{3 + \sqrt{21}}{2}\right)^2:
=(3+21)24=9+621+214=30+6214=15+3212 = \frac{(3 + \sqrt{21})^2}{4} = \frac{9 + 6\sqrt{21} + 21}{4} = \frac{30 + 6\sqrt{21}}{4} = \frac{15 + 3\sqrt{21}}{2}
So
x=15+32122(3+21) x = \frac{15 + 3\sqrt{21}}{2} - 2(3 + \sqrt{21})
x=15+3212(6+221) x = \frac{15 + 3\sqrt{21}}{2} - (6 + 2\sqrt{21})
x=15+321124212 x = \frac{15 + 3\sqrt{21} - 12 - 4\sqrt{21}}{2}
x=3212 x = \frac{3 - \sqrt{21}}{2}
So for y=3+212y = \frac{3 + \sqrt{21}}{2}, x=3212x = \frac{3 - \sqrt{21}}{2}.
Similarly, for y=3212y = \frac{3 - \sqrt{21}}{2}:
x=3+212 x = \frac{3 + \sqrt{21}}{2}
So the two distinct real solutions are:
x=3212,y=3+212 x = \frac{3 - \sqrt{21}}{2}, \quad y = \frac{3 + \sqrt{21}}{2}
or
x=3+212,y=3212 x = \frac{3 + \sqrt{21}}{2}, \quad y = \frac{3 - \sqrt{21}}{2}
Now compute x2+y2x^2 + y^2:
Let x=3212x = \frac{3 - \sqrt{21}}{2}, y=3+212y = \frac{3 + \sqrt{21}}{2}.
Then
x2+y2=(3212)2+(3+212)2 x^2 + y^2 = \left(\frac{3 - \sqrt{21}}{2}\right)^2 + \left(\frac{3 + \sqrt{21}}{2}\right)^2
Compute each term:
(3212)2=9621+214=306214 \left(\frac{3 - \sqrt{21}}{2}\right)^2 = \frac{9 - 6\sqrt{21} + 21}{4} = \frac{30 - 6\sqrt{21}}{4}
(3+212)2=9+621+214=30+6214 \left(\frac{3 + \sqrt{21}}{2}\right)^2 = \frac{9 + 6\sqrt{21} + 21}{4} = \frac{30 + 6\sqrt{21}}{4}
Add:
x2+y2=306214+30+6214=604=15 x^2 + y^2 = \frac{30 - 6\sqrt{21}}{4} + \frac{30 + 6\sqrt{21}}{4} = \frac{60}{4} = 15
Answer: x2+y2=15x^2 + y^2 = 15.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.