I have a function $f:[a,b] \to \mathbb{R}$, where $f \in C^{2}([a,b])$. Admit that $p_{1}$ resulting from Lagrange interpolation of f in $x_{0},x_{1} \in [a,b]$. Then I must show that for any $x \in [a,b]$ we have $\lvert f'(x) - p'_{1}(x) \rvert \leq \frac{(x-x_{0})^{2}+(x-x_{1})^{2}}{2(x_{1}-x_{0})} max_{x \in [a,b]} {\lvert f''(x) \rvert} $. I have tried to use a simillar technique to what is used when doing an estimate for the error of the function and the polinomial, without the derivatives, which is based on the number of zeros of the function $f - p_{1}$ and Rolle's Theorem, but it doesn't seem to be working. Thanks a lot.
EDIT: I think this may be related with the following formula I have from the teacher's notes: $f'(x)-p'_{1}(x) = f_[x_{0},...,x_{n},x,x]W_{n+1}(x) + f_[x_{0},...,x_{n},x]W'_{n+1}(x)$ which can be rewritten as $f'(x)-p'_{1}(x) = \frac{f^{(n+2)}(\xi_{2})}{(n+2)!}W_{n+1}(x) + \frac{f^{(n+1)}(\xi_{1})}{(n+1)!}W'_{n+1}(x)$ but I'm having trouble getting one formula from the other, because in our case n=1 so we should get a third derivative on f... Maybe it's a mistake in the exercise?