Central finite difference Created 2026-09-24 Updated 2026-11-05
A central finite difference uses sampled values symmetrically around an evaluation point. Common scaled derivative formulas are
For sufficiently smooth functions, they approximate and with error . Taylor expansion explains the accuracy: symmetry cancels the unwanted even or odd powers. The leading errors are for and for when the next derivatives permit these expansions.
At unit spacing and , the second formula becomes , with finite difference coefficients . Symmetry is a local approximation property; it does not by itself establish stability of a time update or provide values beyond the boundary. Those require von Neumann stability analysis, an energy estimate, or an appropriate boundary closure of a difference scheme.
Finite difference method Created 2026-09-24 Updated 2026-11-05
A finite difference method approximates a differential equation by replacing derivatives with weighted combinations of nearby sampled function values. Finite difference coefficients are chosen by matching low-degree polynomials or a Taylor expansion. The resulting unknowns live on a grid, where the differential equation becomes a system of algebraic update or boundary equations.
For the one-dimensional heat equation with , a forward Euler method in time and a second-order central difference in space give
For , the coefficients are nonnegative and sum to one, so each new value is a convex combination of neighboring values. This yields a maximum norm contraction for compatible homogeneous boundaries.[ref]
Consistency of a numerical method measures how accurately the grid equation reproduces a smooth exact solution; stability of a numerical method controls propagation of perturbations. Both matter for numerical convergence. A correct interior formula also needs a compatible boundary closure of a difference scheme and suitable initial conditions.