\(\left(x+3\right)\left(x^2-3x+9\right)=7x^3+21x\\ \Leftrightarrow x^3+27=7x^3+21x\\ \Leftrightarrow6x^3+21x-27=0\\ \Leftrightarrow\left(6x^3-6x^2\right)+\left(6x^2-6x\right)+\left(27x-27\right)=0\\ \Leftrightarrow\left(x-1\right)\left(6x^2+6x+27\right)=0\\ \Leftrightarrow\left[{}\begin{matrix}x-1=0\\6x^2+6x+27=0\end{matrix}\right.\\ \Leftrightarrow\left[{}\begin{matrix}x=1\\6\left(x^2+x+\dfrac{1}{4}\right)+\dfrac{51}{2}=0\end{matrix}\right.\\ \Leftrightarrow\left[{}\begin{matrix}x=1\\6\left(x+\dfrac{1}{2}\right)^2+\dfrac{51}{2}=0\left(vô.lí\right)\end{matrix}\right.\)
Vậy \(x=1\)
\(\Leftrightarrow x^3+27-7x^3-21x=0\)
\(\Leftrightarrow-6x^3-21x+27=0\)
\(\Leftrightarrow-6x^3+6x-27x+27=0\)
\(\Leftrightarrow-6x\left(x-1\right)\left(x+1\right)-27\left(x-1\right)=0\)
\(\Leftrightarrow\left(x-1\right)\left(6x^2+6x+27\right)=0\)
hay x=1