a: Sửa đề: \(\left(x-1\right)\left(x^2+x+1\right)=x^3-1\)
\(VT=\left(x-1\right)\left(x^2+x+1\right)\)
\(=x^3+x^2+x-x^2-x-1\)
\(=x^3-1=VP\)
b: Sửa đề: \(\left(x^3+x^2y+xy^2+y^3\right)\left(x-y\right)=x^4-y^4\)
\(VT=\left(x-y\right)\left(x^3+x^2y+xy^2+y^3\right)\)
\(=x^4+x^3y+x^2y^2+xy^3-x^3y-x^2y^2-xy^3-y^4\)
\(=x^4-y^4=VP\)