The exercise is as follows. There is a fourth degree polynomial, that when divided by $(x - 3)$ has a $r_1 = 100$, and when divided by $(x + 1)$ a $r_2 = -4$. And the question is what would the rest be when divided by $(x - 3)(x + 1)$.
I have tried using the rest theorem, and guess What the coefficients would be. And with this, I can find more the 1 polynomial that works. I was just wondering if there is a better way to solve this?
I have for example:
$x^4 + x^3 + 2x^2 - 9x + 1$, $r = 22x + 34$
and:
$x^4 + x^3 + x^2 - 5x - 2$, $r = 24x + 28$
when they are divided by
$x^2 - 2x - 3 ((x - 3)(x + 1))$
But the answer to the exercise is
$26x + 22$
Or must I keep guessing?