On dividingx3-3x2+x+2 by a polynomialgx, the quotient and remainder were respectivelyx-2and-2x+4respectively. Findgx.
By division algorithm, we know that -
Dividend=divisor×quotient+remainder
According to the question -
x3-3x2+x+2=gx×(x-2)+(-2x+4)⇒x3-3x2+x+2-(-2x+4)=g(x)×(x-2)⇒x3-3x2+x+2+2x-4=g(x)×(x-2)⇒x3-3x2+3x-2=g(x)×(x-2)⇒g(x)=x3-3x2+3x-2x-2⇒g(x)=(x-2)(x2-x+1)x-2⇒g(x)=x2-x+1
Hence, the value ofgx is x2-x+1.
Question 4 On dividing x3−3x2+x+2 by a polynomial g(x), the quotient and remainder were x−2 and −2x+4, respectively. Find g(x).