I would like to prove that, if $g\in C^3([a,b])$, then:
$$\left|\displaystyle\frac{g(t_n+h)-g(t_n)}{h}-\displaystyle\frac{g'(t_n)+g'(t_n+h)}{2}\right|\leq \displaystyle\frac{h^2}{12}\|g^{(3)}(x)\|,$$
for $t_n, t_n+h \in [a,b]$.
I'm pretty sure this is done by expressing $g(t_n+h)$ in terms of $g(t_n)$ via a Taylor expression, viceversa and then do the difference of the expressions, so that's what I did.
Nonetheless, I reached an expression of the form:
$$\displaystyle\frac{h^2}{6}g^{(3)}(\epsilon_1)-\displaystyle\frac{h^2}{4}g^{(3)}(\epsilon_2).$$
Although, $$\displaystyle\frac{h^2}{6}-\displaystyle\frac{h^2}{4}=-\displaystyle\frac{h^2}{12}.$$ Obviously you cannot do that.
Any help on this one?