p(x) = x3 + 8x2 - 7x + 12 and g(x) = x - 1. If p(x) is divided by g(x), it gives q(x) and r(x) as quotient and remainder respectively. If 'a' is the degree of q(x) and b is the degree of r(x), what is the value of (a - b)?
Remainder = r(x) = p(1) = 13 + 8 × 12 - 7 × 1 + 12 = 14
So, Degree of r(x) = b = 0
q(x) = p(x)g(x) = x2 + 9x + 2
So, degree of q(x) = a = 2
a - b = 2 - 0 = 2