Truncation error (numerical integration)
Truncation errors in numerical integration are of two kinds:
- local truncation errors – the error caused by one iteration, and
- global truncation errors – the cumulative error cause by many iterations.
Definitions
Suppose we have a continuous differential equation
and we wish to compute an approximation of the true solution at discrete time steps . For simplicity, assume the time steps are equally spaced:
Suppose we compute the sequence with a one-step method of the form
The function is called the increment function, and can be interpreted as an estimate of the slope of .
Local truncation error
The local truncation error is the error that our increment function, , causes during a single iteration, assuming perfect knowledge of the true solution at the previous iteration.
More formally, the local truncation error, , at step is defined by:
Global truncation error
The global truncation error is the accumulation of the local truncation error over all of the iterations, assuming perfect knowledge of the true solution at the initial time step.
More formally, the global truncation error, , at time is defined by:
Relationship between local and global truncation errors
Sometimes it is possible to calculate an upper bound on the global truncation error, if we already know the local truncation error. This requires our increment function be sufficiently well-behaved.
The global truncation error satisfies the recurrence relation:
- .
This follows immediately from the definitions. Now assume that the increment function in Lipschitz continuous in the second argument, that is, there exists a constant such that for all and and , we have:
Then the global error satisfies the bound
See also
Notes
- ^ Süli & Mayers 2003, p. 317, calls the truncation error.
- ^ Süli & Mayers 2003, p. 317
- ^ Süli & Mayers 2003, p. 318
References
- Süli, Endre; Mayers, David (2003), An Introduction to Numerical Analysis, Cambridge University Press, ISBN 0521007941.