\(\left(x+y+z\right).\left[\left(x+y\right)^2-\left(x+y\right).z+z^2\right]-3xy.\left(x+y+z\right)\)
\(=\left(x+y+z\right).\left[\left(x+y\right)^2-\left(x+y\right).z+z^2-3xy\right]\)(đặt nhân tử chung)
\(=\left(x+y+z\right).\left(x^2+2xy+y^2-xz-yz+z^2-3xy\right)\)(khai triển theo hằng đẳng thức số 1 )
\(=\left(x+y+z\right).\left(x^2+y^2+z^2-xy-yz-zx\right)\)