A finite difference compares the values of a function at finitely separated arguments. For example, the forward finite difference with step isIt is the discrete analogue of a derivative and lowers the degree of a nonconstant polynomial by one.
Given noisy evaluations at , where the are independent Rademacher random variables, the estimatoraverages one-sided finite differences from both directions. If and the noise variance is , its mean squared error is at most .
A finite difference method replaces derivatives by algebraic combinations of values on a discrete space-time grid.
A nine-point finite-difference stencil on a square grid couples a central value to its four axial neighbours and four diagonal neighbours. Ordering the grid by columns produces a block tridiagonal matrix whose diagonal and off-diagonal blocks are symmetric tridiagonal Toeplitz matrices.
Fourier stability analysis transforms a translation-invariant finite-difference scheme into scalar or matrix recurrences indexed by wavenumber. The Parseval identity then converts uniform multiplier bounds into discrete -norm bounds.
On a uniform grid of spacing , the second-order central differenceapproximates with error for a sufficiently smooth function.
If , then is an integer linear combination of whenever is integer-valued. Successive differences recover the coefficients.
Von Neumann analysis inserts the Fourier mode into a constant-coefficient difference scheme. A one-step method is stable in the discrete -norm when its amplification factor satisfies for every resolvable wavenumber.
A Laurent operator on the whole integer lattice is a translation-invariant bi-infinite matrix. Under the discrete Fourier transform it becomes multiplication by its symbol, so its -operator norm is the essential supremum of the symbol's modulus.
A Toeplitz operator is a constant-diagonal operator on a one-sided sequence space. It models the restriction of a translation-invariant stencil to a half-line, where the boundary prevents direct diagonalization by the full-lattice Fourier transform.
Boundary stability is a mesh-uniform estimate for a finite-difference initial-boundary problem with forced boundary data. Stability of the whole-line Cauchy scheme is necessary but may fail to control boundary-supported numerical modes.
After transforming time and tangential variables, the uniform Kreiss--Lopatinskii condition requires the boundary equations to determine every decaying normal mode with an inverse bounded uniformly over transformed frequencies. It rules out growing or weakly controlled boundary modes.
For a normal amplification matrix , the bound with semisimple unit-modulus eigenvalues controls every power . For a nonnormal family, eigenvalues alone do not control transient growth or give a mesh-uniform bound; eigenvector conditioning, pseudospectra, or a direct energy estimate is then needed.
On a finite inflow grid, explicit upwinding has a triangular amplification matrix whose only eigenvalue is . For this eigenvalue lies inside the unit disk, although interior high-frequency data are amplified by before reaching the boundary. This shows why eigenvalue analysis without uniform normality can give the wrong stability range.
For the centered spatial second difference, backward Euler has amplification factor and is stable for every physical Courant number .
On interior Dirichlet grid points, backward Euler diffusion is stable for and also for the nonphysical branch . The latter makes every amplification denominator at most .
For the centered spatial second difference, forward Euler has the updateIt is stable for . In this range the update is a convex combination, which gives a direct maximum-norm proof as well as the Fourier proof.
For the schemewhere is the Dirichlet second-difference matrix and , the modal amplification factor isMesh-uniform stability holds exactly whenFor consistency with under the displayed normalization one additionally chooses ; stability then requires .
For a one-step translation-invariant recurrence, the amplification factor is the multiplier satisfyingThe Parseval identity converts the pointwise bound into non-growth of the discrete -norm.
For a schemethe Fourier ansatz gives the amplification polynomialIts roots are the amplification factors of that Fourier mode.
Centered space and leapfrog time discretization of givesIts amplification polynomial is . The two roots have unit modulus for , but a repeated unit root at equality violates the uniform root condition.
Applying a centered leapfrog step in time and the centered second difference in space to givesFor every , each nonconstant Fourier mode has an amplification root of modulus greater than one, so the scheme is unconditionally unstable.
For the centered spatial second difference, the Crank-Nicolson diffusion scheme has amplification factorIt is stable for every .
Let be the real skew-symmetric tridiagonal matrix with superdiagonal and subdiagonal . The centered-space Crank-Nicolson discretization of has amplification matrixThe eigenvalues of are , so those of are Cayley transformsThey all have modulus one, and their common orthonormal eigenbasis makes normal. Hence the method is stable for every .
The Courant number is the dimensionless ratio of physical propagation during one time step to one spatial grid spacing, commonly .
A Courant–Friedrichs–Lewy condition requires the numerical domain of dependence to contain the differential equation's physical domain of dependence. It commonly bounds a ratio such as for an explicit hyperbolic scheme.
On interior points, the one-dimensional centered second-difference matrix with homogeneous Dirichlet boundaries has eigenvalues
If is the negative semidefinite Dirichlet discrete Laplacian, the Crank-Nicolson amplification matrixhas eigenvalues of modulus at most one for every .
If is the one-dimensional Dirichlet second-difference matrix on interior points, the two directional parts of the two-dimensional five-point Laplacian areThey commute, and is the Kronecker-sum discretization of the Laplacian.
On the by Dirichlet grid with , the exact discrete stability condition for isThe mesh-independent sufficient condition is , and the exact bound tends to as .
On a three-dimensional Cartesian grid, the seven-point Dirichlet Laplacian adds the six nearest-neighbour values and subtracts six times the central value. Extending a grid vector by zero on the boundary gives the discrete energy identityso its matrix is symmetric negative definite.
With homogeneous Dirichlet boundary conditions, centered differences turn one-dimensional diffusion into a symmetric negative-definite matrix and constant advection into a skew-symmetric matrix. Their sum dissipates the discrete Euclidean norm, giving mesh-uniform energy stability for every fixed advection coefficient.
A discrete elliptic operator satisfies a discrete maximum principle when a grid function with nonnegative discrete Laplacian cannot have a positive interior maximum unless it is constant. It yields uniqueness and max-norm stability estimates for Dirichlet finite-difference problems.
The method of lines discretizes space in a time-dependent partial differential equation while leaving time continuous, producing a finite system of ordinary differential equations.
For a well-posed linear initial-value problem and a consistent finite-difference approximation, stability is equivalent to convergence.
Articles by others on the same topic
Finite difference is a numerical method used to approximate solutions to differential equations by discretizing the equations and evaluating them at specific points. It is commonly applied in numerical analysis, engineering, and scientific computing to estimate derivatives and solve problems involving functions defined on discrete sets of points. In the context of approximating derivatives, the finite difference method works by replacing the derivatives in the differential equation with finite difference approximations.