How to solve this polynomial equation?

When S(x)= x4+ax3+bx2+4x7 is divided by (x+1)(x1), the remaider is 2x+5. Find a and b.

1 Answer
Jul 2, 2018

I get a=6,b=13.

Explanation:

Since we know the remainder is 2x+5, we are sure that if we subtract that from the given polynomial then the difference will be exactly a multiple of (x+1)(x1)=x21. So we render this:

(x4+ax3+bx2+4x7)(2x+5)=x4+ax3+bx2+6x12=(x21)(x2+px+q)

Then we multiply out that last product and match like power terms:

(x21)(x2+px+q)=x4+px3+(q1)x2pxq=x4+ax3+bx2+6x12

Then match like powers:

x4=x4

px3=ax3

bx2=(q1)x2

6x=px

12=q

So p=6 meaning a=p=6, and q=12 meaning b=q1=13.