a: Ta có: \(2\left(x-1\right)^3-5\left(x-1\right)^2-\left(x-1\right)\)
\(=\left(x-1\right)\left[2\left(x-1\right)^2-5\left(x-1\right)-1\right]\)
\(=\left(x-1\right)\left(2x^2-4x+2-5x+5-1\right)\)
\(=\left(x-1\right)\left(2x^2-9x+6\right)\)
b: Ta có: \(x\left(y-x\right)^3-y\left(x-y\right)^2+xy\left(x-y\right)\)
\(=-x\left(x-y\right)^3-y\left(x-y\right)^2+xy\left(x-y\right)\)
\(=\left(x-y\right)\left[-x\left(x-y\right)^2-y\left(x-y\right)+xy\right]\)
\(=\left(x-y\right)\left[-x^3+2x^2y-xy^2-xy+y^2+xy\right]\)
\(=\left(x-y\right)\left(-x^3+2x^2y-xy^2+y^2\right)\)
a) \(2\left(x-1\right)^3-5\left(x-1\right)^2-\left(x-1\right)=\left(x-1\right)\left[2\left(x-1\right)^2-5\left(x-1\right)-1\right]=\left(x-1\right)\left(2x^2-4x+2-5x+5-1\right)=\left(x-1\right)\left(2x^2-9x+6\right)\)
b) \(x\left(y-x\right)^3-y\left(x-y\right)^2+xy\left(x-y\right)=\left(x-y\right)\left[-x\left(x-y\right)^2-y\left(x-y\right)+xy\right]=\left(x-y\right)\left(-x^3+2x^2y-xy^2-xy+y^2+xy\right)=\left(x-y\right)\left(-x^3+y^2+2x^2y-xy^2\right)\)
c) \(xy\left(x+y\right)-2x-2y=xy\left(x+y\right)-2\left(x+y\right)=\left(x+y\right)\left(xy-2\right)\)
d) \(x\left(x+y\right)^2-y\left(x+y\right)^2+y^2\left(x-y\right)=\left(x+y\right)^2\left(x-y\right)+y^2\left(x-y\right)=\left(x-y\right)\left(x^2+2xy+y^2+y^2\right)=\left(x-y\right)\left(x^2+2y^2+2xy\right)\)
\(a.2\left(x-1\right)^3-5\left(x-1\right)^2-\left(x-1\right)\\ =\left(x-1\right)\left[2\left(x-1\right)^2-5\left(x-1\right)-1\right]\\ =\left(x-1\right)\left(2x^2-9x+6\right)\)