Maths Olympiad Prep

Track / Stage 6 / 345 of 400 #1985 of 2604

Problem 1985

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=(y−2)2andy+4=(x−2)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=(y−2)2(1) x + 4 = (y - 2)^2 \tag{1}
y+4=(x−2)2(2) y + 4 = (x - 2)^2 \tag{2}
Expand the right sides:
From (1):
x+4=y2−4y+4 x + 4 = y^2 - 4y + 4
So
x=y2−4y x = y^2 - 4y
From (2):
y+4=x2−4x+4 y + 4 = x^2 - 4x + 4
So
y=x2−4x y = x^2 - 4x
Now substitute xx from above into the expression for yy:
y=(y2−4y)2−4(y2−4y) y = (y^2 - 4y)^2 - 4(y^2 - 4y)
Let s=ys = y for simplicity:
s=(s2−4s)2−4(s2−4s) s = (s^2 - 4s)^2 - 4(s^2 - 4s)
Expand (s2−4s)2(s^2 - 4s)^2:
(s2−4s)2=s4−8s3+16s2 (s^2 - 4s)^2 = s^4 - 8s^3 + 16s^2
So
s=s4−8s3+16s2−4s2+16s s = s^4 - 8s^3 + 16s^2 - 4s^2 + 16s
s=s4−8s3+12s2+16s s = s^4 - 8s^3 + 12s^2 + 16s
Bring all terms to one side:
0=s4−8s3+12s2+15s 0 = s^4 - 8s^3 + 12s^2 + 15s
Factor ss:
s(s3−8s2+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 s3−8s2+12s+15=0s^3 - 8s^2 + 12s + 15 = 0.
Try s=−1s = -1:
(−1)3−8(−1)2+12(−1)+15=−1−8+(−12)+15=−1−8−12+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:
1−8+12+15=1−8+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:
27−72+36+15=27−72+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)3−8(−3)2+12(−3)+15=−27−72−36+15=−27−72−36+15=−99−36+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:
125−200+60+15=125−200+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 s3−8s2+12s+15s^3 - 8s^2 + 12s + 15 by (s−5)(s - 5):
Use synthetic division:
Coefficients: 1, -8, 12, 15
5 | 1 -8 12 15
5 -15 -15
1 -3 -3 0
So s3−8s2+12s+15=(s−5)(s2−3s−3)s^3 - 8s^2 + 12s + 15 = (s - 5)(s^2 - 3s - 3)
So the equation is:
s(s−5)(s2−3s−3)=0 s(s - 5)(s^2 - 3s - 3) = 0
So possible yy values are 00, 55, and the roots of s2−3s−3=0s^2 - 3s - 3 = 0.
Solve s2−3s−3=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=y2−4yx = y^2 - 4y.
If y=0y = 0:
x=02−4⋅0=0 x = 0^2 - 4 \cdot 0 = 0
But xx and yy are distinct, so x≠yx \neq y.
If y=5y = 5:
x=25−20=5 x = 25 - 20 = 5
Again, x=yx = y, not allowed.
Try y=3+212y = \frac{3 + \sqrt{21}}{2}:
x=(3+212)2−4(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+3212−2(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+321−12−4212 x = \frac{15 + 3\sqrt{21} - 12 - 4\sqrt{21}}{2}
x=3−212 x = \frac{3 - \sqrt{21}}{2}
So for y=3+212y = \frac{3 + \sqrt{21}}{2}, x=3−212x = \frac{3 - \sqrt{21}}{2}.
Similarly, for y=3−212y = \frac{3 - \sqrt{21}}{2}:
x=3+212 x = \frac{3 + \sqrt{21}}{2}
So the two distinct real solutions are:
x=3−212,y=3+212 x = \frac{3 - \sqrt{21}}{2}, \quad y = \frac{3 + \sqrt{21}}{2}
or
x=3+212,y=3−212 x = \frac{3 + \sqrt{21}}{2}, \quad y = \frac{3 - \sqrt{21}}{2}
Now compute x2+y2x^2 + y^2:
Let x=3−212x = \frac{3 - \sqrt{21}}{2}, y=3+212y = \frac{3 + \sqrt{21}}{2}.
Then
x2+y2=(3−212)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:
(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}
(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=30−6214+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.