\(a^2+b^2+c^2=ab+bc+ca\Leftrightarrow2\left(a^2+b^2+c^2\right)=2ab+2bc+2ca\)
\(\Leftrightarrow\left(a-b\right)^2+\left(b-c\right)^2+\left(c-a\right)^2=0\Leftrightarrow a=b=c\)
\(a^2+b^2+c^2=ab+bc+ca\)
\(\Leftrightarrow2a^2+2b^2+2c^2=2ab+2bc+2ca\)
\(\Leftrightarrow2a^2+2b^2+2c^2-2ab-2bc-2ca=0\)
\(=\left(a^2-2ab+b^2\right)+\left(a^2-2ac+c^2\right)+\left(b^2-2bc+c^2\right)=0\)
\(\Leftrightarrow\left(a-b\right)^2+\left(a-c\right)^2+\left(b-c\right)^2=0\)
Vì \(\hept{\begin{cases}\left(a-b\right)^2\ge0\\\left(a-c\right)^2\ge0\\\left(b-c\right)^2\ge0\end{cases}}\Rightarrow\)\(\left(a-b\right)^2+\left(a-c\right)^2+\left(b-c\right)^2\ge0\)
Dấu "="\(\Leftrightarrow\hept{\begin{cases}\left(a-b\right)^2=0\\\left(a-c\right)^2=0\\\left(b-c\right)^2=0\end{cases}}\)\(\Leftrightarrow\hept{\begin{cases}a-b=0\\b-c=0\\c-a=0\end{cases}}\Leftrightarrow\hept{\begin{cases}a=b\\b=c\\c=a\end{cases}}\)
Vậy a = b = c (đpcm)
a2 + b2 + c2 = ab + bc + ca
<=> 2(a2 + b2 + c2) = 2(ab + bc + ca)
<=> a2 - 2ab+ b2 + c2 - 2ca+ a2 + b2 - 2bc+ c2 = 0
<=> (a - b)2 + (b - c)2 + (c - a)2 = 0
<=> a = b = c