\(x+y+z=0\)
\(\Rightarrow\left(x+y+z\right)^2=0\)
\(\Rightarrow x^2+y^2+z^2+2\left(xy+yz+xz\right)=0\)
Mà \(xy+yz+xz=0\)
\(\Rightarrow x^2+y^2+z^2+2.0=0\)
\(\Rightarrow x^2+y^2+z^2=0\)
Mà \(x^2\ge0\)
\(y^2\ge0\)
\(z^2\ge0\)
\(\Rightarrow x^2+y^2+z^2\ge0\)
Mà \(x^2+y^2+z^2=0\)
\(\Leftrightarrow\hept{\begin{cases}x=0\\y=0\\z=0\end{cases}}\)
\(\Rightarrow B=\left(0-1\right)^{2007}+0^{2008}+\left(0+1\right)^{2009}\)
\(=\left(-1\right)^{2007}+0+1^{2009}\)
\(=-1+0+1\)
\(=0\)
Vậy ...