Bài 1:
a) \(x^2-xy+x-y=\left(x^2-xy\right)+\left(x-y\right)=x\left(x-y\right)+\left(x-y\right)=\left(x^2+1\right)\left(x-y\right)\)
b) \(xz+yz-5\left(x+y\right)=\left(xz+yz\right)-5\left(x+y\right)=z\left(x+y\right)-5\left(x+y\right)=\left(x+y\right)\left(z-5\right)\)
c) \(3x^2-3xy-5x+5y=\left(3x^2-3xy\right)-\left(5x-5y\right)=3x\left(x-y\right)-5\left(x-y\right)=\left(x-y\right)\left(3x-5\right)\)
Bài 1:
a: \(x^2-xy+x-y\)
\(=x\left(x-y\right)+\left(x-y\right)\)
\(=\left(x-y\right)\left(x+1\right)\)
b: \(xz+yz-5\left(x+y\right)\)
\(=z\left(x+y\right)-5\left(x+y\right)\)
\(=\left(x+y\right)\left(z-5\right)\)
c: \(3x^2-3xy-5x+5y\)
\(=3x\left(x-y\right)-5\left(x-y\right)\)
\(=\left(x-y\right)\left(3x-5\right)\)
Bài 2:
a: Ta có: \(x^2+4x+4-y^2\)
\(=\left(x+2\right)^2-y^2\)
\(=\left(x+y+2\right)\left(x-y+2\right)\)
b: Ta có: \(3x^2+6xy+3y^2-3z^2\)
\(=3\left(x^2+2xy+y^2-z^2\right)\)
\(=3\left(x+y+z\right)\left(x+y-z\right)\)
c: Ta có: \(x^2-2xy+y^2-z^2+2zt-t^2\)
\(=\left(x-y\right)^2-\left(z-t\right)^2\)
\(=\left(x-y-z+t\right)\left(x-y+z-t\right)\)