Let P(x),Q1(x),Q2(x),Q3(x),R(x) be polynomials such that P(x)=Q1(x)(x+2)−13=Q2(x)(x2−3x−4)−5x−11=Q3(x)(x+2)(x2−3x−4)+R(x),and degR(x)=2. Find R(x).
Solution — click to reveal
Setting x=−2 in the equation Q1(x)(x+2)−13=Q3(x)(x+2)(x2−3x−4)+R(x), we get R(−2)=−13.Setting x=4 and x=−1 in the equation Q2(x)(x2−3x−4)−5x−11=Q3(x)(x+2)(x2−3x−4)+R(x), we get R(4)=−31andR(−1)=−6.Since degR(x)=2, we can let R(x)=ax2+bx+c. Then 4a−2b+c16a+4b+ca−b+c=−13,=−31,=−6.Subtracting these equations in pairs, we get 12a+6b3a−b=−18,=−7.Solving, we find a=−2 and b=1, so c=−3. Hence, R(x)=−2x2+x−3.