Let B=x−y1+y−z1+z−x1=23 and A=(x−y)21+(y−z)21+(z−x)21 then
B2=49=A+2((x−y)(y−z)1+(x−y)(z−x)1+(y−z)(z−x)1).
Let's rearrange the second summand of the last expression:
(x−y)(y−z)1+(x−y)(z−x)1+(y−z)(z−x)1=(x−y)(y−z)(z−x)(z−x)+(y−z)+(x−y)=0.
Therefore, A=49.
Though it is not required in the problem, we should check that there are numbers x, y, z which satisfy the given condition. Let x=2, y=1, z=0 then (x−y)=1, (y−z)=1, (z−x)=−2, B=1+1−21=23, and A=1+1+41=49.