\(\Leftrightarrow\left(x+1\right)\left(x^2-x-x^2+x-1\right)=0\\ \Leftrightarrow x+1=0\\ \Leftrightarrow x=-1\)
\(\Rightarrow x\left(x^2-1\right)-\left(x^3+1\right)=0\)
\(\Rightarrow x^3-x-x^3-1=0\Rightarrow x+1=0\Rightarrow x=-1\)
a.x(x−1)(x+1)−(x+1)(x2−x+1)x(x−1)(x+1)−(x+1)(x2−x+1)
=x(x2−1)−(x3+1)=x(x2−1)−(x3+1)
=x3−x−x3−1=x3−x−x3−1
=−x−1