We index these equations as (1), (2), and (3), respectively. Taking (1)−(2), we get
(x−z)(y−4)=0.
Denote x′=x−4, y′=y−4, z′=z−4. Thus, the above equation can be equivalently written as
(x′−z′)y′=0.(1′)
Similarly, by taking (2)−(3), we get
(y′−x′)z′=0.(2′)
By taking (3)−(1), we get
(z′−y′)x′=0.(3′)
From (3′), we have the following two cases.
Case 1: x′=0.
Plugging this into (1′) and (2′), we get y′z′=0. Thus, y′=0 or z′=0.
Because we only need to compute all possible values of x, without loss of generality, we only need to analyze one case that y′=0.
Plugging x′=0 and y′=0 into (1), we get a feasible solution x=4, y=4, z=11.
Case 2: x′=0 and z′−y′=0.
Plugging this into (1′) and (2′), we get (x′−y′)y′=0.
Case 2.1: y′=0.
Thus, z′=0. Plugging y′=0 and z′=0 into (1), we get a feasible solution x=11, y=4, z=4.
Case 2.2: y′=0 and x′=y′.
Thus, x′=y′=z′. Plugging these into (1), we get (x,y,z)=(−10,−10,−10) or (6,6,6).
Putting all cases together, S={4,11,−10,6}. Therefore, the sum of the squares of the elements of S is
42+112+(−10)2+62=(273) .
~ Steven Chen (Professor Chen Education Palace, www.professorchenedu.com)
Solution 3 (Quadratic Formula and Vieta's Formulas)
We index these equations as (1), (2), and (3), respectively. Using equation (1), we get z=460−xy=15−4xy We need to solve for x, so we plug this value of z into equation (3) to get:
15x−4x2y−4y=604y∗x2−15x+(60+4y)=0
We use the quadratic formula to get possible values of x:
x=2y15±152−4(4y)(60+4y)x=y30±2225−60y+4y2x=y30±2(2y−15)2x=y30±2(2y−15)x=y30±(4y−30)
Here, we have two cases, (plus) and (minus) In the plus case, we have:
x=y(30+4y−30)x=4
So, our first case gives us one value of x, which is 4. In the minus case, we have:
x=y30−(4y−30)x=y60−4yx=y60−4
For this case, we now have values of x in terms of y. Plugging this expression for x in equation (1), we get
60−4y+4z=604z=4yz=y
So we know that for this case, z = y. Using this information in equation (2), we get
y2+y240−16=60y2+y240−76=0
Multiplying both sides by y, we get a cubic expression:
y3+0y2−76y+240=0
Here we just have to figure out the values of y that make this equation true. I used Vieta's Formulas to get a possible list, but you could also use the rational root theorem and synthetic division to find these. We call the three values of y that solve this equation: y1,y2,y3 Using Vieta's Formulas, you get these three expressions:
y1+y2+y3=0y1∗y2∗y3=−240(y1∗y2)+(y2∗y3)+(y1∗y3)=−76
In addition, we know that y∣60, because of our expression for x. Since the three values of y multiply to a negative number but also add to 0, we know that one value is negative and the other two are positive, and that the absolute value of the negative value is greater than both of the positive values. List of possible values for y are {−60,−30,−20,−15,−12,−10,−6,−5,−4,−3,−2,−1,1,2,3,4,5,6,10,12,15,20,30,60} From a list of these values, the only values that work are y1=−10,y2=6,y3=4 because
−10+6+4=0−10∗6∗4=−240(−10∗6)+(−10∗4)+(6∗4)=−60−40+24=−76
Plugging in these values for y into our expression for x, we get:
x=−1060−4=−10x=660−4=6x=460−4=11
So, now we have accounted for both cases, and we have 4 values of x = {−10,4,6,11} Squaring all these terms we get: 100 + 16 + 36 + 121 = 273, so our answer is (273)
~Cardtricks
Solution 4 (even more Vieta's)
Since all three equations are in the form aK+4a=60 where K=xyz, we can rearrange this to see that x, y, and z all satisfy
4a2−60a+K=0.
Let this quadratic have roots a1 and a2. Then, there are two cases to consider: two of x, y, z are equal to a1 and the third is equal to a2, or all of x, y, z are equal to a1.
Case 1: WLOG let x=y=a1 and z=a2.
Then by Vieta's,
x+z=15(1)xz=4x2z(2)
which gives x=y=4 and z=11. But we can swap x, y, and z however we like, so this also gives x=11 as a solution. In total, this case yields x=4 and x=11 as possible values of x.
Case 2: WLOG let x=y=z=a1.
Again, by Vieta's,
x+a2=15(1)xa2=4x3(2)
We can use (2) to isolate a2 in terms of x, then plug that into (1) to get that x2+4x−60=0. This yields x=−10 and x=6 as additional possible values of x.
In all, x can be any of {4,11,−10,6}, so the requested answer is 42+112+(−10)2+62=273.
Solution 5
We index these equations as (1), (2), and (3) respectively (same as solution 2). There are two possible cases:
Case 1: x=±4
In this case, we simply plug in x=4 and x=−4. We note that x=4 is a valid case.
Case 2: x=±4
In this case, using equation (3), we get y=15−4xz. Plugging that into equation (1), we get z=16−x2240−60x. Plugging that expression back into the original expression for y we obtain y=15−16−x260x−15x2. Now we plug these two expressions into equation (2):
(15−16−x260x−15x2)(16−x2240−60x)=60−4x
multiplying both sides by (16−x2) and factoring, we get:
(15(4−x)(4+x)−60x+15x2)((4+x)(4−x)60(4−x))=4(15−x)(4+x)(4−x)
which simplifies to:
x3−7x2−104x+660=0
we note that x=6 is a root. Factoring, we get the other roots, -10 and 11.
Our desired answer is the sum of the square of all these roots: