Dùng hằng đẳng thức để triển khai và thu gọn:
a) \(x\left(x-1\right).\left(x+1\right)-\left(x+1\right)\left(x^2-x+1\right)\)
b) \(\left(x-1\right)^3-\left(x+2\right).\left(x^2-2x+4\right)+3.\left(x+4\right).\left(x-4\right)\)
c) \(3x^2.\left(x+1\right).\left(x-1\right)+\left(x^2-1\right)^3-\left(x^2-1\right).\left(x^4+x^2+1\right)\)
a) \(x\left(x-1\right)\left(x+1\right)-\left(x+1\right)\left(x^2-x+1\right)\)
\(=\left(x+1\right)\cdot\left[x\cdot\left(x-1\right)-\left(x^2-x+1\right)\right]\)
\(=\left(x+1\right)\left(x^2-x-x^2+x-1\right)\)
\(=\left(x+1\right)\cdot\left(-1\right)\)
\(=-1\left(x+1\right)\)
b) \(\left(x-1\right)^3-\left(x+2\right)\left(x^2-2x+4\right)+3\left(x+4\right)\left(x-4\right)\)
\(=x^3-3x^2+3x-1-\left(x^3+8\right)+\left(3x+12\right)\left(x-1\right)\)
\(=x^3-3x^2+3x-1-\left(x^3+8\right)+3x^2-3x+12x-12\)
\(=x^3-1-x^3-8+12x-12\)
\(=-21+12x\)
c) \(3x^2\left(x+1\right)\left(x-1\right)+\left(x^2-1\right)^3-\left(x^2-1\right)\left(x^4+x^2+1\right)\)
\(=3x^2\left(x^2-1\right)+x^6-3x^4+3x^2-1-\left(x^6-1\right)\)
\(=3x^4-3x^2+x^6-3x^4+3x^2-1-x^6+1\)
\(=0\)
câu b bạn làm sai rồi í!