1

If $$f(x)=(x-1)^{2017}+(x-3)^{2016}+x^2+x+1$$ and $$g=x^2-4x+4$$ find the remainder of f divided by g. I only found that $$g=(x-2)^2$$ but I don't know how to go further. If I set $$x=2$$ then $$f(2)=9$$ How to use this? Typo:$$ f(2)=9$$

Andrei
  • 53

1 Answers1

1

We have $f(x)=(x-2)^2P(x)+ ax+b$, and we wish to find $a, b$. As you’ve already found, $f(2)=9$, so we also have $2a+b=9$.

The trick here is to differentiate $f(x)$ to obtain $f’(x) = 2(x-2)P(x) + (x-2)^2P’(x) + a$. Substituting $x=2$ gives $a=f’(2)$. Computing this, we obtain $a=6$. Thus $b=-3$ and we’re done.

Bill Dubuque
  • 272,048
auscrypt
  • 8,186
  • Sorry, I made a typo ( f(x)=9 not 7). If we put the condition f(2)=f′(2)=0 then we obtain 2a+b=0 and a=0 so a and b are both 0... Where did I get wrong? – Andrei May 27 '19 at 17:12
  • No, correct is $\ 9 = f(2) = 2a+b = 12+b,,$ so $, b = -3\ \ $ – Bill Dubuque May 27 '19 at 20:12