Put , let denote the sum of the four axial shifts, and let denote the sum of the four diagonal shifts. Reading both sides of the PDF stencil gives , where and . The left-hand stencil acts on the time derivative; treating it as a scalar multiplier would lose the compact correction.
Write . Taylor expansion of the symmetric shifts givesandFor the exact diffusion solution , subtracting givesThe leading coefficient is not identically zero for general smooth data. Thus the normalized local residual is fourth order, and in the question's convention . This is the compact semidiscrete nine-point diffusion scheme; its usual spatial numerical consistency order is four, rather than three.
Use the Fourier amplification symbol for the semidiscrete generator. At a mode , the two stencil symbols areThe mass symbol satisfies . The numerator of is increasing in each cosine, since each partial derivative is at least two, and its maximum is zero at . Hence and the generator is real and nonpositive.
Every exact-time mode is multiplied by , of modulus at most one. Parseval identity therefore provesThe method is stable, uniformly in the spatial mesh. This is a semidiscrete conclusion: it imposes no time-step condition until a particular time integrator is applied. For the stated merely square-integrable initial data, cell averages give a well-defined stable initialization, with by Cauchy–Schwarz. Arbitrary point sampling of an L2 equivalence class is not required.
For the linear multistep method, let and . The exponential-symbol order criterion for a multistep method compares with . Direct expansion givesEquivalently, substitution of exact smooth values into the recurrence leaves , while the coefficients of cancel. Therefore ; its unnormalized step defect is of order three. The nonzero cubic term excludes order three.
Factor the first characteristic polynomial:The unit root is simple and the other root is strictly inside the unit disk, so the method is zero-stable. Also and , giving numerical consistency. The Dahlquist equivalence theorem therefore makes it convergent.
The mechanism can also be seen directly. The zero-stable homogeneous recurrence has bounded propagators because its two error modes are and . Variation of constants for the perturbed recurrence bounds the error by a fixed multiple of its two starting errors and the sum of the step defects, plus times a sum of errors from the Lipschitz vector field. Absorb the current implicit error term for sufficiently small , then apply the discrete Gronwall inequality. On a fixed time interval the sum of exact-start defects is , giving second-order numerical convergence with second-order starting values. The implicit step is locally well defined, for example by contraction when for a Lipschitz constant .
For the Dahlquist test equation, write . The amplification roots solveA root on would require the boundary-locus valueIts denominator cannot vanish on that circle. Setting and simplifying the real part givesThus no amplification root can cross the unit circle while . The leading coefficient is also nonzero throughout that half-plane. At , the roots are , both strictly inside the unit disk. Connect any other left-half-plane point to : continuity of the roots, without a boundary crossing or a root escaping through infinity, keeps both roots inside.
On the imaginary axis a boundary root can occur only at , which gives ; there the roots and satisfy the simple-unit-root condition. Hence , including the usual boundary root convention at zero.
Use the discrete inner product , with endpoints . The centered first-difference matrix is skew-Hermitian, while summation by parts givesSince is real, the centered advection contribution has zero real part. ThereforeThis proves the energy contraction for centered drift-diffusion, and hence stability for every fixed real and every mesh width, in the discrete L2 norm. The extra inequality would make the off-diagonal coefficients nonnegative and support a discrete maximum principle, but is not needed for this energy proof. No time-stepping method is involved here.
For a sufficiently smooth exact solution, the centered spatial residual isLet be the nodal error. It satisfies , with and on the fixed time interval. Part (a) gives , so Duhamel's formula yieldsThus the method is convergent, with second-order spatial error for smooth data and second-order compatible initialization. The homogeneous endpoint values introduce no boundary residual. For nonsmooth L2 data, stable approximating projections and a density argument extend numerical convergence, although the same order need not hold without the derivative bounds used above.
The nodes are . Their Lagrange interpolation basis on the normalized step isIntegrating these polynomials from zero to each node gives . At the row vanishes; at the integrals are ; at they are . The endpoint integrals also give . These are exactly the coefficients in the original PDF.
Indeed, the degree-three polynomial determined by and satisfies . Integrating it to the nodes gives precisely the stage equations, and integrating to the endpoint gives the update. This proves it is a collocation Runge-Kutta method, specifically the three-stage Lobatto IIIA method.
For an explicit order proof, the collocation integrals imply , and , with powers componentwise. The endpoint weights are Simpson weights, so for . Therefore the eight Butcher order conditions through order four are satisfied:For example the last expression is , because . These conditions are obtained by matching all elementary differential terms through degree four in the exact and numerical Taylor expansions, not just by testing a scalar linear equation. Nonautonomous equations are included by adjoining .
To exclude higher order, the scalar stability function computed below satisfies . The local defect is therefore nonzero at degree five even on the scalar test equation. Hence .
Applying the stage equations to gives the stability functionThe poles are , both in the right half-plane. To determine the whole domain rather than only its boundary, multiply numerator and denominator by 12 and put . Direct expansion givesThus exactly when , with no pole in that set. ConsequentlyOn the imaginary axis , and in the open left half-plane it is less than one. Its limit along the negative real axis is one, so A-stability here does not imply stiff decay or L-stability.
Use equal intervals, , and the interior piecewise-linear hat functions , which equal one at node , vanish at all other nodes and vanish outside the two adjacent intervals. Write . Testing with and integrating the second derivative by parts givesThe integrals are local: , , and . Nonadjacent functions do not overlap. Thus the consistent mass matrix and stiffness matrix areEquivalently the explicit nodal equations areFor merely L2 initial data a natural choice is the Galerkin projection ; nodal interpolation is also possible for suitably smooth data. The relation identifies the natural finite-element energy. Differentiating gives .
The sine vectors , , simultaneously diagonalize these two symmetric tridiagonal matrices. Their eigenvalues areThus the semidiscrete decay rates are . The forward Euler method multiplies each mode by . Stability requires for every mode.
For a fixed finite Dirichlet grid the largest mode is . Consequently the exact finite-grid bound isAs the mesh is refined, the upper bound decreases to . Hence the mesh-independent answer is . This is the forward Euler limit for a consistent hat mass matrix. The frequently seen diffusion bound belongs to the standard second-difference scheme or a lumped mass matrix, and is not the bound for the consistent Galerkin equations derived here.
For constant-coefficient evolution on an infinite or periodic grid, spatial Fourier stability analysis reduces a multidimensional recurrence to independent modal problems. This gives exact L2 stability results when the coefficients and geometry admit that reduction; it also exposes high-frequency restrictions which a truncation-error calculation alone misses.
Consider a scalar one-step update on . With , its symbol is and . Parseval identity givesThe upper bound is immediate by integration. For the reverse inequality choose Fourier data supported in a positive-measure neighborhood where approaches its essential supremum, then normalize them. This uses actual square-summable data, unlike an isolated infinite plane wave. On a periodic finite grid the discrete Fourier transform gives the same equality with a maximum over its resolved frequencies.
This proves the scalar Fourier power criterion. Contractivity is equivalent to at every frequency. For mesh-uniform stability on , a sufficient condition is instead , because . Conversely, if the powers at are bounded by a common , then as . Thus finite-time stability may allow mild modal growth; demanding strict contraction is stronger than necessary.
Stability connects numerical consistency to numerical convergence. Let be the exact solution restricted by a suitable projection and let its one-step defect be . If and , the error recurrence givesThis proves numerical convergence for smooth solutions and convergent initial approximations. Density plus stability extends numerical convergence to the natural data space when stable projections and well-posed continuous evolution are available.
For completeness, the converse in the Lax equivalence theorem can be understood with faithful grid transfers. Let be a bounded reconstruction into the continuous data space and a bounded projection with , and suppose the grid and reconstructed norms are uniformly equivalent. numerical convergence for every datum, uniformly on the fixed time interval, makes the operators pointwise bounded. The Uniform boundedness principle makes their operator norms uniformly bounded. Apply this bound to , use and the norm equivalence, and obtain the uniform grid-power bound. With the numerical consistency estimate above, this proves the stability/numerical convergence equivalence under these standard linear assumptions.
Several examples illustrate the test. For forward time and centered space on the one-dimensional heat equation,Its minimum is , so is the exact contraction range. In dimensions with mesh widths , the symbol is , where . Therefore , or on an equal mesh. This follows by independently maximizing every sine factor, not by applying a one-dimensional bound separately to each direction.
For advection , forward time and centered space give , . At fixed nonzero advective Courant number its modulus exceeds one, so its powers grow without a mesh-uniform bound. Under the much smaller choice , however, , allowing finite-time stability. This illustrates why the specified refinement path matters. For , the upwind update instead hasand is contractive exactly for . Its numerical diffusion explains the stable damping as well as its first-order spatial accuracy.
For the heat equation with the Crank-Nicolson method, the symbol is . It has modulus at most one for every nonnegative , so there is no diffusion time-step restriction. Very stiff modes nevertheless have amplification near minus one, causing weakly damped oscillation; stability alone does not guarantee good stiff smoothing or small error.
For systems the symbol is a matrix, and the exact criterion is the uniform power bound for matrix Fourier symbols, not just a bound on eigenvalue moduli. For example has both eigenvalues one but is unbounded as the number of steps increases. If with uniformly bounded condition numbers, then , so a scalar-type condition does suffice. Multilevel schemes are treated by stacking their time levels into a companion matrix and checking its uniform powers. Simple unit-modulus roots and interior roots are the fixed-mode root condition, but uniformity near colliding roots still needs attention.
The technique is inexpensive, identifies the dangerous wavelengths, gives sharp constant-coefficient restrictions and generalizes directly to several space variables and Fourier-diagonalizable vector problems. Its limitations are equally concrete: boundaries can add unstable modes invisible to an infinite-grid calculation; variable coefficients couple frequencies; nonlinearities invalidate the fixed multiplier; nonuniform grids need another transform or energy estimate; and L2 stability does not by itself imply a maximum principle or positivity. Frozen-coefficient analysis is often useful evidence, while an energy or boundary estimate is needed to turn it into a global conclusion in those settings.
An ODE solver must distinguish the error made by one step started from exact data from the error accumulated along the computed trajectory. For an order- one-step map , define the exact-start defect . If the step map is Lipschitz with factor , its global error obeysIteration, using , proves the variable-step global ODE error boundIt explains the difference between local defect order and global order , and why local tolerance control alone does not certify a prescribed global error. Strong dynamical amplification can magnify many individually small defects.
A practical solver needs an inexpensive local error estimator. In step-doubling error estimation, compare one full step with two half steps . Smoothness and propagation through the second half step give and . ThereforeThe difference estimates the finer local correction with the correct denominator and sign; adding it cancels the leading error by Richardson extrapolation. The common starting value and the smooth error expansion are essential, and the extra evaluations make this estimator relatively expensive.
An embedded Runge-Kutta pair instead shares the stage computations and uses two output weight vectors. For orders and , their difference is generally and estimates the lower-order local defect, even when the higher-order output is accepted. Its controller exponent is therefore , not . For example the explicit Euler and Heun outputs share the first slope; their difference is , while Heun's own defect is . Predictor-corrector differences can also estimate a defect when scaled by the appropriate leading error constants; an uncalibrated raw difference need not be the corrected method's error.
For a vector equation, choose positive component scalesThe absolute and relative error tolerances allow meaningful tests both near zero and for large components with different physical scales. The max-norm criterion controls every scaled estimated component. A root-mean-square criterion is another common choice but has a weaker individual-component implication.
If the estimate scales like , an adaptive step-size controller useswith lower and upper bounds on the change factor. A rejected step leaves the old state and time unchanged and recomputes with a smaller step; an accepted step advances with the chosen output and adjusts the next step. A zero estimate receives capped finite growth rather than division by zero. The safety factor allows for variation in the error constant. Step doubling has , whereas a embedded pair usually has . If a solver instead controls defect per unit time, division by changes the scaling exponent and must be included in the controller design.
Using previous estimates can smooth the sequence of accepted steps. A proportional-integral controller can take with , appropriate scaling by the estimator order and bounded factors. It avoids overreacting to a single noisy estimate, but needs safeguards after rejected steps, changes of order and abrupt coefficient changes. Event locations and discontinuities require locating the event and restarting the error expansion; blindly applying a smooth-step estimator across a jump can be misleading.
For a multistep method, adaptive step sizes change the interpolation history and coefficients. Constant-step coefficients cannot simply be reused with arbitrary step ratios. Variable-step formulas, compatible starting/restarting procedures and bounded ratios preserve the needed stability; local error and sometimes order are selected together to balance evaluation cost against accuracy.
Stiffness imposes an additional requirement. On a rapidly decaying mode , explicit Euler requires for absolute stability. Once is small, a local absolute-tolerance test can propose a large step even though roundoff or a small perturbation would then be amplified. A stiff solver therefore also uses a suitable implicit A-stable or L-stable method and solves its algebraic equations accurately enough for the estimator to be meaningful. A-stability alone does not ensure stiff decay, as the Lobatto stability function in question 4 tends to one for large negative arguments.
Finally, over-tightening tolerance eventually encounters roundoff and algebraic-solve error rather than further truncation-error improvement. Inexact Newton or linear solves must have errors below the local budget; a tiny time step with an inaccurate stage solve does not deliver the formal order. Global error assessment can use controlled refinements, defect propagation or adjoint weighting for a chosen output. Sensible error and step-size control therefore combines asymptotic estimators, tolerance scaling, stability, event handling and implementation error, rather than treating the accepted local estimate as a complete guarantee about the trajectory.
Articles by others on the same topic
There are currently no matching articles.