We know that
p(x)=q(x)×g(x)+r(x) , where
q(x) and
r(x) are the quotient and remainder respectively when polynomial
p(x) is divided by polynomial
g(x)
Also, degree of r(x)< degree of g(x) and degree of q(x) = degree of p(x)− degree of g(x)
Given p(x)=3x5−8x4−5x3+26x2−33x+26 and g(x)=x3−2x2−4x+8
Degree of q(x) is 2, therefore assuming q(x)=Ax2+Bx+C
Coefficient of x5 in g(x)×q(x) = coefficient of x5 in p(x)[∵p(x)=q(x)×g(x)+r(x)]
⟹A=3
Similarly equating the coefficients of x4 and x3, we get
−2A+B=−8⟹B=−2 and −4A−2B+C=−5⟹C=3
∴q(x)=3x2−2x+3
q(x)×g(x)=3x5−8x4−5x3+26x2−28x+24
and r(x)=p(x)−q(x)×g(x)=−5x+2