Algebra · real student question

Three spices have unknown heat ratings. Taking the average of two of them and adding the third gives 35, 27 and 25 for the three possible choices. Find the largest of the three ratings.

Question

Three spices have heat ratings xx, yy and zz. Each time, two of them are averaged and the third is added on. The three possible combinations give

x+y2+z=35,x+z2+y=27,y+z2+x=25.\frac{x+y}{2}+z=35,\qquad \frac{x+z}{2}+y=27,\qquad \frac{y+z}{2}+x=25.

What is the largest of the three ratings?

Step-by-step solution

  1. Clear the halves before anything else. Multiplying each equation by 22 turns the system into integer coefficients, which makes the symmetry visible:

    x+y+2z=70,x+2y+z=54,2x+y+z=50.x+y+2z=70,\qquad x+2y+z=54,\qquad 2x+y+z=50.

  2. Exploit the symmetry: add all three equations. Each variable appears once with coefficient 22 and twice with coefficient 11, so every variable picks up a total coefficient of 44:

    4x+4y+4z=70+54+50=174x+y+z=1744=43.5.4x+4y+4z=70+54+50=174\quad\Longrightarrow\quad x+y+z=\frac{174}{4}=43.5.

    This single number is the key — it turns each of the three equations into a one-line subtraction.

  3. Subtract the total from each doubled equation. In x+y+2z=70x+y+2z=70 the left side is exactly (x+y+z)+z(x+y+z)+z, so

    z=7043.5=26.5.z=70-43.5=26.5.

    The same trick on the other two gives

    y=5443.5=10.5,x=5043.5=6.5.y=54-43.5=10.5,\qquad x=50-43.5=6.5.

  4. Verify all three original conditions. With x=6.5x=6.5, y=10.5y=10.5, z=26.5z=26.5:

    6.5+10.52+26.5=8.5+26.5=35,6.5+26.52+10.5=16.5+10.5=27,\frac{6.5+10.5}{2}+26.5=8.5+26.5=35,\qquad \frac{6.5+26.5}{2}+10.5=16.5+10.5=27,

    10.5+26.52+6.5=18.5+6.5=25.\frac{10.5+26.5}{2}+6.5=18.5+6.5=25.

    All three match.

  5. Pick out the largest rating. Comparing 6.56.5, 10.510.5 and 26.526.5, the hottest spice has rating

    z=26.5=532.z=26.5=\tfrac{53}{2}.

    Note the shortcut the structure hands you: the largest rating always pairs with the largest of the three given totals, because z=(its equation’s doubled value)43.5z=(\text{its equation's doubled value})-43.5.

Answer

z=26.5 (=532),with x=6.5, y=10.5z=26.5\ \left(=\tfrac{53}{2}\right),\quad\text{with }x=6.5,\ y=10.5

Need to solve a different problem like this? Open the solver →