\(x^3+27=-x^2+9\Leftrightarrow x^3+x^2+18=0\Leftrightarrow\left(x+3\right)\left(x^2-2x+6\right)=0\Leftrightarrow x+3=0\Leftrightarrow x=-3\)(do \(x^2-2x+6=\left(x-1\right)^2+5\ge5>0\))
Ta có: \(x^3+27=-x^2+9\)
\(\Leftrightarrow\left(x+3\right)\left(x^2-3x+9\right)+\left(x-3\right)\left(x+3\right)=0\)
\(\Leftrightarrow\left(x+3\right)\left(x^2-3x+9+x-3\right)=0\)
\(\Leftrightarrow x+3=0\)
hay x=-3