On a uniform mesh , the centered second finite difference is exact for every quadratic polynomial. In particular, for with endpoint boundary conditions, the unique discrete solution equals the exact quadratic solution at every mesh point. Subtracting consecutive first differences reduces the equation to , so . The second endpoint determines . Uniqueness follows because any difference of two discrete solutions has zero second finite difference, hence is linear in the mesh index and vanishes at both endpoints. Exact nodal values in this example do not imply that a general finite difference method is exact for other ordinary differential equations.

Articles by others on the same topic (0)

There are currently no matching articles.