Ta có : \(\left(x+1\right)^3-\left(x-1\right)^3-6\left(x-1\right)^2=-10.\)
\(\Rightarrow x^3+3x^2+3x+1-\left(x^3-3x^2+3x-1\right)-6\left(x^2-2x+1\right)=-10\)
\(\Leftrightarrow x^3+3x^2+3x+1-x^3+3x^2-3x+1-6x^2+12x-6=-10\)
\(\Leftrightarrow\left(x^3-x^3\right)+\left(3x^2+3x^2-6x^2\right)+\left(3x-3x+12x\right)+\left(1+1-6\right)=-10\)
\(\Leftrightarrow12x-4=-10\)
\(\Leftrightarrow12x=-6\)
\(\Leftrightarrow x=-\frac{6}{12}\)
\(\Leftrightarrow x=-\frac{1}{2}\)
Vậy \(x=-\frac{1}{2}\)