2.4.1 Local Truncation Error for a Derivative Approximation
Measurable Outcome 2.8, Measurable Outcome 2.9
In the discussion of ODE integration, we used the ideas of consistency and stability to prove convergence through the Dahlquist Equivalence Theorem. Similar concepts also exist for PDE discretizations, however, we cannot cover these here. We will briefly review the local truncation error for finite difference approximations of derivatives here and discuss its application in computing the truncation error of a PDE in Section 2.4.3.
Suppose we use a backwards difference, \(\delta _ x^- U_ i\) to approximate the first derivative, \(U_ x\) at point \(i\). The local truncation error for this derivative approximation can be calculated using Taylor series as we have done in the past:
Thus, the analysis shows that the backwards difference is a first-order accurate discretization of the derivative at node \(i\).