Ta có: \(x+y+z=0\Leftrightarrow x+y=-z\)
\(\Leftrightarrow\left(x+y\right)^3=\left(-z\right)^3\)
\(\Leftrightarrow x^3+3x^2y+3xy^2+y^3=-z^3\)
\(\Leftrightarrow x^3+y^3+z^3=-3x^2y-3xy^2\)
\(\Leftrightarrow x^3+y^3+z^3=-3xy\left(x+y\right)\)
\(\Leftrightarrow x^3+y^3+z^3=-3xy\left(-z\right)=3xyz\)(đpcm)