Edexcel C12 2015 June — Question 2

Exam BoardEdexcel
ModuleC12 (Core Mathematics 1 & 2)
Year2015
SessionJune
TopicFactor & Remainder Theorem
TypeTwo unknowns, direct system

2. $$f ( x ) = x ^ { 4 } - x ^ { 3 } + 3 x ^ { 2 } + a x + b$$ where \(a\) and \(b\) are constants.
When \(\mathrm { f } ( x )\) is divided by \(( x - 1 )\) the remainder is 4
When \(\mathrm { f } ( x )\) is divided by \(( x + 2 )\) the remainder is 22
Find the value of \(a\) and the value of \(b\).