\(2\left(a^2+b^2\right)=\left(a+b\right)^2\)
\(\Leftrightarrow2a^2+2b^2=a^2+2ab+b^2\)
\(\Leftrightarrow a^2+b^2=2ab\)
\(\Leftrightarrow a^2+b^2-2ab=0\)
\(\Leftrightarrow\left(a-b\right)^2=0\)
Dễ thấy: \(\left(a-b\right)^2\ge0\forall a,b\)
Xảy ra khi \(a=b\)