The scaled backward finite difference uses the current and preceding nodal values to approximate a first derivative. If a function has two continuous derivatives, Taylor's theorem gives as . Composition with the scaled forward difference operator gives , the second-order central difference for the second derivative.
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.
Set and . Both vanish at zero. For , their derivative ratio is
Twice differentiability at makes both quotients tend to . Apply the endpoint L'Hôpital's rule proved in part (iii) for . For the other side use the reflected positive variable ; and are even, so their quotient is unchanged. Thus the two-sided limit is
This is the second-order central difference limit. The proof only uses differentiability of at and differentiability nearby; it does not incorrectly assume is continuous.
The original PDF has a spatial shift , so the printed scheme is not the usual second-order BDF discretization. The PDF does have on the right; the TeX aid loses that factor two, and that transcription must not be used.
Let , , and expand an exact smooth heat equation solution about . Relative to the standard unshifted backward differentiation formula, the printed newest value adds
Dividing the raw residual by , its expansion is
In particular, for the usual refinement with fixed , the term generally diverges. A concrete smooth counterexample is , which satisfies the Dirichlet boundary conditions and has at . Thus the printed scheme has no consistent order under fixed- refinement. Its normalized shift error is , so one could only investigate a special coupled limit such as after specifying a valid boundary closure; it has no standard joint second-order accuracy.
For the likely intended correction , the extra shift terms disappear. The normalized local truncation error is
With a stable, suitably accurate starter, the corrected backward differentiation formula combined with the second-order central difference therefore has
This is a correction to the printed method, not a claim about it.
Let . For an exact smooth solution of the diffusion equation, the second-order central difference gives
Since the Courant number is fixed, . Taylor expansion in time gives
Using and cancels the leading terms. Because , the residual, and hence the local truncation error in the convention of the question, is
Let be the sampled exact solution and let denote the update matrix of the Forward Euler diffusion scheme. For ,
is a convex combination, with the homogeneous boundary values included. Therefore
This is the parabolic discrete maximum principle and proves max-norm stability directly.
The Taylor theorem and the second-order central difference give the exact-grid residual
for a sufficiently smooth solution on a fixed interval . If , then
Iteration for yields
Thus implies convergence when the initial grid values converge to the initial data.
Here and periodic indexing is taken modulo . The second-order central difference matrix is the real symmetric circulant matrix
Since is real diagonal, is Hermitian. Therefore is skew-Hermitian, and
Let and , and define the scaled forward difference operator, backward difference operator and second-order central difference by
The two finite difference methods are the nonlinear systems
with the prescribed Dirichlet boundary conditions and . These equations determine the interior nodal values.
For clarity distinguish the interior and edge inner products and their norms:
The bracketed norm includes the last edge . Let , so , and put for . Direct telescoping gives discrete summation by parts:
Subtract the two nonlinear systems, multiply each equation by and sum. The resulting discrete energy identity is
The nonlinear summands are nonnegative by the factorization in (a). Using Young's inequality for products at every node gives
This also proves uniqueness of each discrete solution. Existence can be seen by minimizing, with the endpoints fixed, the strictly convex energy functional
It is a coercive function of its finitely many interior values, so it attains a minimum. Its first derivatives are ; thus its minimizer solves the scheme. The same argument applies to .
The five-point Laplacian on the square grid is
It adds the second-order central differences in the two coordinate directions and uses the given zero Dirichlet boundary conditions when a neighbouring node lies on the boundary.
The sine addition formula implies
Apply this identity with in the direction and with in the direction. For , it gives
Hence the discrete eigenvalues are
Both sine factors vanish on their respective boundary sides. Also , since and lie strictly between zero and . Thus each array is a nonzero discrete eigenvector, rather than merely the zero solution of the homogeneous system. The separated structure is also described by the five-point Dirichlet Laplacian as a Kronecker sum.
A backward Euler method with spatial second-order central differences gives
The source is fixed in pseudo-time; if it were evolving, its evaluation would also need specifying. Each pseudo-time step therefore requires a linear system solve rather than a purely local explicit update.
Put and suppose , so there are interior grid points , . Write . The fixed ends impose homogeneous Dirichlet boundary conditions,
For a sufficiently smooth displacement field, the two Taylor series at fixed time give
where all displayed derivatives on the right are evaluated at . Adding cancels the odd terms, leaving the second-order central difference
Substitute this finite difference into the wave equation and retain continuous time. The resulting method of lines gives coupled second-order ordinary differential equations,
In particular, the first and last equations are and for . With the interior displacement vector only,
Equivalently, , , and all other entries vanish. This entrywise definition also covers small , including when . The matrix is a symmetric matrix and a tridiagonal matrix. The spatial approximation has error in Big O notation; time has not yet been discretized.
The Haar wavelet provides an explicit one-vanishing moment comparison:
It cancels a constant polynomial, but not a nonconstant affine function. To obtain two vanishing moments by an equally transparent construction, take three adjacent unit intervals with heights proportional to :
The L2 norm normalization follows from . Direct integration gives
Thus has exactly two vanishing moments. In fact its coefficient is a finite difference of adjacent local integrals:
The weights are those of the second-order central difference. The first moment balances the centres of the three intervals; it is not enough merely to balance their signed areas.
Figure 1.
Signed overlaps of the Haar and second-difference analyzing functions with constant, linear, and quadratic test polynomials
. Details.
This is a normalized analyzing function, with no orthonormal basis assertion. Indeed, its unit translate has nonzero L2 inner product:
Hence these translates already fail orthogonality. The Daubechies wavelet construction imposes additional refinement and orthogonality requirements; two vanishing moments and unit L2 norm by themselves do not supply those requirements.
The second-order central difference approximation to the fixed-end wave equation on interior points has normal modes
Here and the endpoint displacements are zero. The eigenvectors form an orthonormal basis in the ordinary Euclidean norm, without an extra grid-spacing weight. They sample the continuous standing wave shapes exactly, while their angular frequencies differ from because of spatial discretization. For fixed , the difference tends to zero as .