Thay x=-1 vào đa thức f(x) có:
\(f\left(-1\right)=-1+a-b-2=0\Leftrightarrow a-b=3\)\(\Leftrightarrow a=3+b\)(1)
Thay x=1 vào đa thức f(x) có:
\(f\left(-1\right)=1+a+b-2=0\Leftrightarrow a+b=1\)(2)
Thay (1) vào (2) ta có:
\(3+b+b=1\)
\(\Leftrightarrow2b=-2\)
\(\Leftrightarrow b=-1\)
\(\Leftrightarrow a=2\)
KL:................
Thay x=1 vào đa thức f(x), ta có:
f(-1)=(-1)+a-b-2=0
\(\Leftrightarrow\) a-b=3
\(\Leftrightarrow\) a= 3+b (1)
Thay x=1 vào đa thức f(x) có:
f(-1)=1+a+b-2=0
⇔a+b=1f(-1)=1+a+b-2=0
⇔a+b=1(2)
Thay (1) vào (2) ta có:
3+b+b=1
⇔2b = -2
⇔b = -1
⇔a = 2
........;)))))))