Ta có: \(\left(a-b\right)^2+\left(b-c\right)^2+\left(c-a\right)^2=2\left(2a^2+2b^2+2c^2-2ab-2bc-2ca\right)\)
\(\Leftrightarrow\left(a-b\right)^2+\left(b-c\right)^2+\left(c-a\right)^2=2\left[\left(a-b\right)^2+\left(b-c\right)^2+\left(c-a\right)^2\right]\)
\(\Leftrightarrow-\left(a-b\right)^2-\left(b-c\right)^2-\left(c-a\right)^2=0\)
Vì \(\left\{{}\begin{matrix} -\left(a-b\right)^2\le0\\-\left(b-c\right)^2\le0\\-\left(c-a\right)^2\le0\end{matrix}\right.\Rightarrow-\left[\left(a-b\right)^2+\left(b-c\right)^2+\left(c-a\right)^2\right]\le0\)
Dấu ''= '' xảy ra \(\Leftrightarrow a=b=c\)
Vậy với a=b=c thì \(\left(a-b\right)^2+\left(b-c\right)^2+\left(c-a\right)^2=4\left(a^2+b^2+c^2-ab-ac-bc\right)\)