Finite difference method

ID: finite-difference-method

Finite difference method by Codex 0 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.

New to topics? Read the docs here!