(a) If
f(x) = a₀ + a₁ x + a₂ x ² + a₃ x ³
then from the given conditions we get the system of equations,
f (-1) = a₀ - a₁ + a₂ - a₃ = -1
f (1) = a₀ + a₁ + a₂ + a₃ = 2
f (2) = a₀ + 2a₁ + 4a₂ + 8a₃ = 1
f (3) = a₀ + 3a₁ + 9a₂ + 27x ³ = 5
(b) Similarly, if
f(x) = a₀ + a₁ x + a₂ x ² + a₃ x ³
then
f'(x) = a₁ + 2a₂ x + 3a₃ x ²
so that the given conditions yield the system,
f (1) = a₀ + a₁ + a₂ + a₃ = 0
f' (1) = a₁ + 2a₂ + 3a₃ = 2
f (2) = a₀ + 2a₁ + 4a₂ + 27a₃ = 3
f' (2) = a₁ + 4a₂ + 12a₃ = -1