a/ \(f\left(x\right)⋮\left(x^2-1\right)\Rightarrow\left\{{}\begin{matrix}f\left(1\right)=0\\f\left(-1\right)=0\end{matrix}\right.\)
\(\Rightarrow\left\{{}\begin{matrix}2-1+a+b=0\\-2-1-a+b=0\end{matrix}\right.\)
\(\Rightarrow\left\{{}\begin{matrix}a+b=-1\\-a+b=3\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}a=-2\\b=1\end{matrix}\right.\)
b/ Tương tự câu a, ta có \(\left\{{}\begin{matrix}f\left(3\right)=0\\f\left(-3\right)=0\end{matrix}\right.\)
\(\Rightarrow\left\{{}\begin{matrix}9a+3b=-90\\9a-3b=72\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}a=-1\\b=-27\end{matrix}\right.\)