Let
f′′(0)≈a0f(−1)+a1f(0)+a2f(1)=μ(f)
be an approximation of the second derivative which is exact for f∈P2, the set of polynomials of degree ≤2, and let
e(f)=f′′(0)−μ(f)
be its error.
(a) Determine the coefficients a0,a1,a2.
(b) Using the Peano kernel theorem prove that, for f∈C3[−1,1], the set of threetimes continuously differentiable functions, the error satisfies the inequality
∣e(f)∣≤31x∈[−1,1]max∣f′′′(x)∣.