a) \(x^3-7x+6=x^3+3x^2-x^2-3x-2x^2-6x+2x+6\)
=\(x^2\left(x+3\right)-x\left(x+3\right)-2x\left(x+3\right)+2\left(x+3\right)\)
=\(\left(x+3\right)\left(x^2-x-2x+2\right)\)
=\(\left(x+3\right)\left(x-2\right)\left(x-1\right)\)
=\(\left\{\begin{matrix}x+3=0=>x=-3\\x-2=0=x=2\\x-1=0=>x=1\end{matrix}\right.\)
\(b...x^3-19x+30=0\)
\(=>x^3+5x^2-2x^2-10x-3x^2-15x+6x+30=0\)
=>\(x^2\left(x+5\right)-2x\left(x+5\right)-3x\left(x+5\right)+6\left(x+5\right)=0\)
=>\(\left(x+5\right)\left(x^2-2x-3x+6\right)=0\)
=>\(\left(x+5\right)\left(x-3\right)\left(x-2\right)=0\)
=>\(\left\{\begin{matrix}x-3=0=>x=3\\x-2=0=>x=2\\x+5=0=>x=-5\end{matrix}\right.\)
Vậy x=-5;2;3