What is consistency?
by Yi Zhang
In numerical methods one often encounters the consistency. In spite of all the fuss, many textbooks fail to clearify the “idea” of consistency. In fact, even from the name, it is means of preventing comparing “wrong things”.
Numerical methods always dealing with approximating exact solutions, one kind or another. Even equipped with tools that essentially requir the error between approximate solution and exact solution, and even with small errors, one can still end up with totally wrong answers. It is like I have an apple, and try to immitate it with a pare, even somehow I can make the latter bear very similar shape, color, or size and density, as long as it tastes pear, it’s not an apple. Analogically, consistency is the way to ensure that when I have this fruit of same color, shape, size, etc., I can be sure it’s an apple. In finite difference, it is in the version of “when the local truncation error shrinks, the numerical solution goes towards the exact solution”.
As most of the concept in applied mathematics, consistency of order for a numerical scheme can be defined/interpretated in various ways, here are some I know, and Taylor expansion is among the most frequently used tool to check consistency.
- For any element of a basis of space of order polynomial, the interpolation by set reproduces to order , i.e.
- Any exact solution with order less than or equal to can be recovered by numerical scheme