\(x^4-x^3+6x^2-x+a=\left(x^2+1\right)\left(x^2-x+5\right)+a-5\)
Để đa thức \(x^4-x^3+6x^2-x+a\) chia hết cho đa thức \(x^2-x+5\)
\(\Rightarrow a-5=0\Leftrightarrow a=5\)
b, Đặt \(2x^3-3x^2+x+a=f\left(x\right)\) và \(x+2=g\left(x\right)\)
Theo dịnh lí Bơ du ta có
Xét \(g\left(x\right)=0\Rightarrow x+2=0\Rightarrow x=-2\)
Để \(f\left(x\right)\) chia hết cho \(g\left(x\right)\) thì \(f\left(-2\right)=0\)
\(f\left(-2\right)=2.\left(-2\right)^3-3.\left(-2\right)^2-2+a=0\)
\(\Rightarrow f\left(x\right)=-16-12-2+a=0\)
\(\Rightarrow f\left(x\right)=-30+a=0\)
\(\Rightarrow a=30\)
Vậy \(a=30\) thì \(f\left(x\right)\) chia hết cho \(g\left(x\right)\)
Câu b) Thay x=-2 vào rồi giải theo phương pháp giá trị riêng