For second derivatives , calculating the change in slope requires 3 points:

If we subtract subtract the equations as :

Solving for gives:

Formulas