Priya lost her homework paper on polynomials and she doesn't remember the divisor dividing the polynomial x3−3x2+x+2 which gives quotient x−2 and the remainder −2x+4. Find the divisor.
Dividend = Divisor x Quotient +Remainder
x3−3x2+x+2 = Divisor × (x-2) + (-2x+4) ⇒ Divisor = (x3−3x2+3x−2)x−2 = x2−x+1