Patrick B. answered 12/12/18
Math and computer tutor/teacher
Be careful of the missing term in the dividend.
It is x^2-1 = x^2 + 0x - 1
8
________________________
x^2 - 1 | 8x^2 - x - 21
8x^2 + 0x - 8
---------------------------------
-x - 13
CHECK: 8(x^2-1)) - x - 13 = 8x^2 - 8 - x - 13 = 8x^2 -x - 21
p(x) = 8x^2-x-21
d(x) = x^2 - 1
q(x) = 8
r(x) = -x-13