\(a^2+b^2+c^2-ab-ac-bc=0\\\Leftrightarrow 2a^2+2b^2+2c^2-2ab-2ac-2bc=0\\\Leftrightarrow (a^2-2ab+b^2)+(b^2-2bc+c^2)+(a^2-2ac+c^2)=0\\\Leftrightarrow (a-b)^2+(b-c)^2+(a-c)^2=0\)
Ta thấy: \(\left(a-b\right)^2\ge0\forall a;b\)
\(\left(b-c\right)^2\ge0\forall b;c\)
\(\left(a-c\right)^2\ge0\forall a;c\)
\(\Rightarrow\left(a-b\right)^2+\left(b-c\right)^2+\left(a-c\right)^2\ge0\forall a;b;c\)
Mặt khác: \(\left(a-b\right)^2+\left(b-c\right)^2+\left(a-c\right)^2=0\)
nên: \(\left\{{}\begin{matrix}a-b=0\\b-c=0\\a-c=0\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}a=b\\b=c\\a=c\end{matrix}\right.\)
\(\Leftrightarrow a=b=c\left(dpcm\right)\)
#\(Toru\)