p) \(x^3-3x^2+3x-1+2\left(x^2-x\right)\\ =\left(x^3-1\right)-\left(3x^2-3x\right)+2x\left(x-1\right)\\ =\left(x-1\right)\left(x^2+x+1\right)-3x\left(x-1\right)+2x\left(x-1\right)\\ =\left(x-1\right)\left(x^2+x+1-3x+2x\right)\\ =\left(x-1\right)\left(x^2+1\right)\)
p:Ta có: \(x^3-3x^2+3x-1+2\left(x^2-x\right)\)
\(=\left(x-1\right)^3+2x\left(x-1\right)\)
\(=\left(x-1\right)\left(x^2-2x+1+2x\right)\)
\(=\left(x-1\right)\left(x^2+1\right)\)
r) Tham khảo: https://hoc247.net/hoi-dap/toan-8/phan-tich-da-thuc-x-y-2-z-2-y-z-2-x-2-z-x-2-y-2-thanh-nhan-tu-faq343704.html