Có (a+b+c)2 = 3(ab+bc+ac)
\(\Rightarrow a^2+b^2+c^2+2ab+2bc+2ac=3ab+3bc+3ac\)
\(\Rightarrow a^2+b^2+c^2+2ab+2bc+2ac-3ab-3bc-3ac\)\(=0\)
\(\Rightarrow a^2+b^2+c^2-ab-bc-ac\)\(=0\)
\(\Rightarrow a^2+b^2+c^2=ab+bc+ac\)
\(\Rightarrow2a^2+2b^2+2c^2=2ab+2bc+2ac\)
\(\Rightarrow a^2-2ab+b^2+b^2-2bc+c^2+a^2-2ac+c^2\)\(=0\)
\(\Rightarrow\left(a-b\right)^2+\left(b-c\right)^2+\left(a-c\right)^2=0\)
\(\Rightarrow a=b=c\)