If x5−x4+x3−px2+qx+4 is divisible by (x+2)(x−1), find the ordered pair (p,q).
Solution — click to reveal
By Factor Theorem, the polynomial will become 0 when x=−2 and x=1. Thus, (−2)5−(−2)4+(−2)3−p(−2)2+q(−2)+41−1+1−p+q+4=0,=0.Then −4p−2q=52 and −p+q=−5. Solving, we find (p,q)=(−7,−12).