#Doubt Responded
QA Polynomials
<p>Why can't I apply long division method here, its more simple </p>

Comments6

Superman - iQuanta
You absolutely can use long division, it just takes a lot of steps for a degree-4 polynomial; the roots trick is much faster here. x² - x - 2 = (x-2)(x+1), so roots are x = 2 and x = -1. Since P(x) = (x² - x - 2)×Q(x) + Ax + B, plugging in the roots kills the first term: P(2) = 2A + B and P(-1) = -A + B Compute those values, subtract to get A, then find B, and add them. -17

Sai Haripriya Vemparala
I have seen the solution for this. Question has a different polynomial
Log in to see all 6 comments and join the discussion.