`a)f(x):g(x)` dư 2
`=>f(x)-2\vdots g(x)`
`=>x^3-3x^2+5x-a-2\vdots x-1`
`=>x^3-x^2-2x^2+2x+3x-3-a+1\vdots x-1`
`=>x^2(x-1)-2x(x-1)+3(x-1)-a+1\vdots x-1`
`=>(x-1)(x^2-2x+3)-a+1\vdots x-1`
Mà `(x-1)(x^2-2x+3)\vdots x-1`
`=>-a+1=0=>a=1`
Ta có: f(x):g(x)
\(=\dfrac{x^3-3x^2+5x-a}{x-1}\)
\(=\dfrac{x^3-x^2-2x^2+2x+3x-3-a+3}{x-1}\)
\(=x^2-2x+3+\dfrac{-a+3}{x-1}\)
Để f(x):g(x) có số dư là 2 thì 3-a=2
hay a=1