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 14:00, 12 March 2012 (correction of definition of order). 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]

The numerical method is consistent if, for every , there exists an such that the local error satisfies for all . If the increment function is differentiable, then the method is consistent if, and only if, .[2]

Furthermore, we say that the numerical method has order if for any sufficiently smooth solution of the initial value problem, there exist constants and such that for all .[3]

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:

[4]

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

[5]

It follows from the above bound for the global error that if the function in the differential equation is continuous in the first argument and Lipschitz continujous in the second argument (the condition from the Picard–Lindelöf theorem), and the increment function is continuous in all arguments and Lipschitz continuous in the second argument, then the global error tends to zero as the step size approaches zero (in other words, the numerical method converges to the exact solution).[6]

See also

Notes

  1. ^ Süli & Mayers 2003, p. 317, calls the truncation error.
  2. ^ Süli & Mayers 2003, pp. 321 & 322
  3. ^ Süli & Mayers 2003, pp. 323
  4. ^ Süli & Mayers 2003, p. 317
  5. ^ Süli & Mayers 2003, p. 318
  6. ^ Süli & Mayers 2003, p. 322

References

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