Find the remainder when x4+2 is divided by (x−2)2.
Solution — click to reveal
Dividing x4+2 by x−2, we get x4+2=(x−2)(x3+2x2+4x+8)+18.Dividing x3+2x2+4x+8 by x−2, we get x3+2x2+4x+8=(x−2)(x2+4x+12)+32.Thus, x4+2=(x−2)(x3+2x2+4x+8)+18=(x−2)((x−2)(x2+4x+12)+32)+18=(x−2)2(x2+4x+12)+32(x−2)+18=(x−2)2(x2+4x+12)+32x−46,so the remainder is 32x−46.