Bài 2 :
\(\left(a+b+c\right)^2=3\left(ab+bc+ca\right)\)
<=> a^2 + b^2 + c^2 + 2ab + 2bc + 2ca = 3ab + 3bc + 3ca
<=> a^2 + b^2 + c^2 = ab + bc + ca
<=> 2a^2 + 2b^2 + 2c^2 = 2ab + 2bc + 2ca
<=> ( a - b )^2 + ( b - c )^2 + ( c - a )^2 = 0
<=> a = b = c
Bài 1 :
a^2 + b^2 + 9 = ab + 3a + 3b
<=> 2a^2 + 2b^2 + 18 = 2ab + 6a + 6b
<=> a^2 - 2ab + b^2 + a^2 - 6a + 9 + b^2 - 6a + 9 = 0
<=> ( a - b)^2 + ( a - 3)^2 + ( b - 3)^2 = 0
Dấu ''='' xảy ra khi a = b = 3
1.
\(\Leftrightarrow2a^2+2b^2+18=2ab+6a+6b\)
\(\Leftrightarrow\left(a^2-2ab+b^2\right)+\left(a^2-6a+9\right)+\left(b^2-6b+9\right)=0\)
\(\Leftrightarrow\left(a-b\right)^2+\left(a-3\right)^2+\left(b-3\right)^2=0\)
\(\Leftrightarrow\left\{{}\begin{matrix}a-b=0\\a-3=0\\b-3=0\end{matrix}\right.\) \(\Leftrightarrow a=b=3\)
2.
\(\left(a+b+c\right)^2=3\left(ab+bc+ca\right)\)
\(\Leftrightarrow a^2+b^2+c^2+2ab+2bc+2ca=3ab+3bc+3ca\)
\(\Leftrightarrow2a^2+2b^2+2c^2-2ab-2bc-2ca=0\)
\(\Leftrightarrow\left(a^2-2ab+b^2\right)+\left(b^2-2bc+c^2\right)+\left(c^2-2ca+a^2\right)=0\)
\(\Leftrightarrow\left(a-b\right)^2+\left(b-c\right)^2+\left(c-a\right)^2=0\)
\(\Leftrightarrow\left\{{}\begin{matrix}a-b=0\\b-c=0\\c-a=0\end{matrix}\right.\) \(\Leftrightarrow a=b=c\)
Bài 2:
Ta có: \(\left(a+b+c\right)^2=3\left(ab+bc+ca\right)\)
\(\Leftrightarrow a^2+b^2+c^2+2ab+2bc+2ac-3ab-3bc-3ac=0\)
\(\Leftrightarrow a^2+b^2+c^2-ab-bc-ac=0\)
\(\Leftrightarrow2a^2+2b^2+2c^2-2ab-2bc-2ac=0\)
\(\Leftrightarrow\left(a^2-2ab+b^2\right)+\left(b^2-2bc+c^2\right)+\left(a^2-2ac+c^2\right)=0\)
\(\Leftrightarrow\left(a-b\right)^2+\left(b-c\right)^2+\left(c-a\right)^2=0\)
\(\Leftrightarrow a=b=c\)