If you had a quick eye, you would note that each of the terms of \((x-y)^2 + (y-z)^2 + (z-x)^2\) are of the form \((a-b)^2\) which on expansion gives you \( a^2 + b^2 - 2ab\). And thus you would get an \(x^2\), a \(y^2\) and a \(z^2\) and also the negative product of the two variables inside the bracket, viz \(-xy, -zx, \text { and } -yz\), twice. You have all these terms in the following three given equations,
\(x^2 - yz = -5\\
y^2 -xz = 1 \\
z^2 -xy = 7\)
Thus a connection is revealed, and we have to establish the relationship between the above three equations and \((x-y)^2 + (y-z)^2 + (z-x)^2\) .
Now we see that since the variables \(x, y \text{ and } z\) are repeated twice over the three terms, we would have \(2x^2\), \(2y^2\) and \(2z^2\) an also \(-2xz,-2yx \text { and } -2yz\). And all these are presented once in the three given equations, but only once. Thus adding the three equations, we get the expansion of \((x-y)^2 + (y-z)^2 + (z-x)^2\) divided by \(2\), and it adds to \(7 -5 + 1 = 3\). Therefore \((x-y)^2 + (y-z)^2 + (z-x)^2 \text { should be equal to } 2 * 3 = 6. \)
Answer is
Choice B.