For a discretized ordinary differential equation, error control must distinguish the local truncation error of one exact-start step from accumulated global error. For a smooth order- one-step method, these are usually and respectively, provided perturbations propagate stably. A small local defect is useful only when the underlying problem and the numerical update do not amplify it excessively.
There are several practical local error estimators. In step-doubling error estimation, compute one step and two half steps from the same starting value. If the leading method error is , the two-half-step error is , up to higher terms. Their difference therefore gives
for exact minus fine-step error. Adding that estimate is Richardson extrapolation. This costs extra evaluations but gives an independent check on a single-method implementation; nonsmooth events can invalidate the assumed expansion.
An embedded Runge-Kutta pair shares stages and uses two output weight vectors to obtain orders and . Their difference generally estimates the lower-order local error , not the higher-order error directly. Stage reuse makes this much cheaper than independent integrations. Predictor-corrector error estimation uses the appropriately calibrated difference of two formulas; raw predictor/corrector differences require their known error constants. For multistep schemes, changing the step size also changes interpolation coefficients and requires controlled step ratios and proper history updates, rather than reusing constant-step coefficients.
Component scales should reflect the requested physical accuracy. An example of absolute and relative error tolerances is
Positive absolute tolerances avoid singular scaling when a component vanishes, while relative tolerances track widely differing magnitudes. Accept the step if ; otherwise reject it without committing the new state or multistep history. If the estimated defect scales as , a basic adaptive step-size controller proposes
Growth limits, a safety factor, and proportional-integral smoothing reduce erratic changes. The exponent must match the actual estimator: for a genuine order- local defect, but for the usual embedded difference. It is not always or always . A zero estimate uses a finite maximum growth factor, not division by zero.
Local acceptance does not itself certify a global error tolerance. If a dense approximation has residual and is Lipschitz continuous with constant on the relevant trajectory region, Gronwall's inequality gives the residual bound for global ODE error
The discrete analogue propagates and sums local defects. A posteriori defect correction, repeat integrations with tighter tolerances, and adjoint-weighted estimates for a chosen final functional provide stronger global checks. A smaller local target may be needed in an unstable flow; trajectory sensitivity should not be mislabeled as a code defect.
For a stiff differential equation, absolute stability can constrain explicit steps far more tightly than accuracy alone. Use an appropriate implicit method and keep nonlinear stage/linear-solve errors below the discretization-error budget. A-stability, L-stability and B-stability address different linear damping and nonlinear contractivity properties. An error controller cannot repair a method outside its stability domain. Tolerance-driven adaptation also does not automatically preserve positivity, conservation laws or a symplectic structure; these may require a suitable method or an additional acceptance test.
Finally, event detection and dense output have their own errors. Locate an event with a consistent interpolant and account for its state sensitivity; a discontinuous right side may require restarting the integrator. Refining indefinitely eventually exposes roundoff error and conditioning limits. Reliable error control balances truncation, solution sensitivity, algebraic-solve error and floating-point error, while reporting failure to meet a target instead of endlessly shrinking a step.
Fourier stability analysis applies most directly to linear, constant-coefficient evolution schemes on uniform infinite or periodic grids. Translation invariance makes spatial shifts diagonal in discrete Fourier modes. If a one-step scheme has , substituting gives the Fourier amplification symbol
The discrete Parseval identity identifies the discrete L2 norm with the squared norm of Fourier coefficients. Uniform stability on a fixed time interval means a mesh-independent bound on for all frequencies and . In the scalar case yields contraction. More generally gives the bound and is consistent with a continuously growing well-posed equation. A fixed modulus excess independent of the step produces growth exponential in and fails this requirement.
For systems, eigenvalue moduli alone are insufficient. The uniform power bound for matrix Fourier symbols also controls eigenvector conditioning and Jordan growth. For example has only unit eigenvalues but , unbounded as at fixed . In contrast an off-diagonal entry proportional to gives growth at most proportional to , which can be legitimate. A uniformly conditioned diagonalization is a sufficient reduction to scalar modal bounds; nonnormal matrices require direct power or energy estimates. Multilevel schemes similarly require the root condition for their frequency-dependent amplification polynomial and a uniform bound on the associated companion evolution, including limiting repeated-root cases.
The simplest parabolic example is the Forward Euler method with centered spatial diffusion. For ,
is the sharp mesh-uniform contraction range. For the theta method, , giving unconditional contraction at . Implicit stability permits larger steps, but accuracy still constrains them, and the Crank-Nicolson method does not strongly damp high-frequency rough data.
For advection with , the upwind finite difference scheme gives
Thus is its contraction range. The Lax-Friedrichs scheme has and is contractive exactly when . These express a Courant–Friedrichs–Lewy condition: the numerical domain of dependence must encompass the physical one for convergence. That necessary condition is not sufficient by itself. Forward time with centered advection has and at nonzero modes. At a fixed nonzero Courant number it is unstable even if . Under the much stronger refinement , however, its powers remain bounded on fixed time intervals; the centered-advection refinement-dependent stability must not be confused with the usual hyperbolic-step instability.
Symbols also quantify dispersion and dissipation. For a mode , the argument of gives a numerical phase speed and gives damping. Upwind advection has leading artificial diffusion under fixed-Courant refinement; excessive damping smooths genuine structure, while phase error misplaces waves. Stability controls boundedness, not either error by itself. Smooth low-frequency Taylor expansions establish consistency; high-frequency modal bounds establish stability, so analyzing only fixed physical wavenumbers can miss grid-scale instabilities.
For a well-posed linear initial-value problem, the Lax equivalence theorem makes consistency plus a uniform stability estimate equivalent to convergence in the chosen norm. Boundaries and variable coefficients need extra care: Fourier diagonalization no longer handles the full update, and an interior or frozen-coefficient symbol does not prove boundary or global stability. Boundary energy estimates, a suitable matrix analysis or a separate boundary-stability argument must supplement it. Nonlinear schemes also require controls beyond this linear symbol test. These limitations delimit what the method proves rather than reducing its usefulness: in its proper setting, it turns an arbitrarily large grid evolution into exact and interpretable modal algebra.

Articles by others on the same topic (0)

There are currently no matching articles.