Taylor and the truncation error
Taylor's theorem and its remainder, why the remainder is the truncation error, and how finite differences arise from it.
Taylor's theorem
The Taylor series expands a function around a point a as a polynomial. Taking only the first n terms incurs a truncation error, which the theorem quantifies with a remainder term.
If x−a is of the order of a step h, the remainder is of order h^{n+1}. That exponent is the order of the method, and Taylor is the tool that justifies it in finite differences, quadrature and ODEs.
From Taylor to finite differences
To approximate derivatives we discretize the interval into equally spaced nodes , with step . Truncating Taylor at first order between neighbouring nodes yields the finite differences, studied in detail in numerical differentiation.