Bài 2:
a: Ta có: \(2x^2+y^2-2xy+x+2=0\)
\(\Leftrightarrow\left(x^2-2xy+y^2\right)+\left(x^2+x+\dfrac{1}{4}\right)+\dfrac{7}{4}=0\)
\(\Leftrightarrow\left(x-y\right)^2+\left(x+\dfrac{1}{2}\right)^2+\dfrac{7}{4}=0\left(vôlý\right)\)
b: Ta có: \(-x^2-26y^2+10xy-20y-150=0\)
\(\Leftrightarrow x^2-10xy+25y^2+y^2+20y+100+50=0\)
\(\Leftrightarrow\left(x-5y\right)^2+\left(y+10\right)^2+50=0\left(vôlý\right)\)
Bài 1:
\(a+b+c=0\Leftrightarrow\left(a+b+c\right)^2=0\Leftrightarrow a^2+b^2+c^2+2\left(ab+bc+ca\right)=0\Leftrightarrow2\left(ab+bc+ca\right)=0-1=-1\)hay \(ab+bc+ca=-\dfrac{1}{2}\Leftrightarrow\left(ab+bc+ca\right)^2=\dfrac{1}{4}\Leftrightarrow a^2b^2+b^2c^2+c^2a^2+2a^2bc+2ab^2c+2abc^2=\dfrac{1}{4}\Leftrightarrow a^2b^2+b^2c^2+c^2a^2+2abc\left(a+b+c\right)=\dfrac{1}{4}\Leftrightarrow a^2b^2+b^2c^2+c^2a^2=\dfrac{1}{4}\)Ta có: \(P=a^4+b^4+c^4=\left(a^2+b^2+c^2\right)^2-2\left(a^2b^2+b^2c^2+c^2a^2\right)=1-2.\dfrac{1}{4}=\dfrac{1}{2}\)Vậy \(P=\dfrac{1}{2}\)