Jump to content

Truncation error (numerical integration)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Jitse Niesen (talk | contribs) at 16:00, 11 March 2012 (add result on relation between local and global error, add reference, some minor rewriting). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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:

[1]

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:

[2]

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

[3]

See also

Notes

  1. ^ Süli & Mayers 2003, p. 317, calls the truncation error.
  2. ^ Süli & Mayers 2003, p. 317
  3. ^ Süli & Mayers 2003, p. 318

References

  • Süli, Endre; Mayers, David (2003), An Introduction to Numerical Analysis, Cambridge University Press, ISBN 0521007941.