Hi all

We're supposed to use the remainder theorem (f(p) = r) in this question.

When $\displaystyle x^3 + ax^2 + bx + 3$ is divided by (x-5), the remainder is 2. When it is divided by (x+3), the remainder is 7. What are the values of a and b?

I've set

f(5)=2 and f(-3)=7, and then isolated a and b, and used substitution to get 2839/270 for a, and 1909/30 for b.

Did I do this correctly?