Ta có: \(\dfrac{x^3+8}{x+2}-\left(x-1\right)\cdot\left(x+1\right)+2x^3-5=0\)
\(\Leftrightarrow x^2-2x+4-x^2+1+2x^3-5=0\)
\(\Leftrightarrow2x\left(x-1\right)\left(x+1\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x=0\\x=1\\x=-1\end{matrix}\right.\)