Ta có: \(\left(a+b+c\right)^2=3\left(ab+bc+ac\right)\)
\(\Leftrightarrow a^2+b^2+c^2+2ab+2bc+2ac-3ab-3bc-3ac=0\)
\(\Leftrightarrow2a^2+2b^2+2c^2-2ac-2bc-2ab=0\)
\(\Leftrightarrow\left(a-b\right)^2+\left(b-c\right)^2+\left(a-c\right)^2=0\)
\(\Leftrightarrow a=b=c\)