bn gõ bài trong công thức trực quan ik, khó nhìn lắm, ko làm đc
1) \(x^2y^2\left(y-x\right)+y^2z^2\left(z-y\right)-z^2x^2\left(z-x\right)\)
\(=x^2y^3-x^3y^2+y^2z^3-y^3z^2-z^2x^2\left(z-x\right)\)
\(=\left(y^2z^3-x^3y^2\right)-\left(y^3z^2-x^2y^3\right)-z^2x^2\left(z-x\right)\)
\(=y^2\left(z^3-x^3\right)-y^3\left(z^2-x^2\right)-z^2x^2\left(z-x\right)\)
\(=y^2\left(z-x\right)\left(z^2+zx+x^2\right)-y^3\left(z-x\right)\left(z+x\right)-z^2x^2\left(z-x\right)\)
\(=\left(z-x\right)\left[y^2\left(z^2+zx+x^2\right)-y^3\left(z+x\right)-z^2x^2\right]\)
\(=\left(z-x\right)\left[\left(y^2z^2+xy^2z+x^2y^2\right)-\left(y^3z+xy^3\right)-z^2x^2\right]\)
\(=\left(z-x\right)\left(y^2z^2+xy^2z+x^2y^2-y^3z-xy^3-z^2x^2\right)\)
\(=\left(z-x\right)\left[\left(y^2z^2-y^3z\right)-\left(x^2z^2-x^2y^2\right)+\left(xy^2z-xy^3\right)\right]\)
\(=\left(z-x\right)\left[y^2z\left(z-y\right)-x^2\left(z^2-y^2\right)+xy^2\left(z-y\right)\right]\)
\(=\left(z-x\right)\left[y^2z\left(z-y\right)-x^2\left(z-y\right)\left(z+y\right)+xy^2\left(z-y\right)\right]\)
\(=\left(z-x\right)\left(z-y\right)\left[y^2z-x^2\left(z+y\right)+xy^2\right]\)
\(=\left(z-x\right)\left(z-y\right)\left(y^2z-x^2z-x^2y+xy^2\right)\)
\(=\left(z-x\right)\left(z-y\right)\left[\left(y^2z-x^2z\right)-\left(x^2y-xy^2\right)\right]\)
\(=\left(z-x\right)\left(z-y\right)\left[z\left(y^2-x^2\right)-xy\left(x-y\right)\right]\)
\(=\left(z-x\right)\left(z-y\right)\left[z\left(y-x\right)\left(y+x\right)+xy\left(y-x\right)\right]\)
\(=\left(z-x\right)\left(z-y\right)\left(y-x\right)\left[z\left(y+x\right)+xy\right]\)
\(=\left(z-x\right)\left(z-y\right)\left(y-x\right)\left(yz+xz+xy\right)\)
2) \(xyz-\left(xy+yz+xz\right)+\left(x+y+z\right)-1\)
\(=xyz-xy-yz-xz+x+y+z-1\)
\(=\left(xyz-xy\right)-\left(yz-y\right)-\left(xz-x\right)+\left(z-1\right)\)
\(=xy\left(z-1\right)-y\left(z-1\right)-x\left(z-1\right)+\left(z-1\right)\)
\(=\left(z-1\right)\left(xy-y-x+1\right)\)
\(=\left(z-1\right)\left[\left(xy-y\right)-\left(x-1\right)\right]\)
\(=\left(z-1\right)\left[y\left(x-1\right)-\left(x-1\right)\right]\)
\(=\left(z-1\right)\left(x-1\right)\left(y-1\right)\)