Discretization Created 2026-10-24 Updated 2026-11-05
Discretization replaces a continuous mathematical problem by equations for finitely many unknowns. A spatial grid samples a function; a finite element method instead chooses coefficients in a finite-dimensional trial space. A time discretization supplies update equations at selected times. These choices specify what is computed, before any roundoff error is introduced.
For the heat equation , a uniform spatial grid gives
This is a semidiscretization: time remains continuous. Applying the Forward Euler method gives a fully discrete update
For a smooth exact solution, the normalized local truncation error is . Convergence additionally requires stability of a numerical method; for this one-dimensional update, makes each new value a convex combination of neighboring values. Spatial and temporal refinement therefore interact, rather than giving two independent accuracy knobs.
Euler one-step defect 2026-10-31
For a smooth solution of , Taylor's theorem gives the displayed local truncation error when an Euler method step starts at an exact solution value. Thus the one-step defect is . Dividing it by gives a normalized local truncation error of ; these are different conventions for reporting the same residual. Also along the solution by the chain rule. A global error conclusion additionally requires the usual regularity and stability control over successive steps.
For an exact solution , define the normalized local truncation error of the implicit midpoint rule by
If , and the state Jacobian matrix of has operator norm at most on the intervening state segments, then the displayed bound holds uniformly on a fixed finite interval. To prove it, put . Symmetric Taylor expansions give
For the first bound, integrate the second-order remainder of over the symmetric step; for the second, average the second-order remainders of at the endpoints. The odd terms cancel. The Lipschitz condition for and finish the proof by the triangle inequality. The unnormalized step residual is .
There is a genuine indexing defect in the printed PDF: its new value is at , while every old-time coefficient is centered at . On a fixed grid the literal residual contains
For a general solution the leading term is , so this is not a consistent diffusion discretization. It also leaves one new interior value unspecified while imposing a generally incompatible update on a prescribed boundary value. The calculation that follows is for the intended same-node update ; that correction is necessary, not an unnoticed transcription change.
For the midpoint flux stencil for one-dimensional diffusion, define
Assume sufficient smoothness of and the solution for the displayed remainders. Multiplying the centered Taylor expansions of and gives
The first time difference is . After using the diffusion equation, the normalized local truncation error is
Therefore, for the corrected update,
The first is the residual divided by the time step; the second is the unnormalized one-step defect. At fixed they are respectively and . A rate based on derivatives is not justified for a merely bounded nonsmooth .
Write , , and assume are sufficiently smooth for the following Taylor expansions. The symmetric half-grid diffusion consistency calculation gives
where
The normalized local truncation error of the full update is consequently
The PDF prints an advection equation, , whereas this stencil approximates conservative diffusion, . For the literal printed equation the leading defect is , which generally does not vanish: the method is inconsistent, with an normalized defect.
For the intended variable-coefficient conservative diffusion equation, the first two terms cancel and . Under the parabolic step scaling , this is , while the unnormalized one-step local truncation error is . These two orders use different normalizations. With numerical stability and compatible smooth initial and boundary conditions, the intended diffusion problem has global error on a fixed time interval. Positivity and boundedness of alone do not justify the displayed Taylor expansion; coefficient regularity is also needed for that error formula.
Here and . Since , the solution is nondecreasing, so . In fact on , which also bounds the solution and ensures it extends across this entire interval. The smooth right-hand side makes twice continuously differentiable, with second derivative
For and ,
so . The subtracted term in the first expression is nonnegative, giving the useful bound
The integral form of the Taylor remainder now gives
Therefore the normalized local truncation error satisfies the stronger estimate
This proves the requested bound for , and also for , which will be needed to start the global error estimate. For the stated range is empty, but the estimate at still applies.
Work on a fixed finite interval . Write , , and use the paper's normalized local truncation error
Assume has bounded continuous derivatives through order three on this interval, with and . Assume also that the Jacobian matrix has operator norm at most on the segments joining to the endpoint averages. For a scalar equation this last hypothesis is simply there.
Two symmetric estimates separate the errors. By Taylor's theorem applied to about , the linear term integrates to zero on , giving
Likewise the two linear terms in the endpoint expansions cancel, and their second-order remainders give
The derivative bound on gives a Lipschitz condition in its second variable. Since , the triangle inequality now yields
The constant is independent of and as long as the steps remain in the fixed interval. This implicit midpoint consistency bound proves numerical consistency of order two. The corresponding unnormalized residual is ; the two powers conventionally called local truncation error differ because the paper divides by the step size. If local error instead means the error of an exactly solved numerical step started at , the small-step Lipschitz condition gives the bound as well.
Define the one-step local truncation error as the defect obtained by inserting the exact solution into an update:
For a smooth solution, Taylor's theorem and give
Thus for the one-step defect convention. The leading derivative can also be written by the chain rule.
Some conventions instead call the truncation error. That normalized local truncation error is , so under the normalized convention. Both describe the same Euler one-step defect; neither should be confused with an unqualified global error claim.