Computer derivations of numerical differentiation formulae

John H. Mathews

International Journal of Mathematical Education in Science and Technology · 2003 · 13 citations · 0 references

Concepts

Abstract

Traditional ‘pencil and paper’ derivations of the numerical differentiation formulae for f′ [x 0] and f ″[x 0] have been done independently as if there was no connection among the two derivations. This new approach gives a parallel development of the formulae. It requires the solution of a 'linear system' that includes symbolic quantities as coefficients and constants. It is shown how the power of a computer algebra system such as Mathematica can be used to elegantly solve this linear system for f′[x 0] and f″[x 0]. The extension to derivations of higher order numerical differentiation formulas for the central, forward or backward differences are also presented. Traditional ‘pencil and paper’ derivations of the numerical differentiation formulae for f′ [x 0] and f ″[x 0] have been done independently as if there was no connection among the two derivations. This new approach gives a parallel development of the formulae. It requires the solution of a 'linear system' that includes symbolic quantities as coefficients and constants. It is shown how the power of a computer algebra system such as Mathematica can be used to elegantly solve this linear system for f′[x 0] and f″[x 0]. The extension to derivations of higher order numerical differentiation formulas for the central, forward or backward differences are also presented.