Vì đa thức \(f\left(x\right)=2x^2+\text{ax}+b-2.\)chia hết cho \(x-1;x+2\)
Theo đinh lí Bơ - ru ta có
\(f\left(1\right)=2.1^2+a+b-2=0\Rightarrow a+b=0\) (1)
\(f\left(-2\right)=2.\left(-2\right)^2-2a+b-2=0\Rightarrow6-2a+b=0\Rightarrow2a-b=6\)(2)
Cộng (1) và (2) suy ra
\(3a=6\Rightarrow a=2\)thay vào a+b=0 ta có : \(2+b=0\Rightarrow b=-2\)
Vậy a=2 ; a=-2