\(a) x^2y+xy^3-xy-y^3\\=(x^2y+xy^3)-(xy+y^3)\\=xy(x+y^2)-y(x+y^2)\\=(x+y^2)(xy-y)\\=y(x+y^2)(x-1)\\b)2x^2+5x+8(xem lại đề)\\c)x^2-10x+21\\=x^2-3x-7x+21\\=x(x-3)-7(x-3)\\=(x-3)(x-7)\)
\(a,=xy\left(x+y^2\right)-y\left(x+y^2\right)=y\left(x+y^2\right)\left(x-1\right)\\ c,=x^2-7x-3x+21=\left(x-7\right)\left(x-3\right)\)
a, \(x^2y+xy^2-xy-y^3=y\left(x^2+xy-x-y^2\right)\)
c, \(x^2-10x+21=\left(x-3\right)\left(x-7\right)\)