b: Ta có: \(\left(x-1\right)\left(x^2+x+1\right)-x\left(x^2+1\right)=4\)
\(\Leftrightarrow x^3-1-x^3-x=4\)
\(\Leftrightarrow-x=5\)
hay x=-5
c: Ta có: \(\left(2x-1\right)^3+\left(x+2\right)^3-9x\left(x+1\right)\left(x-1\right)=7\)
\(\Leftrightarrow8x^3-12x^2+6x-1+x^3+6x^2+12x+8-9x^3+9x=7\)
\(\Leftrightarrow-6x^2+27x=0\)
\(\Leftrightarrow-3x\left(2x-9\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x=0\\x=\dfrac{9}{2}\end{matrix}\right.\)